public static class ReturnItemRec.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReturnItemRec |
build()
Build the object
|
ReturnItemRec.Builder |
setAltOrderItemId(String altOrderItemId)
If an alt_order_item_id has been associated with the order_item_id via
the order accept message, this may be passed instead of the
order_item_id field.
|
ReturnItemRec.Builder |
setAmount(RefundAmountRec amount)
The amount the retailer is willing to refund to the customer
|
ReturnItemRec.Builder |
setFeedback(RefundFeedback feedback)
The reason this refund is less than the full amount.
|
ReturnItemRec.Builder |
setNotes(String notes)
Provide additional information about why the item was refunded for
lower than the full amount.
|
ReturnItemRec.Builder |
setOrderItemId(String orderItemId)
Jet's unique identifier for an item in a merchant order.
|
ReturnItemRec.Builder |
setOrderReturnRefundQty(int orderReturnRefundQty)
Quantity of the given item that was refunded.
|
ReturnItemRec.Builder |
setQtyReturned(int qtyReturned)
Quantity of the given item that was returned.
|
public ReturnItemRec.Builder setOrderItemId(String orderItemId)
orderItemId
- the orderItemId to setpublic ReturnItemRec.Builder setAltOrderItemId(String altOrderItemId)
altOrderItemId
- the altOrderItemId to setpublic ReturnItemRec.Builder setQtyReturned(int qtyReturned)
qtyReturned
- the qtyReturned to setpublic ReturnItemRec.Builder setOrderReturnRefundQty(int orderReturnRefundQty)
orderReturnRefundQty
- the orderReturnRefundQty to setpublic ReturnItemRec.Builder setFeedback(RefundFeedback feedback)
feedback
- the feedback to setpublic ReturnItemRec.Builder setNotes(String notes)
notes
- the notes to setpublic ReturnItemRec.Builder setAmount(RefundAmountRec amount)
amount
- the amount to setpublic ReturnItemRec build()
Copyright © 2017. All rights reserved.