本文整理匯總了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>