commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getKey () | |
getName () | |
getLocalizedName () | |
getDescription () | |
getLocalizedDescription () | |
getTaxCategory () | |
getZoneRates () | |
getIsDefault () | |
getPredicate () | |
getCustom () | |
setKey (?string $key) | |
setName (?string $name) | |
setLocalizedName (?LocalizedString $localizedName) | |
setDescription (?string $description) | |
setLocalizedDescription (?LocalizedString $localizedDescription) | |
setTaxCategory (?TaxCategoryResourceIdentifier $taxCategory) | |
setZoneRates (?ZoneRateDraftCollection $zoneRates) | |
setIsDefault (?bool $isDefault) | |
setPredicate (?string $predicate) | |
setCustom (?CustomFieldsDraft $custom) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_KEY = 'key' |
const | FIELD_NAME = 'name' |
const | FIELD_LOCALIZED_NAME = 'localizedName' |
const | FIELD_DESCRIPTION = 'description' |
const | FIELD_LOCALIZED_DESCRIPTION = 'localizedDescription' |
const | FIELD_TAX_CATEGORY = 'taxCategory' |
const | FIELD_ZONE_RATES = 'zoneRates' |
const | FIELD_IS_DEFAULT = 'isDefault' |
const | FIELD_PREDICATE = 'predicate' |
const | FIELD_CUSTOM = 'custom' |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\JsonObject | |
static | of ($data=null) |
static | fromArray (array $data=[]) |
static | fromStdClass (stdClass $data=null) |
Definition at line 17 of file ShippingMethodDraft.php.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getCustom | ( | ) |
Custom Fields for the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getDescription | ( | ) |
Description of the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getIsDefault | ( | ) |
If true
the ShippingMethod will be the Project's default ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getKey | ( | ) |
User-defined unique identifier for the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getLocalizedDescription | ( | ) |
Localized description of the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getLocalizedName | ( | ) |
Localized name of the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getName | ( | ) |
Unique name for the ShippingMethod within a Project.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getPredicate | ( | ) |
Valid Cart predicate to select a ShippingMethod for a Cart.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getTaxCategory | ( | ) |
TaxCategory for all ZoneRates of the ShippingMethod.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::getZoneRates | ( | ) |
Defines ShippingRates (prices) for specific zones.
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setCustom | ( | ?CustomFieldsDraft | $custom | ) |
?CustomFieldsDraft | $custom |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setDescription | ( | ?string | $description | ) |
?string | $description |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setIsDefault | ( | ?bool | $isDefault | ) |
?bool | $isDefault |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setLocalizedDescription | ( | ?LocalizedString | $localizedDescription | ) |
?LocalizedString | $localizedDescription |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setLocalizedName | ( | ?LocalizedString | $localizedName | ) |
?LocalizedString | $localizedName |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setName | ( | ?string | $name | ) |
?string | $name |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setPredicate | ( | ?string | $predicate | ) |
?string | $predicate |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setTaxCategory | ( | ?TaxCategoryResourceIdentifier | $taxCategory | ) |
?TaxCategoryResourceIdentifier | $taxCategory |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::setZoneRates | ( | ?ZoneRateDraftCollection | $zoneRates | ) |
?ZoneRateDraftCollection | $zoneRates |
Implemented in Commercetools\Api\Models\ShippingMethod\ShippingMethodDraftModel.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_CUSTOM = 'custom' |
Definition at line 28 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_DESCRIPTION = 'description' |
Definition at line 22 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_IS_DEFAULT = 'isDefault' |
Definition at line 26 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_KEY = 'key' |
Definition at line 19 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_LOCALIZED_DESCRIPTION = 'localizedDescription' |
Definition at line 23 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_LOCALIZED_NAME = 'localizedName' |
Definition at line 21 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_NAME = 'name' |
Definition at line 20 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_PREDICATE = 'predicate' |
Definition at line 27 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_TAX_CATEGORY = 'taxCategory' |
Definition at line 24 of file ShippingMethodDraft.php.
const Commercetools\Api\Models\ShippingMethod\ShippingMethodDraft::FIELD_ZONE_RATES = 'zoneRates' |
Definition at line 25 of file ShippingMethodDraft.php.