Sha256: a42c07f543651411612a1e384b2f3d03c52721599fdbbb0da67b4e7b07648e0d

Contents?: true

Size: 573 Bytes

Versions: 3

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require 'mws/orders/entity'
require 'mws/orders/tax_classification'

module MWS
  module Orders
    # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_Datatypes.html#BuyerTaxInfo
    class BuyerTaxInfo < Entity
      attribute :company_legal_name do
        string('CompanyLegalName')
      end

      attribute(:taxing_region) do
        string('TaxingRegion')
      end

      attribute(:tax_classifications) do
        entities('TaxClassifications/TaxClassification', TaxClassification)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mws-orders-0.6.1 lib/mws/orders/buyer_tax_info.rb
mws-orders-0.5.1 lib/mws/orders/buyer_tax_info.rb
mws-orders-0.5.0 lib/mws/orders/buyer_tax_info.rb