Class: Stripe::TaxIdService::ListParams::Owner
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TaxIdService::ListParams::Owner
- Defined in:
- lib/stripe/services/tax_id_service.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Account the tax ID belongs to.
-
#customer ⇒ Object
Customer the tax ID belongs to.
-
#type ⇒ Object
Type of owner referenced.
Instance Method Summary collapse
-
#initialize(account: nil, customer: nil, type: nil) ⇒ Owner
constructor
A new instance of Owner.
Methods inherited from RequestParams
Constructor Details
#initialize(account: nil, customer: nil, type: nil) ⇒ Owner
Returns a new instance of Owner.
29 30 31 32 33 |
# File 'lib/stripe/services/tax_id_service.rb', line 29 def initialize(account: nil, customer: nil, type: nil) @account = account @customer = customer @type = type end |
Instance Attribute Details
#account ⇒ Object
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 @account end |
#customer ⇒ Object
Customer the tax ID belongs to. Required when ‘type=customer`
24 25 26 |
# File 'lib/stripe/services/tax_id_service.rb', line 24 def customer @customer end |
#type ⇒ Object
Type of owner referenced.
27 28 29 |
# File 'lib/stripe/services/tax_id_service.rb', line 27 def type @type end |