File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ public function getPhone()
241
241
* Set Shipping Address
242
242
* Shipping address of the Payer from their PayPal Account
243
243
*
244
- * @param \PayPal\Api\Address $shipping_address
244
+ * @param \PayPal\Api\ShippingAddress $shipping_address
245
245
*
246
246
* @return $this
247
247
*/
@@ -256,7 +256,7 @@ public function setShippingAddress($shipping_address)
256
256
* Get Shipping Address
257
257
* Shipping address of the Payer from their PayPal Account
258
258
*
259
- * @return \PayPal\Api\Address
259
+ * @return \PayPal\Api\ShippingAddress
260
260
*/
261
261
public function getShippingAddress ()
262
262
{
@@ -267,7 +267,7 @@ public function getShippingAddress()
267
267
* Set Shipping Address
268
268
* Shipping address of the Payer from their PayPal Account
269
269
*
270
- * @param \PayPal\Api\Address $shipping_address
270
+ * @param \PayPal\Api\ShippingAddress $shipping_address
271
271
*
272
272
* @deprecated Use setShippingAddress
273
273
*
@@ -286,7 +286,7 @@ public function setShipping_address($shipping_address)
286
286
*
287
287
* @deprecated Use getShippingAddress
288
288
*
289
- * @return \PayPal\Api\Address
289
+ * @return \PayPal\Api\ShippingAddress
290
290
*/
291
291
public function getShipping_address ()
292
292
{
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static function createPayerInfo() {
21
21
$ payerInfo ->setLastName (self ::$ lastName );
22
22
$ payerInfo ->setPhone (self ::$ phone );
23
23
$ payerInfo ->setPayerId (self ::$ payerId );
24
- $ payerInfo ->setShippingAddress (AddressTest ::createAddress ());
24
+ $ payerInfo ->setShippingAddress (ShippingAddressTest ::createAddress ());
25
25
26
26
return $ payerInfo ;
27
27
}
@@ -36,7 +36,7 @@ public function testGetterSetter() {
36
36
$ this ->assertEquals (self ::$ lastName , $ this ->payerInfo ->getLastName ());
37
37
$ this ->assertEquals (self ::$ phone , $ this ->payerInfo ->getPhone ());
38
38
$ this ->assertEquals (self ::$ payerId , $ this ->payerInfo ->getPayerId ());
39
- $ this ->assertEquals (AddressTest ::$ line1 , $ this ->payerInfo ->getShippingAddress ()->getLine1 ());
39
+ $ this ->assertEquals (ShippingAddressTest ::$ line1 , $ this ->payerInfo ->getShippingAddress ()->getLine1 ());
40
40
}
41
41
42
42
public function testSerializeDeserialize () {
You can’t perform that action at this time.
0 commit comments