ItemVariationLocationOverrides

November 20, 2019 ยท View on GitHub

Description

Price and inventory alerting overrides for a CatalogItemVariation at a specific Location.

Properties

NameGetterSetterTypeDescriptionNotes
location_idgetLocationId()setLocationId($value)stringThe ID of the `Location`.[optional]
price_moneygetPriceMoney()setPriceMoney($value)\SquareConnect\Model\MoneyThe price of the `CatalogItemVariation` at the given `Location`, or blank for variable pricing.[optional]
pricing_typegetPricingType()setPricingType($value)stringThe pricing type (fixed or variable) for the `CatalogItemVariation` at the given `Location`. See CatalogPricingType for possible values[optional]
track_inventorygetTrackInventory()setTrackInventory($value)boolIf `true`, inventory tracking is active for the `CatalogItemVariation` at this `Location`.[optional]
inventory_alert_typegetInventoryAlertType()setInventoryAlertType($value)stringIndicates whether the `CatalogItemVariation` displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See InventoryAlertType for possible values[optional]
inventory_alert_thresholdgetInventoryAlertThreshold()setInventoryAlertThreshold($value)intIf the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type` is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard. This value is always an integer.[optional]

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

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