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.



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

#addObject

Add a pricing override.



715
716
717
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 715

def add
  @add
end

#removeObject

Remove a pricing override.



717
718
719
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 717

def remove
  @remove
end

#typeObject

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

#updateObject

Update a pricing override.



721
722
723
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 721

def update
  @update
end