Class: Stripe::Person::Relationship

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/person.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

#authorizerObject (readonly)

Whether the person is the authorizer of the account’s representative.



216
217
218
# File 'lib/stripe/resources/person.rb', line 216

def authorizer
  @authorizer
end

#directorObject (readonly)

Whether the person is a director of the account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.



218
219
220
# File 'lib/stripe/resources/person.rb', line 218

def director
  @director
end

#executiveObject (readonly)

Whether the person has significant responsibility to control, manage, or direct the organization.



220
221
222
# File 'lib/stripe/resources/person.rb', line 220

def executive
  @executive
end

Whether the person is the legal guardian of the account’s representative.



222
223
224
# File 'lib/stripe/resources/person.rb', line 222

def legal_guardian
  @legal_guardian
end

#ownerObject (readonly)

Whether the person is an owner of the account’s legal entity.



224
225
226
# File 'lib/stripe/resources/person.rb', line 224

def owner
  @owner
end

#percent_ownershipObject (readonly)

The percent owned by the person of the account’s legal entity.



226
227
228
# File 'lib/stripe/resources/person.rb', line 226

def percent_ownership
  @percent_ownership
end

#representativeObject (readonly)

Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.



228
229
230
# File 'lib/stripe/resources/person.rb', line 228

def representative
  @representative
end

#titleObject (readonly)

The person’s title (e.g., CEO, Support Engineer).



230
231
232
# File 'lib/stripe/resources/person.rb', line 230

def title
  @title
end

Class Method Details

.field_remappingsObject



236
237
238
# File 'lib/stripe/resources/person.rb', line 236

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



232
233
234
# File 'lib/stripe/resources/person.rb', line 232

def self.inner_class_types
  @inner_class_types = {}
end