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:
|
PaymentMethod:
|
||||||
properties:
|
properties:
|
||||||
CardHolderName:
|
|
||||||
type: string
|
|
||||||
x-nullable: true
|
|
||||||
CardNumber:
|
|
||||||
type: string
|
|
||||||
x-nullable: true
|
|
||||||
CardType:
|
|
||||||
type: string
|
|
||||||
x-nullable: true
|
|
||||||
CreatedByID:
|
CreatedByID:
|
||||||
type: string
|
type: string
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
CreatedDate:
|
CreatedDate:
|
||||||
type: string
|
type: string
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
ExpirationMonth:
|
|
||||||
type: integer
|
|
||||||
ExpirationYear:
|
|
||||||
type: integer
|
|
||||||
ID:
|
ID:
|
||||||
type: string
|
type: string
|
||||||
Isdefault:
|
Isdefault:
|
||||||
|
|
@ -29,6 +16,12 @@ PaymentMethod:
|
||||||
LastModifiedDate:
|
LastModifiedDate:
|
||||||
type: string
|
type: string
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
|
ProcessorToken:
|
||||||
|
type: string
|
||||||
|
x-nullable: true
|
||||||
|
TenantID:
|
||||||
|
type: string
|
||||||
|
x-nullable: true
|
||||||
UserID:
|
UserID:
|
||||||
type: string
|
type: string
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue