Class: Stripe::ProductService::CreateParams::Provisioning

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/product_service.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.



372
373
374
375
# File 'lib/stripe/services/product_service.rb', line 372

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



368
369
370
# File 'lib/stripe/services/product_service.rb', line 368

def gift_card
  @gift_card
end

#typeObject

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



370
371
372
# File 'lib/stripe/services/product_service.rb', line 370

def type
  @type
end