Class: Stripe::Order::UpdateParams::TaxDetails

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/order.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.



2586
2587
2588
2589
# File 'lib/stripe/resources/order.rb', line 2586

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`.



2582
2583
2584
# File 'lib/stripe/resources/order.rb', line 2582

def tax_exempt
  @tax_exempt
end

#tax_idsObject

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



2584
2585
2586
# File 'lib/stripe/resources/order.rb', line 2584

def tax_ids
  @tax_ids
end