Versions in this module Expand all Collapse all v1 v1.0.0 Dec 7, 2023 Changes in this version + type IProcessPayment interface + Execute func(ctx context.Context, input *ProcessPaymentInput) (*ProcessPaymentOutput, error) + type ProcessPayment struct + func NewProcessPayment(cardRepository repository.ICardRepository, ...) *ProcessPayment + func (p *ProcessPayment) Execute(ctx context.Context, input *ProcessPaymentInput) (*ProcessPaymentOutput, error) + type ProcessPaymentInput struct + AcquirerName string + CardToken string + PurchaseInstallments int + PurchaseItems []string + PurchaseValue float64 + StoreAddress string + StoreCep string + StoreIdentification string + type ProcessPaymentOutput struct + PaymentId string