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.
412 413 414 415 |
# File 'lib/stripe/resources/product.rb', line 412 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
408 409 410 |
# File 'lib/stripe/resources/product.rb', line 408 def fixed_amount @fixed_amount end |
#type ⇒ Object
The specific type of gift_card provisioning, only ‘fixed_amount` currently supported.
410 411 412 |
# File 'lib/stripe/resources/product.rb', line 410 def type @type end |