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

  • CategoryCreatedMessage
  • CategorySlugChangedMessage
  • CustomerAddressAddedMessage
  • CustomerAddressChangedMessage
  • CustomerAddressRemovedMessage
  • CustomerCompanyNameSetMessage
  • CustomerCreatedMessage
  • CustomerDateOfBirthSetMessage
  • CustomerDeletedMessage
  • CustomerEmailChangedMessage
  • CustomerEmailVerifiedMessage
  • CustomerGroupSetMessage
  • CustomerPasswordUpdatedMessage
  • CustomLineItemStateTransitionMessage
  • DeliveryAddedMessage
  • DeliveryAddressSetMessage
  • DeliveryItemsUpdatedMessage
  • DeliveryRemovedMessage
  • InventoryEntryCreatedMessage
  • InventoryEntryDeletedMessage
  • InventoryEntryQuantitySetMessage
  • LineItemStateTransitionMessage
  • Message
  • MessageCollection
  • MessagesConfiguration
  • MessagesConfigurationDraft
  • OrderBillingAddressSetMessage
  • OrderCreatedMessage
  • OrderCustomerEmailSetMessage
  • OrderCustomerGroupSetMessage
  • OrderCustomerSetMessage
  • OrderDeletedMessage
  • OrderEditAppliedMessage
  • OrderImportedMessage
  • OrderLineItemDistributionChannelSetMessage
  • OrderPaymentAddedMessage
  • OrderPaymentChangedMessage
  • OrderReturnInfoSetMessage
  • OrderShippingAddressSetMessage
  • OrderStateChangedMessage
  • OrderStateTransitionMessage
  • OrderStoreSetMessage
  • ParcelAddedToDeliveryMessage
  • ParcelItemsUpdatedMessage
  • ParcelMeasurementsUpdatedMessage
  • ParcelRemovedFromDeliveryMessage
  • ParcelTrackingDataUpdatedMessage
  • PaymentCreatedMessage
  • PaymentInteractionAddedMessage
  • PaymentStatusInterfaceCodeSetMessage
  • PaymentStatusStateTransitionMessage
  • PaymentTransactionAddedMessage
  • PaymentTransactionChangedMessage
  • PaymentTransactionStateChangedMessage
  • ProductAddedToCategoryMessage
  • ProductCreatedMessage
  • ProductDeletedMessage
  • ProductImageAddedMessage
  • ProductPriceDiscountsSetMessage
  • ProductPriceDiscountsSetUpdatedPrice
  • ProductPriceDiscountsSetUpdatedPriceCollection
  • ProductPriceExternalDiscountSetMessage
  • ProductPublishedMessage
  • ProductRemovedFromCategoryMessage
  • ProductRevertedStagedChangesMessage
  • ProductSelectionCreatedMessage
  • ProductSelectionDeletedMessage
  • ProductSelectionProductAddedMessage
  • ProductSelectionProductRemovedMessage
  • ProductSlugChangedMessage
  • ProductStateTransitionMessage
  • ProductUnpublishedMessage
  • ProductVariantAddedMessage
  • ProductVariantDeletedMessage
  • ReviewCreatedMessage
  • ReviewRatingSetMessage
  • ReviewStateTransitionMessage
  • StateTransitionMessage
  • StoreCreatedMessage
  • StoreDeletedMessage
  • StoreProductSelectionsChangedMessage
  • UserProvidedIdentifiers

Class ProductPriceDiscountsSetUpdatedPrice

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\Model\Message\ProductPriceDiscountsSetUpdatedPrice
Namespace: Commercetools\Core\Model\Message
API documentation: https://docs.commercetools.com/http-api-message-types.html#productpricediscountsset-message
Located at Core/Model/Message/ProductPriceDiscountsSetUpdatedPrice.php

Methods summary

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

__construct(), __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 integer
# getVariantId( )

Returns

integer
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setVariantId( integer $variantId = null )

Parameters

$variantId

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
public string
# getVariantKey( )

Returns

string
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setVariantKey( string $variantKey = null )

Parameters

$variantKey

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
public string
# getSku( )

Returns

string
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setSku( string $sku = null )

Parameters

$sku

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
public string
# getPriceId( )

Returns

string
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setPriceId( string $priceId = null )

Parameters

$priceId

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
public Commercetools\Core\Model\Common\DiscountedPrice
# getDiscounted( )

Returns

Commercetools\Core\Model\Common\DiscountedPrice
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setDiscounted( Commercetools\Core\Model\Common\DiscountedPrice $discounted = null )

Parameters

$discounted

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
public boolean
# getStaged( )

Returns

boolean
public Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice
# setStaged( boolean $staged = null )

Parameters

$staged

Returns

Commercetools\Core\Model\Message\ProductPriceDiscountsSetUpdatedPrice

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