Skip to content

Commit

Permalink
Merge pull request #164 from deepgram/add-src-prefix-payment-method
Browse files Browse the repository at this point in the history
Add "src" as a valid prefix for PaymentMethodId
  • Loading branch information
arlyon committed Feb 15, 2022
2 parents 23b8c3a + e626d29 commit ccf4c7e
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_" | "ba_");
def_id!(
enum PaymentSourceId {
Account(AccountId),
Expand Down

0 comments on commit ccf4c7e

Please sign in to comment.