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

  • ActionBuilder
  • CartDiscountsActionBuilder
  • CartsActionBuilder
  • CategoriesActionBuilder
  • ChannelsActionBuilder
  • CustomerGroupsActionBuilder
  • CustomersActionBuilder
  • CustomFieldActionBuilder
  • DiscountCodesActionBuilder
  • ExtensionsActionBuilder
  • InventoryActionBuilder
  • MeActionBuilder
  • OrderEditsActionBuilder
  • OrdersActionBuilder
  • PaymentsActionBuilder
  • ProductDiscountsActionBuilder
  • ProductsActionBuilder
  • ProductSelectionsActionBuilder
  • ProductTypesActionBuilder
  • ProjectActionBuilder
  • ReviewsActionBuilder
  • ShippingMethodsActionBuilder
  • ShoppingListsActionBuilder
  • StagedOrderActionBuilder
  • StatesActionBuilder
  • StoresActionBuilder
  • SubscriptionsActionBuilder
  • TaxCategoriesActionBuilder
  • TypesActionBuilder
  • ZonesActionBuilder

Class ReviewsActionBuilder

Namespace: Commercetools\Core\Builder\Update
Located at Core/Builder/Update/ReviewsActionBuilder.php

Methods summary

public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setAuthorName( Commercetools\Core\Request\Reviews\Command\ReviewSetAuthorNameAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-author-name
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setCustomField( Commercetools\Core\Request\Reviews\Command\ReviewSetCustomFieldAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setCustomType( Commercetools\Core\Request\Reviews\Command\ReviewSetCustomTypeAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setCustomer( Commercetools\Core\Request\Reviews\Command\ReviewSetCustomerAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-customer
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setKey( Commercetools\Core\Request\Reviews\Command\ReviewSetKeyAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-key
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setLocale( Commercetools\Core\Request\Reviews\Command\ReviewSetLocaleAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-locale
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setRating( Commercetools\Core\Request\Reviews\Command\ReviewSetRatingAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-rating
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setTarget( Commercetools\Core\Request\Reviews\Command\ReviewSetTargetAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-target
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setText( Commercetools\Core\Request\Reviews\Command\ReviewSetTextAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-text
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setTitle( Commercetools\Core\Request\Reviews\Command\ReviewSetTitleAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#set-title
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# transitionState( Commercetools\Core\Request\Reviews\Command\ReviewTransitionStateAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-reviews.html#transition-state
public static Commercetools\Core\Builder\Update\ReviewsActionBuilder
# of( )

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
public $this;
# addAction( Commercetools\Core\Request\AbstractAction $action )

Parameters

$action

Returns

$this;
$this;
public array
# getActions( )

Returns

array
public Commercetools\Core\Builder\Update\ReviewsActionBuilder
# setActions( array $actions )

Parameters

$actions

Returns

Commercetools\Core\Builder\Update\ReviewsActionBuilder
$this
PHP SDK API documentation generated by ApiGen