PHP code example of gioco-plus / async-settled

1. Go to this page and download the library: Download gioco-plus/async-settled library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

gioco-plus / async-settled example snippets


use GiocoPlus\AsyncSettled\AsyncSettled;

/**
 * AsyncSettled constructor.
 * @param string $opCode 營商代碼
 * @param string $vendorCode 遊戲商代碼
 * @param string $gameCode 遊戲代碼
 * @param string $parentBetId 父注編號
 * @param string $betId 下注編號
 * @param array $member 會員資料 (key 需 player_name & member_code)
 */
 
$asyncSettled = new AsyncSettled($opCode, $vendorCode, $gameCode, $parentBetId, $betId, $member);