Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#add ⇒ Object
Parameters for adding a pricing line.
-
#remove ⇒ Object
Parameters for removing a pricing line.
-
#type ⇒ Object
The type of pricing line action.
-
#update ⇒ Object
Parameters for updating a pricing line.
Instance Method Summary collapse
-
#initialize(add: nil, remove: nil, type: nil, update: nil) ⇒ PricingLineAction
constructor
A new instance of PricingLineAction.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(add: nil, remove: nil, type: nil, update: nil) ⇒ PricingLineAction
Returns a new instance of PricingLineAction.
196 197 198 199 200 201 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 196 def initialize(add: nil, remove: nil, type: nil, update: nil) @add = add @remove = remove @type = type @update = update end |
Instance Attribute Details
#add ⇒ Object
Parameters for adding a pricing line.
188 189 190 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 188 def add @add end |
#remove ⇒ Object
Parameters for removing a pricing line.
190 191 192 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 190 def remove @remove end |
#type ⇒ Object
The type of pricing line action.
192 193 194 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 192 def type @type end |
#update ⇒ Object
Parameters for updating a pricing line.
194 195 196 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 194 def update @update end |