Class: Stripe::V2::Billing::ContractCreateParams::LicenseQuantityAction

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_create_params.rb

Defined Under Namespace

Classes: EffectiveAt, Set

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(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_atObject

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_idObject

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_keyObject

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_typeObject

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_lineObject

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

#setObject

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

#typeObject

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