public final class DigitalGoodsStore
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DigitalGoodsStore.Goods |
static class |
DigitalGoodsStore.Purchase |
Constructor and Description |
---|
DigitalGoodsStore() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<DigitalGoodsStore.Goods> |
getAllGoods() |
static java.util.Collection<DigitalGoodsStore.Purchase> |
getAllPurchases() |
static DigitalGoodsStore.Goods |
getGoods(java.lang.Long goodsId) |
static DigitalGoodsStore.Purchase |
getPendingPurchase(java.lang.Long purchaseId) |
static DigitalGoodsStore.Purchase |
getPurchase(java.lang.Long purchaseId) |
public static java.util.Collection<DigitalGoodsStore.Goods> getAllGoods()
public static java.util.Collection<DigitalGoodsStore.Purchase> getAllPurchases()
public static DigitalGoodsStore.Goods getGoods(java.lang.Long goodsId)
public static DigitalGoodsStore.Purchase getPurchase(java.lang.Long purchaseId)
public static DigitalGoodsStore.Purchase getPendingPurchase(java.lang.Long purchaseId)