mirror of https://github.com/vernonkeenan/lib
Update PaymentMethod swagger def for processor_token migration (#4)
go/db v0.7.3 replaced the card_* columns with processor_token. Drop CardHolderName/CardNumber/CardType/ExpirationMonth/ExpirationYear and add ProcessorToken + TenantID to match prod DDL truth (sql/members.sql). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>pull/5/head
parent
05b7ffcca2
commit
e676f0e6b8
|
|
@ -1,24 +1,11 @@
|
|||
PaymentMethod:
|
||||
properties:
|
||||
CardHolderName:
|
||||
type: string
|
||||
x-nullable: true
|
||||
CardNumber:
|
||||
type: string
|
||||
x-nullable: true
|
||||
CardType:
|
||||
type: string
|
||||
x-nullable: true
|
||||
CreatedByID:
|
||||
type: string
|
||||
x-nullable: true
|
||||
CreatedDate:
|
||||
type: string
|
||||
x-nullable: true
|
||||
ExpirationMonth:
|
||||
type: integer
|
||||
ExpirationYear:
|
||||
type: integer
|
||||
ID:
|
||||
type: string
|
||||
Isdefault:
|
||||
|
|
@ -29,6 +16,12 @@ PaymentMethod:
|
|||
LastModifiedDate:
|
||||
type: string
|
||||
x-nullable: true
|
||||
ProcessorToken:
|
||||
type: string
|
||||
x-nullable: true
|
||||
TenantID:
|
||||
type: string
|
||||
x-nullable: true
|
||||
UserID:
|
||||
type: string
|
||||
x-nullable: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue