Class: Google::Apis::ContentV2::OrderLineItemProductFee
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderLineItemProductFee
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#amount ⇒ Google::Apis::ContentV2::Price
Amount of the fee.
-
#name ⇒ String
Name of the fee.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderLineItemProductFee
constructor
A new instance of OrderLineItemProductFee.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrderLineItemProductFee
Returns a new instance of OrderLineItemProductFee
4673 4674 4675 |
# File 'generated/google/apis/content_v2/classes.rb', line 4673 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount ⇒ Google::Apis::ContentV2::Price
Amount of the fee.
Corresponds to the JSON property amount
4666 4667 4668 |
# File 'generated/google/apis/content_v2/classes.rb', line 4666 def amount @amount end |
#name ⇒ String
Name of the fee.
Corresponds to the JSON property name
4671 4672 4673 |
# File 'generated/google/apis/content_v2/classes.rb', line 4671 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4678 4679 4680 4681 |
# File 'generated/google/apis/content_v2/classes.rb', line 4678 def update!(**args) @amount = args[:amount] if args.key?(:amount) @name = args[:name] if args.key?(:name) end |