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\Order\Model\Buyer;
 6 
 7 use JMS\Serializer\Annotation as JMS;
 8 use Team3\PayU\Order\Model\Traits\AddressTrait;
 9 
10 /**
11  * Class Invoice
12  * @package Team3\PayU\Order\Model\Buyer
13  * @JMS\AccessorOrder("alphabetical")
14  */
15 class Invoice implements InvoiceInterface
16 {
17     use AddressTrait;
18 
19     /**
20      * @var string
21      * @JMS\SerializedName("tin")
22      */
23     protected $recipientTin;
24 
25     /**
26      * @var bool
27      * @JMS\SerializedName("einvoiceRequested")
28      */
29     protected $eInvoiceRequested;
30 
31     /**
32      * @return boolean
33      */
34     public function isEInvoiceRequested()
35     {
36         return $this->eInvoiceRequested;
37     }
38 
39     /**
40      * @param boolean $eInvoiceRequested
41      *
42      * @return Invoice
43      */
44     public function setEInvoiceRequested($eInvoiceRequested)
45     {
46         $this->eInvoiceRequested = $eInvoiceRequested;
47 
48         return $this;
49     }
50 
51     /**
52      * @return string
53      */
54     public function getRecipientTin()
55     {
56         return $this->recipientTin;
57     }
58 
59     /**
60      * @param string $recipientTin
61      *
62      * @return Invoice
63      */
64     public function setRecipientTin($recipientTin)
65     {
66         $this->recipientTin = $recipientTin;
67 
68         return $this;
69     }
70 }
71 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen