Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a91b18

Browse files
Added vpc parameters
1 parent 61ebf8f commit 7a91b18

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

‎src/Message/AbstractPurchaseRequest.php‎

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,69 @@ public function setCurrency($value)
269269
return $this->setParameter('vpc_Currency', $value);
270270
}
271271

272+
/**
273+
* Trả về số điện thoại khách hàng.
274+
*
275+
* @return null|string
276+
*/
277+
public function getVpcCustomerPhone(): ?string
278+
{
279+
return $this->getParameter('vpc_Customer_Phone');
280+
}
281+
282+
/**
283+
* Thiết lập số điện thoại khách hàng.
284+
*
285+
* @param string $phone
286+
* @return $this
287+
*/
288+
public function setVpcCustomerPhone(string $phone)
289+
{
290+
return $this->setParameter('vpc_Customer_Phone', $phone);
291+
}
292+
293+
/**
294+
* Trả về id khách hàng.
295+
*
296+
* @return null|string
297+
*/
298+
public function getVpcCustomerId(): ?string
299+
{
300+
return $this->getParameter('vpc_Customer_Id');
301+
}
302+
303+
/**
304+
* Thiết lập id khách hàng.
305+
*
306+
* @param string $id
307+
* @return $this
308+
*/
309+
public function setVpcCustomerId(string $id)
310+
{
311+
return $this->setParameter('vpc_Customer_Id', $id);
312+
}
313+
314+
/**
315+
* Trả về email khách hàng.
316+
*
317+
* @return null|string
318+
*/
319+
public function getVpcCustomerEmail(): ?string
320+
{
321+
return $this->getParameter('vpc_Customer_Email');
322+
}
323+
324+
/**
325+
* Thiết lập email khách hàng.
326+
*
327+
* @param string $email
328+
* @return $this
329+
*/
330+
public function setVpcCustomerEmail(string $email)
331+
{
332+
return $this->setParameter('vpc_Customer_Email', $email);
333+
}
334+
272335
/**
273336
* {@inheritdoc}
274337
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /