endpoint property
Implementation
String? get endpoint {
if (matches(PaymentMethodType.bank)) {
return 'bank_accounts';
} else if (matches(PaymentMethodType.card)) {
return 'credit_cards';
} else {
return null;
}
}
String? get endpoint {
if (matches(PaymentMethodType.bank)) {
return 'bank_accounts';
} else if (matches(PaymentMethodType.card)) {
return 'credit_cards';
} else {
return null;
}
}