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\Money;
 6 
 7 interface MoneyInterface
 8 {
 9     /**
10      * @return float|int
11      */
12     public function getValue();
13 
14     /**
15      * When precision is set to 2 this method will transforms 12.34 into 1234.
16      * @param int $precision
17      *
18      * @return int
19      */
20     public function getValueWithoutSeparation($precision = 2);
21 
22     /**
23      * @param MoneyInterface $money
24      *
25      * @return MoneyInterface
26      */
27     public function add(MoneyInterface $money);
28 
29     /**
30      * @param double $multiplier
31      *
32      * @return MoneyInterface
33      */
34     public function multiply($multiplier);
35 }
36 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen