Class: Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_update_params.rb

Defined Under Namespace

Classes: Add, Remove, Update

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addObject

Add a pricing override.



705
706
707
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 705

def add
  @add
end

#removeObject

Remove a pricing override.



707
708
709
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 707

def remove
  @remove
end

#typeObject

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

#updateObject

Update a pricing override.



711
712
713
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 711

def update
  @update
end