Class: Stripe::V2::Core::Account::Defaults
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Core::Account::Defaults
- Defined in:
- lib/stripe/resources/v2/core/account.rb
Defined Under Namespace
Classes: Profile, Responsibilities
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#currency ⇒ Object
readonly
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase.
-
#locales ⇒ Object
readonly
The Account’s preferred locales (languages), ordered by preference.
-
#profile ⇒ Object
readonly
Account profile information.
-
#responsibilities ⇒ Object
readonly
Default responsibilities held by either Stripe or the platform.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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
#currency ⇒ Object (readonly)
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).
2091 2092 2093 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2091 def currency @currency end |
#locales ⇒ Object (readonly)
The Account’s preferred locales (languages), ordered by preference.
2093 2094 2095 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2093 def locales @locales end |
#profile ⇒ Object (readonly)
Account profile information.
2095 2096 2097 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2095 def profile @profile end |
#responsibilities ⇒ Object (readonly)
Default responsibilities held by either Stripe or the platform.
2097 2098 2099 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2097 def responsibilities @responsibilities end |
Class Method Details
.field_remappings ⇒ Object
2103 2104 2105 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2103 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2099 2100 2101 |
# File 'lib/stripe/resources/v2/core/account.rb', line 2099 def self.inner_class_types @inner_class_types = { profile: Profile, responsibilities: Responsibilities } end |