NAME

WebService::Braintree::_::Transaction

PURPOSE

This class represents a transaction.

This class will only be created as part of a response or error response.

add_ons()

This returns the transaction's add-ons (if any). This will be an arrayref of "" in WebService::Braintree::_::AddOn.

additional_processor_response()

This is the additional processor response for this transaction.

amex_express_checkout()

This returns the transaction's AMEX express checkout details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::AmexExpressCheckoutDetail.

amex_express_checkout_details() is an alias to this attribute.

amount()

This is the amount for this transaction.

android_pay()

This returns the transaction's AndroidPay details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::AndroidPayDetail.

android_pay_details() is an alias to this attribute.

apple_pay()

This returns the transaction's ApplePay details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::ApplePayDetail.

apple_pay_details() is an alias to this attribute.

authorization_adjustments()

This returns the transaction's authorization adjustments (if any). This will be an arrayref of "" in WebService::Braintree::_::AuthorizationAdjustment.

authorized_transaction_id()

This is the authorized transaction id for this transaction.

avs_error_response_code()

This is the avs error response code for this transaction.

avs_postal_code_response_code()

This is the avs postal code response code for this transaction.

avs_street_address_response_code()

This is the avs street address response code for this transaction.

billing()

This returns the transaction's billing details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::AddressDetail.

billing_details() is an alias to this attribute.

channel()

This is the channel for this transaction.

coinbase()

This returns the transaction's Coinbase details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::CoinbaseDetail.

coinbase_details() is an alias to this attribute.

created_at()

This is when this transaction was created.

credit_card()

This returns the transaction's credit-card details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::CreditCardDetail.

credit_card_details() is an alias to this attribute.

currency_iso_code()

This is the currency ISO code for this transaction.

custom_fields()

This is the custom fields for this transaction. This will be a hashref.

customer()

This returns the transaction's customer details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::CustomerDetail.

customer_details() is an alias to this attribute.

cvv_response_code()

This is the CVV response code for this transaction.

descriptor()

This returns the transaction's descriptor (if any). This will be an object of type "" in WebService::Braintree::_::Descriptor.

disbursement()

This returns the transaction's disbursement details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::DisbursementDetail.

disbursement_details() is an alias to this attribute.

discount_amount()

This is the discount amount for this transaction.

discounts()

This returns the transaction's discounts (if any). This will be an arrayref of "" in WebService::Braintree::_::Discount.

disputes()

This returns the transaction's disputes (if any). This will be an arrayref of "" in WebService::Braintree::_::Dispute.

escrow_status()

This is the escrow status for this transaction.

facilitated_details()

This returns the transaction's facilitated details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::FacilitatedDetail.

facilitator_details()

This returns the transaction's facilitator details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::FacilitatorDetail.

gateway_rejection_reason()

This is the gateway rejection reason for this transaction.

id()

This is the id for this transaction.

ideal_payment()

This returns the transaction's IdealPayment details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::IdealPaymentDetail.

ideal_payment_details() is an alias to this attribute.

masterpass_card()

This returns the transaction's MasterpassCard details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::MasterpassCardDetail.

masterpass_card_details() is an alias to this attribute.

master_merchant_account_id()

This is the master merchant account id for this transaction.

merchant_account_id()

This is the merchant account id for this transaction.

never_expires()

This is true if this transaction never expires.

is_never_expires() is an alias for this attribute.

options()

This is the options for this transaction.

order_id()

This is the order id for this transaction.

partial_settlement_transaction_ids()

This is the partial settlement transaction ids for this transaction.

payment_instrument_type()

This is the payment instrument type for this transaction.

paypal()

This returns the transaction's PayPal details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::PayPalDetail.

paypal_details() is an alias to this attribute.

plan_id()

This is the plan id for this transaction.

processor_authorization_code()

This is the process authorization code for this transaction.

processor_response_code()

This is the processor response code for this transaction.

processor_response_text()

This is the processor response text for this transaction.

processor_settlement_response_Code()

This is the processor settlement response code for this transaction.

processor_settlement_response_text()

This is the processor settlement response text for this transaction.

purchase_order_number()

This is the purchase order number for this transaction.

recurring()

This is true if this transaction is recurring.

is_recurring() is an alias for this attribute.

refund_id()

This is the refund id for this transaction.

refund_ids()

This is the refund ids for this transaction.

refunded_transaction_id()

This is the refunded transaction id for this transaction.

risk_data()

This returns the transaction's risk data details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::RiskData.

service_fee_amount()

This is the service fee amount for this transaction.

settlement_batch_id()

This is the settlement_batch_id for this transaction.

shipping_amount()

This is the shipping amount for this transaction.

shipping()

This returns the transaction's shipping details (if any). This will be an object of type "" in WebService::Braintree::_::Transaction::AddressDetail.

shipping_details() is an alias to this attribute.

ships_from_postal_code()

This is the ships from postal code for this transaction.

status()

This is the status for this transaction.

balance()

This is the balance for this transaction.

sub_merchant_account_id()

This is the sub merchant account id for this transaction.

balance()

This is the balance for this transaction.

subscription_id()

This is the subscription id for this transaction.

tax_amount()

This is the tax amount for this transaction.

tax_exempt()

This is true if this transaction is tax-exempt.

is_tax_exempt() is an alias for this attribute.

balance()

This is the balance for this transaction.

type()

This is the type for this transaction.

updated_at()

This is when this transaction was last updated. If it has never been updated, then this should equal the "created_at" date.

balance()

This is the balance for this transaction.

balance()

This is the balance for this transaction.

balance()

This is the balance for this transaction.

voice_referral_number()

This is the voice referral number for this transaction.

METHODS

line_items()

This returns all the line-items.

is_disbursed()

This returns whether or not the "disbursement_details" are valid.

is_refunded()

This returns whether or not this transaction has a refund id.

vault_billing_address()

This returns the billing address of the customer.

vault_credit_card()

This returns the credit card.

vault_customer()

This returns the customer.

vault_shipping_address()

This returns the customer's shipping address.