Class: Stripe::Product::CreateParams::Provisioning

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/product.rb

Defined Under Namespace

Classes: GiftCard

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(gift_card: nil, type: nil) ⇒ Provisioning

Returns a new instance of Provisioning.



417
418
419
420
# File 'lib/stripe/resources/product.rb', line 417

def initialize(gift_card: nil, type: nil)
  @gift_card = gift_card
  @type = type
end

Instance Attribute Details

#gift_cardObject

Attribute for param field gift_card



413
414
415
# File 'lib/stripe/resources/product.rb', line 413

def gift_card
  @gift_card
end

#typeObject

The type of provisioning, only ‘gift_card` currently supported.



415
416
417
# File 'lib/stripe/resources/product.rb', line 415

def type
  @type
end