com.chargebee.models
Class Transaction
java.lang.Object
com.chargebee.internal.Resource<Transaction>
com.chargebee.models.Transaction
public class Transaction
- extends Resource<Transaction>
| 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 |
Transaction
public Transaction(String jsonStr)
Transaction
public Transaction(org.json.JSONObject jsonObj)
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.