quotation bff

This commit is contained in:
Stephan D
2025-12-09 16:29:29 +01:00
parent cecaebfc5e
commit ce59cb1b26
61 changed files with 2204 additions and 632 deletions

View File

@@ -0,0 +1,18 @@
package sresponse
import moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
type Money struct {
Amount string `json:"amount"`
Currency string `json:"currency"`
}
func toMoney(m *moneyv1.Money) *Money {
if m == nil {
return nil
}
return &Money{
Amount: m.GetAmount(),
Currency: m.GetCurrency(),
}
}