Class: Stripe::V2::Billing::ContractCreateParams::LicenseQuantityAction::EffectiveAt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::LicenseQuantityAction::EffectiveAt
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp for the effective at.
-
#type ⇒ Object
The type of the effective at.
Instance Method Summary collapse
-
#initialize(timestamp: nil, type: nil) ⇒ EffectiveAt
constructor
A new instance of EffectiveAt.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(timestamp: nil, type: nil) ⇒ EffectiveAt
Returns a new instance of EffectiveAt.
396 397 398 399 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 396 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
The timestamp for the effective at.
392 393 394 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 392 def @timestamp end |
#type ⇒ Object
The type of the effective at.
394 395 396 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 394 def type @type end |