当前位置: 首页>>代码示例>>PHP>>正文


PHP Reservation::releaseReservation方法代码示例

本文整理汇总了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&rsquo;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>
开发者ID:GSMADeveloper,项目名称:GSMA-OneAPI,代码行数:31,代码来源:paymentreleasereservation.php


注:本文中的Reservation::releaseReservation方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。