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

  • CartClassification
  • CartScore
  • CartValue
  • PriceFunction
  • ShippingMethod
  • ShippingMethodCollection
  • ShippingMethodDraft
  • ShippingMethodReference
  • ShippingRate
  • ShippingRateCollection
  • ShippingRateDraft
  • ShippingRateDraftCollection
  • ShippingRatePriceTier
  • ShippingRatePriceTierCollection
  • ZoneRate
  • ZoneRateCollection
  • ZoneRateDraft
  • ZoneRateDraftCollection

Class ShippingMethod

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\Common\Resource implements Commercetools\Core\Model\Common\ReferenceObjectInterface
Extended by Commercetools\Core\Model\ShippingMethod\ShippingMethod
Namespace: Commercetools\Core\Model\ShippingMethod
API documentation: https://docs.commercetools.com/http-api-projects-shippingMethods.html#shippingmethod
Located at Core/Model/ShippingMethod/ShippingMethod.php

Methods summary

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

getReference(), getReferenceIdentifier()

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\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
# getId( )

Returns

string
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setId( string $id = null )

Parameters

$id

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public integer
# getVersion( )

Returns

integer
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setVersion( integer $version = null )

Parameters

$version

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\Common\DateTimeDecorator
# getCreatedAt( )

Returns

Commercetools\Core\Model\Common\DateTimeDecorator
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setCreatedAt( DateTime $createdAt = null )

Parameters

$createdAt

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\Common\DateTimeDecorator
# getLastModifiedAt( )

Returns

Commercetools\Core\Model\Common\DateTimeDecorator
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setLastModifiedAt( DateTime $lastModifiedAt = null )

Parameters

$lastModifiedAt

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public string
# getName( )

Returns

string
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setName( string $name = null )

Parameters

$name

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public string
# getDescription( )

Returns

string
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setDescription( string $description = null )

Parameters

$description

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\TaxCategory\TaxCategoryReference
# getTaxCategory( )

Returns

Commercetools\Core\Model\TaxCategory\TaxCategoryReference
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setTaxCategory( Commercetools\Core\Model\TaxCategory\TaxCategoryReference $taxCategory = null )

Parameters

$taxCategory

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\ShippingMethod\ZoneRateCollection
# getZoneRates( )

Returns

Commercetools\Core\Model\ShippingMethod\ZoneRateCollection
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setZoneRates( Commercetools\Core\Model\ShippingMethod\ZoneRateCollection $zoneRates = null )

Parameters

$zoneRates

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public boolean
# getIsDefault( )

Returns

boolean
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setIsDefault( boolean $isDefault = null )

Parameters

$isDefault

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public string
# getKey( )

Returns

string
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setKey( string $key = null )

Parameters

$key

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public string
# getPredicate( )

Returns

string
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setPredicate( string $predicate = null )

Parameters

$predicate

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\Common\LocalizedString
# getLocalizedDescription( )

Returns

Commercetools\Core\Model\Common\LocalizedString
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setLocalizedDescription( Commercetools\Core\Model\Common\LocalizedString $localizedDescription = null )

Parameters

$localizedDescription

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\Common\LocalizedString
# getLocalizedName( )

Returns

Commercetools\Core\Model\Common\LocalizedString
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setLocalizedName( Commercetools\Core\Model\Common\LocalizedString $localizedName = null )

Parameters

$localizedName

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\CustomField\CustomFieldObject
# getCustom( )

Returns

Commercetools\Core\Model\CustomField\CustomFieldObject
public Commercetools\Core\Model\ShippingMethod\ShippingMethod
# setCustom( Commercetools\Core\Model\CustomField\CustomFieldObject $custom = null )

Parameters

$custom

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethod
public Commercetools\Core\Model\ShippingMethod\ShippingMethodReference
# getReference( )

Returns

Commercetools\Core\Model\ShippingMethod\ShippingMethodReference

Overrides

Commercetools\Core\Model\Common\Resource::getReference

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