Class: Stripe::V2::Billing::ContractCreateParams::ContractLine::Override::ServiceAction::Add
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::ContractLine::Override::ServiceAction::Add
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Defined Under Namespace
Classes: CreditGrant
Instance Attribute Summary collapse
-
#credit_grant ⇒ Object
Details for the credit grant.
-
#service_interval ⇒ Object
The interval for assessing service.
-
#service_interval_count ⇒ Object
The length of the interval for assessing service.
-
#type ⇒ Object
The type of the service action.
Instance Method Summary collapse
-
#initialize(credit_grant: nil, service_interval: nil, service_interval_count: nil, type: nil) ⇒ Add
constructor
A new instance of Add.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(credit_grant: nil, service_interval: nil, service_interval_count: nil, type: nil) ⇒ Add
Returns a new instance of Add.
207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 207 def initialize( credit_grant: nil, service_interval: nil, service_interval_count: nil, type: nil ) @credit_grant = credit_grant @service_interval = service_interval @service_interval_count = service_interval_count @type = type end |
Instance Attribute Details
#credit_grant ⇒ Object
Details for the credit grant. Required if ‘type` is `credit_grant`.
199 200 201 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 199 def credit_grant @credit_grant end |
#service_interval ⇒ Object
The interval for assessing service.
201 202 203 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 201 def service_interval @service_interval end |
#service_interval_count ⇒ Object
The length of the interval for assessing service.
203 204 205 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 203 def service_interval_count @service_interval_count end |
#type ⇒ Object
The type of the service action.
205 206 207 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 205 def type @type end |