File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,30 @@ public function setBillingPhone($value)
358
358
return $ this ->setParameter ('billingPhone ' , $ value );
359
359
}
360
360
361
+ public function getShippingFirstName () {
362
+ return $ this ->getParameter ('shippingFirstName ' );
363
+ }
364
+
365
+ public function setShippingFirstName ($ value ) {
366
+ return $ this ->setParameter ('shippingFirstName ' , $ value );
367
+ }
368
+
369
+ public function getShippingLastName () {
370
+ return $ this ->getParameter ('shippingLastName ' );
371
+ }
372
+
373
+ public function setShippingLastName ($ value ) {
374
+ return $ this ->setParameter ('shippingLastName ' , $ value );
375
+ }
376
+
377
+ public function getShippingCompany () {
378
+ return $ this ->getParameter ('shippingCompany ' );
379
+ }
380
+
381
+ public function setShippingCompany ($ value ) {
382
+ return $ this ->setParameter ('shippingCompany ' , $ value );
383
+ }
384
+
361
385
public function getShippingAddress1 ()
362
386
{
363
387
return $ this ->getParameter ('shippingAddress1 ' );
Original file line number Diff line number Diff line change @@ -321,6 +321,24 @@ public function testBillingPhone()
321
321
$ this ->assertSame ('12345 ' , $ this ->card ->getPhone ());
322
322
}
323
323
324
+ public function testShippingFirstName ()
325
+ {
326
+ $ this ->card ->setShippingFirstName ('James Bond ' );
327
+ $ this ->assertEquals ('James Bond ' , $ this ->getShippingFirstName ());
328
+ }
329
+
330
+ public function testShippingLastName ()
331
+ {
332
+ $ this ->card ->setShippingLastName ('Doctor No ' );
333
+ $ this ->assertEquals ('Doctor No ' , $ this ->getShippingLastName ());
334
+ }
335
+
336
+ public function testShippingCompany ()
337
+ {
338
+ $ this ->card ->setShippingCompany ('SuperSoft ' );
339
+ $ this ->assertEquals ('SuperSoft ' , $ this ->getShippingCompany ());
340
+ }
341
+
324
342
public function testShippingAddress1 ()
325
343
{
326
344
$ this ->card ->setShippingAddress1 ('31 Spooner St ' );
You can’t perform that action at this time.
0 commit comments