Class PinterestOrder

An order that was placed through Pinterest.

Constant Summary 

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.

Property Summary 

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.

Constructor Summary 

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

Method Summary 

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.

Methods inherited from class Object 

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

Constant Details 

PAYMENT_STATUS_NOT_PAID 

PAYMENT_STATUS_NOT_PAID: String = "NOT_PAID"

Indicates that payment has not been made.


PAYMENT_STATUS_PAID 

PAYMENT_STATUS_PAID: String = "PAID"

Indicates that payment is complete.


PAYMENT_STATUS_PART_PAID 

PAYMENT_STATUS_PART_PAID: String = "PART_PAID"

Indicates that payment is incomplete.


STATUS_BACKORDER 

STATUS_BACKORDER: String = "BACKORDER"

Indicates an order on backorder.


STATUS_CANCELLED 

STATUS_CANCELLED: String = "CANCELLED"

Indicates an order that has been canceled.


STATUS_DELIVERED 

STATUS_DELIVERED: String = "DELIVERED"

Indicates an order that has been delivered.


STATUS_IN_PROGRESS 

STATUS_IN_PROGRESS: String = "IN_PROGRESS"

Indicates an order in progress.


STATUS_NEW 

STATUS_NEW: String = "NEW"

Indicates a new order.


STATUS_RETURNED 

STATUS_RETURNED: String = "RETURNED"

Indicates an order that has been returned.


STATUS_SHIPPED 

STATUS_SHIPPED: String = "SHIPPED"

Indicates an order that has shipped.


Property Details 

itemId 

itemId: String

Returns the item ID for this Pinterest order.


orderNo 

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 

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 

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.


Method Details 

getItemId() 

getItemId(): String

Returns the item ID for this Pinterest order.


getOrderNo() 

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() 

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() 

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(String) 

setItemId(itemId: String): void

Sets the item ID for this Pinterest order.

Parameters:

  • itemId - item ID

setPaymentStatus(String) 

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(String) 

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