Skip to content

Commit 17af947

Browse files
committed
Add third address line support
1 parent 83552de commit 17af947

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

src/Common/CreditCard.php

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
* * company
4545
* * address1
4646
* * address2
47+
* * address3
4748
* * city
4849
* * postcode
4950
* * state
@@ -66,6 +67,7 @@
6667
* * billingCompany
6768
* * billingAddress1
6869
* * billingAddress2
70+
* * billingAddress3
6971
* * billingCity
7072
* * billingPostcode
7173
* * billingState
@@ -79,6 +81,7 @@
7981
* * shippingCompany
8082
* * shippingAddress1
8183
* * shippingAddress2
84+
* * shippingAddress3
8285
* * shippingCity
8386
* * shippingPostcode
8487
* * shippingState
@@ -793,6 +796,27 @@ public function setBillingAddress2($value)
793796
return $this->setParameter('billingAddress2', $value);
794797
}
795798

799+
/**
800+
* Get the billing address, line 3.
801+
*
802+
* @return string
803+
*/
804+
public function getBillingAddress3()
805+
{
806+
return $this->getParameter('billingAddress3');
807+
}
808+
809+
/**
810+
* Sets the billing address, line 3.
811+
*
812+
* @param string $value
813+
* @return $this
814+
*/
815+
public function setBillingAddress3($value)
816+
{
817+
return $this->setParameter('billingAddress3', $value);
818+
}
819+
796820
/**
797821
* Get the billing city.
798822
*
@@ -1092,6 +1116,27 @@ public function setShippingAddress2($value)
10921116
return $this->setParameter('shippingAddress2', $value);
10931117
}
10941118

1119+
/**
1120+
* Get the shipping address, line 3.
1121+
*
1122+
* @return string
1123+
*/
1124+
public function getShippingAddress3()
1125+
{
1126+
return $this->getParameter('shippingAddress3');
1127+
}
1128+
1129+
/**
1130+
* Sets the shipping address, line 3.
1131+
*
1132+
* @param string $value
1133+
* @return $this
1134+
*/
1135+
public function setShippingAddress3($value)
1136+
{
1137+
return $this->setParameter('shippingAddress3', $value);
1138+
}
1139+
10951140
/**
10961141
* Get the shipping city.
10971142
*
@@ -1287,6 +1332,30 @@ public function setAddress2($value)
12871332
return $this;
12881333
}
12891334

1335+
/**
1336+
* Get the billing address, line 3.
1337+
*
1338+
* @return string
1339+
*/
1340+
public function getAddress3()
1341+
{
1342+
return $this->getParameter('billingAddress3');
1343+
}
1344+
1345+
/**
1346+
* Sets the billing and shipping address, line 3.
1347+
*
1348+
* @param string $value
1349+
* @return $this
1350+
*/
1351+
public function setAddress3($value)
1352+
{
1353+
$this->setParameter('billingAddress3', $value);
1354+
$this->setParameter('shippingAddress3', $value);
1355+
1356+
return $this;
1357+
}
1358+
12901359
/**
12911360
* Get the billing city.
12921361
*

0 commit comments

Comments
 (0)