timoth-y/kicksware-api

View on GitHub
services/users/core/model/paymentInfoModel.go

Summary

Maintainability
A
0 mins
Test Coverage
package model

type PaymentInfo struct {
    CardNumber  string      `json:"CardNumber" bson:"card_number"`
    Expires     YearMonth   `json:"Expires" bson:"expires"`
    CVV         string      `json:"CVV" bson:"cvv"`
    BillingInfo AddressInfo `json:"BillingInfo" bson:"billing_info"`
}

type YearMonth struct {
    Year  int32
    Month int32
}