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 |
nullCheck, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, 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()
paymentMethod
public PaymentMethod paymentMethod()
referenceNumber
public String referenceNumber()
gateway
public Gateway gateway()
description
@Deprecated
public String description()
- Deprecated.
type
public Transaction.Type type()
date
public Timestamp date()
amount
public Integer amount()
idAtGateway
public String idAtGateway()
status
public Transaction.Status status()
errorCode
public String errorCode()
errorText
public String errorText()
voidedAt
public Timestamp voidedAt()
voidDescription
@Deprecated
public String voidDescription()
- Deprecated.
maskedCardNumber
public String maskedCardNumber()
refundedTxnId
public String refundedTxnId()
linkedInvoices
public List<Transaction.LinkedInvoice> linkedInvoices()
currencyCode
public String currencyCode()
list
public static ListRequest list()
throws IOException
- Throws:
IOException
transactionsForCustomer
public static ListRequest transactionsForCustomer(String id)
throws IOException
- Throws:
IOException
transactionsForSubscription
public static ListRequest transactionsForSubscription(String id)
throws IOException
- Throws:
IOException
transactionsForInvoice
public static ListRequest transactionsForInvoice(String id)
throws IOException
- Throws:
IOException
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
recordPayment
public static Transaction.RecordPaymentRequest recordPayment(String id)
throws IOException
- Throws:
IOException
Copyright © 2015 ChargeBee. All Rights Reserved.