Inherits Commercetools\Base\Builder, and Commercetools\Base\Builder.
<PriceImport>
Definition at line 39 of file PriceImportBuilder.php.
◆ build()
| Commercetools\Import\Models\Prices\PriceImportBuilder::build |
( |
| ) |
|
◆ getChannel()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getChannel |
( |
| ) |
|
Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.
- Returns
- null|ChannelKeyReference
Definition at line 191 of file PriceImportBuilder.php.
◆ getCountry()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getCountry |
( |
| ) |
|
◆ getCustom()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getCustom |
( |
| ) |
|
◆ getCustomerGroup()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getCustomerGroup |
( |
| ) |
|
Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.
- Returns
- null|CustomerGroupKeyReference
Definition at line 180 of file PriceImportBuilder.php.
◆ getDiscounted()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getDiscounted |
( |
| ) |
|
Sets a discounted price from an external service.
- Returns
- null|DiscountedPrice
Definition at line 202 of file PriceImportBuilder.php.
◆ getKey()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getKey |
( |
| ) |
|
User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.
- Returns
- null|string
Definition at line 125 of file PriceImportBuilder.php.
◆ getProduct()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getProduct |
( |
| ) |
|
The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.
- Returns
- null|ProductKeyReference
Definition at line 260 of file PriceImportBuilder.php.
◆ getProductVariant()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getProductVariant |
( |
| ) |
|
The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.
- Returns
- null|ProductVariantKeyReference
Definition at line 249 of file PriceImportBuilder.php.
◆ getStaged()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getStaged |
( |
| ) |
|
◆ getTiers()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getTiers |
( |
| ) |
|
◆ getValidFrom()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getValidFrom |
( |
| ) |
|
◆ getValidUntil()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getValidUntil |
( |
| ) |
|
◆ getValue()
| Commercetools\Import\Models\Prices\PriceImportBuilder::getValue |
( |
| ) |
|
◆ of()
| static Commercetools\Import\Models\Prices\PriceImportBuilder::of |
( |
| ) |
|
|
static |
◆ withChannel()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withChannel |
( |
?ChannelKeyReference |
$channel | ) |
|
◆ withChannelBuilder()
◆ withCountry()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withCountry |
( |
?string |
$country | ) |
|
◆ withCustom()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withCustom |
( |
?Custom |
$custom | ) |
|
◆ withCustomBuilder()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withCustomBuilder |
( |
?CustomBuilder |
$custom | ) |
|
◆ withCustomerGroup()
◆ withCustomerGroupBuilder()
◆ withDiscounted()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withDiscounted |
( |
?DiscountedPrice |
$discounted | ) |
|
◆ withDiscountedBuilder()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withDiscountedBuilder |
( |
?DiscountedPriceBuilder |
$discounted | ) |
|
◆ withKey()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withKey |
( |
?string |
$key | ) |
|
◆ withProduct()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withProduct |
( |
?ProductKeyReference |
$product | ) |
|
◆ withProductBuilder()
◆ withProductVariant()
◆ withProductVariantBuilder()
◆ withStaged()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withStaged |
( |
?bool |
$staged | ) |
|
◆ withTiers()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withTiers |
( |
?PriceTierCollection |
$tiers | ) |
|
◆ withValidFrom()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withValidFrom |
( |
?DateTimeImmutable |
$validFrom | ) |
|
◆ withValidUntil()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withValidUntil |
( |
?DateTimeImmutable |
$validUntil | ) |
|
◆ withValue()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withValue |
( |
?TypedMoney |
$value | ) |
|
◆ withValueBuilder()
| Commercetools\Import\Models\Prices\PriceImportBuilder::withValueBuilder |
( |
?TypedMoneyBuilder |
$value | ) |
|
The documentation for this class was generated from the following file: