Class: Stripe::FinancialConnections::AccountOwner

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/financial_connections/account_owner.rb

Overview

Describes an owner of an account.

Constant Summary collapse

OBJECT_NAME =
"financial_connections.account_owner"

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

#==, #[], #[]=, 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

#emailObject (readonly)

The email address of the owner.



14
15
16
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 14

def email
  @email
end

#idObject (readonly)

Unique identifier for the object.



16
17
18
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 16

def id
  @id
end

#nameObject (readonly)

The full name of the owner.



18
19
20
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 18

def name
  @name
end

#objectObject (readonly)

String representing the object’s type. Objects of the same type share the same value.



20
21
22
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 20

def object
  @object
end

#ownershipObject (readonly)

The ownership object that this owner belongs to.



22
23
24
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 22

def ownership
  @ownership
end

#phoneObject (readonly)

The raw phone number of the owner.



24
25
26
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 24

def phone
  @phone
end

#raw_addressObject (readonly)

The raw physical address of the owner.



26
27
28
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 26

def raw_address
  @raw_address
end

#refreshed_atObject (readonly)

The timestamp of the refresh that updated this owner.



28
29
30
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 28

def refreshed_at
  @refreshed_at
end

Class Method Details

.object_nameObject



9
10
11
# File 'lib/stripe/resources/financial_connections/account_owner.rb', line 9

def self.object_name
  "financial_connections.account_owner"
end