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 Serializer

This class is responsible for serialization and deserialization to and from JSON format.

Class Serializer

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

Methods summary

public
# __construct( JMS\Serializer\SerializerInterface $serializer, Team3\PayU\Serializer\GroupsSpecifierInterface $groupsSpecifier, Psr\Log\LoggerInterface $logger )

Parameters

$serializer
$groupsSpecifier
$logger
public string
# toJson( Team3\PayU\Serializer\SerializableInterface $serializable, JMS\Serializer\SerializationContext $serializationContext = null )

Parameters

$serializable
$serializationContext

Returns

string

Implementation of

Team3\PayU\Serializer\SerializerInterface::toJson()
public array|object
# fromJson( string $data, string $type )

Parameters

$data
$type

Returns

array|object

Throws

Team3\PayU\Serializer\SerializerException

Implementation of

Team3\PayU\Serializer\SerializerInterface::fromJson()

Magic methods summary

Properties summary

protected JMS\Serializer\SerializerInterface $serializer
#
protected Team3\PayU\Serializer\GroupsSpecifierInterface $groupsSpecifier
#
protected Psr\Log\LoggerInterface $logger
#
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen