唯一业务id获取凭证号
SdkManager.getInstance().getVoucherId(mContext, bizNo, phoneNo, new GdcaResultListener() {
@Override
public void onResultSuccess(String voucherId) {
}
@Override
public void onResultError(int i, String msg) {
Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
}
});
SdkManager.getInstance().getOrgVoucherId(Context mContext, String phoneNo, String bizNo, final GdcaResultListener resultListener) {
@Override
public void onResultSuccess(String voucherId) {
}
@Override
public void onResultError(int i, String msg) {
Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
}
});
SdkManager.getInstance().getVoucherIdWithPhoneNo(mContext, phoneNo, new GdcaResultListener() {
@Override
public void onResultSuccess(String voucherId) {
}
@Override
public void onResultError(int i, String msg) {
Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
}
});