Class: Stripe::TaxIdService::ListParams::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.



27
28
29
30
31
# File 'lib/stripe/services/tax_id_service.rb', line 27

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`



21
22
23
# File 'lib/stripe/services/tax_id_service.rb', line 21

def 
  @account
end

#customerObject

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



23
24
25
# File 'lib/stripe/services/tax_id_service.rb', line 23

def customer
  @customer
end

#typeObject

Type of owner referenced.



25
26
27
# File 'lib/stripe/services/tax_id_service.rb', line 25

def type
  @type
end