Class: Stripe::TaxIdService::CreateParams::Owner
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TaxIdService::CreateParams::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.
62 63 64 65 66 |
# File 'lib/stripe/services/tax_id_service.rb', line 62 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`
56 57 58 |
# File 'lib/stripe/services/tax_id_service.rb', line 56 def account @account end |
#customer ⇒ Object
Customer the tax ID belongs to. Required when ‘type=customer`
58 59 60 |
# File 'lib/stripe/services/tax_id_service.rb', line 58 def customer @customer end |
#type ⇒ Object
Type of owner referenced.
60 61 62 |
# File 'lib/stripe/services/tax_id_service.rb', line 60 def type @type end |