Class: Stripe::TaxIdService::CreateParams::Owner

Inherits:
RequestParams show all
Defined in:
lib/stripe/services/tax_id_service.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.



61
62
63
64
65
# File 'lib/stripe/services/tax_id_service.rb', line 61

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`



55
56
57
# File 'lib/stripe/services/tax_id_service.rb', line 55

def 
  @account
end

#customerObject

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



57
58
59
# File 'lib/stripe/services/tax_id_service.rb', line 57

def customer
  @customer
end

#typeObject

Type of owner referenced.



59
60
61
# File 'lib/stripe/services/tax_id_service.rb', line 59

def type
  @type
end