Class: Stripe::ShippingRate::FixedAmount::CurrencyOptions

Inherits:
Stripe::StripeObject show all
Defined in:
lib/stripe/resources/shipping_rate.rb

Constant Summary

Constants inherited from Stripe::StripeObject

Stripe::StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from Stripe::StripeObject

#last_response

Method Summary

Methods inherited from Stripe::StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#amountObject (readonly)

A non-negative integer in cents representing how much to charge.



40
41
42
# File 'lib/stripe/resources/shipping_rate.rb', line 40

def amount
  @amount
end

#tax_behaviorObject (readonly)

Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of ‘inclusive`, `exclusive`, or `unspecified`.



42
43
44
# File 'lib/stripe/resources/shipping_rate.rb', line 42

def tax_behavior
  @tax_behavior
end