Stripe::LineItemParams
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] adjustable_quantity Object to be assigned
The tax rates that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.
Custom attribute writer method checking allowed values (enum). @param [Object] dynamic_tax_rates Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] price Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] price_data Object to be assigned
The quantity of the line item being purchased. Quantity should not be defined when recurring.usage_type=metered.
Custom attribute writer method checking allowed values (enum). @param [Object] quantity Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_rates Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid