Class: Stripe::V2::Billing::ContractCancelParams::CancelPricingLine
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCancelParams::CancelPricingLine
- Defined in:
- lib/stripe/params/v2/billing/contract_cancel_params.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The id of the pricing line.
-
#lookup_key ⇒ Object
The lookup key of the pricing line.
-
#proration_behavior ⇒ Object
Proration behavior scoped to this pricing line.
Instance Method Summary collapse
-
#initialize(id: nil, lookup_key: nil, proration_behavior: nil) ⇒ CancelPricingLine
constructor
A new instance of CancelPricingLine.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(id: nil, lookup_key: nil, proration_behavior: nil) ⇒ CancelPricingLine
Returns a new instance of CancelPricingLine.
17 18 19 20 21 |
# File 'lib/stripe/params/v2/billing/contract_cancel_params.rb', line 17 def initialize(id: nil, lookup_key: nil, proration_behavior: nil) @id = id @lookup_key = lookup_key @proration_behavior = proration_behavior end |
Instance Attribute Details
#id ⇒ Object
The id of the pricing line.
10 11 12 |
# File 'lib/stripe/params/v2/billing/contract_cancel_params.rb', line 10 def id @id end |
#lookup_key ⇒ Object
The lookup key of the pricing line.
12 13 14 |
# File 'lib/stripe/params/v2/billing/contract_cancel_params.rb', line 12 def lookup_key @lookup_key end |
#proration_behavior ⇒ Object
Proration behavior scoped to this pricing line. If not provided, falls back to the
top-level proration_behavior on the cancel request. Defaults to prorated.
15 16 17 |
# File 'lib/stripe/params/v2/billing/contract_cancel_params.rb', line 15 def proration_behavior @proration_behavior end |