Stripe::FuelSpecs
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
The type of fuel that was purchased. One of diesel, unleaded_plus, unleaded_regular, unleaded_super, or other.
Custom attribute writer method checking allowed values (enum). @param [Object] _type 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
Conexxus Payment System Product Code identifying the primary fuel product purchased.
Custom attribute writer method checking allowed values (enum). @param [Object] industry_product_code Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
The quantity of units of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
Custom attribute writer method checking allowed values (enum). @param [Object] quantity_decimal Object to be assigned
The units for quantity_decimal. One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, pound, us_gallon, or other.
Custom attribute writer method checking allowed values (enum). @param [Object] unit Object to be assigned
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
Custom attribute writer method checking allowed values (enum). @param [Object] unit_cost_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