Class: Stripe::Invoice::ListUpcomingLineItemsParams::CustomerDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::ListUpcomingLineItemsParams::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.
3843 3844 3845 3846 3847 3848 3849 |
# File 'lib/stripe/resources/invoice.rb', line 3843 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.
3833 3834 3835 |
# File 'lib/stripe/resources/invoice.rb', line 3833 def address @address end |
#shipping ⇒ Object
The customer’s shipping information. Appears on invoices emailed to this customer.
3835 3836 3837 |
# File 'lib/stripe/resources/invoice.rb', line 3835 def shipping @shipping end |
#tax ⇒ Object
Tax details about the customer.
3837 3838 3839 |
# File 'lib/stripe/resources/invoice.rb', line 3837 def tax @tax end |
#tax_exempt ⇒ Object
The customer’s tax exemption. One of ‘none`, `exempt`, or `reverse`.
3839 3840 3841 |
# File 'lib/stripe/resources/invoice.rb', line 3839 def tax_exempt @tax_exempt end |
#tax_ids ⇒ Object
The customer’s tax IDs.
3841 3842 3843 |
# File 'lib/stripe/resources/invoice.rb', line 3841 def tax_ids @tax_ids end |