Class: Stripe::ProductCatalog::TrialOfferUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ProductCatalog::TrialOfferUpdateParams
- Defined in:
- lib/stripe/params/product_catalog/trial_offer_update_params.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Whether the trial offer can be used for new purchases.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(active: nil, expand: nil) ⇒ TrialOfferUpdateParams
constructor
A new instance of TrialOfferUpdateParams.
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 = 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 end |