| 1 | <?php  | 
            ||
| 7 | class BaseRequest  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var Address  | 
            ||
| 11 | */  | 
            ||
| 12 | protected $fromAddress;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var Address  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $toAddress;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var float  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $amount;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @var float  | 
            ||
| 26 | */  | 
            ||
| 27 | protected $shipping;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @return Address  | 
            ||
| 31 | */  | 
            ||
| 32 | 2 | public function getFromAddress()  | 
            |
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @param Address $fromAddress  | 
            ||
| 39 | */  | 
            ||
| 40 | 16 | public function setFromAddress(Address $fromAddress)  | 
            |
| 44 | |||
| 45 | /**  | 
            ||
| 46 | * @return Address  | 
            ||
| 47 | */  | 
            ||
| 48 | 2 | public function getToAddress()  | 
            |
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * @param Address $toAddress  | 
            ||
| 55 | */  | 
            ||
| 56 | 16 | public function setToAddress(Address $toAddress)  | 
            |
| 60 | |||
| 61 | /**  | 
            ||
| 62 | * @return float  | 
            ||
| 63 | */  | 
            ||
| 64 | 16 | public function getAmount()  | 
            |
| 68 | |||
| 69 | /**  | 
            ||
| 70 | * @param float $amount  | 
            ||
| 71 | */  | 
            ||
| 72 | 14 | public function setAmount($amount)  | 
            |
| 78 | |||
| 79 | /**  | 
            ||
| 80 | * @return float  | 
            ||
| 81 | */  | 
            ||
| 82 | 16 | public function getShipping()  | 
            |
| 86 | |||
| 87 | /**  | 
            ||
| 88 | * @param float $shipping  | 
            ||
| 89 | */  | 
            ||
| 90 | 14 | public function setShipping($shipping)  | 
            |
| 96 | |||
| 97 | 16 | protected function toArray()  | 
            |
| 116 | }  | 
            ||
| 117 |