Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProcessPayment ¶
type IProcessPayment interface {
Execute(ctx context.Context, input *ProcessPaymentInput) (*ProcessPaymentOutput, error)
}
type ProcessPayment ¶
type ProcessPayment struct {
// contains filtered or unexported fields
}
func NewProcessPayment ¶
func NewProcessPayment(cardRepository repository.ICardRepository, paymentService service.IPaymentService) *ProcessPayment
func (*ProcessPayment) Execute ¶
func (p *ProcessPayment) Execute(ctx context.Context, input *ProcessPaymentInput) (*ProcessPaymentOutput, error)
type ProcessPaymentInput ¶
type ProcessPaymentOutput ¶
type ProcessPaymentOutput struct {
PaymentId string
}
Click to show internal directories.
Click to hide internal directories.