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 PaymentsActionBuilder

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

Methods summary

public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# addInterfaceInteraction( Commercetools\Core\Request\Payments\Command\PaymentAddInterfaceInteractionAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#add-interfaceinteraction
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# addTransaction( Commercetools\Core\Request\Payments\Command\PaymentAddTransactionAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#add-transaction
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# changeAmountPlanned( Commercetools\Core\Request\Payments\Command\PaymentChangeAmountPlannedAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#change-amountplanned
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# changeTransactionInteractionId( Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionInteractionIdAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#change-transactioninteractionid
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# changeTransactionState( Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionStateAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#change-transactionstate
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# changeTransactionTimestamp( Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionTimestampAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#change-transactiontimestamp
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setAmountPaid( Commercetools\Core\Request\Payments\Command\PaymentSetAmountPaidAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-amountpaid
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setAmountRefunded( Commercetools\Core\Request\Payments\Command\PaymentSetAmountRefundedAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-amountrefunded
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setAnonymousId( Commercetools\Core\Request\Payments\Command\PaymentSetAnonymousIdAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments#set-anonymousid
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setAuthorization( Commercetools\Core\Request\Payments\Command\PaymentSetAuthorizationAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-authorization
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setCustomField( Commercetools\Core\Request\Payments\Command\PaymentSetCustomFieldAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-customfield
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setCustomType( Commercetools\Core\Request\Payments\Command\PaymentSetCustomTypeAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-custom-type
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setCustomer( Commercetools\Core\Request\Payments\Command\PaymentSetCustomerAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-customer
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setExternalId( Commercetools\Core\Request\Payments\Command\PaymentSetExternalIdAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-externalid
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setInterfaceId( Commercetools\Core\Request\Payments\Command\PaymentSetInterfaceIdAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-interfaceid
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setKey( Commercetools\Core\Request\Payments\Command\PaymentSetKeyAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-key
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setMethodInfoInterface( Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoInterfaceAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-methodinfointerface
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setMethodInfoMethod( Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoMethodAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-methodinfomethod
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setMethodInfoName( Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoNameAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-methodinfoname
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setStatusInterfaceCode( Commercetools\Core\Request\Payments\Command\PaymentSetStatusInterfaceCodeAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-statusinterfacecode
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setStatusInterfaceText( Commercetools\Core\Request\Payments\Command\PaymentSetStatusInterfaceTextAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

https://docs.commercetools.com/http-api-projects-payments.html#set-statusinterfacetext
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setTransactionCustomField( Commercetools\Core\Request\Payments\Command\PaymentSetTransactionCustomFieldAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# setTransactionCustomType( Commercetools\Core\Request\Payments\Command\PaymentSetTransactionCustomTypeAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this
public Commercetools\Core\Builder\Update\PaymentsActionBuilder
# transitionState( Commercetools\Core\Request\Payments\Command\PaymentTransitionStateAction|callable $action = null )

Parameters

$action

Returns

Commercetools\Core\Builder\Update\PaymentsActionBuilder
$this

Link

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

Returns

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

Parameters

$action

Returns

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

Returns

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

Parameters

$actions

Returns

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