treasurer/internal/models/payment_request.go

13 lines
508 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package models
// надо разобраться с дженериками что вообзе за ЬДЬДВЬДыв
type PaymentRequest struct {
UserID string `json:"userId"`
ClientIP string `json:"clientIp"`
PaymentMethod PaymentType `json:"paymentMethod"`
Amount int64 `json:"amount"`
Currency string `json:"currency"`
ReturnURL string `json:"returnUrl"`
CallbackHostGRPC []string `json:"callbackHostGrpc,omitempty"`
}