class Google::Apis::QpxExpressV1::TaxData

Tax data.

Attributes

id[RW]

An identifier uniquely identifying a tax in a response. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies this as a tax data object, representing some tax. Value: the fixed string qpxexpress#taxData. Corresponds to the JSON property `kind` @return [String]

name[RW]

The name of a tax. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/qpx_express_v1/classes.rb, line 987
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end