Class: Stripe::FxQuote::Usage
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::FxQuote::Usage
- Defined in:
- lib/stripe/resources/fx_quote.rb
Defined Under Namespace
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#payment ⇒ Object
readonly
The details required to use an FX Quote for a payment.
-
#transfer ⇒ Object
readonly
The details required to use an FX Quote for a transfer.
-
#type ⇒ Object
readonly
The transaction type for which the FX Quote will be used.
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
#payment ⇒ Object (readonly)
The details required to use an FX Quote for a payment
90 91 92 |
# File 'lib/stripe/resources/fx_quote.rb', line 90 def payment @payment end |
#transfer ⇒ Object (readonly)
The details required to use an FX Quote for a transfer
92 93 94 |
# File 'lib/stripe/resources/fx_quote.rb', line 92 def transfer @transfer end |
#type ⇒ Object (readonly)
The transaction type for which the FX Quote will be used.
Can be ‘payment’ or ‘transfer’.
96 97 98 |
# File 'lib/stripe/resources/fx_quote.rb', line 96 def type @type end |
Class Method Details
.field_remappings ⇒ Object
102 103 104 |
# File 'lib/stripe/resources/fx_quote.rb', line 102 def self.field_remappings @field_remappings = {} end |