payment quotation v2 + payment orchestration v2 draft
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
"github.com/tech/sendico/pkg/merrors"
|
||||
"github.com/tech/sendico/pkg/mlogger"
|
||||
"github.com/tech/sendico/pkg/model/account_role"
|
||||
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
|
||||
connectorv1 "github.com/tech/sendico/pkg/proto/connector/v1"
|
||||
@@ -35,7 +36,7 @@ type gatewayClient struct {
|
||||
conn *grpc.ClientConn
|
||||
client grpcConnectorClient
|
||||
cfg Config
|
||||
logger *zap.Logger
|
||||
logger mlogger.Logger
|
||||
}
|
||||
|
||||
// New dials the Monetix gateway.
|
||||
|
||||
@@ -3,6 +3,7 @@ package client
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/tech/sendico/pkg/mlogger"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -11,7 +12,7 @@ type Config struct {
|
||||
Address string
|
||||
DialTimeout time.Duration
|
||||
CallTimeout time.Duration
|
||||
Logger *zap.Logger
|
||||
Logger mlogger.Logger
|
||||
}
|
||||
|
||||
func (c *Config) setDefaults() {
|
||||
|
||||
Reference in New Issue
Block a user