Composable Commerce PHP SDKPHP SDK
  • Namespace
  • Class
  • Tree

Namespaces

  • Commercetools
    • Commons
      • Helper
    • Core
      • Builder
        • Request
        • Update
      • Cache
      • Client
        • Adapter
        • OAuth
      • Error
      • Helper
        • Annotate
        • State
          • Renderer
        • Subscriber
          • Log
      • Model
        • ApiClient
        • Cart
        • CartDiscount
        • Category
        • Channel
        • Common
        • Customer
        • CustomerGroup
        • CustomField
        • CustomObject
        • DiscountCode
        • Extension
        • Inventory
        • Message
        • Order
        • OrderEdit
        • Payment
        • Product
          • Search
        • ProductDiscount
        • ProductSelection
        • ProductType
        • Project
        • Review
        • ShippingMethod
        • ShoppingList
        • State
        • Store
        • Subscription
        • TaxCategory
        • Type
        • Zone
      • Request
        • ApiClients
        • CartDiscounts
          • Command
        • Carts
          • Command
        • Categories
          • Command
        • Channels
          • Command
        • CustomerGroups
          • Command
        • Customers
          • Command
        • CustomField
          • Command
        • CustomObjects
        • DiscountCodes
          • Command
        • Extensions
          • Command
        • GraphQL
        • InStores
        • Inventory
          • Command
        • Me
          • Command
        • Messages
        • OrderEdits
          • Command
          • StagedOrder
            • Command
        • Orders
          • Command
        • Payments
          • Command
        • ProductDiscounts
          • Command
        • Products
          • Command
        • ProductSelections
          • Command
        • ProductTypes
          • Command
        • Project
          • Command
        • Query
        • Reviews
          • Command
        • ShippingMethods
          • Command
        • ShoppingLists
          • Command
        • States
          • Command
        • Stores
          • Command
        • Subscriptions
          • Command
        • TaxCategories
          • Command
        • Types
          • Command
        • Zones
          • Command
      • Response

Classes

  • CartAddCustomLineItemAction
  • CartAddDiscountCodeAction
  • CartAddItemShippingAddressAction
  • CartAddLineItemAction
  • CartAddPaymentAction
  • CartAddShoppingListAction
  • CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
  • CartApplyDeltaToLineItemShippingDetailsTargetsAction
  • CartChangeCustomLineItemMoneyAction
  • CartChangeCustomLineItemQuantityAction
  • CartChangeLineItemQuantityAction
  • CartChangeTaxCalculationModeAction
  • CartChangeTaxModeAction
  • CartChangeTaxRoundingModeAction
  • CartRecalculateAction
  • CartRemoveCustomLineItemAction
  • CartRemoveDiscountCodeAction
  • CartRemoveItemShippingAddressAction
  • CartRemoveLineItemAction
  • CartRemovePaymentAction
  • CartSetAnonymousIdAction
  • CartSetBillingAddressAction
  • CartSetBillingAddressCustomFieldAction
  • CartSetBillingAddressCustomTypeAction
  • CartSetCartTotalTaxAction
  • CartSetCountryAction
  • CartSetCustomerEmailAction
  • CartSetCustomerGroupAction
  • CartSetCustomerIdAction
  • CartSetCustomFieldAction
  • CartSetCustomLineItemCustomFieldAction
  • CartSetCustomLineItemCustomTypeAction
  • CartSetCustomLineItemShippingDetailsAction
  • CartSetCustomLineItemTaxAmountAction
  • CartSetCustomLineItemTaxRateAction
  • CartSetCustomShippingMethodAction
  • CartSetCustomTypeAction
  • CartSetDeleteDaysAfterLastModificationAction
  • CartSetItemShippingAddressCustomFieldAction
  • CartSetItemShippingAddressCustomTypeAction
  • CartSetKeyAction
  • CartSetLineItemCustomFieldAction
  • CartSetLineItemCustomTypeAction
  • CartSetLineItemDistributionChannelAction
  • CartSetLineItemPriceAction
  • CartSetLineItemShippingDetailsAction
  • CartSetLineItemSupplyChannelAction
  • CartSetLineItemTaxAmountAction
  • CartSetLineItemTaxRateAction
  • CartSetLineItemTotalPriceAction
  • CartSetLocaleAction
  • CartSetShippingAddressAction
  • CartSetShippingAddressCustomFieldAction
  • CartSetShippingAddressCustomTypeAction
  • CartSetShippingMethodAction
  • CartSetShippingMethodTaxAmountAction
  • CartSetShippingMethodTaxRateAction
  • CartSetShippingRateInputAction
  • CartUpdateItemShippingAddressAction

Class CartSetCustomLineItemCustomTypeAction

Commercetools\Core\Model\Common\AbstractJsonDeserializeObject implements Commercetools\Core\Model\Common\JsonDeserializeInterface, Commercetools\Core\Model\Common\ObjectTreeInterface uses Commercetools\Core\Model\Common\ObjectTreeTrait
Extended by Commercetools\Core\Model\Common\JsonObject implements JsonSerializable uses Commercetools\Core\Model\Common\ContextTrait
Extended by Commercetools\Core\Request\AbstractAction
Extended by Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
Extended by Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction

Direct known subclasses

Commercetools\Core\Request\Orders\Command\OrderSetCustomLineItemCustomTypeAction

Indirect known subclasses

Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetCustomLineItemCustomTypeAction

Namespace: Commercetools\Core\Request\Carts\Command
API documentation: https://docs.commercetools.com/http-api-projects-carts.html#set-customlineitem-custom-type
Located at Core/Request/Carts/Command/CartSetCustomLineItemCustomTypeAction.php

Methods summary

public
# __construct( array $data = [], Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$data
$context

Overrides

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction::__construct
public static Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# ofTypeKeyAndCustomLineItemId( string $typeKey, string $customLineItemId, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$typeKey
$customLineItemId
$context

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
public static Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# ofTypeIdAndCustomLineItemId( string $typeId, string $customLineItemId, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$typeId
$customLineItemId
$context

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
public static Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# ofTypeAndCustomLineItemId( Commercetools\Core\Model\Type\TypeReference $type, string $customLineItemId, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$type
$customLineItemId
$context

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction

Methods inherited from Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction

ofType(), ofTypeId(), ofTypeKey()

Methods inherited from Commercetools\Core\Model\Common\JsonObject

__get(), hasField(), isOptional()

Methods inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject

__sleep(), fromArray(), jsonSerialize(), of(), toArray()

Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface

getContext(), getContextCallback(), setContext(), setContextIfNull()

Methods inherited from Commercetools\Core\Model\Common\ObjectTreeInterface

parentSet(), rootGet(), rootSet()

Methods used from Commercetools\Core\Model\Common\ContextTrait

getContext(), getContextCallback(), setContext(), setContextIfNull()

Methods used from Commercetools\Core\Model\Common\ObjectTreeTrait

parentSet(), rootGet(), rootSet()

Magic methods summary

public string
# getAction( )

Returns

string
public Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# setAction( string $action = null )

Parameters

$action

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
public string
# getCustomLineItemId( )

Returns

string
public Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# setCustomLineItemId( string $customLineItemId = null )

Parameters

$customLineItemId

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
public Commercetools\Core\Model\CustomField\FieldContainer
# getFields( )

Returns

Commercetools\Core\Model\CustomField\FieldContainer
public Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# setFields( Commercetools\Core\Model\CustomField\FieldContainer $fields = null )

Parameters

$fields

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
public Commercetools\Core\Model\Type\TypeReference
# getType( )

Returns

Commercetools\Core\Model\Type\TypeReference
public Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction
# setType( Commercetools\Core\Model\Type\TypeReference $type = null )

Parameters

$type

Returns

Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction

Constants summary

Constants inherited from Commercetools\Core\Model\Common\JsonObject

DECORATOR, ELEMENT_TYPE, INITIALIZED, OPTIONAL, TYPE

Constants inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject

JSON_DESERIALIZE_INTERFACE, TYPEABLE_INTERFACE

PHP SDK API documentation generated by ApiGen