Stripe::ShippingCost
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
A positive integer in the smallest currency unit representing the shipping charge. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.
Custom attribute writer method checking allowed values (enum). @param [Object] amount 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
If provided, the shipping rate's amount, tax_code and tax_behavior are used. If you provide a shipping rate, then you cannot pass the amount, tax_code, or tax_behavior parameters.
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_rate Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_rate_data Object to be assigned
Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes. Defaults to exclusive.
Custom attribute writer method checking allowed values (enum). @param [Object] tax_behavior Object to be assigned
The tax code used to calculate tax on shipping. If not provided, the default shipping tax code from your Tax Settings is used.
Custom attribute writer method checking allowed values (enum). @param [Object] tax_code Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid