ZoneInterface
- Type
- Interface
- Namespace
- craft\commerce\base
- Implemented by
- craft\commerce\base\Zone, craft\commerce\models\ShippingAddressZone, craft\commerce\models\TaxAddressZone
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getCondition() | Get the zone condition on the zone. |
getCpEditUrl() | |
setCondition() | Set the zone condition on the zone. |
# getCondition()
Get the zone condition on the zone.
View source (opens new window)
# getCpEditUrl()
View source (opens new window)
Returns
# setCondition()
Set the zone condition on the zone.
View source (opens new window)
Arguments
$condition
(craft\commerce\elements\conditions\addresses\ZoneAddressCondition, string (opens new window), array (opens new window), null (opens new window))
Returns
void