Stripe::Item
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A line item.
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] amount_discount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] amount_subtotal Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] amount_tax Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] amount_total Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned
An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.
Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] discounts 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
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
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] object Object to be assigned
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] quantity Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] taxes Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid