Stripe::OneTimePriceData
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constants
Constructors
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] currency 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] product Object to be assigned
Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. Once specified as either inclusive or exclusive, it cannot be changed.
Custom attribute writer method checking allowed values (enum). @param [Object] tax_behavior Object to be assigned
A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
Custom attribute writer method checking allowed values (enum). @param [Object] unit_amount Object to be assigned
Same as unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of unit_amount and unit_amount_decimal can be set.
Custom attribute writer method checking allowed values (enum). @param [Object] unit_amount_decimal Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid