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

  • Team3\PayU\ValidatorBuilder\ValidatorBuilder

Interfaces

  • Team3\PayU\ValidatorBuilder\ValidatorBuilderInterface
 1 <?php
 2 /**
 3  * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
 4  */
 5 namespace Team3\PayU\Annotation;
 6 
 7 use Doctrine\Common\Annotations\Annotation\Target;
 8 
 9 /**
10  * This annotation will help to transform user order into library's order object.
11  * Just put this annotation on any method and define it's propertyName to let library know
12  * what this method will return. To see all possible propertyNames please look into
13  * {@link \Team3\PayU\Order\Transformer\UserOrder\TransformerProperties}
14  *
15  * Class PayU
16  * @package Team3\PayU\Annotation
17  * @Annotation
18  * @Target({"METHOD"})
19  */
20 class PayU
21 {
22     /**
23      * @var string
24      */
25     public $propertyName;
26 
27     /**
28      * @param array $values
29      */
30     public function __construct(array $values = [])
31     {
32         if (array_key_exists('propertyName', $values)) {
33             $this->propertyName = $values['propertyName'];
34         }
35     }
36 
37     /**
38      * @return string
39      */
40     public function getPropertyName()
41     {
42         return $this->propertyName;
43     }
44 }
45 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen