Added QRResult and null guard for qr code
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Fonepay
|
||||
{
|
||||
[Serializable]
|
||||
public struct QrResponse
|
||||
public struct QrResult
|
||||
{
|
||||
public string message;
|
||||
public Texture2D qrCode;
|
||||
public string status;
|
||||
public int statusCode;
|
||||
public bool success;
|
||||
public string thirdpartyQrWebSocketUrl;
|
||||
}
|
||||
|
||||
|
||||
[Serializable]
|
||||
internal struct QrResponse
|
||||
{
|
||||
public string message;
|
||||
public string qrMessage;
|
||||
|
||||
Reference in New Issue
Block a user