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

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

#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.



704
705
706
# File 'lib/stripe/resources/account.rb', line 704

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.



706
707
708
# File 'lib/stripe/resources/account.rb', line 706

def 
  @logo
end

#primary_colorObject (readonly)

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



708
709
710
# File 'lib/stripe/resources/account.rb', line 708

def primary_color
  @primary_color
end

#secondary_colorObject (readonly)

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



710
711
712
# File 'lib/stripe/resources/account.rb', line 710

def secondary_color
  @secondary_color
end

Class Method Details

.field_remappingsObject



716
717
718
# File 'lib/stripe/resources/account.rb', line 716

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



712
713
714
# File 'lib/stripe/resources/account.rb', line 712

def self.inner_class_types
  @inner_class_types = {}
end