Files
payments/pkg/domain/models/payment_initiation_related_payments.go
CrimsonandGitHub 538a2d0de2 chore: Refactor models and other shareable packages into importable pkg (#762)
* Move models and other shareable code to pkg/domain and add own go.mod

* Update all references to use pkg/domain paths

* Fix generated file

* Ensure pkg/domain tests are run by just tests

* Use new models path in connector templates

* Copy local pkg/domain in dockerfile

* Ensure pkg/domain is subject to go generate
2026-06-23 13:08:32 +00:00

14 lines
323 B
Go

package models
type PaymentInitiationRelatedPayments struct {
// Payment Initiation ID
PaymentInitiationID PaymentInitiationID `json:"paymentInitiationID"`
// Related Payment ID
PaymentID PaymentID `json:"paymentID"`
}
func (p *PaymentInitiationRelatedPayments) IdempotencyKey() string {
return IdempotencyKey(p)
}