|
package stripe
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
"payment-poc/state"
|
|
)
|
|
|
|
type StripeDb struct {
|
|
Id uuid.UUID `db:"id"`
|
|
TotalAmount int64 `db:"total_amount"`
|
|
Lang string `db:"lang"`
|
|
|
|
PaymentIntentId string `db:"payment_intent_id"`
|
|
|
|
State state.PaymentState `db:"payment_state"`
|
|
}
|