-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+requestedDeliveryDate in OrderRequestHeader +TransportInformation -> +Route
- Loading branch information
Showing
10 changed files
with
142 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace CXml\Model; | ||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
#[Serializer\AccessorOrder(order: 'custom', custom: ['type', 'role', 'address', 'idReferences'])] | ||
class BusinessPartner | ||
{ | ||
use IdReferencesTrait; | ||
final public const ROLE_SOLD_TO = 'soldTo'; | ||
|
||
final public const ROLE_SHIP_FROM = 'shipFrom'; | ||
|
||
final public const ROLE_ORDERING_ADDRESS = 'orderingAddress'; | ||
|
||
public function __construct( | ||
#[Serializer\XmlAttribute] | ||
private string $role, | ||
#[Serializer\SerializedName('Address')] | ||
private Address $address, | ||
#[Serializer\XmlAttribute] | ||
private string $type = 'organization', | ||
) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace CXml\Model; | ||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
readonly class Route | ||
{ | ||
final public const METHOD_UNKNOWN = 'unknown'; | ||
|
||
public function __construct( | ||
#[Serializer\XmlValue(cdata: false)] | ||
private string $value, | ||
#[Serializer\XmlAttribute] | ||
private string $method = self::METHOD_UNKNOWN, | ||
) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters