package model import paymenttypes "github.com/tech/sendico/pkg/payments/types" type PaymentGatewayIntent struct { PaymentIntentID string `bson:"paymentIntentId,omitempty" json:"payment_intent_id,omitempty"` IdempotencyKey string `bson:"idempotencyKey,omitempty" json:"idempotency_key,omitempty"` OutgoingLeg string `bson:"outgoingLeg,omitempty" json:"outgoing_leg,omitempty"` QuoteRef string `bson:"quoteRef,omitempty" json:"quote_ref,omitempty"` RequestedMoney *paymenttypes.Money `bson:"requestedMoney,omitempty" json:"requested_money,omitempty"` TargetChatID string `bson:"targetChatId,omitempty" json:"target_chat_id,omitempty"` } type PaymentGatewayExecution struct { PaymentIntentID string `bson:"paymentIntentId,omitempty" json:"payment_intent_id,omitempty"` IdempotencyKey string `bson:"idempotencyKey,omitempty" json:"idempotency_key,omitempty"` QuoteRef string `bson:"quoteRef,omitempty" json:"quote_ref,omitempty"` ExecutedMoney *paymenttypes.Money `bson:"executedMoney,omitempty" json:"executed_money,omitempty"` Status ConfirmationStatus `bson:"status,omitempty" json:"status,omitempty"` RequestID string `bson:"requestId,omitempty" json:"request_id,omitempty"` RawReply *TelegramMessage `bson:"rawReply,omitempty" json:"raw_reply,omitempty"` }