func (a InstructedAmount) Validate() error {
	return validation.ValidateStruct(&a,
		validation.Field(&a.Currency, validation.Match(regexInstructedAmountCurrency).Error(regexInstructedAmountCurrencyErr)),
		validation.Field(&a.Value, validation.Match(regexInstructedAmountValue).Error(regexInstructedAmountValueErr)),
	)
}
// Validate - validates value and currency of the instructed amount provided in input
validates value and currency of the instructed amount provided in input
// Validate - validates value and currency of the instructed amount provided in input
func (a InstructedAmount) Validate() error {
	return validation.ValidateStruct(&a,
		validation.Field(&a.Currency, validation.Match(regexInstructedAmountCurrency).Error(regexInstructedAmountCurrencyErr)),
		validation.Field(&a.Value, validation.Match(regexInstructedAmountValue).Error(regexInstructedAmountValueErr)),
	)
}
func ( a InstructedAmount ) Validate ( ) error { return validation . ValidateStruct ( & a , validation . Field ( & a . Currency , validation . Match ( regexInstructedAmountCurrency ) . Error ( regexInstructedAmountCurrencyErr ) ) , validation . Field ( & a . Value , validation . Match ( regexInstructedAmountValue ) . Error ( regexInstructedAmountValueErr ) ) , ) }
validates value and currency of the instructed amount provided in input
validates value and currency of the instructed amount provided in input