@@ -226,6 +226,8 @@ |
||
| 226 | 226 | * |
| 227 | 227 | * @param string |
| 228 | 228 | * @param string |
| 229 | + * @param string $nodeName |
|
| 230 | + * @param string $value |
|
| 229 | 231 | * @return string |
| 230 | 232 | */ |
| 231 | 233 | protected function serializeItemValue($nodeName, $value) |
@@ -63,6 +63,7 @@ |
||
| 63 | 63 | * Build a new IPayload for the given interface. |
| 64 | 64 | * |
| 65 | 65 | * @param string |
| 66 | + * @param string $interface |
|
| 66 | 67 | * @return IPayload |
| 67 | 68 | */ |
| 68 | 69 | protected function buildPayloadForInterface($interface) |
@@ -57,6 +57,9 @@ |
||
| 57 | 57 | return $this; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | + /** |
|
| 61 | + * @return null|DateTime |
|
| 62 | + */ |
|
| 60 | 63 | public function getDateOfBirth() |
| 61 | 64 | { |
| 62 | 65 | return $this->dateOfBirth; |
@@ -122,6 +122,9 @@ |
||
| 122 | 122 | return $this->estimatedShipDate; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | + /** |
|
| 126 | + * @param DateTime $date |
|
| 127 | + */ |
|
| 125 | 128 | public function setEstimatedShipDate($date) |
| 126 | 129 | { |
| 127 | 130 | $this->estimatedShipDate = |
@@ -88,6 +88,7 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * @param string name of element containing the amount |
| 90 | 90 | * @param mixed amount to serialize |
| 91 | + * @param string $elementName |
|
| 91 | 92 | * @return string |
| 92 | 93 | */ |
| 93 | 94 | abstract protected function serializeAmount($elementName, $amount); |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | /** |
| 187 | 187 | * ISO 4217:2008 code that represents the currency for the unit amount. |
| 188 | 188 | * |
| 189 | - * @return string |
|
| 189 | + * @return double |
|
| 190 | 190 | */ |
| 191 | 191 | public function getCurrencyCode() |
| 192 | 192 | { |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * xsd note: minimum value 0 |
| 90 | 90 | * maximum precision 2 decimal places |
| 91 | - * @return float |
|
| 91 | + * @return string |
|
| 92 | 92 | */ |
| 93 | 93 | public function getAmount() |
| 94 | 94 | { |
@@ -251,6 +251,9 @@ |
||
| 251 | 251 | * @param string |
| 252 | 252 | * @param float |
| 253 | 253 | * @param string |
| 254 | + * @param string $amountType |
|
| 255 | + * @param double $amount |
|
| 256 | + * @param string $currencyCode |
|
| 254 | 257 | * @return string |
| 255 | 258 | */ |
| 256 | 259 | protected function serializeAmounts($amountType, $amount, $currencyCode) |
@@ -76,6 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param string |
| 79 | + * @param string $tenderType |
|
| 79 | 80 | * @return self |
| 80 | 81 | */ |
| 81 | 82 | public function setTenderType($tenderType) |
@@ -96,6 +97,7 @@ discard block |
||
| 96 | 97 | |
| 97 | 98 | /** |
| 98 | 99 | * @param string |
| 100 | + * @param string $responseCode |
|
| 99 | 101 | * @return self |
| 100 | 102 | */ |
| 101 | 103 | public function setResponseCode($responseCode) |