本文整理汇总了PHP中Reservation::releaseReservation方法的典型用法代码示例。如果您正苦于以下问题:PHP Reservation::releaseReservation方法的具体用法?PHP Reservation::releaseReservation怎么用?PHP Reservation::releaseReservation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Reservation
的用法示例。
在下文中一共展示了Reservation::releaseReservation方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ServiceEndpoints
if (isset($_POST["referenceSequence"])) {
$referenceSequence = $_POST["referenceSequence"];
}
$endpoints = new ServiceEndpoints();
$paymentResponse = null;
if (!isset($submit)) {
$username = "Fred.Jones";
$password = "1234";
$endpoint = $endpoints->getAmountReservationReleaseEndpoint();
$endUserId = "tel:+123456789";
$referenceCode = "REF-12345";
$referenceSequence = 4;
} else {
$endpoints->setAmountReservationReleaseEndpoint($endpoint);
$reservation = new Reservation($endpoints, $username, $password);
$paymentResponse = $reservation->releaseReservation($endUserId, $referenceCode, $referenceSequence);
}
?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>
GSM World | OneAPI Toolkit
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="GSM, GSMA, GSM Association, Mobile, Mobile World Congress, Mobile Asia Congress, Mobile Awards, Global Mobile Awards, 3GSM, Mobile Broadband, Spectrum, Development Fund, Mobile Money, Mobile Innovation, Pathfinder, Open Connectivity, Fraud" />
<meta name="description" content="The GSMA represents the interests of the worldwide mobile communications industry. Spanning 219 countries, the GSMA unites more than 750 of the world’s mobile operators, as well as 200 companies in the broader mobile ecosystem." />
<link rel="stylesheet" href="screen.css" type="text/css" media="screen" />
<link rel="stylesheet" href="toolkit.css" type="text/css" media="screen" />
<link rel="shortcut icon" href="#" />
</head>