Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add::Pricing
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add::Pricing
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Classes: PriceDetails
Instance Attribute Summary collapse
-
#price_details ⇒ Object
V1 price details.
-
#type ⇒ Object
The type of pricing.
Instance Method Summary collapse
-
#initialize(price_details: nil, type: nil) ⇒ Pricing
constructor
A new instance of Pricing.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(price_details: nil, type: nil) ⇒ Pricing
Returns a new instance of Pricing.
98 99 100 101 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 98 def initialize(price_details: nil, type: nil) @price_details = price_details @type = type end |
Instance Attribute Details
#price_details ⇒ Object
V1 price details. Required if ‘type` is `price`.
94 95 96 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 94 def price_details @price_details end |
#type ⇒ Object
The type of pricing.
96 97 98 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 96 def type @type end |