Class: Stripe::Issuing::Authorization::CryptoTransaction
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Authorization::CryptoTransaction
- Defined in:
- lib/stripe/resources/issuing/authorization.rb
Defined Under Namespace
Classes: CryptoTransactionConfirmed, CryptoTransactionFailed
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#crypto_transaction_confirmed ⇒ Object
readonly
The confirmed crypto transaction details when ‘type` is `crypto_transaction_confirmed`; otherwise null.
-
#crypto_transaction_failed ⇒ Object
readonly
The failed crypto transaction details when ‘type` is `crypto_transaction_failed`; otherwise null.
-
#type ⇒ Object
readonly
The crypto transaction variant for this array entry.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#crypto_transaction_confirmed ⇒ Object (readonly)
The confirmed crypto transaction details when ‘type` is `crypto_transaction_confirmed`; otherwise null.
133 134 135 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 133 def crypto_transaction_confirmed @crypto_transaction_confirmed end |
#crypto_transaction_failed ⇒ Object (readonly)
The failed crypto transaction details when ‘type` is `crypto_transaction_failed`; otherwise null.
135 136 137 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 135 def crypto_transaction_failed @crypto_transaction_failed end |
#type ⇒ Object (readonly)
The crypto transaction variant for this array entry.
137 138 139 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 137 def type @type end |
Class Method Details
.field_remappings ⇒ Object
146 147 148 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 146 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
139 140 141 142 143 144 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 139 def self.inner_class_types @inner_class_types = { crypto_transaction_confirmed: CryptoTransactionConfirmed, crypto_transaction_failed: CryptoTransactionFailed, } end |