@plentymarkets/shop-api / returnGetters
Variable: returnGetters ​
const
returnGetters:object
Type declaration ​
getDate() ​
getDate: (
returnItem
) =>string
Parameters ​
• returnItem: Order
Returns ​
string
getDefaultReturnReasonId() ​
getDefaultReturnReasonId: (
data
) =>number
|null
Parameters ​
• data: OrderReturnsResponse
Returns ​
number
| null
getFormattedPrice() ​
getFormattedPrice: (
price
) =>string
Parameters ​
• price: number
Returns ​
string
getId() ​
getId: (
returnItem
) =>string
Parameters ​
• returnItem: Order
Returns ​
string
getItemName() ​
getItemName: (
item
) =>string
Parameters ​
• item: OrderItem
Returns ​
string
getItemPrice() ​
getItemPrice: (
item
) =>number
Parameters ​
• item: OrderItem
Returns ​
number
getItemQty() ​
getItemQty: (
item
) =>number
Parameters ​
• item: OrderItem
Returns ​
number
getItems() ​
getItems: (
returnItem
) =>OrderItem
[]
Parameters ​
• returnItem: Order
Returns ​
getItemSku() ​
getItemSku: (
item
) =>string
Parameters ​
• item: OrderItem
Returns ​
string
getItemVariationId() ​
getItemVariationId: (
item
) =>number
Parameters ​
• item: OrderItem
Returns ​
number
getOrderItemLink() ​
getOrderItemLink: (
order
,productId
) =>string
Parameters ​
• order: Order
• productId: number
Returns ​
string
getOrderItemReturnReason() ​
getOrderItemReturnReason: (
returnItem
) =>OrderReturnReason
|null
Parameters ​
• returnItem: OrderItem
Returns ​
OrderReturnReason
| null
getOrderItemReturnReasonId() ​
getOrderItemReturnReasonId: (
returnItem
) =>number
Parameters ​
• returnItem: OrderItem
Returns ​
number
getOrderItemReturnReasonName() ​
getOrderItemReturnReasonName: (
returnItem
) =>string
Parameters ​
• returnItem: OrderItem
Returns ​
string
getOrders() ​
getOrders: (
returns
) =>Order
[]
Parameters ​
• returns: GetReturnsResponse
Returns ​
Order
[]
getOrdersTotal() ​
getOrdersTotal: (
returns
) =>number
Parameters ​
• returns: GetOrdersResponse
Returns ​
number
getPagination() ​
getPagination: (
returns
) =>AgnosticPagination
Parameters ​
• returns: GetOrdersResponse
Returns ​
AgnosticPagination
getPrice() ​
getPrice: (
returnItem
) =>number
Parameters ​
• returnItem: Order
Returns ​
number
getReturnReasonId() ​
getReturnReasonId: (
reason
) =>number
Parameters ​
• reason: OrderReturnReason
Returns ​
number
getReturnReasonName() ​
getReturnReasonName: (
reason
) =>string
Parameters ​
• reason: OrderReturnReason
Returns ​
string
getReturnReasons() ​
getReturnReasons: (
data
) =>OrderReturnReason
[]
Parameters ​
• data: OrderReturnsResponse
Returns ​
getStatus() ​
getStatus: (
returnItem
) =>string
Parameters ​
• returnItem: Order
Returns ​
string