-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAmendment8.go
34 lines (25 loc) · 1.04 KB
/
Amendment8.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package iso20022
// Amendment identification.
type Amendment8 struct {
// Unique and unambiguous identifier assigned by the issuer to the undertaking, for example the guarantee or standby number.
Identification *Max35Text `xml:"Id"`
// Sequence number assigned by the issuer to each amendment of the undertaking.
SequenceNumber *Max4AlphaNumericText `xml:"SeqNb"`
// Unique and unambiguous identifier assigned by the beneficiary to the undertaking.
BeneficiaryReferenceNumber *Max35Text `xml:"BnfcryRefNb,omitempty"`
// Party that issues the undertaking.
Issuer *PartyIdentification43 `xml:"Issr"`
}
func (a *Amendment8) SetIdentification(value string) {
a.Identification = (*Max35Text)(&value)
}
func (a *Amendment8) SetSequenceNumber(value string) {
a.SequenceNumber = (*Max4AlphaNumericText)(&value)
}
func (a *Amendment8) SetBeneficiaryReferenceNumber(value string) {
a.BeneficiaryReferenceNumber = (*Max35Text)(&value)
}
func (a *Amendment8) AddIssuer() *PartyIdentification43 {
a.Issuer = new(PartyIdentification43)
return a.Issuer
}