dw.extensions.pinterest
Class PinterestOrder
Object
dw.extensions.pinterest.PinterestOrder
An order that was placed through Pinterest.
Constants
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.
Properties
itemId  :  String
The item ID for this Pinterest order.
orderNo  :  String  (Read Only)
The order number for this Pinterest order. This is the same as the order number of the Demandware order.
paymentStatus  :  String
The status of this Pinterest order. Possible values are PAYMENT_STATUS_PAID, PAYMENT_STATUS_NOT_PAID, or PAYMENT_STATUS_PART_PAID.

status  :  String
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.

Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getItemId() : String
Returns the item ID for this Pinterest order.
getOrderNo() : String
Returns the order number for this Pinterest order.
getPaymentStatus() : String
Returns the status of this Pinterest order.
getStatus() : String
Returns the status of this Pinterest order.
setItemId(itemId : String) : void
Sets the item ID for this Pinterest order.
setPaymentStatus(status : String) : void
Sets the status of this Pinterest order.
setStatus(status : String) : void
Sets the status of this Pinterest order.
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Method Detail
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
setItemId(itemId : String) : void
Sets the item ID for this Pinterest order.
Parameters:
itemId - item ID

setPaymentStatus
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
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

β™₯
Notifications pending to read