| 1 |
package segment |
| 2 |
|
| 3 |
import "github.com/mitch000001/go-hbci/element" |
| 4 |
|
| 5 |
//go:generate go run ../cmd/unmarshaler/unmarshaler_generator.go -segment CompressionMethodSegment |
| 6 |
|
| 7 |
type CompressionMethodSegment struct { |
| 8 |
Segment |
| 9 |
SupportedCompressionMethods *element.SupportedCompressionMethodsDataElement |
| 10 |
} |
| 11 |
|
| 12 |
func (c *CompressionMethodSegment) Version() int { return 1 } |
| 13 |
func (c *CompressionMethodSegment) ID() string { return "HIKPV" } |
| 14 |
func (c *CompressionMethodSegment) referencedId() string { return ProcessingPreparationID } |
| 15 |
func (c *CompressionMethodSegment) sender() string { return senderBank } |
| 16 |
|
| 17 |
func (c *CompressionMethodSegment) elements() []element.DataElement { |
| 18 |
return []element.DataElement{ |
| 19 |
c.SupportedCompressionMethods, |
| 20 |
} |
| 21 |
} |