Class: Stripe::V2::Billing::ContractCreateParams::LicenseQuantityAction
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractCreateParams::LicenseQuantityAction
- Defined in:
- lib/stripe/params/v2/billing/contract_create_params.rb
Defined Under Namespace
Classes: EffectiveAt, Set
Instance Attribute Summary collapse
-
#effective_at ⇒ Object
The effective at for the license quantity action.
-
#license_pricing_id ⇒ Object
The ID of the license pricing.
-
#license_pricing_lookup_key ⇒ Object
The lookup key for the license pricing.
-
#license_pricing_type ⇒ Object
The type of the license pricing.
-
#pricing_line ⇒ Object
The pricing line for the license quantity action.
-
#set ⇒ Object
The set quantity for the license quantity action.
-
#type ⇒ Object
The type of the license quantity action.
Instance Method Summary collapse
-
#initialize(effective_at: nil, license_pricing_id: nil, license_pricing_lookup_key: nil, license_pricing_type: nil, pricing_line: nil, set: nil, type: nil) ⇒ LicenseQuantityAction
constructor
A new instance of LicenseQuantityAction.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(effective_at: nil, license_pricing_id: nil, license_pricing_lookup_key: nil, license_pricing_type: nil, pricing_line: nil, set: nil, type: nil) ⇒ LicenseQuantityAction
Returns a new instance of LicenseQuantityAction.
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 425 def initialize( effective_at: nil, license_pricing_id: nil, license_pricing_lookup_key: nil, license_pricing_type: nil, pricing_line: nil, set: nil, type: nil ) @effective_at = effective_at @license_pricing_id = license_pricing_id @license_pricing_lookup_key = license_pricing_lookup_key @license_pricing_type = license_pricing_type @pricing_line = pricing_line @set = set @type = type end |
Instance Attribute Details
#effective_at ⇒ Object
The effective at for the license quantity action.
411 412 413 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 411 def effective_at @effective_at end |
#license_pricing_id ⇒ Object
The ID of the license pricing.
413 414 415 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 413 def license_pricing_id @license_pricing_id end |
#license_pricing_lookup_key ⇒ Object
The lookup key for the license pricing.
415 416 417 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 415 def license_pricing_lookup_key @license_pricing_lookup_key end |
#license_pricing_type ⇒ Object
The type of the license pricing.
417 418 419 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 417 def license_pricing_type @license_pricing_type end |
#pricing_line ⇒ Object
The pricing line for the license quantity action.
419 420 421 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 419 def pricing_line @pricing_line end |
#set ⇒ Object
The set quantity for the license quantity action.
421 422 423 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 421 def set @set end |
#type ⇒ Object
The type of the license quantity action.
423 424 425 |
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 423 def type @type end |