Stripe::TaxCalculation
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A Tax Calculation allows you to calculate the tax to collect from your customer. Related guide: Calculate tax in your custom payment flow
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_total Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer_details Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] expires_at 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
Custom attribute writer method checking allowed values (enum). @param [Object] line_items Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned
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] ship_from_details Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_cost Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_amount_exclusive Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_amount_inclusive Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_breakdown Object to be assigned
Timestamp of date at which the tax rules and rates in effect applies for the calculation.
Custom attribute writer method checking allowed values (enum). @param [Object] tax_date Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid