Class: Google::Apis::ContentV2_1::OrderreturnsPartialRefund
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderreturnsPartialRefund
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#price_amount ⇒ Google::Apis::ContentV2_1::Price
The pre-tax or post-tax amount to be refunded, depending on the location of the order.
-
#tax_amount ⇒ Google::Apis::ContentV2_1::Price
Tax amount to be refunded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderreturnsPartialRefund
constructor
A new instance of OrderreturnsPartialRefund.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderreturnsPartialRefund
Returns a new instance of OrderreturnsPartialRefund.
6650 6651 6652 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#price_amount ⇒ Google::Apis::ContentV2_1::Price
The pre-tax or post-tax amount to be refunded, depending on the location of
the order.
Corresponds to the JSON property priceAmount
6642 6643 6644 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6642 def price_amount @price_amount end |
#tax_amount ⇒ Google::Apis::ContentV2_1::Price
Tax amount to be refunded. Note: This has different meaning depending on the
location of the order.
Corresponds to the JSON property taxAmount
6648 6649 6650 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6648 def tax_amount @tax_amount end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6655 6656 6657 6658 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6655 def update!(**args) @price_amount = args[:price_amount] if args.key?(:price_amount) @tax_amount = args[:tax_amount] if args.key?(:tax_amount) end |