Class: Stripe::V2::Billing::MeteredItemService::CreateParams::TaxDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/metered_item_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_code: nil) ⇒ TaxDetails

Returns a new instance of TaxDetails.



38
39
40
# File 'lib/stripe/services/v2/billing/metered_item_service.rb', line 38

def initialize(tax_code: nil)
  @tax_code = tax_code
end

Instance Attribute Details

#tax_codeObject

Product tax code (PTC).



36
37
38
# File 'lib/stripe/services/v2/billing/metered_item_service.rb', line 36

def tax_code
  @tax_code
end