Class: Stripe::TaxId::CreateParams::Owner

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/tax_id.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, customer: nil, type: nil) ⇒ Owner

Returns a new instance of Owner.



95
96
97
98
99
# File 'lib/stripe/resources/tax_id.rb', line 95

def initialize(account: nil, customer: nil, type: nil)
  @account = 
  @customer = customer
  @type = type
end

Instance Attribute Details

#accountObject

Account the tax ID belongs to. Required when ‘type=account`



89
90
91
# File 'lib/stripe/resources/tax_id.rb', line 89

def 
  @account
end

#customerObject

Customer the tax ID belongs to. Required when ‘type=customer`



91
92
93
# File 'lib/stripe/resources/tax_id.rb', line 91

def customer
  @customer
end

#typeObject

Type of owner referenced.



93
94
95
# File 'lib/stripe/resources/tax_id.rb', line 93

def type
  @type
end