Class: Stripe::Invoice::CreatePreviewParams::CustomerDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::CreatePreviewParams::CustomerDetails
- Defined in:
- lib/stripe/resources/invoice.rb
Defined Under Namespace
Classes: Address, Shipping, Tax, TaxId
Instance Attribute Summary collapse
-
#address ⇒ Object
The customer’s address.
-
#shipping ⇒ Object
The customer’s shipping information.
-
#tax ⇒ Object
Tax details about the customer.
-
#tax_exempt ⇒ Object
The customer’s tax exemption.
-
#tax_ids ⇒ Object
The customer’s tax IDs.
Instance Method Summary collapse
-
#initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: nil) ⇒ CustomerDetails
constructor
A new instance of CustomerDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: nil) ⇒ CustomerDetails
Returns a new instance of CustomerDetails.
6347 6348 6349 6350 6351 6352 6353 |
# File 'lib/stripe/resources/invoice.rb', line 6347 def initialize(address: nil, shipping: nil, tax: nil, tax_exempt: nil, tax_ids: nil) @address = address @shipping = shipping @tax = tax @tax_exempt = tax_exempt @tax_ids = tax_ids end |
Instance Attribute Details
#address ⇒ Object
The customer’s address.
6337 6338 6339 |
# File 'lib/stripe/resources/invoice.rb', line 6337 def address @address end |
#shipping ⇒ Object
The customer’s shipping information. Appears on invoices emailed to this customer.
6339 6340 6341 |
# File 'lib/stripe/resources/invoice.rb', line 6339 def shipping @shipping end |
#tax ⇒ Object
Tax details about the customer.
6341 6342 6343 |
# File 'lib/stripe/resources/invoice.rb', line 6341 def tax @tax end |
#tax_exempt ⇒ Object
The customer’s tax exemption. One of ‘none`, `exempt`, or `reverse`.
6343 6344 6345 |
# File 'lib/stripe/resources/invoice.rb', line 6343 def tax_exempt @tax_exempt end |
#tax_ids ⇒ Object
The customer’s tax IDs.
6345 6346 6347 |
# File 'lib/stripe/resources/invoice.rb', line 6345 def tax_ids @tax_ids end |