Class: Stripe::Issuing::Card::SpendingControls::SpendingLimit
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Card::SpendingControls::SpendingLimit
- Defined in:
- lib/stripe/resources/issuing/card.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Maximum amount allowed to spend per interval.
-
#categories ⇒ Object
readonly
Array of strings containing [categories](stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to.
-
#interval ⇒ Object
readonly
Interval (or event) to which the amount applies.
Attributes inherited from StripeObject
Method Summary
Methods inherited from 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
#amount ⇒ Object (readonly)
Maximum amount allowed to spend per interval. This amount is in the card’s currency and in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
91 92 93 |
# File 'lib/stripe/resources/issuing/card.rb', line 91 def amount @amount end |
#categories ⇒ Object (readonly)
Array of strings containing [categories](stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
93 94 95 |
# File 'lib/stripe/resources/issuing/card.rb', line 93 def categories @categories end |
#interval ⇒ Object (readonly)
Interval (or event) to which the amount applies.
95 96 97 |
# File 'lib/stripe/resources/issuing/card.rb', line 95 def interval @interval end |