Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Update::Pricing::PriceDetails::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.



383
384
385
386
387
388
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 383

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 line override.



375
376
377
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 375

def add
  @add
end

#removeObject

Remove a pricing line override.



377
378
379
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 377

def remove
  @remove
end

#typeObject

The type of pricing line override action.



379
380
381
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 379

def type
  @type
end

#updateObject

Update a pricing line override.



381
382
383
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 381

def update
  @update
end