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 SetCustomFieldAction

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

Direct known subclasses

Commercetools\Core\Request\CartDiscounts\Command\CartDiscountSetCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetBillingAddressCustomFieldAction, Commercetools\Core\Request\Channels\Command\ChannelSetCustomFieldAction, Commercetools\Core\Request\CustomerGroups\Command\CustomerGroupSetCustomFieldAction, Commercetools\Core\Request\Customers\Command\CustomerSetAddressCustomFieldAction, Commercetools\Core\Request\Customers\Command\CustomerSetCustomFieldAction, Commercetools\Core\Request\DiscountCodes\Command\DiscountCodeSetCustomFieldAction, Commercetools\Core\Request\Inventory\Command\InventorySetCustomFieldAction, Commercetools\Core\Request\OrderEdits\Command\OrderEditSetCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetBillingAddressCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetDeliveryAddressCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetDeliveryCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetItemShippingAddressCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetParcelCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetReturnItemCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetShippingAddressCustomFieldAction, Commercetools\Core\Request\Payments\Command\PaymentSetCustomFieldAction, Commercetools\Core\Request\Payments\Command\PaymentSetTransactionCustomFieldAction, Commercetools\Core\Request\Products\Command\ProductSetAssetCustomFieldAction, Commercetools\Core\Request\Products\Command\ProductSetPriceCustomFieldAction, Commercetools\Core\Request\ProductSelections\Command\ProductSelectionSetCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetCustomLineItemCustomFieldAction, Commercetools\Core\Request\Reviews\Command\ReviewSetCustomFieldAction, Commercetools\Core\Request\ShippingMethods\Command\ShippingMethodSetCustomFieldAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetCustomFieldAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetLineItemCustomFieldAction, Commercetools\Core\Request\ShoppingLists\Command\ShoppingListSetTextLineItemCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetItemShippingAddressCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetLineItemCustomFieldAction, Commercetools\Core\Request\Carts\Command\CartSetShippingAddressCustomFieldAction, Commercetools\Core\Request\Categories\Command\CategorySetAssetCustomFieldAction, Commercetools\Core\Request\Categories\Command\CategorySetCustomFieldAction, Commercetools\Core\Request\Channels\Command\ChannelSetAddressCustomFieldAction

Indirect known subclasses

Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetBillingAddressCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetCustomLineItemCustomFieldAction, Commercetools\Core\Request\Orders\Command\OrderSetLineItemCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetCustomLineItemCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetDeliveryAddressCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetDeliveryCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetItemShippingAddressCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetLineItemCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetParcelCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetReturnItemCustomFieldAction, Commercetools\Core\Request\OrderEdits\StagedOrder\Command\StagedOrderSetShippingAddressCustomFieldAction

Namespace: Commercetools\Core\Request\CustomField\Command
Ramltestignoreclass
Located at Core/Request/CustomField/Command/SetCustomFieldAction.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\SetCustomFieldAction
# ofName( $name, Commercetools\Core\Model\Common\Context|callable $context = null )

Parameters

$name
$context

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction

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

Parameters

$action

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction
public string
# getName( )

Returns

string
public Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction
# setName( string $name = null )

Parameters

$name

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction
public mixed
# getValue( )

Returns

mixed
public Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction
# setValue( $value = null )

Parameters

$value

Returns

Commercetools\Core\Request\CustomField\Command\SetCustomFieldAction

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