PayU integration by Krzysztof Gzocha
  • Namespace
  • Class

Namespaces

  • Team3
    • PayU
      • Annotation
      • Communication
        • CurlRequestBuilder
        • HttpStatusParser
        • Notification
        • Process
          • NotificationProcess
          • ResponseDeserializer
        • Request
          • Model
        • Response
          • Model
        • Sender
      • Configuration
        • Credentials
      • Order
        • Autocomplete
          • Strategy
        • Model
          • Buyer
          • Money
          • Products
          • ShippingMethods
          • Traits
        • Transformer
          • UserOrder
            • Strategy
              • Product
              • ShippingMethod
      • PropertyExtractor
        • Reader
      • Serializer
      • SignatureCalculator
        • Encoder
          • Algorithms
          • Strategy
        • ParametersSorter
        • Validator
      • ValidatorBuilder

Classes

  • GroupsSpecifier
  • Serializer
  • SerializerFactory

Interfaces

  • GroupsSpecifierInterface
  • SerializableInterface
  • SerializerException
  • SerializerFactoryInterface
  • SerializerInterface

Class GroupsSpecifier

This class can specify serialization groups used to serialize Team3\PayU\Order\Model\OrderInterface

Interface GroupsSpecifierInterface

Team3\PayU\Serializer\GroupsSpecifier implements Team3\PayU\Serializer\GroupsSpecifierInterface
Namespace: Team3\PayU\Serializer
Package: Team3\PayU\Serializer
Located at Team3/PayU/Serializer/GroupsSpecifier.php

Methods summary

public
# __construct( Psr\Log\LoggerInterface $logger )

Parameters

$logger
public array
# specifyGroups( Team3\PayU\Order\Model\OrderInterface $order )

Not all orders parameters have to be serialized. For example if buyer has no name, then whole buyer section should not be serialized.

Not all orders parameters have to be serialized. For example if buyer has no name, then whole buyer section should not be serialized.

Parameters

$order

Returns

array

Implementation of

Team3\PayU\Serializer\GroupsSpecifierInterface::specifyGroups()

Magic methods summary

Constants summary

string DEFAULT_GROUP
# 'Default'
string BUYER_GROUP
# 'buyer'
string INVOICE_GROUP
# 'invoice'
string DELIVERY_GROUP
# 'delivery'
string SHIPPING_METHODS_GROUP
# 'shippingMethods'
string PRODUCT_COLLECTION_GROUP
# 'products'
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen