Skip to content

Commit

Permalink
Merge pull request #67 from digipost/recipient-information-optional-p…
Browse files Browse the repository at this point in the history
…ickupnotice

Name for pickup-notice-recipient has been made optional
  • Loading branch information
Christian Strandenæs authored Jun 8, 2022
2 parents 6d22f0e + 7f59301 commit d5abe3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datatypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@

<xs:complexType final="extension restriction" name="recipient">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
<xs:element name="digipost-address" type="xs:string"/>
<xs:element minOccurs="0" name="address" type="tns:address"/>
</xs:sequence>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Details about a pickup notice

|Name|Type|Required|Description|
|----|----|--------|-----------|
|name|String|yes|The name of the recipient|
|name|String|no|The name of the recipient|
|digipostAddress|String|yes|The digipost address for the recipient|
|address|[Address](#pickupnoticeaddress)|no||

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@With
public class Recipient {

@XmlElement(name = "name", required = true)
@XmlElement(name = "name")
@Description("The name of the recipient")
String name;

Expand Down

0 comments on commit d5abe3f

Please sign in to comment.