Class: Stripe::Product::Provisioning::GiftCard
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Product::Provisioning::GiftCard
- Defined in:
- lib/stripe/resources/product.rb
Defined Under Namespace
Classes: FixedAmount
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#fixed_amount ⇒ Object
readonly
Attribute for field fixed_amount.
-
#type ⇒ Object
readonly
The specific type of gift_card provisioning, only ‘fixed_amount` currently supported.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, 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
#fixed_amount ⇒ Object (readonly)
Attribute for field fixed_amount
53 54 55 |
# File 'lib/stripe/resources/product.rb', line 53 def fixed_amount @fixed_amount end |
#type ⇒ Object (readonly)
The specific type of gift_card provisioning, only ‘fixed_amount` currently supported.
55 56 57 |
# File 'lib/stripe/resources/product.rb', line 55 def type @type end |