CalculateOrderRequest

May 28, 2020 ยท View on GitHub

Description

Properties

NameGetterSetterTypeDescriptionNotes
ordergetOrder()setOrder($value)\SquareConnect\Model\OrderThe order to be calculated. Expects the entire order, not a sparse update.
proposed_rewardsgetProposedRewards()setProposedRewards($value)\SquareConnect\Model\OrderReward[]Identifies one or more loyalty reward tiers to apply during order calculation. The discounts defined by the reward tiers are added to the order only to preview the effect of applying the specified reward(s). The reward(s) do not correspond to actual redemptions, that is, no `reward`s are created. Therefore, the reward `id`s are random strings used only to reference the reward tier.[optional]

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

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