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.
2381 2382 2383 2384 2385 2386 2387 |
# File 'lib/stripe/resources/invoice.rb', line 2381 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.
2371 2372 2373 |
# File 'lib/stripe/resources/invoice.rb', line 2371 def address @address end |
#shipping ⇒ Object
The customer’s shipping information. Appears on invoices emailed to this customer.
2373 2374 2375 |
# File 'lib/stripe/resources/invoice.rb', line 2373 def shipping @shipping end |
#tax ⇒ Object
Tax details about the customer.
2375 2376 2377 |
# File 'lib/stripe/resources/invoice.rb', line 2375 def tax @tax end |
#tax_exempt ⇒ Object
The customer’s tax exemption. One of ‘none`, `exempt`, or `reverse`.
2377 2378 2379 |
# File 'lib/stripe/resources/invoice.rb', line 2377 def tax_exempt @tax_exempt end |
#tax_ids ⇒ Object
The customer’s tax IDs.
2379 2380 2381 |
# File 'lib/stripe/resources/invoice.rb', line 2379 def tax_ids @tax_ids end |