Class: Stripe::V2::Billing::Contract::LicenseQuantity

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/billing/contract.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#license_pricing_idObject (readonly)

The ID of the license pricing.



504
505
506
# File 'lib/stripe/resources/v2/billing/contract.rb', line 504

def license_pricing_id
  @license_pricing_id
end

#license_pricing_typeObject (readonly)

The type of the license pricing.



506
507
508
# File 'lib/stripe/resources/v2/billing/contract.rb', line 506

def license_pricing_type
  @license_pricing_type
end

#pricing_lineObject (readonly)

The ID of the pricing line associated with this license quantity.



508
509
510
# File 'lib/stripe/resources/v2/billing/contract.rb', line 508

def pricing_line
  @pricing_line
end

#quantityObject (readonly)

The current quantity of the license.



510
511
512
# File 'lib/stripe/resources/v2/billing/contract.rb', line 510

def quantity
  @quantity
end

Class Method Details

.field_remappingsObject



516
517
518
# File 'lib/stripe/resources/v2/billing/contract.rb', line 516

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



512
513
514
# File 'lib/stripe/resources/v2/billing/contract.rb', line 512

def self.inner_class_types
  @inner_class_types = {}
end