Class: Google::Apis::ContentV2::MerchantOrderReturn
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::MerchantOrderReturn
- 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
-
#creation_date ⇒ String
Corresponds to the JSON property
creationDate
. -
#merchant_order_id ⇒ String
Corresponds to the JSON property
merchantOrderId
. -
#order_id ⇒ String
Corresponds to the JSON property
orderId
. -
#order_return_id ⇒ String
Corresponds to the JSON property
orderReturnId
. -
#return_items ⇒ Array<Google::Apis::ContentV2::MerchantOrderReturnItem>
Corresponds to the JSON property
returnItems
. -
#return_shipments ⇒ Array<Google::Apis::ContentV2::ReturnShipment>
Corresponds to the JSON property
returnShipments
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MerchantOrderReturn
constructor
A new instance of MerchantOrderReturn.
-
#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) ⇒ MerchantOrderReturn
Returns a new instance of MerchantOrderReturn.
3977 3978 3979 |
# File 'generated/google/apis/content_v2/classes.rb', line 3977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_date ⇒ String
Corresponds to the JSON property creationDate
3950 3951 3952 |
# File 'generated/google/apis/content_v2/classes.rb', line 3950 def creation_date @creation_date end |
#merchant_order_id ⇒ String
Corresponds to the JSON property merchantOrderId
3955 3956 3957 |
# File 'generated/google/apis/content_v2/classes.rb', line 3955 def merchant_order_id @merchant_order_id end |
#order_id ⇒ String
Corresponds to the JSON property orderId
3960 3961 3962 |
# File 'generated/google/apis/content_v2/classes.rb', line 3960 def order_id @order_id end |
#order_return_id ⇒ String
Corresponds to the JSON property orderReturnId
3965 3966 3967 |
# File 'generated/google/apis/content_v2/classes.rb', line 3965 def order_return_id @order_return_id end |
#return_items ⇒ Array<Google::Apis::ContentV2::MerchantOrderReturnItem>
Corresponds to the JSON property returnItems
3970 3971 3972 |
# File 'generated/google/apis/content_v2/classes.rb', line 3970 def return_items @return_items end |
#return_shipments ⇒ Array<Google::Apis::ContentV2::ReturnShipment>
Corresponds to the JSON property returnShipments
3975 3976 3977 |
# File 'generated/google/apis/content_v2/classes.rb', line 3975 def return_shipments @return_shipments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3982 3983 3984 3985 3986 3987 3988 3989 |
# File 'generated/google/apis/content_v2/classes.rb', line 3982 def update!(**args) @creation_date = args[:creation_date] if args.key?(:creation_date) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @order_id = args[:order_id] if args.key?(:order_id) @order_return_id = args[:order_return_id] if args.key?(:order_return_id) @return_items = args[:return_items] if args.key?(:return_items) @return_shipments = args[:return_shipments] if args.key?(:return_shipments) end |