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.
723 724 725 726 727 728 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 723 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.
715 716 717 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 715 def add @add end |
#remove ⇒ Object
Remove a pricing override.
717 718 719 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 717 def remove @remove end |
#type ⇒ Object
The type of pricing override action.
719 720 721 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 719 def type @type end |
#update ⇒ Object
Update a pricing override.
721 722 723 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 721 def update @update end |