/home/mjc1/public_html/plugin/nicepay/lib/nicepay/web/CpBillWebParamGather.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
require_once dirname(__FILE__).'/WebParamGather.php';

class 
CpBillWebParamGather implements WebParamGather{
    
/**
     * 
     * @param  $request
     */
    
public function gather($request){
        
$webParam = new WebMessageDTO();
        
        
        
$carrier $request["Carrier"];
        
$webParam->setParameter(CARRIER,$carrier);
        
        
        
        
$dstAddr $request["DstAddr"];
        
$webParam->setParameter(DST_ADDR,$dstAddr);
        
        
        
        
$iden $request["Iden"];
        
$webParam->setParameter(IDEN,$iden);
        
        
        return 
$webParam;
    }
}
?>