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

  • SetCustomFieldAction
  • SetCustomTypeAction

Class SetCustomTypeAction

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

Direct known subclasses

Commercetools\Core\Request\CartDiscounts\Command\CartDiscountSetCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetBillingAddressCustomTypeAction, Commercetools\Core\Request\Channels\Command\ChannelSetCustomTypeAction, Commercetools\Core\Request\CustomerGroups\Command\CustomerGroupSetCustomTypeAction, Commercetools\Core\Request\Customers\Command\CustomerSetAddressCustomTypeAction, Commercetools\Core\Request\Customers\Command\CustomerSetCustomTypeAction, Commercetools\Core\Request\DiscountCodes\Command\DiscountCodeSetCustomTypeAction, Commercetools\Core\Request\Inventory\Command\InventorySetCustomTypeAction, Commercetools\Core\Request\OrderEdits\Command\OrderEditSetCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetBillingAddressCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetDeliveryAddressCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetDeliveryCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetItemShippingAddressCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetParcelCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetReturnItemCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetShippingAddressCustomTypeAction, Commercetools\Core\Request\Payments\Command\PaymentAddInterfaceInteractionAction, Commercetools\Core\Request\Payments\Command\PaymentSetCustomTypeAction, Commercetools\Core\Request\Payments\Command\PaymentSetTransactionCustomTypeAction, Commercetools\Core\Request\Products\Command\ProductSetAssetCustomTypeAction, Commercetools\Core\Request\Products\Command\ProductSetPriceCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetCustomTypeAction, Commercetools\Core\Request\ProductSelections\Command\ProductSelectionSetCustomTypeAction, Commercetools\Core\Request\Reviews\Command\ReviewSetCustomTypeAction, Commercetools\Core\Request\ShippingMethods\Command\ShippingMethodSetCustomTypeAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetCustomTypeAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetLineItemCustomTypeAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetTextLineItemCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetItemShippingAddressCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetLineItemCustomTypeAction, Commercetools\Core\Request\Carts\Command\CartSetShippingAddressCustomTypeAction, Commercetools\Core\Request\Categories\Command\CategorySetAssetCustomTypeAction, Commercetools\Core\Request\Categories\Command\CategorySetCustomTypeAction, Commercetools\Core\Request\Channels\Command\ChannelSetAddressCustomTypeAction

Indirect known subclasses

Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetBillingAddressCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetCustomLineItemCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetCustomLineItemCustomTypeAction, Commercetools\Core\Request\Orders\Command\OrderSetLineItemCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetDeliveryAddressCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetDeliveryCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetItemShippingAddressCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetLineItemCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetParcelCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetReturnItemCustomTypeAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetShippingAddressCustomTypeAction

Namespace: Commercetools\Core\Request\CustomField\Command
Ramltestignoreclass
Located at Core/Request/CustomField/Command/SetCustomTypeAction.php

Methods summary

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

Parameters

$data
$context

Overrides

Commercetools\Core\Model\Common\JsonObject::__construct
public static Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
# ofTypeId( string $typeId, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$typeId
$context

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
public static Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
# ofTypeKey( string $typeKey, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$typeKey
$context

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
public static Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
# ofType( Commercetools\Core\Model\Type\TypeReference $type, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$type
$context

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction

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\ObjectTreeInterface

parentSet(), rootGet(), rootSet()

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

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

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\CustomField\Command\SetCustomTypeAction
# setAction( string $action = null )

Parameters

$action

Returns

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

Returns

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

Parameters

$fields

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction
public Commercetools\Core\Model\Type\TypeReference
# getType( )

Returns

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

Parameters

$type

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomTypeAction

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