Class: Stripe::Product::CreateParams::Provisioning
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Product::CreateParams::Provisioning
- Defined in:
- lib/stripe/resources/product.rb
Defined Under Namespace
Classes: GiftCard
Instance Attribute Summary collapse
-
#gift_card ⇒ Object
Attribute for param field gift_card.
-
#type ⇒ Object
The type of provisioning, only ‘gift_card` currently supported.
Instance Method Summary collapse
-
#initialize(gift_card: nil, type: nil) ⇒ Provisioning
constructor
A new instance of Provisioning.
Methods inherited from RequestParams
Constructor Details
#initialize(gift_card: nil, type: nil) ⇒ Provisioning
Returns a new instance of Provisioning.
483 484 485 486 |
# File 'lib/stripe/resources/product.rb', line 483 def initialize(gift_card: nil, type: nil) @gift_card = gift_card @type = type end |
Instance Attribute Details
#gift_card ⇒ Object
Attribute for param field gift_card
478 479 480 |
# File 'lib/stripe/resources/product.rb', line 478 def gift_card @gift_card end |
#type ⇒ Object
The type of provisioning, only ‘gift_card` currently supported.
481 482 483 |
# File 'lib/stripe/resources/product.rb', line 481 def type @type end |