Skip to content

Commit

Permalink
Add "src" as a valid prefix for PaymentMethodId
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhalle committed Feb 8, 2022
1 parent b14126e commit 5f83127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def_id!(OrderReturnId, "orret_");
def_id!(MandateId: String); // TODO: Figure out what prefix this id has
def_id!(PaymentIntentId, "pi_");
def_id!(PaymentLinkId: String);
def_id!(PaymentMethodId, "pm" | "card");
def_id!(PaymentMethodId, "pm" | "card" | "src");
def_id!(
enum PaymentSourceId {
Account(AccountId),
Expand Down

0 comments on commit 5f83127

Please sign in to comment.