Class: Stripe::ProductCatalog::TrialOfferUpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/product_catalog/trial_offer_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h

Constructor Details

#initialize(active: nil, expand: nil) ⇒ TrialOfferUpdateParams

Returns a new instance of TrialOfferUpdateParams.



12
13
14
15
# File 'lib/stripe/params/product_catalog/trial_offer_update_params.rb', line 12

def initialize(active: nil, expand: nil)
  @active = active
  @expand = expand
end

Instance Attribute Details

#active ⇒ Object

Whether the trial offer can be used for new purchases.



8
9
10
# File 'lib/stripe/params/product_catalog/trial_offer_update_params.rb', line 8

def active
  @active
end

#expand ⇒ Object

Specifies which fields in the response should be expanded.



10
11
12
# File 'lib/stripe/params/product_catalog/trial_offer_update_params.rb', line 10

def expand
  @expand
end