discriminatorValue property

String? get discriminatorValue

Implementation

String? get discriminatorValue {
    if (this is CheckoutAwaitAction) {
        return r'await';
    }
    if (this is CheckoutBankTransferAction) {
        return r'bankTransfer';
    }
    if (this is CheckoutDelegatedAuthenticationAction) {
        return r'delegatedAuthentication';
    }
    if (this is CheckoutNativeRedirectAction) {
        return r'nativeRedirect';
    }
    if (this is CheckoutQrCodeAction) {
        return r'qrCode';
    }
    if (this is CheckoutRedirectAction) {
        return r'redirect';
    }
    if (this is CheckoutSDKAction) {
        return r'sdk';
    }
    if (this is CheckoutThreeDS2Action) {
        return r'threeDS2';
    }
    if (this is CheckoutVoucherAction) {
        return r'voucher';
    }
    if (this is CheckoutSDKAction) {
        return r'wechatpaySDK';
    }
    return null;
}