Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories

Classes

  • CustomerGroupCollectionSerializer
  • CustomerGroupConfigurationsSerializer
  • CustomerGroupSerializer
  • CustomerGroupSettingsSerializer

Interfaces

  • CustomerGroupCollectionSerializerInterface
  • CustomerGroupConfigurationsSerializerInterface
  • CustomerGroupSerializerInterface
  • CustomerGroupSettingsSerializerInterface

Class CustomerGroupCollectionSerializer

Class CustomerGroupCollectionSerializer

CustomerGroupCollectionSerializer implements CustomerGroupCollectionSerializerInterface
Package: CustomerGroup\Serializers
Category: System
Located at Services/Core/CustomerGroup/Serializers/CustomerGroupCollectionSerializer.php

Methods summary

public
# __construct( CustomerGroupSerializerInterface $customerGroupSerializer, CustomerGroupFactory $factory )
public array
# serialize( CustomerGroupCollection $collection )

Serialize a value to a JSON string.

Serialize a value to a JSON string.

Parameters

$collection
Content to be serialized.

Returns

array

Implementation of

CustomerGroupCollectionSerializerInterface::serialize()
protected array
# _serializeCustomerGroup( CustomerGroupInterface $customerGroup )

Serializes customer group entities.

Serializes customer group entities.

Parameters

$customerGroup
Customer group entity to be serialized.

Returns

array
Serialized customer group array.
protected array
# _serializeCustomerGroupNames( array $customerGroupNames )

Serializes customer group names array.

Serializes customer group names array.

Parameters

$customerGroupNames
Customer group names array to be serialized.

Returns

array
Serialized customer group names array.
protected array
# _serializeCustomerGroupConfigurations( CustomerGroupConfigurationsInterface $configurations )

Serializes customer group configuration value objects.

Serializes customer group configuration value objects.

Parameters

$configurations

Customer group configuration object to be serialized.

Returns

array
Serialized customer group configuration array.
protected array
# _serializeCustomerGroupSettings( CustomerGroupSettingsInterface $settings )

Serializes customer group settings value objects.

Serializes customer group settings value objects.

Parameters

$settings
Customer group settings object to be serialized.

Returns

array
Serialized customer group settings array.
public string
# encode( CustomerGroupCollection $collection )

JSON Encode Wrapper.

JSON Encode Wrapper.

Parameters

$collection
Content to be encoded.

Returns

string
Returns the encoded JSON string that represents the data.

Implementation of

CustomerGroupCollectionSerializerInterface::encode()
public CustomerGroupCollection
# deserialize( StringType $collection )

Deserialize a JSON string.

Deserialize a JSON string.

Parameters

$collection
Content to be deserialize.

Returns

CustomerGroupCollection

Implementation of

CustomerGroupCollectionSerializerInterface::deserialize()
protected CustomerGroupSettingsInterface
# _deserializeCustomerGroupSettings( array $settings )

Deserialize customer group settings.

Deserialize customer group settings.

Parameters

$settings
Customer group settings to be serialzed.

Returns

CustomerGroupSettingsInterface
Deserialize customer group settings.
protected CustomerGroupConfigurationsInterface
# _deserializeCustomerGroupConfigurations( array $configurations )

Deserialize customer group configurations.

Deserialize customer group configurations.

Parameters

$configurations
Customer group configurations to be serialzed.

Returns

CustomerGroupConfigurationsInterface
Deserialize customer group configurations.

Properties summary

protected CustomerGroupSerializerInterface $customerGroupSerializer
#
protected CustomerGroupFactory $factory
#
API documentation generated by ApiGen