Class: Braintree::Transaction::PayPalHereDetails
- Inherits:
-
Object
- Object
- Braintree::Transaction::PayPalHereDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/transaction/paypal_here_details.rb
Instance Attribute Summary collapse
-
#authorization_id ⇒ Object
readonly
Returns the value of attribute authorization_id.
-
#capture_id ⇒ Object
readonly
Returns the value of attribute capture_id.
-
#invoice_id ⇒ Object
readonly
Returns the value of attribute invoice_id.
-
#last_4 ⇒ Object
readonly
Returns the value of attribute last_4.
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
-
#payment_type ⇒ Object
readonly
Returns the value of attribute payment_type.
-
#refund_id ⇒ Object
readonly
Returns the value of attribute refund_id.
-
#transaction_fee_amount ⇒ Object
readonly
Returns the value of attribute transaction_fee_amount.
-
#transaction_fee_currency_iso_code ⇒ Object
readonly
Returns the value of attribute transaction_fee_currency_iso_code.
-
#transaction_initiation_date ⇒ Object
readonly
Returns the value of attribute transaction_initiation_date.
-
#transaction_updated_date ⇒ Object
readonly
Returns the value of attribute transaction_updated_date.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ PayPalHereDetails
constructor
A new instance of PayPalHereDetails.
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
#initialize(attributes) ⇒ PayPalHereDetails
Returns a new instance of PayPalHereDetails.
18 19 20 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 18 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#authorization_id ⇒ Object (readonly)
Returns the value of attribute authorization_id.
6 7 8 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 6 def @authorization_id end |
#capture_id ⇒ Object (readonly)
Returns the value of attribute capture_id.
7 8 9 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 7 def capture_id @capture_id end |
#invoice_id ⇒ Object (readonly)
Returns the value of attribute invoice_id.
8 9 10 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 8 def invoice_id @invoice_id end |
#last_4 ⇒ Object (readonly)
Returns the value of attribute last_4.
9 10 11 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 9 def last_4 @last_4 end |
#payment_id ⇒ Object (readonly)
Returns the value of attribute payment_id.
10 11 12 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 10 def payment_id @payment_id end |
#payment_type ⇒ Object (readonly)
Returns the value of attribute payment_type.
11 12 13 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 11 def payment_type @payment_type end |
#refund_id ⇒ Object (readonly)
Returns the value of attribute refund_id.
12 13 14 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 12 def refund_id @refund_id end |
#transaction_fee_amount ⇒ Object (readonly)
Returns the value of attribute transaction_fee_amount.
13 14 15 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 13 def transaction_fee_amount @transaction_fee_amount end |
#transaction_fee_currency_iso_code ⇒ Object (readonly)
Returns the value of attribute transaction_fee_currency_iso_code.
14 15 16 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 14 def transaction_fee_currency_iso_code @transaction_fee_currency_iso_code end |
#transaction_initiation_date ⇒ Object (readonly)
Returns the value of attribute transaction_initiation_date.
15 16 17 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 15 def transaction_initiation_date @transaction_initiation_date end |
#transaction_updated_date ⇒ Object (readonly)
Returns the value of attribute transaction_updated_date.
16 17 18 |
# File 'lib/braintree/transaction/paypal_here_details.rb', line 16 def transaction_updated_date @transaction_updated_date end |