com.chargebee.models
Class Transaction

java.lang.Object
  extended by com.chargebee.internal.Resource<Transaction>
      extended by com.chargebee.models.Transaction

public class Transaction
extends Resource<Transaction>


Nested Class Summary
static class Transaction.FraudFlag
           
static class Transaction.LinkedCreditNote
           
static class Transaction.LinkedInvoice
           
static class Transaction.LinkedRefund
           
static class Transaction.Status
           
static class Transaction.TransactionListRequest
           
static class Transaction.Type
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Transaction(org.json.JSONObject jsonObj)
           
Transaction(String jsonStr)
           
 
Method Summary
 Integer amount()
           
 Integer amountUnused()
           
 String currencyCode()
           
 String customerId()
           
 Timestamp date()
           
 Boolean deleted()
           
 String errorCode()
           
 String errorText()
           
 Transaction.FraudFlag fraudFlag()
           
 String fraudReason()
           
 Gateway gateway()
           
 String gatewayAccountId()
           
 String id()
           
 String idAtGateway()
           
 List<Transaction.LinkedCreditNote> linkedCreditNotes()
           
 List<Transaction.LinkedInvoice> linkedInvoices()
           
 List<Transaction.LinkedRefund> linkedRefunds()
           
static Transaction.TransactionListRequest list()
           
 String maskedCardNumber()
           
 PaymentMethod paymentMethod()
           
static ListRequest paymentsForInvoice(String id)
           
 String referenceNumber()
           
 String referenceTransactionId()
           
 String refundedTxnId()
           
 Long resourceVersion()
           
static Request retrieve(String id)
           
 String reversalTransactionId()
           
 Transaction.Status status()
           
 String subscriptionId()
           
static ListRequest transactionsForCustomer(String id)
          Deprecated. 
static ListRequest transactionsForSubscription(String id)
          Deprecated. 
 Transaction.Type type()
           
 Timestamp updatedAt()
           
 Timestamp voidedAt()
           
 
Methods inherited from class com.chargebee.internal.Resource
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(String jsonStr)

Transaction

public Transaction(org.json.JSONObject jsonObj)
Method Detail

id

public String id()

customerId

public String customerId()

subscriptionId

public String subscriptionId()

gatewayAccountId

public String gatewayAccountId()

paymentMethod

public PaymentMethod paymentMethod()

referenceNumber

public String referenceNumber()

gateway

public Gateway gateway()

type

public Transaction.Type type()

date

public Timestamp date()

currencyCode

public String currencyCode()

amount

public Integer amount()

idAtGateway

public String idAtGateway()

status

public Transaction.Status status()

fraudFlag

public Transaction.FraudFlag fraudFlag()

errorCode

public String errorCode()

errorText

public String errorText()

voidedAt

public Timestamp voidedAt()

resourceVersion

public Long resourceVersion()

updatedAt

public Timestamp updatedAt()

fraudReason

public String fraudReason()

amountUnused

public Integer amountUnused()

maskedCardNumber

public String maskedCardNumber()

referenceTransactionId

public String referenceTransactionId()

refundedTxnId

public String refundedTxnId()

reversalTransactionId

public String reversalTransactionId()

linkedInvoices

public List<Transaction.LinkedInvoice> linkedInvoices()

linkedCreditNotes

public List<Transaction.LinkedCreditNote> linkedCreditNotes()

linkedRefunds

public List<Transaction.LinkedRefund> linkedRefunds()

deleted

public Boolean deleted()

list

public static Transaction.TransactionListRequest list()
                                               throws IOException
Throws:
IOException

transactionsForCustomer

@Deprecated
public static ListRequest transactionsForCustomer(String id)
                                           throws IOException
Deprecated. 

Throws:
IOException

transactionsForSubscription

@Deprecated
public static ListRequest transactionsForSubscription(String id)
                                               throws IOException
Deprecated. 

Throws:
IOException

paymentsForInvoice

public static ListRequest paymentsForInvoice(String id)
                                      throws IOException
Throws:
IOException

retrieve

public static Request retrieve(String id)
                        throws IOException
Throws:
IOException


Copyright © 2017 ChargeBee. All Rights Reserved.