Class: Stripe::Profile::Branding

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

Defined Under Namespace

Classes: Icon, Logo

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)

Attribute for field icon



39
40
41
# File 'lib/stripe/resources/profile.rb', line 39

def icon
  @icon
end

#logoObject (readonly)

Attribute for field logo



41
42
43
# File 'lib/stripe/resources/profile.rb', line 41

def 
  @logo
end

#primary_colorObject (readonly)

Attribute for field primary_color



43
44
45
# File 'lib/stripe/resources/profile.rb', line 43

def primary_color
  @primary_color
end

#secondary_colorObject (readonly)

Attribute for field secondary_color



45
46
47
# File 'lib/stripe/resources/profile.rb', line 45

def secondary_color
  @secondary_color
end

Class Method Details

.field_remappingsObject



51
52
53
# File 'lib/stripe/resources/profile.rb', line 51

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



47
48
49
# File 'lib/stripe/resources/profile.rb', line 47

def self.inner_class_types
  @inner_class_types = { icon: Icon, logo: Logo }
end