Class: Stripe::V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetails::Overrides::PartialPeriodBehavior::RecurringCreditGrant

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_behaviorObject

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