Class: Stripe::V2::Core::Account::Configuration::Merchant::Branding
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Core::Account::Configuration::Merchant::Branding
- Defined in:
- lib/stripe/resources/v2/core/account.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#icon ⇒ Object
readonly
ID of a [file upload](docs.stripe.com/api/persons/update#create_file): An icon for the merchant.
-
#logo ⇒ Object
readonly
ID of a [file upload](docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant’s name next to it if provided.
-
#primary_color ⇒ Object
readonly
A CSS hex color value representing the primary branding color for the merchant.
-
#secondary_color ⇒ Object
readonly
A CSS hex color value representing the secondary branding color for the merchant.
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
#icon ⇒ Object (readonly)
ID of a [file upload](docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px.
237 238 239 |
# File 'lib/stripe/resources/v2/core/account.rb', line 237 def icon @icon end |
#logo ⇒ Object (readonly)
ID of a [file upload](docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant’s name next to it if provided. Must be at least 128px x 128px.
239 240 241 |
# File 'lib/stripe/resources/v2/core/account.rb', line 239 def logo @logo end |
#primary_color ⇒ Object (readonly)
A CSS hex color value representing the primary branding color for the merchant.
241 242 243 |
# File 'lib/stripe/resources/v2/core/account.rb', line 241 def primary_color @primary_color end |
#secondary_color ⇒ Object (readonly)
A CSS hex color value representing the secondary branding color for the merchant.
243 244 245 |
# File 'lib/stripe/resources/v2/core/account.rb', line 243 def secondary_color @secondary_color end |
Class Method Details
.field_remappings ⇒ Object
249 250 251 |
# File 'lib/stripe/resources/v2/core/account.rb', line 249 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
245 246 247 |
# File 'lib/stripe/resources/v2/core/account.rb', line 245 def self.inner_class_types @inner_class_types = {} end |