Class Invoice


  • public class Invoice
    extends java.lang.Object
    • Constructor Detail

      • Invoice

        public Invoice()
        Constructor, create an empty Invoice object.
      • Invoice

        public Invoice​(java.lang.Double price,
                       java.lang.String currency)
        Constructor, create a minimal request Invoice object.
        Parameters:
        price - The amount for which the invoice will be created.
        currency - The three digit currency type used to compute the invoice bitcoin amount.
    • Method Detail

      • getGuid

        public java.lang.String getGuid()
      • setGuid

        public void setGuid​(java.lang.String _guid)
      • getToken

        public java.lang.String getToken()
      • setToken

        public void setToken​(java.lang.String _token)
      • getPrice

        public java.lang.Double getPrice()
      • setPrice

        public void setPrice​(java.lang.Double _price)
      • getCurrency

        public java.lang.String getCurrency()
      • getOrderId

        public java.lang.String getOrderId()
      • setOrderId

        public void setOrderId​(java.lang.String _orderId)
      • getItemDesc

        public java.lang.String getItemDesc()
      • setItemDesc

        public void setItemDesc​(java.lang.String _itemDesc)
      • getItemCode

        public java.lang.String getItemCode()
      • setItemCode

        public void setItemCode​(java.lang.String _itemCode)
      • getPosData

        public java.lang.String getPosData()
      • setPosData

        public void setPosData​(java.lang.String _posData)
      • getNotificationURL

        public java.lang.String getNotificationURL()
      • setNotificationURL

        public void setNotificationURL​(java.lang.String _notificationURL)
      • getTransactionSpeed

        public java.lang.String getTransactionSpeed()
      • setTransactionSpeed

        public void setTransactionSpeed​(java.lang.String _transactionSpeed)
      • getFullNotifications

        public boolean getFullNotifications()
      • setFullNotifications

        public void setFullNotifications​(boolean _fullNotifications)
      • getExtendedNotifications

        public boolean getExtendedNotifications()
      • setExtendedNotifications

        public void setExtendedNotifications​(boolean _extendedNotifications)
      • getNotificationEmail

        public java.lang.String getNotificationEmail()
      • setNotificationEmail

        public void setNotificationEmail​(java.lang.String _notificationEmail)
      • getRedirectURL

        public java.lang.String getRedirectURL()
      • setRedirectURL

        public void setRedirectURL​(java.lang.String _redirectURL)
      • getPhysical

        public boolean getPhysical()
      • setPhysical

        public void setPhysical​(boolean _physical)
      • getPaymentCurrencies

        public java.util.List<java.lang.String> getPaymentCurrencies()
      • setPaymentCurrencies

        public void setPaymentCurrencies​(java.util.List<java.lang.String> _paymentCurrencies)
      • getAcceptanceWindow

        public long getAcceptanceWindow()
      • setAcceptanceWindow

        public void setAcceptanceWindow​(long _acceptanceWindow)
      • getBuyer

        public Buyer getBuyer()
      • setBuyer

        public void setBuyer​(Buyer _buyer)
      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String _id)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String _url)
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public void setStatus​(java.lang.String _status)
      • getLowFeeDetected

        public java.lang.Boolean getLowFeeDetected()
      • setLowFeeDetected

        public void setLowFeeDetected​(java.lang.Boolean _lowFeeDetected)
      • getInvoiceTime

        public long getInvoiceTime()
      • setInvoiceTime

        public void setInvoiceTime​(long _invoiceTime)
      • getExpirationTime

        public long getExpirationTime()
      • setExpirationTime

        public void setExpirationTime​(long _expirationTime)
      • getCurrentTime

        public long getCurrentTime()
      • setCurrentTime

        public void setCurrentTime​(long _currentTime)
      • setTransactions

        public void setTransactions​(java.util.List<InvoiceTransaction> _transactions)
      • getExceptionStatus

        public java.lang.String getExceptionStatus()
      • setExceptionStatus

        public void setExceptionStatus​(java.lang.String _exceptionStatus)
      • getTargetConfirmations

        public long getTargetConfirmations()
      • setTargetConfirmations

        public void setTargetConfirmations​(long _targetConfirmations)
      • getRefundAddresses

        public java.util.ArrayList getRefundAddresses()
      • setRefundAddresses

        public void setRefundAddresses​(java.util.ArrayList _refundAddresses)
      • getRefundAddressRequestPending

        public boolean getRefundAddressRequestPending()
      • setRefundAddressRequestPending

        public void setRefundAddressRequestPending​(boolean _refundAddressRequestPending)
      • getBuyerProvidedEmail

        public java.lang.String getBuyerProvidedEmail()
      • setBuyerProvidedEmail

        public void setBuyerProvidedEmail​(java.lang.String _buyerProvidedEmail)
      • setInvoiceBuyerProvidedInfo

        public void setInvoiceBuyerProvidedInfo​(InvoiceBuyerProvidedInfo _invoiceBuyerProvidedInfo)
      • setSupportedTransactionCurrencies

        public void setSupportedTransactionCurrencies​(SupportedTransactionCurrencies _supportedTransactionCurrencies)
      • getMinerFees

        public MinerFees getMinerFees()
      • setMinerFees

        public void setMinerFees​(MinerFees _minerFees)
      • getShopper

        public Shopper getShopper()
      • setShopper

        public void setShopper​(Shopper _shopper)
      • getBillId

        public java.lang.String getBillId()
      • setBillId

        public void setBillId​(java.lang.String _billId)
      • getRefundInfo

        public java.util.ArrayList<RefundInfo> getRefundInfo()
      • setRefundInfo

        public void setRefundInfo​(java.util.ArrayList<RefundInfo> _refundInfo)
      • getTransactionCurrency

        public java.lang.String getTransactionCurrency()
      • setTransactionCurrency

        public void setTransactionCurrency​(java.lang.String _transactionCurrency)
      • getAmountPaid

        public java.math.BigDecimal getAmountPaid()
      • setAmountPaid

        public void setAmountPaid​(java.math.BigDecimal _amountPaid)
      • getExchangeRates

        public java.util.Hashtable<java.lang.String,​java.util.Hashtable<java.lang.String,​java.lang.String>> getExchangeRates()
      • setExchangeRates

        public void setExchangeRates​(java.util.Hashtable<java.lang.String,​java.util.Hashtable<java.lang.String,​java.lang.String>> _exchangeRates)