Class: Braintree::TestTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- Braintree::TestTransaction
- Defined in:
- lib/braintree/test_transaction.rb
Instance Attribute Summary
Attributes inherited from Transaction
#ach_return_code, #ach_return_responses, #acquirer_reference_number, #add_ons, #additional_processor_response, #amount, #apple_pay_details, #authorization_adjustments, #authorization_expires_at, #authorized_transaction_id, #avs_error_response_code, #avs_postal_code_response_code, #avs_street_address_response_code, #billing_details, #channel, #created_at, #credit_card_details, #currency_iso_code, #custom_fields, #customer_details, #cvv_response_code, #debit_network, #descriptor, #disbursement_details, #discount_amount, #discounts, #disputes, #escrow_status, #facilitated_details, #facilitator_details, #foreign_retailer, #gateway_rejection_reason, #google_pay_details, #graphql_id, #id, #installment_count, #installments, #local_payment_details, #merchant_account_id, #merchant_advice_code, #merchant_advice_code_text, #meta_checkout_card_details, #meta_checkout_token_details, #network_response_code, #network_response_text, #network_token_details, #network_transaction_id, #order_id, #packages, #partial_settlement_transaction_ids, #payment_instrument_type, #payment_receipt, #paypal_details, #paypal_here_details, #plan_id, #processor_authorization_code, #processor_response_code, #processor_response_text, #processor_response_type, #processor_settlement_response_code, #processor_settlement_response_text, #product_sku, #purchase_order_number, #recurring, #refund_ids, #refunded_installments, #refunded_transaction_id, #retried, #retried_transaction_id, #retrieval_reference_number, #retry_ids, #risk_data, #samsung_pay_card_details, #sca_exemption_requested, #sepa_direct_debit_account_details, #sepa_direct_debit_return_code, #service_fee_amount, #settlement_batch_id, #shipping_amount, #shipping_details, #shipping_tax_amount, #ships_from_postal_code, #status, #status_history, #subscription_details, #subscription_id, #tax_amount, #tax_exempt, #three_d_secure_info, #type, #updated_at, #us_bank_account_details, #venmo_account_details, #visa_checkout_card_details, #voice_referral_number
Class Method Summary collapse
- .settle(transaction_id) ⇒ Object
- .settlement_confirm(transaction_id) ⇒ Object
- .settlement_decline(transaction_id) ⇒ Object
- .settlement_pending(transaction_id) ⇒ Object
Methods inherited from Transaction
_attributes, _new, adjust_authorization, adjust_authorization!, cancel_release, cancel_release!, clone_transaction, clone_transaction!, create, create!, credit, credit!, #disbursed?, find, hold_in_escrow, hold_in_escrow!, #initialize, #inspect, line_items, #line_items, package_tracking, package_tracking!, #processed_with_network_token?, refund, refund!, #refunded?, release_from_escrow, release_from_escrow!, sale, sale!, search, submit_for_partial_settlement, submit_for_partial_settlement!, submit_for_settlement, submit_for_settlement!, update_details, update_details!, #vault_billing_address, #vault_credit_card, #vault_customer, #vault_shipping_address, void, void!
Methods included from Util::IdEquality
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
This class inherits a constructor from Braintree::Transaction
Class Method Details
.settle(transaction_id) ⇒ Object
3 4 5 |
# File 'lib/braintree/test_transaction.rb', line 3 def self.settle(transaction_id) Configuration.gateway.testing.settle(transaction_id) end |
.settlement_confirm(transaction_id) ⇒ Object
7 8 9 |
# File 'lib/braintree/test_transaction.rb', line 7 def self.settlement_confirm(transaction_id) Configuration.gateway.testing.settlement_confirm(transaction_id) end |
.settlement_decline(transaction_id) ⇒ Object
11 12 13 |
# File 'lib/braintree/test_transaction.rb', line 11 def self.settlement_decline(transaction_id) Configuration.gateway.testing.settlement_decline(transaction_id) end |
.settlement_pending(transaction_id) ⇒ Object
15 16 17 |
# File 'lib/braintree/test_transaction.rb', line 15 def self.settlement_pending(transaction_id) Configuration.gateway.testing.settlement_pending(transaction_id) end |