Class: Google::Apis::ContentV2_1::OrderreturnsReturnItem
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderreturnsReturnItem
- 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
-
#refund ⇒ Google::Apis::ContentV2_1::OrderreturnsRefundOperation
Refunds the item.
-
#reject ⇒ Google::Apis::ContentV2_1::OrderreturnsRejectOperation
Rejects the item.
-
#return_item_id ⇒ String
Unit level ID for the return item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderreturnsReturnItem
constructor
A new instance of OrderreturnsReturnItem.
-
#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) ⇒ OrderreturnsReturnItem
Returns a new instance of OrderreturnsReturnItem.
6134 6135 6136 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#refund ⇒ Google::Apis::ContentV2_1::OrderreturnsRefundOperation
Refunds the item.
Corresponds to the JSON property refund
6121 6122 6123 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6121 def refund @refund end |
#reject ⇒ Google::Apis::ContentV2_1::OrderreturnsRejectOperation
Rejects the item.
Corresponds to the JSON property reject
6126 6127 6128 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6126 def reject @reject end |
#return_item_id ⇒ String
Unit level ID for the return item. Different units of the same product will
have different IDs.
Corresponds to the JSON property returnItemId
6132 6133 6134 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6132 def return_item_id @return_item_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6139 6140 6141 6142 6143 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6139 def update!(**args) @refund = args[:refund] if args.key?(:refund) @reject = args[:reject] if args.key?(:reject) @return_item_id = args[:return_item_id] if args.key?(:return_item_id) end |