package models

import "github.com/shopspring/decimal"

type PaymentId string

type PaymentType string

const (
	Deposit        PaymentType = "DEPOSIT"
	Withdrawal     PaymentType = "WITHDRAWAL"
	Transfer       PaymentType = "TRANSFER"
	InstrumentBuy  PaymentType = "INSTRUMENT_BUY"
	InstrumentSell PaymentType = "INSTRUMENT_SELL"
	Charge         PaymentType = "CHARGE"
)

type PaymentAmount decimal.Decimal

type PaymentDetails string

type PaymentExternalReferenceNumber string

type Payment struct {
	Id                      string
	Type                    PaymentType
	Amount                  PaymentAmount
	Currency                CurrencyName
	SenderAccountId         PaymentAccountId
	BeneficiaryAccountId    PaymentAccountId
	Details                 PaymentDetails
	ExternalReferenceNumber PaymentExternalReferenceNumber
	Status                  string
	DebitBalanceAmount      string
	CreditBalanceAmount     string
	CreatedAt               string
}
