Package nxt

Class DigitalGoodsStore.Purchase

  • Enclosing class:
    DigitalGoodsStore

    public static final class DigitalGoodsStore.Purchase
    extends java.lang.Object
    • Method Detail

      • getCount

        public static int getCount()
      • getCount

        public static int getCount​(boolean withPublicFeedbacksOnly,
                                   boolean completedOnly)
      • getSellerPurchases

        public static DbIterator<DigitalGoodsStore.Purchase> getSellerPurchases​(long sellerId,
                                                                                boolean withPublicFeedbacksOnly,
                                                                                boolean completedOnly,
                                                                                int from,
                                                                                int to)
      • getSellerPurchaseCount

        public static int getSellerPurchaseCount​(long sellerId,
                                                 boolean withPublicFeedbacksOnly,
                                                 boolean completedOnly)
      • getBuyerPurchases

        public static DbIterator<DigitalGoodsStore.Purchase> getBuyerPurchases​(long buyerId,
                                                                               boolean withPublicFeedbacksOnly,
                                                                               boolean completedOnly,
                                                                               int from,
                                                                               int to)
      • getBuyerPurchaseCount

        public static int getBuyerPurchaseCount​(long buyerId,
                                                boolean withPublicFeedbacksOnly,
                                                boolean completedOnly)
      • getSellerBuyerPurchases

        public static DbIterator<DigitalGoodsStore.Purchase> getSellerBuyerPurchases​(long sellerId,
                                                                                     long buyerId,
                                                                                     boolean withPublicFeedbacksOnly,
                                                                                     boolean completedOnly,
                                                                                     int from,
                                                                                     int to)
      • getSellerBuyerPurchaseCount

        public static int getSellerBuyerPurchaseCount​(long sellerId,
                                                      long buyerId,
                                                      boolean withPublicFeedbacksOnly,
                                                      boolean completedOnly)
      • getGoodsPurchases

        public static DbIterator<DigitalGoodsStore.Purchase> getGoodsPurchases​(long goodsId,
                                                                               long buyerId,
                                                                               boolean withPublicFeedbacksOnly,
                                                                               boolean completedOnly,
                                                                               int from,
                                                                               int to)
      • getGoodsPurchaseCount

        public static int getGoodsPurchaseCount​(long goodsId,
                                                boolean withPublicFeedbacksOnly,
                                                boolean completedOnly)
      • getId

        public long getId()
      • getBuyerId

        public long getBuyerId()
      • getGoodsId

        public long getGoodsId()
      • getSellerId

        public long getSellerId()
      • getQuantity

        public int getQuantity()
      • getPriceNQT

        public long getPriceNQT()
      • getDeliveryDeadlineTimestamp

        public int getDeliveryDeadlineTimestamp()
      • isPending

        public boolean isPending()
      • getTimestamp

        public int getTimestamp()
      • goodsIsText

        public boolean goodsIsText()
      • hasFeedbackNotes

        public boolean hasFeedbackNotes()
      • getFeedbackNotes

        public java.util.List<EncryptedData> getFeedbackNotes()
      • hasPublicFeedbacks

        public boolean hasPublicFeedbacks()
      • getPublicFeedbacks

        public java.util.List<java.lang.String> getPublicFeedbacks()
      • getDiscountNQT

        public long getDiscountNQT()
      • getRefundNQT

        public long getRefundNQT()