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\PropertyExtractor;
 6 
 7 /**
 8  * This class is holding value and property name extracted from given object.
 9  * It can be returned by {@link ExtractorInterface}
10  *
11  * Class ExtractorResult
12  * @package Team3\PayU\Annotation\Extractor
13  */
14 class ExtractorResult
15 {
16     /**
17      * @var string
18      */
19     protected $propertyName;
20 
21     /**
22      * @var mixed
23      */
24     protected $value;
25 
26     /**
27      * @param string $propertyName
28      * @param mixed  $value
29      */
30     public function __construct(
31         $propertyName,
32         $value
33     ) {
34         $this->propertyName = $propertyName;
35         $this->value = $value;
36     }
37 
38     /**
39      * @return string
40      */
41     public function getPropertyName()
42     {
43         return $this->propertyName;
44     }
45 
46     /**
47      * @return mixed
48      */
49     public function getValue()
50     {
51         return $this->value;
52     }
53 }
54 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen