Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions src/Client/Generated/CoreApi/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.php-cs-fixer.dist.php
Api/DefaultApi.php
Api/NotificationApi.php
Api/ShipmentApi.php
Api/WebhookApi.php
ApiException.php
Expand Down Expand Up @@ -93,12 +92,6 @@ Model/GetIndex200Response.php
Model/GetShipmentsOrderParameter.php
Model/InlineObject.php
Model/ModelInterface.php
Model/NotificationPostNotificationGroupRequest.php
Model/NotificationPostNotificationGroupRequestOneOf.php
Model/NotificationPostNotificationGroupRequestOneOf1.php
Model/NotificationPutNotificationTemplateRequest.php
Model/NotificationResponsesNotificationGroups.php
Model/NotificationResponsesNotificationTemplates.php
Model/PhysicalPropertiesHeightV2.php
Model/PhysicalPropertiesLengthV2.php
Model/PhysicalPropertiesWeightV2.php
Expand Down Expand Up @@ -153,9 +146,6 @@ Model/RefCapabilitiesSharedOptionsBaseOptionsV2.php
Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV1.php
Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV2.php
Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV2InsuredAmount.php
Model/RefNotificationNotificationTemplateType.php
Model/RefNotificationResponseNotificationGroup.php
Model/RefNotificationResponseNotificationTemplate.php
Model/RefRatesResponseContract.php
Model/RefRatesResponseContractV2.php
Model/RefRatesResponsePriceCompositionPriceCompositionV1.php
Expand Down Expand Up @@ -387,7 +377,6 @@ Model/WebhooksResponsesWebhookV11.php
ObjectSerializer.php
README.md
docs/Api/DefaultApi.md
docs/Api/NotificationApi.md
docs/Api/ShipmentApi.md
docs/Api/WebhookApi.md
docs/Model/AccountDefsContact.md
Expand Down Expand Up @@ -476,12 +465,6 @@ docs/Model/Error.md
docs/Model/GetIndex200Response.md
docs/Model/GetShipmentsOrderParameter.md
docs/Model/InlineObject.md
docs/Model/NotificationPostNotificationGroupRequest.md
docs/Model/NotificationPostNotificationGroupRequestOneOf.md
docs/Model/NotificationPostNotificationGroupRequestOneOf1.md
docs/Model/NotificationPutNotificationTemplateRequest.md
docs/Model/NotificationResponsesNotificationGroups.md
docs/Model/NotificationResponsesNotificationTemplates.md
docs/Model/PhysicalPropertiesHeightV2.md
docs/Model/PhysicalPropertiesLengthV2.md
docs/Model/PhysicalPropertiesWeightV2.md
Expand Down Expand Up @@ -536,9 +519,6 @@ docs/Model/RefCapabilitiesSharedOptionsBaseOptionsV2.md
docs/Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV1.md
docs/Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV2.md
docs/Model/RefCapabilitiesSharedOptionsInsuranceBaseInsuranceV2InsuredAmount.md
docs/Model/RefNotificationNotificationTemplateType.md
docs/Model/RefNotificationResponseNotificationGroup.md
docs/Model/RefNotificationResponseNotificationTemplate.md
docs/Model/RefRatesResponseContract.md
docs/Model/RefRatesResponseContractV2.md
docs/Model/RefRatesResponsePriceCompositionPriceCompositionV1.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ public function getNoTracking()
/**
* Sets no_tracking
*
* @param object|null $no_tracking No tracking option (inverse of tracked)
* @param object|null $no_tracking Ship without track and trace option
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class CapabilitiesPostCapabilitiesRequestV1DataCapabilitiesInnerOptions implemen
'same_day_delivery' => 'object',
'saturday_delivery' => 'object',
'signature' => 'object',
'no_tracking' => 'object',
'tracked' => 'object',
'insurance' => '\MyParcelNL\Sdk\Client\Generated\CoreApi\Model\CapabilitiesPostCapabilitiesRequestV2OptionsInsurance'
];
Expand Down Expand Up @@ -105,6 +106,7 @@ class CapabilitiesPostCapabilitiesRequestV1DataCapabilitiesInnerOptions implemen
'same_day_delivery' => null,
'saturday_delivery' => null,
'signature' => null,
'no_tracking' => null,
'tracked' => null,
'insurance' => null
];
Expand Down Expand Up @@ -132,6 +134,7 @@ class CapabilitiesPostCapabilitiesRequestV1DataCapabilitiesInnerOptions implemen
'same_day_delivery' => false,
'saturday_delivery' => false,
'signature' => false,
'no_tracking' => false,
'tracked' => false,
'insurance' => false
];
Expand Down Expand Up @@ -239,6 +242,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'same_day_delivery',
'saturday_delivery' => 'saturday_delivery',
'signature' => 'signature',
'no_tracking' => 'no_tracking',
'tracked' => 'tracked',
'insurance' => 'insurance'
];
Expand Down Expand Up @@ -266,6 +270,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'setSameDayDelivery',
'saturday_delivery' => 'setSaturdayDelivery',
'signature' => 'setSignature',
'no_tracking' => 'setNoTracking',
'tracked' => 'setTracked',
'insurance' => 'setInsurance'
];
Expand Down Expand Up @@ -293,6 +298,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'getSameDayDelivery',
'saturday_delivery' => 'getSaturdayDelivery',
'signature' => 'getSignature',
'no_tracking' => 'getNoTracking',
'tracked' => 'getTracked',
'insurance' => 'getInsurance'
];
Expand Down Expand Up @@ -371,6 +377,7 @@ public function __construct(?array $data = null)
$this->setIfExists('same_day_delivery', $data ?? [], null);
$this->setIfExists('saturday_delivery', $data ?? [], null);
$this->setIfExists('signature', $data ?? [], null);
$this->setIfExists('no_tracking', $data ?? [], null);
$this->setIfExists('tracked', $data ?? [], null);
$this->setIfExists('insurance', $data ?? [], null);
}
Expand Down Expand Up @@ -876,6 +883,33 @@ public function setSignature($signature)
return $this;
}

/**
* Gets no_tracking
*
* @return object|null
*/
public function getNoTracking()
{
return $this->container['no_tracking'];
}

/**
* Sets no_tracking
*
* @param object|null $no_tracking Ship without track and trace option
*
* @return self
*/
public function setNoTracking($no_tracking)
{
if (is_null($no_tracking)) {
throw new \InvalidArgumentException('non-nullable no_tracking cannot be null');
}
$this->container['no_tracking'] = $no_tracking;

return $this;
}

/**
* Gets tracked
*
Expand All @@ -889,7 +923,7 @@ public function getTracked()
/**
* Sets tracked
*
* @param object|null $tracked Tracking option
* @param object|null $tracked DEPRECATED: replaced by no_tracking (its inverse).
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class RatesPostRatesRequestV1DataRatesInnerOptions implements ModelInterface, Ar
'same_day_delivery' => 'object',
'saturday_delivery' => 'object',
'signature' => 'object',
'no_tracking' => 'object',
'tracked' => 'object',
'insurance' => '\MyParcelNL\Sdk\Client\Generated\CoreApi\Model\RatesPostRatesRequestV1DataRatesInnerOptionsInsurance'
];
Expand Down Expand Up @@ -101,6 +102,7 @@ class RatesPostRatesRequestV1DataRatesInnerOptions implements ModelInterface, Ar
'same_day_delivery' => null,
'saturday_delivery' => null,
'signature' => null,
'no_tracking' => null,
'tracked' => null,
'insurance' => null
];
Expand All @@ -126,6 +128,7 @@ class RatesPostRatesRequestV1DataRatesInnerOptions implements ModelInterface, Ar
'same_day_delivery' => false,
'saturday_delivery' => false,
'signature' => false,
'no_tracking' => false,
'tracked' => false,
'insurance' => false
];
Expand Down Expand Up @@ -231,6 +234,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'same_day_delivery',
'saturday_delivery' => 'saturday_delivery',
'signature' => 'signature',
'no_tracking' => 'no_tracking',
'tracked' => 'tracked',
'insurance' => 'insurance'
];
Expand All @@ -256,6 +260,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'setSameDayDelivery',
'saturday_delivery' => 'setSaturdayDelivery',
'signature' => 'setSignature',
'no_tracking' => 'setNoTracking',
'tracked' => 'setTracked',
'insurance' => 'setInsurance'
];
Expand All @@ -281,6 +286,7 @@ public function isNullableSetToNull(string $property): bool
'same_day_delivery' => 'getSameDayDelivery',
'saturday_delivery' => 'getSaturdayDelivery',
'signature' => 'getSignature',
'no_tracking' => 'getNoTracking',
'tracked' => 'getTracked',
'insurance' => 'getInsurance'
];
Expand Down Expand Up @@ -357,6 +363,7 @@ public function __construct(?array $data = null)
$this->setIfExists('same_day_delivery', $data ?? [], null);
$this->setIfExists('saturday_delivery', $data ?? [], null);
$this->setIfExists('signature', $data ?? [], null);
$this->setIfExists('no_tracking', $data ?? [], null);
$this->setIfExists('tracked', $data ?? [], null);
$this->setIfExists('insurance', $data ?? [], null);
}
Expand Down Expand Up @@ -808,6 +815,33 @@ public function setSignature($signature)
return $this;
}

/**
* Gets no_tracking
*
* @return object|null
*/
public function getNoTracking()
{
return $this->container['no_tracking'];
}

/**
* Sets no_tracking
*
* @param object|null $no_tracking Ship without track and trace option
*
* @return self
*/
public function setNoTracking($no_tracking)
{
if (is_null($no_tracking)) {
throw new \InvalidArgumentException('non-nullable no_tracking cannot be null');
}
$this->container['no_tracking'] = $no_tracking;

return $this;
}

/**
* Gets tracked
*
Expand All @@ -821,7 +855,7 @@ public function getTracked()
/**
* Sets tracked
*
* @param object|null $tracked Tracking option
* @param object|null $tracked DEPRECATED: replaced by no_tracking (its inverse).
*
* @return self
*/
Expand Down
Loading
Loading