Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.73 KB

CreateOrderRequest.md

File metadata and controls

15 lines (11 loc) · 1.73 KB

CreateOrderRequest

Properties

Name Getter Setter Type Description Notes
idempotency_key getIdempotencyKey() setIdempotencyKey($value) string A value you specify that uniquely identifies this order among orders you've created. If you're unsure whether a particular order was created successfully, you can reattempt it with the same idempotency key without worrying about creating duplicate orders. See Idempotency keys for more information. [optional]
reference_id getReferenceId() setReferenceId($value) string An optional ID you can associate with the order for your own purposes (such as to associate the order with an entity ID in your own database). This value cannot exceed 40 characters. [optional]
line_items getLineItems() setLineItems($value) \SquareConnect\Model\CreateOrderRequestLineItem[] The line items to associate with this order. Each line item represents a different product to include in a purchase.
taxes getTaxes() setTaxes($value) \SquareConnect\Model\CreateOrderRequestTax[] The taxes to include on the order. [optional]
discounts getDiscounts() setDiscounts($value) \SquareConnect\Model\CreateOrderRequestDiscount[] The discounts to include on the order. [optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]