Class: Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest
- 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
-
#line_items ⇒ Array<Google::Apis::ContentV2_1::OrderreturnsLineItem>
The list of line items to return.
-
#operation_id ⇒ String
The ID of the operation.
-
#order_id ⇒ String
The ID of the order.
-
#return_method_type ⇒ String
The way of the package being returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderreturnsCreateOrderReturnRequest
constructor
A new instance of OrderreturnsCreateOrderReturnRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderreturnsCreateOrderReturnRequest
Returns a new instance of OrderreturnsCreateOrderReturnRequest.
6529 6530 6531 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_items ⇒ Array<Google::Apis::ContentV2_1::OrderreturnsLineItem>
The list of line items to return.
Corresponds to the JSON property lineItems
6512 6513 6514 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6512 def line_items @line_items end |
#operation_id ⇒ String
The ID of the operation. Unique across all operations for a given order.
Corresponds to the JSON property operationId
6517 6518 6519 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6517 def operation_id @operation_id end |
#order_id ⇒ String
The ID of the order.
Corresponds to the JSON property orderId
6522 6523 6524 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6522 def order_id @order_id end |
#return_method_type ⇒ String
The way of the package being returned.
Corresponds to the JSON property returnMethodType
6527 6528 6529 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6527 def return_method_type @return_method_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6534 6535 6536 6537 6538 6539 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6534 def update!(**args) @line_items = args[:line_items] if args.key?(:line_items) @operation_id = args[:operation_id] if args.key?(:operation_id) @order_id = args[:order_id] if args.key?(:order_id) @return_method_type = args[:return_method_type] if args.key?(:return_method_type) end |