Esempio n. 1
0
 private static void Examples(string appId)
 {
     ChargeDemo.Example(appId);
     RefundDemo.Example("ch_CGuj94yXPW944CWbr1Sa5q1K");
     RedEnvelopeDemo.Example(appId);
     TransferDemo.Example(appId);
     VerifyDemo.Example();
     WebhooksDemo.Example();
     IdentificationDemo.Example(appId);
     CustomsDemo.Example(appId, "ch_CGuj94yXPW944CWbr1Sa5q1K");
     BatchRefundDemo.Example(appId);
     BatchTransferDemo.Example(appId);
 }
Esempio n. 2
0
        private static void AccountExamples(string appId)
        {
            //Order 示例
            OrderDemo.Example(appId);
            //Order退款示例
            OrderRefundDemo.Example("2011708140000074741");
            //User 对象相关示例
            UserDemo.Example(appId);
            //用户余额明细示例
            BalanceTransactionDemo.Example(appId);
            //转账 示例
            TransferDemo.Example(appId);
            //余额提现 示例
            WithdrawalDemo.Example(appId);
            //优惠券 示例
            CouponDemo.Example(appId);
            //批量转账 示例
            BatchTransferDemo.Example(appId);
            //批量体现示例
            BatchWithdrawalDemo.Example(appId);
            //子商户示例
            SubAppDemo.Example(appId);
            //子商户渠道设置示例
            ChannelDemo.Example(appId, "app_jXH8WHCCSGC0GCGu");
            //结算账号示例
            SettleAccountDemo.Example(appId);
            //分润示例
            RoyaltyDemo.Example();
            //分润结算明细示例
            RoyaltyTransactionDemo.Example();
            //分润结算示例
            RoyaltySettlementDemo.Example();
            OrderDemo.Example(appId);
            var user = UserDemo.Example(appId);

            BalanceDemo.Example(appId);
            CouponDemo.Example(appId);
            //余额充值接口示例
            RechargeDemo.Example(appId);

            //余额赠送示例
            BalanceBonusDemo.Example(appId);
            //余额转账示例
            BalanceTransferDemo.Example(appId);
            //分润模板示例
            RoyaltyTemplateDemo.Example(appId);
            //余额结算对象示例
            BalanceSettlementDemo.Example(appId);
        }