Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify::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.



308
309
310
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 308

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.



306
307
308
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 306

def create_behavior
  @create_behavior
end