Class: Stripe::V2::Billing::IntentCreateParams::Action::Deactivate::PricingPlanSubscriptionDetails::Overrides::PartialPeriodBehavior

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

Defined Under Namespace

Classes: LicenseFee

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(license_fee: nil, type: nil) ⇒ PartialPeriodBehavior

Returns a new instance of PartialPeriodBehavior.



213
214
215
216
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 213

def initialize(license_fee: nil, type: nil)
  @license_fee = license_fee
  @type = type
end

Instance Attribute Details

#license_feeObject

Overrides the behavior for license fee components when the action takes effect during the service period.



209
210
211
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 209

def license_fee
  @license_fee
end

#typeObject

The type of behavior to override.



211
212
213
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 211

def type
  @type
end