func (a *AmountDataElement) UnmarshalHBCI(value []byte) error {
	elements, err := ExtractElements(value)
	if err != nil {
		return err
	}
	if len(elements) != 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	a.Amount = &ValueDataElement{}
	err = a.Amount.UnmarshalHBCI(elements[0])
	if err != nil {
		return err
	}
	a.Currency = &CurrencyDataElement{}
	err = a.Currency.UnmarshalHBCI(elements[1])
	if err != nil {
		return err
	}
	a.DataElement = NewGroupDataElementGroup(amountGDEG, 2, a)
	return nil
}
// UnmarshalHBCI unmarshals value into a
UnmarshalHBCI unmarshals value into a
// UnmarshalHBCI unmarshals value into a
func (a *AmountDataElement) UnmarshalHBCI(value []byte) error {
	elements, err := ExtractElements(value)
	if err != nil {
		return err
	}
	if len(elements) != 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	a.Amount = &ValueDataElement{}
	err = a.Amount.UnmarshalHBCI(elements[0])
	if err != nil {
		return err
	}
	a.Currency = &CurrencyDataElement{}
	err = a.Currency.UnmarshalHBCI(elements[1])
	if err != nil {
		return err
	}
	a.DataElement = NewGroupDataElementGroup(amountGDEG, 2, a)
	return nil
}
func ( a * AmountDataElement ) UnmarshalHBCI ( value [ ] byte ) error { elements , err := ExtractElements ( value ) if err != nil { return err } if len ( elements ) != 2 { return fmt . Errorf ( " " ) } a . Amount = & ValueDataElement { } err = a . Amount . UnmarshalHBCI ( elements [ 0 ] ) if err != nil { return err } a . Currency = & CurrencyDataElement { } err = a . Currency . UnmarshalHBCI ( elements [ 1 ] ) if err != nil { return err } a . DataElement = NewGroupDataElementGroup ( amountGDEG , 2 , a ) return nil }
UnmarshalHBCI unmarshals value into a
UnmarshalHBCI unmarshals value into a