Class: Google::Apis::ContentV2_1::OrderreturnsProcessRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderreturnsProcessRequest
- 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
-
#full_charge_return_shipping_cost ⇒ Boolean
(also: #full_charge_return_shipping_cost?)
Option to charge the customer return shipping cost.
-
#operation_id ⇒ String
[required] The ID of the operation, unique across all operations for a given order return.
-
#refund_shipping_fee ⇒ Google::Apis::ContentV2_1::OrderreturnsRefundOperation
Refunds for original shipping fee.
-
#return_items ⇒ Array<Google::Apis::ContentV2_1::OrderreturnsReturnItem>
The list of items to return.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderreturnsProcessRequest
constructor
A new instance of OrderreturnsProcessRequest.
-
#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) ⇒ OrderreturnsProcessRequest
Returns a new instance of OrderreturnsProcessRequest.
6009 6010 6011 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_charge_return_shipping_cost ⇒ Boolean Also known as: full_charge_return_shipping_cost?
Option to charge the customer return shipping cost.
Corresponds to the JSON property fullChargeReturnShippingCost
5990 5991 5992 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5990 def full_charge_return_shipping_cost @full_charge_return_shipping_cost end |
#operation_id ⇒ String
[required] The ID of the operation, unique across all operations for a given
order return.
Corresponds to the JSON property operationId
5997 5998 5999 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5997 def operation_id @operation_id end |
#refund_shipping_fee ⇒ Google::Apis::ContentV2_1::OrderreturnsRefundOperation
Refunds for original shipping fee.
Corresponds to the JSON property refundShippingFee
6002 6003 6004 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6002 def refund_shipping_fee @refund_shipping_fee end |
#return_items ⇒ Array<Google::Apis::ContentV2_1::OrderreturnsReturnItem>
The list of items to return.
Corresponds to the JSON property returnItems
6007 6008 6009 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6007 def return_items @return_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6014 6015 6016 6017 6018 6019 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6014 def update!(**args) @full_charge_return_shipping_cost = args[:full_charge_return_shipping_cost] if args.key?(:full_charge_return_shipping_cost) @operation_id = args[:operation_id] if args.key?(:operation_id) @refund_shipping_fee = args[:refund_shipping_fee] if args.key?(:refund_shipping_fee) @return_items = args[:return_items] if args.key?(:return_items) end |