summaryrefslogtreecommitdiff
path: root/ebics/src/main/kotlin/ebics_h004/HPBResponseOrderData.kt
blob: 65b4098ba75ea6784fbecaf238948d4c597f8eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package tech.libeufin.ebics.ebics_h004

import javax.xml.bind.annotation.*
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter


@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "", propOrder = ["authenticationPubKeyInfo", "encryptionPubKeyInfo", "hostID"])
@XmlRootElement(name = "HPBResponseOrderData")
class HPBResponseOrderData {
    @get:XmlElement(name = "AuthenticationPubKeyInfo", required = true)
    lateinit var authenticationPubKeyInfo: EbicsTypes.AuthenticationPubKeyInfoType

    @get:XmlElement(name = "EncryptionPubKeyInfo", required = true)
    lateinit var encryptionPubKeyInfo: EbicsTypes.EncryptionPubKeyInfoType

    @get:XmlElement(name = "HostID", required = true)
    @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
    lateinit var hostID: String
}