Class: Stripe::Product::CreateParams::Provisioning::GiftCard
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Product::CreateParams::Provisioning::GiftCard
- Defined in:
- lib/stripe/resources/product.rb
Defined Under Namespace
Classes: FixedAmount
Instance Attribute Summary collapse
-
#fixed_amount ⇒ Object
Attribute for param field fixed_amount.
-
#type ⇒ Object
The specific type of gift_card provisioning, only ‘fixed_amount` currently supported.
Instance Method Summary collapse
-
#initialize(fixed_amount: nil, type: nil) ⇒ GiftCard
constructor
A new instance of GiftCard.
Methods inherited from RequestParams
Constructor Details
#initialize(fixed_amount: nil, type: nil) ⇒ GiftCard
Returns a new instance of GiftCard.
407 408 409 410 |
# File 'lib/stripe/resources/product.rb', line 407 def initialize(fixed_amount: nil, type: nil) @fixed_amount = fixed_amount @type = type end |
Instance Attribute Details
#fixed_amount ⇒ Object
Attribute for param field fixed_amount
403 404 405 |
# File 'lib/stripe/resources/product.rb', line 403 def fixed_amount @fixed_amount end |
#type ⇒ Object
The specific type of gift_card provisioning, only ‘fixed_amount` currently supported.
405 406 407 |
# File 'lib/stripe/resources/product.rb', line 405 def type @type end |