Package com.braintreegateway
Class Transaction
- java.lang.Object
-
- com.braintreegateway.Transaction
-
public class Transaction extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransaction.CreatedUsingstatic classTransaction.EscrowStatusstatic classTransaction.GatewayRejectionReasonstatic classTransaction.IndustryTypestatic classTransaction.ScaExemptionstatic classTransaction.Sourcestatic classTransaction.Statusstatic classTransaction.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Transaction(NodeWrapper node)
-
Method Summary
-
-
-
Field Detail
-
achReturnCode
private String achReturnCode
-
achReturnResponses
private List<AchReturnResponse> achReturnResponses
-
acquirerReferenceNumber
private String acquirerReferenceNumber
-
additionalProcessorResponse
private String additionalProcessorResponse
-
amexExpressCheckoutDetails
private AmexExpressCheckoutDetails amexExpressCheckoutDetails
-
amount
private BigDecimal amount
-
androidPayDetails
private AndroidPayDetails androidPayDetails
-
applePayDetails
private ApplePayDetails applePayDetails
-
authorizationAdjustments
private List<AuthorizationAdjustment> authorizationAdjustments
-
authorizationExpiresAt
private Calendar authorizationExpiresAt
-
authorizedTransactionId
private String authorizedTransactionId
-
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
-
customActionsPaymentMethodDetails
private CustomActionsPaymentMethodDetails customActionsPaymentMethodDetails
-
customer
private Customer customer
-
cvvResponseCode
private String cvvResponseCode
-
debitNetwork
private String debitNetwork
-
descriptor
private Descriptor descriptor
-
disbursementDetails
private DisbursementDetails disbursementDetails
-
discountAmount
private BigDecimal discountAmount
-
duplicateOfTransactionId
private String duplicateOfTransactionId
-
escrowStatus
private Transaction.EscrowStatus escrowStatus
-
facilitatedDetails
private FacilitatedDetails facilitatedDetails
-
facilitatorDetails
private FacilitatorDetails facilitatorDetails
-
foreignRetailer
private boolean foreignRetailer
-
gatewayRejectionReason
private Transaction.GatewayRejectionReason gatewayRejectionReason
-
graphqlId
private String graphqlId
-
id
private String id
-
installmentCount
private Integer installmentCount
-
installments
private List<Installment> installments
-
localPaymentDetails
private LocalPaymentDetails localPaymentDetails
-
masterpassCardDetails
private MasterpassCardDetails masterpassCardDetails
-
merchantAccountId
private String merchantAccountId
-
merchantAdviceCode
private String merchantAdviceCode
-
merchantAdviceCodeText
private String merchantAdviceCodeText
-
metaCheckoutCardDetails
private MetaCheckoutCardDetails metaCheckoutCardDetails
-
metaCheckoutTokenDetails
private MetaCheckoutTokenDetails metaCheckoutTokenDetails
-
networkResponseCode
private String networkResponseCode
-
networkResponseText
private String networkResponseText
-
networkToken
private CreditCard networkToken
-
networkTransactionId
private String networkTransactionId
-
orderId
private String orderId
-
packages
private List<PackageDetails> packages
-
paymentInstrumentType
private String paymentInstrumentType
-
paypalDetails
private PayPalDetails paypalDetails
-
paypalHereDetails
private PayPalHereDetails paypalHereDetails
-
planId
private String planId
-
processedWithNetworkToken
private boolean processedWithNetworkToken
-
processorAuthorizationCode
private String processorAuthorizationCode
-
processorResponseCode
private String processorResponseCode
-
processorResponseText
private String processorResponseText
-
processorResponseType
private ProcessorResponseType processorResponseType
-
processorSettlementResponseCode
private String processorSettlementResponseCode
-
processorSettlementResponseText
private String processorSettlementResponseText
-
purchaseOrderNumber
private String purchaseOrderNumber
-
recurring
private Boolean recurring
-
refundedInstallments
private List<Installment> refundedInstallments
-
refundedTransactionId
private String refundedTransactionId
-
refundId
private String refundId
-
retried
private boolean retried
-
retriedTransactionId
private String retriedTransactionId
-
retrievalReferenceNumber
private String retrievalReferenceNumber
-
riskData
private RiskData riskData
-
samsungPayCardDetails
private SamsungPayCardDetails samsungPayCardDetails
-
scaExemptionRequested
private Transaction.ScaExemption scaExemptionRequested
-
sepaDirectDebitAccountDetails
private SepaDirectDebitAccountDetails sepaDirectDebitAccountDetails
-
sepaDirectDebitReturnCode
private String sepaDirectDebitReturnCode
-
serviceFeeAmount
private BigDecimal serviceFeeAmount
-
settlementBatchId
private String settlementBatchId
-
shippingAddress
private Address shippingAddress
-
shippingAmount
private BigDecimal shippingAmount
-
shippingTaxAmount
private BigDecimal shippingTaxAmount
-
shipsFromPostalCode
private String shipsFromPostalCode
-
status
private Transaction.Status status
-
statusHistory
private List<StatusEvent> statusHistory
-
subscription
private Subscription subscription
-
subscriptionDetails
private SubscriptionDetails subscriptionDetails
-
subscriptionId
private String subscriptionId
-
taxAmount
private BigDecimal taxAmount
-
taxExempt
private Boolean taxExempt
-
threeDSecureInfo
private ThreeDSecureInfo threeDSecureInfo
-
type
private Transaction.Type type
-
updatedAt
private Calendar updatedAt
-
usBankAccountDetails
private UsBankAccountDetails usBankAccountDetails
-
venmoAccountDetails
private VenmoAccountDetails venmoAccountDetails
-
visaCheckoutCardDetails
private VisaCheckoutCardDetails visaCheckoutCardDetails
-
voiceReferralNumber
private String voiceReferralNumber
-
-
Constructor Detail
-
Transaction
public Transaction(NodeWrapper node)
-
-
Method Detail
-
isDisbursed
public boolean isDisbursed()
-
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()
-
getCvvResponseCode
public String getCvvResponseCode()
-
getDebitNetwork
public String getDebitNetwork()
-
getDisbursementDetails
public DisbursementDetails getDisbursementDetails()
-
getDescriptor
public Descriptor getDescriptor()
-
getDuplicateOfTransactionId
public String getDuplicateOfTransactionId()
-
getEscrowStatus
public Transaction.EscrowStatus getEscrowStatus()
-
getGatewayRejectionReason
public Transaction.GatewayRejectionReason getGatewayRejectionReason()
-
getId
public String getId()
-
getGraphQLId
public String getGraphQLId()
-
getMerchantAccountId
public String getMerchantAccountId()
-
getNetworkToken
public CreditCard getNetworkToken()
-
getOrderId
public String getOrderId()
-
getPayPalDetails
public PayPalDetails getPayPalDetails()
-
getPayPalHereDetails
public PayPalHereDetails getPayPalHereDetails()
-
getSepaDirectDebitAccountDetails
public SepaDirectDebitAccountDetails getSepaDirectDebitAccountDetails()
-
getScaExemptionRequested
public Transaction.ScaExemption getScaExemptionRequested()
-
getApplePayDetails
public ApplePayDetails getApplePayDetails()
-
getAndroidPayDetails
public AndroidPayDetails getAndroidPayDetails()
-
getAmexExpressCheckoutDetails
@Deprecated public AmexExpressCheckoutDetails getAmexExpressCheckoutDetails()
Deprecated.
-
getVenmoAccountDetails
public VenmoAccountDetails getVenmoAccountDetails()
-
getUsBankAccountDetails
public UsBankAccountDetails getUsBankAccountDetails()
-
getLocalPaymentDetails
public LocalPaymentDetails getLocalPaymentDetails()
-
getMetaCheckoutCardDetails
public MetaCheckoutCardDetails getMetaCheckoutCardDetails()
-
getMetaCheckoutTokenDetails
public MetaCheckoutTokenDetails getMetaCheckoutTokenDetails()
-
getVisaCheckoutCardDetails
public VisaCheckoutCardDetails getVisaCheckoutCardDetails()
-
getMasterpassCardDetails
@Deprecated public MasterpassCardDetails getMasterpassCardDetails()
Deprecated.
-
getSamsungPayCardDetails
@Deprecated public SamsungPayCardDetails getSamsungPayCardDetails()
Deprecated.
-
getCustomActionsPaymentMethodDetails
public CustomActionsPaymentMethodDetails getCustomActionsPaymentMethodDetails()
-
getPackages
public List<PackageDetails> getPackages()
-
getPlanId
public String getPlanId()
-
isProcessedWithNetworkToken
public boolean isProcessedWithNetworkToken()
-
getProcessorAuthorizationCode
public String getProcessorAuthorizationCode()
-
getProcessorResponseCode
public String getProcessorResponseCode()
-
getProcessorResponseText
public String getProcessorResponseText()
-
getProcessorResponseType
public ProcessorResponseType getProcessorResponseType()
-
getProcessorSettlementResponseCode
public String getProcessorSettlementResponseCode()
-
getProcessorSettlementResponseText
public String getProcessorSettlementResponseText()
-
getAdditionalProcessorResponse
public String getAdditionalProcessorResponse()
-
getNetworkResponseCode
public String getNetworkResponseCode()
-
getAchReturnCode
public String getAchReturnCode()
-
getMerchantAdviceCode
public String getMerchantAdviceCode()
-
getMerchantAdviceCodeText
public String getMerchantAdviceCodeText()
-
getSepaDirectDebitReturnCode
public String getSepaDirectDebitReturnCode()
-
getNetworkResponseText
public String getNetworkResponseText()
-
getVoiceReferralNumber
public String getVoiceReferralNumber()
-
getAchReturnResponses
public List<AchReturnResponse> getAchReturnResponses()
-
getPurchaseOrderNumber
public String getPurchaseOrderNumber()
-
getRefundedTransactionId
public String getRefundedTransactionId()
-
getRetrievalReferenceNumber
public String getRetrievalReferenceNumber()
-
getAcquirerReferenceNumber
public String getAcquirerReferenceNumber()
-
getRiskData
public RiskData getRiskData()
-
getThreeDSecureInfo
public ThreeDSecureInfo getThreeDSecureInfo()
-
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()
-
getSubscriptionDetails
public SubscriptionDetails getSubscriptionDetails()
-
getTaxAmount
public BigDecimal getTaxAmount()
-
getShippingAmount
public BigDecimal getShippingAmount()
-
getShippingTaxAmount
public BigDecimal getShippingTaxAmount()
-
getDiscountAmount
public BigDecimal getDiscountAmount()
-
getShipsFromPostalCode
public String getShipsFromPostalCode()
-
getType
public Transaction.Type getType()
-
getRecurring
@Deprecated public Boolean getRecurring()
Deprecated.
-
isRecurring
public Boolean isRecurring()
-
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()
-
getPaymentInstrumentType
public String getPaymentInstrumentType()
-
getAuthorizedTransactionId
public String getAuthorizedTransactionId()
-
getAuthorizationAdjustments
public List<AuthorizationAdjustment> getAuthorizationAdjustments()
-
getFacilitatedDetails
public FacilitatedDetails getFacilitatedDetails()
-
getFacilitatorDetails
public FacilitatorDetails getFacilitatorDetails()
-
getLineItems
public List<TransactionLineItem> getLineItems(BraintreeGateway gateway)
-
getNetworkTransactionId
public String getNetworkTransactionId()
-
getAuthorizationExpiresAt
public Calendar getAuthorizationExpiresAt()
-
getInstallmentCount
public Integer getInstallmentCount()
-
getInstallments
public List<Installment> getInstallments()
-
getRefundedInstallments
public List<Installment> getRefundedInstallments()
-
isRetried
public boolean isRetried()
-
getRetriedTransactionId
public String getRetriedTransactionId()
-
isforeignRetailer
public boolean isforeignRetailer()
-
-