Class: Stripe::Account::Settings::Branding

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

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#iconObject (readonly)

(ID of a [file upload](stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.



445
446
447
# File 'lib/stripe/resources/account.rb', line 445

def icon
  @icon
end

#logoObject (readonly)

(ID of a [file upload](stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account’s name next to it if provided. Must be at least 128px x 128px.



447
448
449
# File 'lib/stripe/resources/account.rb', line 447

def 
  @logo
end

#primary_colorObject (readonly)

A CSS hex color value representing the primary branding color for this account



449
450
451
# File 'lib/stripe/resources/account.rb', line 449

def primary_color
  @primary_color
end

#secondary_colorObject (readonly)

A CSS hex color value representing the secondary branding color for this account



451
452
453
# File 'lib/stripe/resources/account.rb', line 451

def secondary_color
  @secondary_color
end