class Google::Apis::QpxExpressV1::TaxInfo
Tax information.
Attributes
Whether this is a government charge or a carrier surcharge. Corresponds to the JSON property `chargeType` @return [String]
The code to enter in the ticket's tax box. Corresponds to the JSON property `code` @return [String]
For government charges, the country levying the charge. Corresponds to the JSON property `country` @return [String]
Identifier uniquely identifying this tax in a response. Not present for unnamed carrier surcharges. Corresponds to the JSON property `id` @return [String]
Identifies this as a tax information object. Value: the fixed string qpxexpress#taxInfo. Corresponds to the JSON property `kind` @return [String]
The price of the tax in the sales or equivalent currency. Corresponds to the JSON property `salePrice` @return [String]
Public Class Methods
# File generated/google/apis/qpx_express_v1/classes.rb, line 1030 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/qpx_express_v1/classes.rb, line 1035 def update!(**args) @charge_type = args[:charge_type] if args.key?(:charge_type) @code = args[:code] if args.key?(:code) @country = args[:country] if args.key?(:country) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @sale_price = args[:sale_price] if args.key?(:sale_price) end