Class: Stripe::TaxIdCreateParams::Owner
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TaxIdCreateParams::Owner
- Defined in:
- lib/stripe/params/tax_id_create_params.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.
14 15 16 17 18 |
# File 'lib/stripe/params/tax_id_create_params.rb', line 14 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`
8 9 10 |
# File 'lib/stripe/params/tax_id_create_params.rb', line 8 def account @account end |
#customer ⇒ Object
Customer the tax ID belongs to. Required when ‘type=customer`
10 11 12 |
# File 'lib/stripe/params/tax_id_create_params.rb', line 10 def customer @customer end |
#type ⇒ Object
Type of owner referenced.
12 13 14 |
# File 'lib/stripe/params/tax_id_create_params.rb', line 12 def type @type end |