Skip to content

Commit

Permalink
feat: add support for connect tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Sep 5, 2023
1 parent 478403a commit b7c5489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ def_id!(ChargeId, "ch_" | "py_"); // TODO: Understand (and then document) why "p
def_id!(CheckoutSessionId, "cs_");
def_id!(CheckoutSessionItemId, "li_");
def_id!(ConnectCollectionTransferId, "connct_");
def_id!(ConnectTokenId, "ct_");
def_id!(CouponId: String); // N.B. A coupon id can be user-provided so can be any arbitrary string
def_id!(CreditNoteId, "cn_");
def_id!(CreditNoteLineItemId, "cnli_");
Expand Down Expand Up @@ -585,6 +586,7 @@ def_id!(
#[default]
Card(CardTokenId),
Bank(BankTokenId),
Connect(ConnectTokenId),
}
);
def_id!(TopupId, "tu_");
Expand Down

0 comments on commit b7c5489

Please sign in to comment.