package orchestrator

import paymenttypes "github.com/tech/sendico/pkg/payments/types"

func cloneMoney(input *paymenttypes.Money) *paymenttypes.Money {
	if input == nil {
		return nil
	}
	return &paymenttypes.Money{
		Currency: input.GetCurrency(),
		Amount:   input.GetAmount(),
	}
}
