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\Communication\Request;
 6 
 7 use Team3\PayU\Communication\Request\Model\RefundRequestModel;
 8 
 9 class RefundRequest extends AbstractPayURequest
10 {
11     /**
12      * @param RefundRequestModel $refundRequestModel
13      */
14     public function __construct(RefundRequestModel $refundRequestModel)
15     {
16         $this->data = $refundRequestModel;
17         $this->path = sprintf('orders/%s/refund', $this->data->getOrderId());
18     }
19 
20     /**
21      * @return string
22      */
23     public function getMethod()
24     {
25         return self::METHOD_POST;
26     }
27 }
28 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen