Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails::Overrides::PartialPeriodBehavior::RecurringCreditGrant
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails::Overrides::PartialPeriodBehavior::RecurringCreditGrant
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Instance Attribute Summary collapse
-
#create_behavior ⇒ Object
Controls credit grant creation behavior during partial periods.
Instance Method Summary collapse
-
#initialize(create_behavior: nil) ⇒ RecurringCreditGrant
constructor
A new instance of RecurringCreditGrant.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(create_behavior: nil) ⇒ RecurringCreditGrant
Returns a new instance of RecurringCreditGrant.
454 455 456 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 454 def initialize(create_behavior: nil) @create_behavior = create_behavior end |
Instance Attribute Details
#create_behavior ⇒ Object
Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits.
452 453 454 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 452 def create_behavior @create_behavior end |