class Google::Apis::ContentV2_1::UnitInvoiceTaxLine

Attributes

tax_amount[RW]
required

Tax amount for the tax type.

Corresponds to the JSON property `taxAmount` @return [Google::Apis::ContentV2_1::Price]

tax_name[RW]

Optional name of the tax type. This should only be provided if `taxType` is ` otherFeeTax`. Corresponds to the JSON property `taxName` @return [String]

tax_type[RW]
required

Type of the tax. Acceptable values are: - “`otherFee`” - “`

otherFeeTax`“ - ”`sales`“ Corresponds to the JSON property `taxType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 15577
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 15582
def update!(**args)
  @tax_amount = args[:tax_amount] if args.key?(:tax_amount)
  @tax_name = args[:tax_name] if args.key?(:tax_name)
  @tax_type = args[:tax_type] if args.key?(:tax_type)
end