discriminatorValue property

String? get discriminatorValue

Implementation

String? get discriminatorValue {
    if (this is PaymentMethodCardResponse) {
        return r'card';
    }
    if (this is PaymentMethodCashResponse) {
        return r'cash';
    }
    if (this is PaymentMethodCashResponse) {
        return r'oxxo_recurrent';
    }
    if (this is PaymentMethodSpeiRecurrent) {
        return r'spei_recurrent';
    }
    return null;
}