Class: Stripe::V2::Billing::ContractCreateParams::ContractLine::Override::ServiceAction
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::ContractLine::Override::ServiceAction
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#add ⇒ Object
Parameters for adding a new service action.
-
#replace ⇒ Object
Parameters for replacing an existing service action.
-
#type ⇒ Object
The type of service action override.
Instance Method Summary collapse
-
#initialize(add: nil, replace: nil, type: nil) ⇒ ServiceAction
constructor
A new instance of ServiceAction.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(add: nil, replace: nil, type: nil) ⇒ ServiceAction
Returns a new instance of ServiceAction.
327 328 329 330 331 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 327 def initialize(add: nil, replace: nil, type: nil) @add = add @replace = replace @type = type end |
Instance Attribute Details
#add ⇒ Object
Parameters for adding a new service action.
321 322 323 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 321 def add @add end |
#replace ⇒ Object
Parameters for replacing an existing service action.
323 324 325 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 323 def replace @replace end |
#type ⇒ Object
The type of service action override.
325 326 327 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 325 def type @type end |