Class: Stripe::OrderUpdateParams::TaxDetails

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/order_update_params.rb

Defined Under Namespace

Classes: TaxId

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of TaxDetails.



2009
2010
2011
2012
# File 'lib/stripe/params/order_update_params.rb', line 2009

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



2005
2006
2007
# File 'lib/stripe/params/order_update_params.rb', line 2005

def tax_exempt
  @tax_exempt
end

#tax_idsObject

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



2007
2008
2009
# File 'lib/stripe/params/order_update_params.rb', line 2007

def tax_ids
  @tax_ids
end