Class: Stripe::OrderService::CreateParams::TaxDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/order_service.rb

Defined Under Namespace

Classes: TaxId

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_exempt: nil, tax_ids: nil) ⇒ TaxDetails

Returns a new instance of TaxDetails.



1017
1018
1019
1020
# File 'lib/stripe/services/order_service.rb', line 1017

def initialize(tax_exempt: nil, tax_ids: nil)
  @tax_exempt = tax_exempt
  @tax_ids = tax_ids
end

Instance Attribute Details

#tax_exemptObject

The purchaser’s tax exemption status. One of ‘none`, `exempt`, or `reverse`.



1013
1014
1015
# File 'lib/stripe/services/order_service.rb', line 1013

def tax_exempt
  @tax_exempt
end

#tax_idsObject

The purchaser’s tax IDs to be used for this order.



1015
1016
1017
# File 'lib/stripe/services/order_service.rb', line 1015

def tax_ids
  @tax_ids
end