Class: Stripe::PaymentAttemptRecord::AmountRequested
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentAttemptRecord::AmountRequested
- Defined in:
- lib/stripe/resources/payment_attempt_record.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#currency ⇒ Object
readonly
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase.
-
#value ⇒ Object
readonly
A positive integer representing the amount in the currency’s [minor unit](stripe.com/docs/currencies#zero-decimal).
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?, #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
#currency ⇒ Object (readonly)
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).
109 110 111 |
# File 'lib/stripe/resources/payment_attempt_record.rb', line 109 def currency @currency end |
#value ⇒ Object (readonly)
A positive integer representing the amount in the currency’s [minor unit](stripe.com/docs/currencies#zero-decimal). For example, ‘100` can represent 1 USD or 100 JPY.
111 112 113 |
# File 'lib/stripe/resources/payment_attempt_record.rb', line 111 def value @value end |
Class Method Details
.field_remappings ⇒ Object
117 118 119 |
# File 'lib/stripe/resources/payment_attempt_record.rb', line 117 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
113 114 115 |
# File 'lib/stripe/resources/payment_attempt_record.rb', line 113 def self.inner_class_types @inner_class_types = {} end |