function
GetPaymentTotal
func GetPaymentTotal(
basePrice float64,
conditions []PriceCondition,
values map[string]store.Value,
) (float64, error)Apply matching arithmetic conditions in order with finite-number checks.
Related types
PriceConditionOne conditional arithmetic adjustment to a payment base price.
ValueA scalar, object, list, or populated document value.