Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreditCardHandler ¶
type CreditCardRequest ¶
type KafkaManager ¶
type KafkaManager interface {
SendEvent(p PaymentEvent) error
}
type PaymentEvent ¶
type PaymentEvent struct { PaymentId string `json:"paymentId"` CardId string `json:"cardId"` Holder string `json:"holder"` Number string `json:"number"` Cvv string `json:"cvv"` Brand string `json:"brand"` ExpirationDate time.Time `json:"expirationDate"` Amount int `json:"amount"` Description string `json:"description"` }
type PaymentHandler ¶
type PaymentRequest ¶
Click to show internal directories.
Click to hide internal directories.