Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2021 Changes in this version + const DefaultRoundOnFloat + const DefaultRoundPlacesFloat + type Price float64 + func NewPrice(value float64) *Price + func (a *Price) Add(value *Price) + func (a *Price) Copy() *Price + func (a *Price) Minus(value *Price) + func (a *Price) Multiply(value *Price) + func (a *Price) UnmarshalJSON(data []byte) error + func (a Price) MarshalJSON() ([]byte, error) + func (a Price) RoundPriceStringFormatAtCheckout(roundOn float64, precision int) string + func (a Price) ToAdyenInt() int + func (a Price) ToAdyenString(adyenInt *int) string + func (a Price) ToFloat64() float64 + func (a Price) ToString() string + func (a Price) ToStringWithCurrencySymbol(currencySymbol string) string