com.braintreegateway
Class Transaction

java.lang.Object
  extended by com.braintreegateway.Transaction

public class Transaction
extends Object


Nested Class Summary
static class Transaction.CreatedUsing
           
static class Transaction.EscrowStatus
           
static class Transaction.GatewayRejectionReason
           
static class Transaction.Source
           
static class Transaction.Status
           
static class Transaction.Type
           
 
Field Summary
private  List<AddOn> addOns
           
private  BigDecimal amount
           
private  String avsErrorResponseCode
           
private  String avsPostalCodeResponseCode
           
private  String avsStreetAddressResponseCode
           
private  Address billingAddress
           
private  String channel
           
private  Calendar createdAt
           
private  CreditCard creditCard
           
private  String currencyIsoCode
           
private  Customer customer
           
private  Map<String,String> customFields
           
private  String cvvResponseCode
           
private  Descriptor descriptor
           
private  DisbursementDetails disbursementDetails
           
private  List<Discount> discounts
           
private  Transaction.EscrowStatus escrowStatus
           
private  Transaction.GatewayRejectionReason gatewayRejectionReason
           
private  String id
           
private  String merchantAccountId
           
private  String orderId
           
private  String planId
           
private  String processorAuthorizationCode
           
private  String processorResponseCode
           
private  String processorResponseText
           
private  String purchaseOrderNumber
           
private  Boolean recurring
           
private  String refundedTransactionId
           
private  String refundId
           
private  List<String> refundIds
           
private  BigDecimal serviceFeeAmount
           
private  String settlementBatchId
           
private  Address shippingAddress
           
private  Transaction.Status status
           
private  List<StatusEvent> statusHistory
           
private  Subscription subscription
           
private  String subscriptionId
           
private  BigDecimal taxAmount
           
private  Boolean taxExempt
           
private  Transaction.Type type
           
private  Calendar updatedAt
           
 
Constructor Summary
Transaction(NodeWrapper node)
           
 
Method Summary
 List<AddOn> getAddOns()
           
 BigDecimal getAmount()
           
 String getAvsErrorResponseCode()
           
 String getAvsPostalCodeResponseCode()
           
 String getAvsStreetAddressResponseCode()
           
 Address getBillingAddress()
           
 String getChannel()
           
 Calendar getCreatedAt()
           
 CreditCard getCreditCard()
           
 String getCurrencyIsoCode()
           
 Customer getCustomer()
           
 Map<String,String> getCustomFields()
           
 String getCvvResponseCode()
           
 Descriptor getDescriptor()
           
 DisbursementDetails getDisbursementDetails()
           
 List<Discount> getDiscounts()
           
 Transaction.EscrowStatus getEscrowStatus()
           
 Transaction.GatewayRejectionReason getGatewayRejectionReason()
           
 String getId()
           
 String getMerchantAccountId()
           
 String getOrderId()
           
 String getPlanId()
           
 String getProcessorAuthorizationCode()
           
 String getProcessorResponseCode()
           
 String getProcessorResponseText()
           
 String getPurchaseOrderNumber()
           
 Boolean getRecurring()
           
 String getRefundedTransactionId()
           
 String getRefundId()
          Deprecated. 
 List<String> getRefundIds()
           
 BigDecimal getServiceFeeAmount()
           
 String getSettlementBatchId()
           
 Address getShippingAddress()
           
 Transaction.Status getStatus()
           
 List<StatusEvent> getStatusHistory()
           
 Subscription getSubscription()
           
 String getSubscriptionId()
           
 BigDecimal getTaxAmount()
           
 Transaction.Type getType()
           
 Calendar getUpdatedAt()
           
 Address getVaultBillingAddress(BraintreeGateway gateway)
           
 CreditCard getVaultCreditCard(BraintreeGateway gateway)
           
 Customer getVaultCustomer(BraintreeGateway gateway)
           
 Address getVaultShippingAddress(BraintreeGateway gateway)
           
 boolean isDisbursed()
           
 Boolean isTaxExempt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addOns

private List<AddOn> addOns

amount

private BigDecimal amount

avsErrorResponseCode

private String avsErrorResponseCode

avsPostalCodeResponseCode

private String avsPostalCodeResponseCode

avsStreetAddressResponseCode

private String avsStreetAddressResponseCode

billingAddress

private Address billingAddress

channel

private String channel

createdAt

private Calendar createdAt

creditCard

private CreditCard creditCard

currencyIsoCode

private String currencyIsoCode

customer

private Customer customer

customFields

private Map<String,String> customFields

cvvResponseCode

private String cvvResponseCode

disbursementDetails

private DisbursementDetails disbursementDetails

descriptor

private Descriptor descriptor

discounts

private List<Discount> discounts

escrowStatus

private Transaction.EscrowStatus escrowStatus

gatewayRejectionReason

private Transaction.GatewayRejectionReason gatewayRejectionReason

id

private String id

merchantAccountId

private String merchantAccountId

orderId

private String orderId

planId

private String planId

processorAuthorizationCode

private String processorAuthorizationCode

processorResponseCode

private String processorResponseCode

processorResponseText

private String processorResponseText

purchaseOrderNumber

private String purchaseOrderNumber

recurring

private Boolean recurring

refundedTransactionId

private String refundedTransactionId

refundId

private String refundId

refundIds

private List<String> refundIds

settlementBatchId

private String settlementBatchId

shippingAddress

private Address shippingAddress

status

private Transaction.Status status

statusHistory

private List<StatusEvent> statusHistory

subscriptionId

private String subscriptionId

subscription

private Subscription subscription

taxAmount

private BigDecimal taxAmount

taxExempt

private Boolean taxExempt

type

private Transaction.Type type

updatedAt

private Calendar updatedAt

serviceFeeAmount

private BigDecimal serviceFeeAmount
Constructor Detail

Transaction

public Transaction(NodeWrapper node)
Method Detail

isDisbursed

public boolean isDisbursed()

getAddOns

public List<AddOn> getAddOns()

getAmount

public BigDecimal getAmount()

getAvsErrorResponseCode

public String getAvsErrorResponseCode()

getAvsPostalCodeResponseCode

public String getAvsPostalCodeResponseCode()

getAvsStreetAddressResponseCode

public String getAvsStreetAddressResponseCode()

getBillingAddress

public Address getBillingAddress()

getChannel

public String getChannel()

getCreatedAt

public Calendar getCreatedAt()

getCreditCard

public CreditCard getCreditCard()

getCurrencyIsoCode

public String getCurrencyIsoCode()

getCustomer

public Customer getCustomer()

getCustomFields

public Map<String,String> getCustomFields()

getCvvResponseCode

public String getCvvResponseCode()

getDisbursementDetails

public DisbursementDetails getDisbursementDetails()

getDescriptor

public Descriptor getDescriptor()

getDiscounts

public List<Discount> getDiscounts()

getEscrowStatus

public Transaction.EscrowStatus getEscrowStatus()

getGatewayRejectionReason

public Transaction.GatewayRejectionReason getGatewayRejectionReason()

getId

public String getId()

getMerchantAccountId

public String getMerchantAccountId()

getOrderId

public String getOrderId()

getPlanId

public String getPlanId()

getProcessorAuthorizationCode

public String getProcessorAuthorizationCode()

getProcessorResponseCode

public String getProcessorResponseCode()

getProcessorResponseText

public String getProcessorResponseText()

getPurchaseOrderNumber

public String getPurchaseOrderNumber()

getRefundedTransactionId

public String getRefundedTransactionId()

getRefundId

@Deprecated
public String getRefundId()
Deprecated. 

Please use Transaction.getRefundIds() instead


getRefundIds

public List<String> getRefundIds()

getServiceFeeAmount

public BigDecimal getServiceFeeAmount()

getSettlementBatchId

public String getSettlementBatchId()

getShippingAddress

public Address getShippingAddress()

getStatus

public Transaction.Status getStatus()

getStatusHistory

public List<StatusEvent> getStatusHistory()

getSubscriptionId

public String getSubscriptionId()

getSubscription

public Subscription getSubscription()

getTaxAmount

public BigDecimal getTaxAmount()

getType

public Transaction.Type getType()

getRecurring

public Boolean getRecurring()

getUpdatedAt

public Calendar getUpdatedAt()

getVaultBillingAddress

public Address getVaultBillingAddress(BraintreeGateway gateway)

getVaultCreditCard

public CreditCard getVaultCreditCard(BraintreeGateway gateway)

getVaultCustomer

public Customer getVaultCustomer(BraintreeGateway gateway)

getVaultShippingAddress

public Address getVaultShippingAddress(BraintreeGateway gateway)

isTaxExempt

public Boolean isTaxExempt()


Copyright © 2013. All Rights Reserved.