Class PinterestOrder

An order that was placed through Pinterest.

ConstantDescription
PAYMENT_STATUS_NOT_PAID: String = "NOT_PAID"Indicates that payment has not been made.
PAYMENT_STATUS_PAID: String = "PAID"Indicates that payment is complete.
PAYMENT_STATUS_PART_PAID: String = "PART_PAID"Indicates that payment is incomplete.
STATUS_BACKORDER: String = "BACKORDER"Indicates an order on backorder.
STATUS_CANCELLED: String = "CANCELLED"Indicates an order that has been canceled.
STATUS_DELIVERED: String = "DELIVERED"Indicates an order that has been delivered.
STATUS_IN_PROGRESS: String = "IN_PROGRESS"Indicates an order in progress.
STATUS_NEW: String = "NEW"Indicates a new order.
STATUS_RETURNED: String = "RETURNED"Indicates an order that has been returned.
STATUS_SHIPPED: String = "SHIPPED"Indicates an order that has shipped.
PropertyDescription
itemId: StringReturns the item ID for this Pinterest order.
orderNo: String (read-only)Returns the order number for this Pinterest order.
paymentStatus: StringReturns the status of this Pinterest order.
status: StringReturns the status of this Pinterest order.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getItemId()Returns the item ID for this Pinterest order.
getOrderNo()Returns the order number for this Pinterest order.
getPaymentStatus()Returns the status of this Pinterest order.
getStatus()Returns the status of this Pinterest order.
setItemId(String)Sets the item ID for this Pinterest order.
setPaymentStatus(String)Sets the status of this Pinterest order.
setStatus(String)Sets the status of this Pinterest order.

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

PAYMENT_STATUS_NOT_PAID: String = "NOT_PAID"

Indicates that payment has not been made.


PAYMENT_STATUS_PAID: String = "PAID"

Indicates that payment is complete.


PAYMENT_STATUS_PART_PAID: String = "PART_PAID"

Indicates that payment is incomplete.


STATUS_BACKORDER: String = "BACKORDER"

Indicates an order on backorder.


STATUS_CANCELLED: String = "CANCELLED"

Indicates an order that has been canceled.


STATUS_DELIVERED: String = "DELIVERED"

Indicates an order that has been delivered.


STATUS_IN_PROGRESS: String = "IN_PROGRESS"

Indicates an order in progress.


STATUS_NEW: String = "NEW"

Indicates a new order.


STATUS_RETURNED: String = "RETURNED"

Indicates an order that has been returned.


STATUS_SHIPPED: String = "SHIPPED"

Indicates an order that has shipped.


itemId: String

Returns the item ID for this Pinterest order.


orderNo: String (read-only)

Returns the order number for this Pinterest order. This is the same as the order number of the Demandware order.


paymentStatus: String

Returns the status of this Pinterest order. Possible values are PAYMENT_STATUS_PAID, PAYMENT_STATUS_NOT_PAID, or PAYMENT_STATUS_PART_PAID.


status: String

Returns the status of this Pinterest order. Possible values are STATUS_NEW, STATUS_IN_PROGRESS, STATUS_SHIPPED, STATUS_BACKORDER, STATUS_CANCELLED, STATUS_DELIVERED, or STATUS_RETURNED.


getItemId(): String

Returns the item ID for this Pinterest order.


getOrderNo(): String

Returns the order number for this Pinterest order. This is the same as the order number of the Demandware order.

Returns:

  • order number

getPaymentStatus(): String

Returns the status of this Pinterest order. Possible values are PAYMENT_STATUS_PAID, PAYMENT_STATUS_NOT_PAID, or PAYMENT_STATUS_PART_PAID.


getStatus(): String

Returns the status of this Pinterest order. Possible values are STATUS_NEW, STATUS_IN_PROGRESS, STATUS_SHIPPED, STATUS_BACKORDER, STATUS_CANCELLED, STATUS_DELIVERED, or STATUS_RETURNED.


setItemId(itemId: String): void

Sets the item ID for this Pinterest order.

Parameters:

  • itemId - item ID

setPaymentStatus(status: String): void

Sets the status of this Pinterest order. Possible values are PAYMENT_STATUS_PAID, PAYMENT_STATUS_NOT_PAID, or PAYMENT_STATUS_PART_PAID.

Parameters:

  • status - the status to set for this order

setStatus(status: String): void

Sets the status of this Pinterest order. Possible values are STATUS_NEW, STATUS_IN_PROGRESS, STATUS_SHIPPED, STATUS_BACKORDER, STATUS_CANCELLED, STATUS_DELIVERED, or STATUS_RETURNED.

Parameters:

  • status - the status to set for this order