Ejemplo n.º 1
0
        public MChatRequestChargeByQRCode(MChatRequestReceipt receipt, String token, String tag, String branchId, String refNumber)
        {
            this.token     = token;
            this.tag       = tag == null ? "" : tag;
            this.branch_id = branchId == null ? "" : branchId;

            this.amount    = receipt.amount;
            this.products  = receipt.products;
            this.title     = receipt.title;
            this.subTitle  = receipt.subTitle;
            this.noat      = receipt.noat;
            this.nhat      = receipt.nhat;
            this.ttd       = receipt.ttd;
            this.refNumber = refNumber == null ? "" : refNumber;
        }
Ejemplo n.º 2
0
        public MChatRequestChargeByQRCode(MChatRequestReceipt receipt, String token, String tag, String branchId, String refNumber, String[] settlementIds)
        {
            this.token     = token;
            this.tag       = tag == null ? "" : tag;
            this.branch_id = branchId == null ? "" : branchId;

            this.totalPrice    = receipt.totalPrice;
            this.products      = receipt.products;
            this.title         = receipt.title;
            this.subTitle      = receipt.subTitle;
            this.noat          = receipt.noat;
            this.nhat          = receipt.nhat;
            this.ttd           = receipt.ttd;
            this.refNumber     = refNumber == null ? "" : refNumber;
            this.settlementIds = settlementIds == null ? new String[] { } : settlementIds;
        }
Ejemplo n.º 3
0
        public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, Boolean withDynamicLink, String withDynamicLinkCallback, String tag, String branchId, String refNumber)
        {
            this.tag                     = tag == null ? "" : tag;
            this.withDynamicLink         = withDynamicLink;
            this.withDynamicLinkCallback = withDynamicLinkCallback;
            this.branch_id               = branchId == null ? "" : branchId;

            this.amount    = receipt.amount;
            this.products  = receipt.products;
            this.title     = receipt.title;
            this.subTitle  = receipt.subTitle;
            this.noat      = receipt.noat;
            this.nhat      = receipt.nhat;
            this.ttd       = receipt.ttd;
            this.billID    = receipt.billId;
            this.refNumber = refNumber == null ? "" : refNumber;
        }
Ejemplo n.º 4
0
        public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, Boolean withDynamicLink, String tag, String branchId, String refNumber, String [] settlementIds)
        {
            this.tag             = tag == null ? "" : tag;
            this.withDynamicLink = withDynamicLink;
            this.branch_id       = branchId == null ? "" : branchId;

            this.totalPrice    = receipt.totalPrice;
            this.products      = receipt.products;
            this.title         = receipt.title;
            this.subTitle      = receipt.subTitle;
            this.noat          = receipt.noat;
            this.nhat          = receipt.nhat;
            this.ttd           = receipt.ttd;
            this.billID        = receipt.billId;
            this.refNumber     = refNumber == null ? "" : refNumber;
            this.settlementIds = settlementIds == null ? new String[] { } : settlementIds;
        }
Ejemplo n.º 5
0
 public MChatRequestChargeByQRCode(MChatRequestReceipt receipt, String token) : this(receipt, token, null, null, null)
 {
 }
Ejemplo n.º 6
0
 public MChatRequestChargeByQRCode(MChatRequestReceipt receipt, String token, String branchId, String refNumber) : this(receipt, token, null, branchId, refNumber)
 {
 }
Ejemplo n.º 7
0
 public MChatRequestGenerateQRCode(MChatRequestReceipt receipt) : this(receipt, false, "")
 {
 }
Ejemplo n.º 8
0
 public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, Boolean withDynamicLink, String withDynamicLinkCallback) : this(receipt, withDynamicLink, withDynamicLinkCallback, null, null, null)
 {
 }
Ejemplo n.º 9
0
 public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, String branchId, String refNumber) : this(receipt, false, "", null, branchId, refNumber)
 {
 }
Ejemplo n.º 10
0
 public MChatRequestChargeByQRCode(MChatRequestReceipt receipt, String token, String branchId, String refNumber, String[] settlementId) : this(receipt, token, null, branchId, refNumber, settlementId)
 {
 }
Ejemplo n.º 11
0
 public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, Boolean withDynamicLink, String refNumber) : this(receipt, withDynamicLink, null, null, refNumber, new String[] {})
 {
 }
Ejemplo n.º 12
0
 public MChatRequestGenerateQRCode(MChatRequestReceipt receipt, Boolean withDynamicLink, String branchId, String refNumber, String[] settlementIds) : this(receipt, withDynamicLink, null, branchId, refNumber, settlementIds)
 {
 }