Class: Google::Apis::QpxExpressV1::TaxData
- Inherits:
-
Object
- Object
- Google::Apis::QpxExpressV1::TaxData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/qpx_express_v1/classes.rb,
generated/google/apis/qpx_express_v1/representations.rb,
generated/google/apis/qpx_express_v1/representations.rb
Overview
Tax data.
Instance Attribute Summary collapse
-
#id ⇒ String
An identifier uniquely identifying a tax in a response.
-
#kind ⇒ String
Identifies this as a tax data object, representing some tax.
-
#name ⇒ String
The name of a tax.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaxData
constructor
A new instance of TaxData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TaxData
Returns a new instance of TaxData
982 983 984 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
An identifier uniquely identifying a tax in a response.
Corresponds to the JSON property id
969 970 971 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 969 def id @id end |
#kind ⇒ String
Identifies this as a tax data object, representing some tax. Value: the fixed
string qpxexpress#taxData.
Corresponds to the JSON property kind
975 976 977 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 975 def kind @kind end |
#name ⇒ String
The name of a tax.
Corresponds to the JSON property name
980 981 982 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 980 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
987 988 989 990 991 |
# 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 |