Class: Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#add ⇒ Object
Add a pricing override.
-
#remove ⇒ Object
Remove a pricing override.
-
#type ⇒ Object
The type of pricing override action.
-
#update ⇒ Object
Update a pricing override.
Instance Method Summary collapse
-
#initialize(add: nil, remove: nil, type: nil, update: nil) ⇒ PricingOverrideAction
constructor
A new instance of PricingOverrideAction.
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) ⇒ PricingOverrideAction
Returns a new instance of PricingOverrideAction.
713 714 715 716 717 718 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 713 def initialize(add: nil, remove: nil, type: nil, update: nil) @add = add @remove = remove @type = type @update = update end |
Instance Attribute Details
#add ⇒ Object
Add a pricing override.
705 706 707 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 705 def add @add end |
#remove ⇒ Object
Remove a pricing override.
707 708 709 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 707 def remove @remove end |
#type ⇒ Object
The type of pricing override action.
709 710 711 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 709 def type @type end |
#update ⇒ Object
Update a pricing override.
711 712 713 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 711 def update @update end |