Class Braintree::Transaction
In: lib/braintree/transaction/paypal_details.rb
lib/braintree/transaction/address_details.rb
lib/braintree/transaction/disbursement_details.rb
lib/braintree/transaction/credit_card_details.rb
lib/braintree/transaction/subscription_details.rb
lib/braintree/transaction/customer_details.rb
lib/braintree/transaction/apple_pay_details.rb
lib/braintree/transaction/coinbase_details.rb
lib/braintree/transaction/status_details.rb
lib/braintree/transaction.rb
Parent: Object

Methods

Included Modules

BaseModule

Classes and Modules

Module Braintree::Transaction::CreatedUsing
Module Braintree::Transaction::EscrowStatus
Module Braintree::Transaction::GatewayRejectionReason
Module Braintree::Transaction::IndustryType
Module Braintree::Transaction::Source
Module Braintree::Transaction::Status
Class Braintree::Transaction::ApplePayDetails
Class Braintree::Transaction::CoinbaseDetails
Class Braintree::Transaction::PayPalDetails

Attributes

add_ons  [R] 
additional_processor_response  [R]  The raw response from the processor.
amount  [R] 
apple_pay_details  [R] 
avs_error_response_code  [R] 
avs_postal_code_response_code  [R] 
avs_street_address_response_code  [R] 
billing_details  [R] 
channel  [R] 
coinbase_details  [R] 
created_at  [R] 
credit_card_details  [R] 
currency_iso_code  [R] 
custom_fields  [R] 
customer_details  [R] 
cvv_response_code  [R] 
descriptor  [R] 
disbursement_details  [R] 
discounts  [R] 
disputes  [R] 
escrow_status  [R] 
gateway_rejection_reason  [R] 
id  [R] 
merchant_account_id  [R] 
order_id  [R] 
payment_instrument_type  [R] 
paypal_details  [R] 
plan_id  [R] 
processor_authorization_code  [R]  The authorization code from the processor.
processor_response_code  [R]  The response code from the processor.
processor_response_text  [R]  The response text from the processor.
processor_settlement_response_code  [R]  The settlement response code from the processor.
processor_settlement_response_text  [R]  The settlement response text from the processor.
purchase_order_number  [R] 
recurring  [R] 
refund_ids  [R] 
refunded_transaction_id  [R] 
risk_data  [R] 
service_fee_amount  [R] 
settlement_batch_id  [R] 
shipping_details  [R] 
status  [R]  See Transaction::Status
status_history  [R] 
subscription_details  [R] 
subscription_id  [R] 
tax_amount  [R] 
tax_exempt  [R] 
three_d_secure_info  [R] 
type  [R]  Will either be "sale" or "credit"
updated_at  [R] 
voice_referral_number  [R] 

Public Class methods

Public Instance methods

True if other is a Braintree::Transaction with the same id.

Returns true if the transaction has been disbursed. False otherwise.

Returns true if the transaction has been refunded. False otherwise.

If this transaction was stored in the vault, or created from vault records, vault_billing_address will return the associated Braintree::Address. Because the vault billing address can be updated after the transaction was created, the attributes on vault_billing_address may not match the attributes on billing_details.

If this transaction was stored in the vault, or created from vault records, vault_credit_card will return the associated Braintree::CreditCard. Because the vault credit card can be updated after the transaction was created, the attributes on vault_credit_card may not match the attributes on credit_card_details.

If this transaction was stored in the vault, or created from vault records, vault_customer will return the associated Braintree::Customer. Because the vault customer can be updated after the transaction was created, the attributes on vault_customer may not match the attributes on customer_details.

If this transaction was stored in the vault, or created from vault records, vault_shipping_address will return the associated Braintree::Address. Because the vault shipping address can be updated after the transaction was created, the attributes on vault_shipping_address may not match the attributes on shipping_details.

[Validate]