discriminatorValue property

String? get discriminatorValue

Implementation

String? get discriminatorValue {
    if (this is PaymentMethodBankTransfer) {
        return r'bank_transfer_payment';
    }
    if (this is PaymentMethodCard) {
        return r'card_payment';
    }
    if (this is PaymentMethodCash) {
        return r'cash_payment';
    }
    return null;
}