czech_post_b2b_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +40 -0
- data/CHANGELOG.md +14 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +281 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/certs/postsignum_qca4_root.pem +41 -0
- data/certs/postsignum_vca5_sub.pem +44 -0
- data/doc/CzechPostB2bClient.html +479 -0
- data/doc/CzechPostB2bClient/B2BErrors.html +242 -0
- data/doc/CzechPostB2bClient/B2BErrors/BadRequestError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/BaseError.html +376 -0
- data/doc/CzechPostB2bClient/B2BErrors/CustomerRequestsCountOverflowError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/InternalB2BServerError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/InternalBackendServerError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/InternalDataPersistenceServerError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/ProcessingUnfinishedYetError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/ServiceBusyError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedContractAccessError.html +145 -0
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedRoleAccessError.html +145 -0
- data/doc/CzechPostB2bClient/Configuration.html +1005 -0
- data/doc/CzechPostB2bClient/Error.html +128 -0
- data/doc/CzechPostB2bClient/PrintingTemplates.html +199 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AddressData3x8.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel.html +117 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/BlankLandscape.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage.html +115 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS2x4.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Simple.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/SimpleWithCODVoucherA.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Base.html +279 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA3OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherC.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherForCSOB.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN22.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN23.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/DeliveryTicket.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope.html +115 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeB4.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC5.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC6.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeDL.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/HarmonizedLabel.html +141 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/HarmonizedLabel4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/IntegratedDocument.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/RRLabels3x8.html +129 -0
- data/doc/CzechPostB2bClient/RequestBuilders.html +117 -0
- data/doc/CzechPostB2bClient/RequestBuilders/BaseBuilder.html +396 -0
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelStateBuilder.html +329 -0
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelsPrintingBuilder.html +470 -0
- data/doc/CzechPostB2bClient/RequestBuilders/GetResultParcelsBuilder.html +329 -0
- data/doc/CzechPostB2bClient/RequestBuilders/GetStatsBuilder.html +403 -0
- data/doc/CzechPostB2bClient/RequestBuilders/SendParcelsBuilder.html +403 -0
- data/doc/CzechPostB2bClient/ResponseCodes.html +242 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressAllowedForBalikovnaOnly.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressIsNotValidForSubject.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressNeedsPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressSuitableForLocalDelivery.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostu.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostuDuplicate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AddresseeCityRequired.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/AlreadyAssignedOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadAddressee.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadCODAmount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadFormatReturnNumberDays.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadHeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadLength.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefix.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefixForAddress.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadVariableSymbol.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadWeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BadWidth.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BaseCode.html +550 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BatchClosed.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BatchInvalid.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/BatchUnfinished.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountTooBig.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/CanceledOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/CustomGoodQuantityOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/CustomerIDNotInAccordanceWithParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/DensityOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateDuplicateParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcel.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicitParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequence.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequenceDuplicate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/IllegalCombinationOfServices.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddRequiredService75.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1A.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1B.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1D.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService9.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddressWasModified.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddresseeToLong.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumberAddresseeDocument.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelHeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelLength.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelMobilePhoneOrEmailAddresseeDocument.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPalettsNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPersonalIdentificationNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AB.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1ABForService40.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForPostCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForService40.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AWith1B.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1B.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BAddService1A.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BForPostCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BWith1A.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1D.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1E.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1V.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService25.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService27.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService29.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService30.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService31.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34InvalidPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45InvalidPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService46.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService47.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5B.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5C.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5D.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5C.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5CAnd5D.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5D.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelVSVoucher.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelWidth.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCityChanged.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInexactAddress.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidAccount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBankCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBirthDay.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCODAmount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCategoryCustomDecalaration.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidMobilePhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrefixAccount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidSpecificSymbol.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidTelephoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidWeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoMissingPartCityServiceDeliveryOnSundayOrHolidayMayNotBeRealized.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsNotNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsTooBig.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoService29And47.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoSpecialPackagingRequest.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InternalApplicationError.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentForParcelType.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentObjectNotFound.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentWrongCity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBalikovna.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBigPackage.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForCODAmountOver20000.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForParcelType.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressee.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountCurrency.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountType.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODAmount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrency.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrencyAccordance.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCategoryCustomDecalaration.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidContentCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCurrencyCustomDecalaration.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomGoodNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerCardNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerId.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidDensity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHsCodeCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGoodFormat.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLength.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLocation.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCodeControl.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidNumberClosure.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcodeDuplicate.html +145 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCodeControl.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelResponseCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelTypeForID.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPartnerCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPayday.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPostCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixAccordance.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixCombination.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixForDimensionsAndFragile.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrency.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrencyAccordance.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidQuantityCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidResponsibleConsignmentNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidReturnNumberDays.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService18.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService19.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServiceCombination.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServicesForDimensions.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSignNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSubisoCountry.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTareWeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTiming.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTransmissionDate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTypePrefix.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService36.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService37.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService38.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGoodSummary.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightForService11.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWidth.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumberFormat.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidostCodeOrCity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MIssingParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddressee.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeCity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeStreet.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeZipCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmount.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmountType.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCategoryCustomDecalaration.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCompanyName.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingContentCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCurrencyCustomDeclaration.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHandlingInstructions.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHeight.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHsCodeCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingIsoCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingLength.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPalettsNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGoods.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrefix.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPriceCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingQuantityCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocument.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocumentDuplicate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredFirstNameAddresseeDocument.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMRNCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumberOrEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredParcelCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPayday.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrWhat.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService10.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1AB.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1X.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService2X.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3X.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3XTrinity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4X.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4x.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredVoucherPrice.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredZPROOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnInstructions.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnNumberDays.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSenderEmail.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSizeCategory.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSurname.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbol.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbolDuplicate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWeightCustomGood.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWidth.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/NfoCancelService9.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractService41.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractServiceReturnReceipt.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/NotExistingOrderNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/Ok.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/OverenoVecerniDorucovani.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/PalettsNumberOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotAllowed.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotInAssignedRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelDoesNotMeetTheRequirementsForm.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/PriceAndCODAmountTooBig.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/PriceOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooBig.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooLow.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberCannotBeImported.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/ServicesCombinationNotAllowed.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionAlreadyClosed.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionNotExists.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionOpened.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionUnfinished.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/UnauthorizedAccess.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseeCity.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseePostCode.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownPrefix.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/VariableSymbolIsNotNumber.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/WeightCustomGoodOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRange.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRangeDuplicate.html +134 -0
- data/doc/CzechPostB2bClient/ResponseParsers.html +117 -0
- data/doc/CzechPostB2bClient/ResponseParsers/BaseParser.html +283 -0
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelStateParser.html +533 -0
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelsPrintingParser.html +463 -0
- data/doc/CzechPostB2bClient/ResponseParsers/GetResultParcelsParser.html +625 -0
- data/doc/CzechPostB2bClient/ResponseParsers/GetStatsParser.html +347 -0
- data/doc/CzechPostB2bClient/ResponseParsers/SendParcelsParser.html +231 -0
- data/doc/CzechPostB2bClient/Services.html +117 -0
- data/doc/CzechPostB2bClient/Services/AddressSheetsGenerator.html +451 -0
- data/doc/CzechPostB2bClient/Services/ApiCaller.html +307 -0
- data/doc/CzechPostB2bClient/Services/Communicator.html +220 -0
- data/doc/CzechPostB2bClient/Services/DeliveringInspector.html +324 -0
- data/doc/CzechPostB2bClient/Services/Orchestrator.html +143 -0
- data/doc/CzechPostB2bClient/Services/ParcelsSendProcessUpdater.html +377 -0
- data/doc/CzechPostB2bClient/Services/ParcelsSender.html +402 -0
- data/doc/CzechPostB2bClient/Services/ParcelsSubmissionCloser.html +337 -0
- data/doc/CzechPostB2bClient/Services/TimePeriodStatisticator.html +398 -0
- data/doc/SteppedService.html +224 -0
- data/doc/SteppedService/Base.html +706 -0
- data/doc/SteppedService/Errors.html +365 -0
- data/doc/_index.html +2607 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +357 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +357 -0
- data/doc/js/app.js +303 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +923 -0
- data/doc/top-level-namespace.html +110 -0
- data/lib/czech_post_b2b_client.rb +37 -0
- data/lib/czech_post_b2b_client/b2b_errors.rb +105 -0
- data/lib/czech_post_b2b_client/configuration.rb +34 -0
- data/lib/czech_post_b2b_client/printing_templates.rb +166 -0
- data/lib/czech_post_b2b_client/request_builders.rb +8 -0
- data/lib/czech_post_b2b_client/request_builders/base_builder.rb +90 -0
- data/lib/czech_post_b2b_client/request_builders/get_parcel_state_builder.rb +44 -0
- data/lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb +79 -0
- data/lib/czech_post_b2b_client/request_builders/get_result_parcels_builder.rb +28 -0
- data/lib/czech_post_b2b_client/request_builders/get_stats_builder.rb +30 -0
- data/lib/czech_post_b2b_client/request_builders/send_parcels_builder.rb +294 -0
- data/lib/czech_post_b2b_client/response_codes.rb +1900 -0
- data/lib/czech_post_b2b_client/response_parsers.rb +8 -0
- data/lib/czech_post_b2b_client/response_parsers/base_parser.rb +95 -0
- data/lib/czech_post_b2b_client/response_parsers/get_parcel_state_parser.rb +54 -0
- data/lib/czech_post_b2b_client/response_parsers/get_parcels_printing_parser.rb +42 -0
- data/lib/czech_post_b2b_client/response_parsers/get_result_parcels_parser.rb +56 -0
- data/lib/czech_post_b2b_client/response_parsers/get_stats_parser.rb +27 -0
- data/lib/czech_post_b2b_client/response_parsers/send_parcels_parser.rb +13 -0
- data/lib/czech_post_b2b_client/services.rb +10 -0
- data/lib/czech_post_b2b_client/services/address_sheets_generator.rb +55 -0
- data/lib/czech_post_b2b_client/services/api_caller.rb +115 -0
- data/lib/czech_post_b2b_client/services/communicator.rb +28 -0
- data/lib/czech_post_b2b_client/services/delivering_inspector.rb +50 -0
- data/lib/czech_post_b2b_client/services/orchestrator.rb +27 -0
- data/lib/czech_post_b2b_client/services/parcels_send_process_updater.rb +71 -0
- data/lib/czech_post_b2b_client/services/parcels_sender.rb +53 -0
- data/lib/czech_post_b2b_client/services/parcels_submission_closer.rb +23 -0
- data/lib/czech_post_b2b_client/services/time_period_statisticator.rb +44 -0
- data/lib/czech_post_b2b_client/version.rb +5 -0
- data/lib/stepped_service.rb +4 -0
- data/lib/stepped_service/base.rb +139 -0
- data/lib/stepped_service/errors.rb +29 -0
- metadata +571 -0
@@ -0,0 +1,1900 @@
|
|
1
|
+
# Codes, which can be returned in response nodes `doParcelStateResponse`
|
2
|
+
#
|
3
|
+
# Do not miss `CzechPostB2bClient::ResponseCodes.all_code_classes` and `CzechPostB2bClient::ResponseCodes.new_by_code`,
|
4
|
+
# they have to be at end of module to work properly
|
5
|
+
module CzechPostB2bClient
|
6
|
+
module ResponseCodes
|
7
|
+
class BaseCode
|
8
|
+
@code = 'undefined'
|
9
|
+
@text = '_NONE_'
|
10
|
+
@decription = 'Unspecified B2B response code, is it listed in /doc/.../ResponseCodes.ods'
|
11
|
+
|
12
|
+
def self.code
|
13
|
+
@code
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.text
|
17
|
+
@text
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.description
|
21
|
+
@description
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.error?
|
25
|
+
@type == :error
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.info?
|
29
|
+
@type == :info
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.type
|
33
|
+
@type
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.to_s
|
37
|
+
"ResponseCode[#{code} #{text}] #{description}"
|
38
|
+
end
|
39
|
+
|
40
|
+
# forwarding instance methods to class
|
41
|
+
%i[code text description error? info? to_s].each do |mth|
|
42
|
+
define_method mth do
|
43
|
+
self.class.send(mth)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class Ok < CzechPostB2bClient::ResponseCodes::BaseCode
|
49
|
+
@code = 1
|
50
|
+
@text = 'OK'
|
51
|
+
@description = 'Vše v poržadku :-)'
|
52
|
+
@type = :info
|
53
|
+
end
|
54
|
+
|
55
|
+
class InternalApplicationError < CzechPostB2bClient::ResponseCodes::BaseCode
|
56
|
+
@code = 2
|
57
|
+
@text = 'INTERNAL_APPLICATION_ERROR'
|
58
|
+
@description = 'Interní chyba aplikace'
|
59
|
+
@type = :chyba
|
60
|
+
end
|
61
|
+
|
62
|
+
class UnauthorizedAccess < CzechPostB2bClient::ResponseCodes::BaseCode
|
63
|
+
@code = 3
|
64
|
+
@text = 'UNAUTHORIZED_ACCESS'
|
65
|
+
@description = 'Login není evidován k uvedenému číslu podavatele'
|
66
|
+
@type = :chyba
|
67
|
+
end
|
68
|
+
|
69
|
+
class InvalidCustomerId < CzechPostB2bClient::ResponseCodes::BaseCode
|
70
|
+
@code = 10
|
71
|
+
@text = 'INVALID_CUSTOMER_ID'
|
72
|
+
@description = 'Neplatne technologické číslo (customer_id)'
|
73
|
+
@type = :chyba
|
74
|
+
end
|
75
|
+
|
76
|
+
class InvalidLocation < CzechPostB2bClient::ResponseCodes::BaseCode
|
77
|
+
@code = 11
|
78
|
+
@text = 'INVALID_LOCATION'
|
79
|
+
@description = 'Neplatné podací místo, zkuste použít `locationNumber`.'
|
80
|
+
@type = :chyba
|
81
|
+
end
|
82
|
+
|
83
|
+
class InvalidPostCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
84
|
+
@code = 12
|
85
|
+
@text = 'INVALID_POST_CODE'
|
86
|
+
@description = 'Neplatné PSČ podací pošty'
|
87
|
+
@type = :chyba
|
88
|
+
end
|
89
|
+
|
90
|
+
class InvalidTransmissionDate < CzechPostB2bClient::ResponseCodes::BaseCode
|
91
|
+
@code = 13
|
92
|
+
@text = 'INVALID_TRANSMISSION_DATE'
|
93
|
+
@description = 'Chybné datum podání (menší než aktuální datum)'
|
94
|
+
@type = :chyba
|
95
|
+
end
|
96
|
+
|
97
|
+
class TransmissionOpened < CzechPostB2bClient::ResponseCodes::BaseCode
|
98
|
+
@code = 14
|
99
|
+
@text = 'TRANSMISSION_OPENED'
|
100
|
+
@description = 'Podání otevřeno'
|
101
|
+
@type = :chyba
|
102
|
+
end
|
103
|
+
|
104
|
+
class TransmissionAlreadyClosed < CzechPostB2bClient::ResponseCodes::BaseCode
|
105
|
+
@code = 15
|
106
|
+
@text = 'TRANSMISSION_CLOSED'
|
107
|
+
@description = 'Podání již bylo uzavřeno'
|
108
|
+
@type = :chyba
|
109
|
+
end
|
110
|
+
|
111
|
+
class TransmissionUnfinished < CzechPostB2bClient::ResponseCodes::BaseCode
|
112
|
+
@code = 16
|
113
|
+
@text = 'TRANSMISSION_UNFINISHED'
|
114
|
+
@description = 'Zpracování ještě není ukončeno'
|
115
|
+
@type = :chyba
|
116
|
+
end
|
117
|
+
|
118
|
+
class BatchClosed < CzechPostB2bClient::ResponseCodes::BaseCode
|
119
|
+
@code = 17
|
120
|
+
@text = 'BATCH_CLOSED'
|
121
|
+
@description = 'Dávka uzavřena'
|
122
|
+
@type = :chyba
|
123
|
+
end
|
124
|
+
|
125
|
+
class BatchUnfinished < CzechPostB2bClient::ResponseCodes::BaseCode
|
126
|
+
@code = 18
|
127
|
+
@text = 'BATCH_UNFINISHED'
|
128
|
+
@description = 'Zpracování ješte není ukončeno'
|
129
|
+
@type = :chyba
|
130
|
+
end
|
131
|
+
|
132
|
+
class BatchInvalid < CzechPostB2bClient::ResponseCodes::BaseCode
|
133
|
+
@code = 19
|
134
|
+
@text = 'BATCH_INVALID'
|
135
|
+
@description = 'V dávce se vyskytují chybné záznamy'
|
136
|
+
@type = :chyba
|
137
|
+
end
|
138
|
+
|
139
|
+
class TransmissionNotExists < CzechPostB2bClient::ResponseCodes::BaseCode
|
140
|
+
@code = 20
|
141
|
+
@text = 'TRANSMISSION_NOT_EXISTS'
|
142
|
+
@description = 'Podání neexistuje'
|
143
|
+
@type = :chyba
|
144
|
+
end
|
145
|
+
|
146
|
+
class InvalidParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
147
|
+
@code = 100
|
148
|
+
@text = 'INVALID_PARCEL_CODE'
|
149
|
+
@description = 'Neplatné ID zásilky'
|
150
|
+
@type = :chyba
|
151
|
+
end
|
152
|
+
|
153
|
+
class DuplicateParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
154
|
+
@code = 101
|
155
|
+
@text = 'DUPLICATE_PARCEL_CODE'
|
156
|
+
@description = 'Duplicitní ID zásilky v rámci 13-ti měsíců'
|
157
|
+
@type = :chyba
|
158
|
+
end
|
159
|
+
|
160
|
+
class FullSequence < CzechPostB2bClient::ResponseCodes::BaseCode
|
161
|
+
@code = 102
|
162
|
+
@text = 'FULL_SEQUENCE'
|
163
|
+
@description = 'Vyčerpaná řada podacích čísel'
|
164
|
+
@type = :chyba
|
165
|
+
end
|
166
|
+
|
167
|
+
class UnknownPrefix < CzechPostB2bClient::ResponseCodes::BaseCode
|
168
|
+
@code = 103
|
169
|
+
@text = 'INVALID_PREFIX'
|
170
|
+
@description = 'Neznámý typ zásilky (prefix)'
|
171
|
+
@type = :chyba
|
172
|
+
end
|
173
|
+
|
174
|
+
class WeightIsOutOfRangeDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
175
|
+
@code = 104
|
176
|
+
@text = 'INVALID_WEIGHT'
|
177
|
+
@description = 'Hmotnost mimo povolený rozsah'
|
178
|
+
@type = :chyba
|
179
|
+
end
|
180
|
+
|
181
|
+
class InvalidPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
182
|
+
@code = 105
|
183
|
+
@text = 'INVALID_PRICE'
|
184
|
+
@description = 'Udaná cena mimo povolený rozsah'
|
185
|
+
@type = :chyba
|
186
|
+
end
|
187
|
+
|
188
|
+
class InvalidCODAmount < CzechPostB2bClient::ResponseCodes::BaseCode
|
189
|
+
@code = 106
|
190
|
+
@text = 'INVALID_AMOUNT'
|
191
|
+
@description = 'Dobírka mimo povolený rozsah'
|
192
|
+
@type = :chyba
|
193
|
+
end
|
194
|
+
|
195
|
+
class InvalidCODCurrency < CzechPostB2bClient::ResponseCodes::BaseCode
|
196
|
+
@code = 107
|
197
|
+
@text = 'INVALID_CURRENCY'
|
198
|
+
@description = 'Neplatná měna dobírkové částky'
|
199
|
+
@type = :chyba
|
200
|
+
end
|
201
|
+
|
202
|
+
class MissingVariableSymbol < CzechPostB2bClient::ResponseCodes::BaseCode
|
203
|
+
@code = 108
|
204
|
+
@text = 'MISSING_VS'
|
205
|
+
@description = 'Neuveden variabilní symbol poukázky'
|
206
|
+
@type = :chyba
|
207
|
+
end
|
208
|
+
|
209
|
+
class InvalidWidth < CzechPostB2bClient::ResponseCodes::BaseCode
|
210
|
+
@code = 109
|
211
|
+
@text = 'INVALID_WIDTH'
|
212
|
+
@description = 'Šířka mimo povolený rozsah'
|
213
|
+
@type = :chyba
|
214
|
+
end
|
215
|
+
|
216
|
+
class InvalidHeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
217
|
+
@code = 110
|
218
|
+
@text = 'INVALID_HEIGHT'
|
219
|
+
@description = 'Výška mimo povolený rozsah'
|
220
|
+
@type = :chyba
|
221
|
+
end
|
222
|
+
|
223
|
+
class InvalidLength < CzechPostB2bClient::ResponseCodes::BaseCode
|
224
|
+
@code = 111
|
225
|
+
@text = 'INVALID_LENGTH'
|
226
|
+
@description = 'Délka mimo povolený rozsah'
|
227
|
+
@type = :chyba
|
228
|
+
end
|
229
|
+
|
230
|
+
class IllegalCombinationOfServices < CzechPostB2bClient::ResponseCodes::BaseCode
|
231
|
+
@code = 112
|
232
|
+
@text = 'ILLEGAL_COMBINATION_SERVICE'
|
233
|
+
@description = 'Nepovolená kombinace doplňkových služeb'
|
234
|
+
@type = :chyba
|
235
|
+
end
|
236
|
+
|
237
|
+
class MissingRequiredService < CzechPostB2bClient::ResponseCodes::BaseCode
|
238
|
+
@code = 113
|
239
|
+
@text = 'MISSING_REQUIRED_SERVICE'
|
240
|
+
@description = 'Neuvedena alespoň jedna povinná doplňková služba'
|
241
|
+
@type = :chyba
|
242
|
+
end
|
243
|
+
|
244
|
+
class MissingSurname < CzechPostB2bClient::ResponseCodes::BaseCode
|
245
|
+
@code = 114
|
246
|
+
@text = 'MISSING_SURNAME'
|
247
|
+
@description = 'Neuvedeno příjmení fyzické osoby'
|
248
|
+
@type = :chyba
|
249
|
+
end
|
250
|
+
|
251
|
+
class MissingCompanyName < CzechPostB2bClient::ResponseCodes::BaseCode
|
252
|
+
@code = 115
|
253
|
+
@text = 'MISSING_COMPANY_NAME'
|
254
|
+
@description = 'Neuveden název právnické osoby'
|
255
|
+
@type = :chyba
|
256
|
+
end
|
257
|
+
|
258
|
+
class UnknownAddresseeCity < CzechPostB2bClient::ResponseCodes::BaseCode
|
259
|
+
@code = 116
|
260
|
+
@text = 'UNKNOWN_CITY'
|
261
|
+
@description = 'Neznámá obec adresáta'
|
262
|
+
@type = :chyba
|
263
|
+
end
|
264
|
+
|
265
|
+
class UnknownAddresseePostCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
266
|
+
@code = 117
|
267
|
+
@text = 'UNKNOWN_ZIP_CODE'
|
268
|
+
@description = 'Neznámé PSC adresáta'
|
269
|
+
@type = :chyba
|
270
|
+
end
|
271
|
+
|
272
|
+
class MissingPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
273
|
+
@code = 118
|
274
|
+
@text = 'MISSING_PHONE_NUMBER'
|
275
|
+
@description = 'Neuvedeno telefonní číslo'
|
276
|
+
@type = :chyba
|
277
|
+
end
|
278
|
+
|
279
|
+
class InvalidAddressForBigPackage < CzechPostB2bClient::ResponseCodes::BaseCode
|
280
|
+
@code = 119
|
281
|
+
@text = 'INVALID_ADRESS'
|
282
|
+
@description = 'Adresa odesílatele není vhodná pro produkt Nadrozměrná zásilka(adresa obsahuje údaj P.O.Box nebo Poste restante)!'
|
283
|
+
@type = :chyba
|
284
|
+
end
|
285
|
+
|
286
|
+
class DensityOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
287
|
+
@code = 120
|
288
|
+
@text = 'INVALID_DENSITY'
|
289
|
+
@description = 'Objemová hmotnost mimo povolený rozsah'
|
290
|
+
@type = :chyba
|
291
|
+
end
|
292
|
+
|
293
|
+
class BadWeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
294
|
+
@code = 121
|
295
|
+
@text = 'BAD_WEIGHT'
|
296
|
+
@description = 'Hmotnost není číslo'
|
297
|
+
@type = :chyba
|
298
|
+
end
|
299
|
+
|
300
|
+
class BadPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
301
|
+
@code = 122
|
302
|
+
@text = 'BAD_PRICE'
|
303
|
+
@description = 'Udaná cena není číslo'
|
304
|
+
@type = :chyba
|
305
|
+
end
|
306
|
+
|
307
|
+
class BadCODAmount < CzechPostB2bClient::ResponseCodes::BaseCode
|
308
|
+
@code = 123
|
309
|
+
@text = 'BAD_AMOUNT'
|
310
|
+
@description = 'Dobírka není číslo'
|
311
|
+
@type = :chyba
|
312
|
+
end
|
313
|
+
|
314
|
+
class MissingCODAmount < CzechPostB2bClient::ResponseCodes::BaseCode
|
315
|
+
@code = 124
|
316
|
+
@text = 'MISSING_AMOUNT'
|
317
|
+
@description = 'Neuvedena částka dobírky'
|
318
|
+
@type = :chyba
|
319
|
+
end
|
320
|
+
|
321
|
+
class MissingRequiredService2X < CzechPostB2bClient::ResponseCodes::BaseCode
|
322
|
+
@code = 125
|
323
|
+
@text = 'MISSING_REQUIRED_SERVICE 20/22/1U'
|
324
|
+
@description = 'Neuvedena povinná služba 20 ani 22'
|
325
|
+
@type = :chyba
|
326
|
+
end
|
327
|
+
|
328
|
+
class MissingRequiredService3X < CzechPostB2bClient::ResponseCodes::BaseCode
|
329
|
+
@code = 126
|
330
|
+
@text = 'MISSING_REQUIRED_SERVICE 37/38'
|
331
|
+
@description = 'Neuvedena povinná služba 37 ani 38'
|
332
|
+
@type = :chyba
|
333
|
+
end
|
334
|
+
|
335
|
+
class MissingRequiredService4X < CzechPostB2bClient::ResponseCodes::BaseCode
|
336
|
+
@code = 127
|
337
|
+
@text = 'MISSING_REQUIRED_SERVICE 42/43/44'
|
338
|
+
@description = 'Neuvedena povinná služba 42 ani 43 ani 44'
|
339
|
+
@type = :chyba
|
340
|
+
end
|
341
|
+
|
342
|
+
class MissingPrefix < CzechPostB2bClient::ResponseCodes::BaseCode
|
343
|
+
@code = 128
|
344
|
+
@text = 'MISSING_PREFIX'
|
345
|
+
@description = 'Neuveden typ zásilky'
|
346
|
+
@type = :chyba
|
347
|
+
end
|
348
|
+
|
349
|
+
class InvalidWeightForService11 < CzechPostB2bClient::ResponseCodes::BaseCode
|
350
|
+
@code = 129
|
351
|
+
@text = 'INVALID_WEIGHT_FOR_SERVICE_11'
|
352
|
+
@description = 'Hmotnost mimo povolený rozsah služby 11'
|
353
|
+
@type = :chyba
|
354
|
+
end
|
355
|
+
|
356
|
+
class MissingPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
357
|
+
@code = 130
|
358
|
+
@text = 'MISSING_PRICE'
|
359
|
+
@description = 'Neuvedena částka udané ceny'
|
360
|
+
@type = :chyba
|
361
|
+
end
|
362
|
+
|
363
|
+
class MissingCODAmountType < CzechPostB2bClient::ResponseCodes::BaseCode
|
364
|
+
@code = 131
|
365
|
+
@text = 'MISSING_AMOUNT_TYPE'
|
366
|
+
@description = 'Neuveden typ dobírky'
|
367
|
+
@type = :chyba
|
368
|
+
end
|
369
|
+
|
370
|
+
class BadVariableSymbol < CzechPostB2bClient::ResponseCodes::BaseCode
|
371
|
+
@code = 132
|
372
|
+
@text = 'BAD_VS'
|
373
|
+
@description = 'Variabilní symbol poukázky není číslo'
|
374
|
+
@type = :chyba
|
375
|
+
end
|
376
|
+
|
377
|
+
class BadWidth < CzechPostB2bClient::ResponseCodes::BaseCode
|
378
|
+
@code = 133
|
379
|
+
@text = 'BAD_WIDTH'
|
380
|
+
@description = 'Šířka není celé číslo'
|
381
|
+
@type = :chyba
|
382
|
+
end
|
383
|
+
|
384
|
+
class BadHeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
385
|
+
@code = 134
|
386
|
+
@text = 'BAD_HEIGHT'
|
387
|
+
@description = 'Výška není celé číslo'
|
388
|
+
@type = :chyba
|
389
|
+
end
|
390
|
+
|
391
|
+
class BadLength < CzechPostB2bClient::ResponseCodes::BaseCode
|
392
|
+
@code = 135
|
393
|
+
@text = 'BAD_LENGTH'
|
394
|
+
@description = 'Délka není celé číslo'
|
395
|
+
@type = :chyba
|
396
|
+
end
|
397
|
+
|
398
|
+
class MissingRequiredPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
399
|
+
@code = 136
|
400
|
+
@text = 'MISSING_REQUIRED_PHONE_NUMBER'
|
401
|
+
@description = 'Není uveden povinný údaj - telefonní číslo adresáta'
|
402
|
+
@type = :chyba
|
403
|
+
end
|
404
|
+
|
405
|
+
class BadPrefixForAddress < CzechPostB2bClient::ResponseCodes::BaseCode
|
406
|
+
@code = 137
|
407
|
+
@text = 'BAD_PREFIX'
|
408
|
+
@description = 'Zásilku tohoto typu nelze na uvedenou adresu odeslat'
|
409
|
+
@type = :chyba
|
410
|
+
end
|
411
|
+
|
412
|
+
class MissingRequiredPhoneNumberOrEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
413
|
+
@code = 138
|
414
|
+
@text = 'MISSING_REQUIRED_PHONE_NUMBER_OR_EMAIL'
|
415
|
+
@description = 'Není uveden povinný údaj - telefonní číslo nebo email adresáta'
|
416
|
+
@type = :chyba
|
417
|
+
end
|
418
|
+
|
419
|
+
class InvalidAddressForCODAmountOver20000 < CzechPostB2bClient::ResponseCodes::BaseCode
|
420
|
+
@code = 139
|
421
|
+
@text = 'INVALID_ADRESS_FOR_AMOUNT_OVER_20000'
|
422
|
+
@description = 'Zásilku tohoto typu s dobírkou vetší než 20 000 Kč nelze na uvedenou adresu odeslat'
|
423
|
+
@type = :chyba
|
424
|
+
end
|
425
|
+
|
426
|
+
class BadPrefix < CzechPostB2bClient::ResponseCodes::BaseCode
|
427
|
+
@code = 140
|
428
|
+
@text = 'BAD_PREFIX'
|
429
|
+
@description = 'Zásilku tohoto typu nelze na uvedenou adresu odeslat'
|
430
|
+
@type = :chyba
|
431
|
+
end
|
432
|
+
|
433
|
+
class AddressValidOnlyForNaPostu < CzechPostB2bClient::ResponseCodes::BaseCode
|
434
|
+
@code = 141
|
435
|
+
@text = 'INVALID_ADRESS'
|
436
|
+
@description = 'Adresa je vhodná pouze pro produkt Na poštu'
|
437
|
+
@type = :chyba
|
438
|
+
end
|
439
|
+
|
440
|
+
class InvalidAddressForParcelType < CzechPostB2bClient::ResponseCodes::BaseCode
|
441
|
+
@code = 142
|
442
|
+
@text = 'INVALID_ADRESS'
|
443
|
+
@description = 'Adresu nelze zvolit (adresa obsahuje údaj P.O.Box, Poste restante nebo Na poštu)!'
|
444
|
+
@type = :chyba
|
445
|
+
end
|
446
|
+
|
447
|
+
class FullSequenceDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
448
|
+
@code = 143
|
449
|
+
@text = 'FULL_SEQUENCE'
|
450
|
+
@description = 'Vyčerpaná řada podacích čísel'
|
451
|
+
@type = :chyba
|
452
|
+
end
|
453
|
+
|
454
|
+
class DuplicateParcel < CzechPostB2bClient::ResponseCodes::BaseCode
|
455
|
+
@code = 144
|
456
|
+
@text = 'DUPLICATE_PARCEL_CODE'
|
457
|
+
@description = 'Duplicitní zásilka'
|
458
|
+
@type = :chyba
|
459
|
+
end
|
460
|
+
|
461
|
+
class InvalidParcelCodeControl < CzechPostB2bClient::ResponseCodes::BaseCode
|
462
|
+
@code = 145
|
463
|
+
@text = 'INVALID_PARCEL_CODE_CONTROL'
|
464
|
+
@description = 'Nesouhlasí kontrolní číslo v ID zásilky'
|
465
|
+
@type = :chyba
|
466
|
+
end
|
467
|
+
|
468
|
+
class MissingRequiredMRNCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
469
|
+
@code = 146
|
470
|
+
@text = 'MISSING_REQUIRED_MRN_CODE'
|
471
|
+
@description = 'Neuveden MRN kód'
|
472
|
+
@type = :chyba
|
473
|
+
end
|
474
|
+
|
475
|
+
class InvalidMRNCodeControl < CzechPostB2bClient::ResponseCodes::BaseCode
|
476
|
+
@code = 147
|
477
|
+
@text = 'INVALID_MRN_CODE_CONTROL'
|
478
|
+
@description = 'Neplatný kód MRN'
|
479
|
+
@type = :chyba
|
480
|
+
end
|
481
|
+
|
482
|
+
class AddressValidOnlyForNaPostuDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
483
|
+
@code = 150
|
484
|
+
@text = 'INVALID_ADRESS'
|
485
|
+
@description = 'Adresa je vhodná pouze pro produkt Na poštu'
|
486
|
+
@type = :chyba
|
487
|
+
end
|
488
|
+
|
489
|
+
class AddressNeedsPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
490
|
+
@code = 155
|
491
|
+
@text = 'INVALID_ADRESS'
|
492
|
+
@description = 'Adresát není vhodný pro produkt Nadrozměrná zásilka (nevyplněn mobil nebo telefon)'
|
493
|
+
@type = :chyba
|
494
|
+
end
|
495
|
+
|
496
|
+
class MissingRequiredService1X < CzechPostB2bClient::ResponseCodes::BaseCode
|
497
|
+
@code = 156
|
498
|
+
@text = 'MISSING_REQUIRED_SERVICE 14/19'
|
499
|
+
@description = 'Neuvedena povinná služba 14 ani 19'
|
500
|
+
@type = :chyba
|
501
|
+
end
|
502
|
+
|
503
|
+
class MissingRequiredPhoneNumberOrWhat < CzechPostB2bClient::ResponseCodes::BaseCode
|
504
|
+
@code = 159
|
505
|
+
@text = 'MISSING_REQUIRED_PHONE_NUMBER'
|
506
|
+
@description = 'Nevyplněn variabilní symbol zásilky' # nebo telefonni cislo?!
|
507
|
+
@type = :chyba
|
508
|
+
end
|
509
|
+
|
510
|
+
class InvalidParcelResponseCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
511
|
+
@code = 160
|
512
|
+
@text = 'INVALID_PARCEL_CODE'
|
513
|
+
@description = 'Neuvedeno ID odpovědní zásilky'
|
514
|
+
@type = :chyba
|
515
|
+
end
|
516
|
+
|
517
|
+
class MIssingParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
518
|
+
@code = 161
|
519
|
+
@text = 'INVALID_PARCEL_CODE'
|
520
|
+
@description = 'Neuvedeno ID zásilky'
|
521
|
+
@type = :chyba
|
522
|
+
end
|
523
|
+
|
524
|
+
class CustomerIDNotInAccordanceWithParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
525
|
+
@code = 164
|
526
|
+
@text = 'INVALID_PARCEL_CODE'
|
527
|
+
@description = 'Nesouhlasí technologické číslo s ID zásilky'
|
528
|
+
@type = :chyba
|
529
|
+
end
|
530
|
+
|
531
|
+
class BadAddressee < CzechPostB2bClient::ResponseCodes::BaseCode
|
532
|
+
@code = 165
|
533
|
+
@text = 'BAD_ADDRESSEE'
|
534
|
+
@description = 'Chybný adresát'
|
535
|
+
@type = :chyba
|
536
|
+
end
|
537
|
+
|
538
|
+
class MissingHeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
539
|
+
@code = 168
|
540
|
+
@text = 'MISSING_HEIGHT'
|
541
|
+
@description = 'Neuvedena výška'
|
542
|
+
@type = :chyba
|
543
|
+
end
|
544
|
+
|
545
|
+
class MissingWidth < CzechPostB2bClient::ResponseCodes::BaseCode
|
546
|
+
@code = 169
|
547
|
+
@text = 'MISSING_WIDTH'
|
548
|
+
@description = 'Neuvedena šířka'
|
549
|
+
@type = :chyba
|
550
|
+
end
|
551
|
+
|
552
|
+
class MissingLength < CzechPostB2bClient::ResponseCodes::BaseCode
|
553
|
+
@code = 170
|
554
|
+
@text = 'MISSING_LENGTH'
|
555
|
+
@description = 'Neuvedena délka'
|
556
|
+
@type = :chyba
|
557
|
+
end
|
558
|
+
|
559
|
+
class PalettsNumberOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
560
|
+
@code = 171
|
561
|
+
@text = 'MISSING_PALETTS_NUMBER'
|
562
|
+
@description = 'Počet palet mimo povolený rozsah'
|
563
|
+
@type = :chyba
|
564
|
+
end
|
565
|
+
|
566
|
+
class InvalidWeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
567
|
+
@code = 173
|
568
|
+
@text = 'INVALID_WEIGHT'
|
569
|
+
@description = 'Součet fyzických hmotností celé vícekusové zásilky mimo povolený rozsah'
|
570
|
+
@type = :chyba
|
571
|
+
end
|
572
|
+
|
573
|
+
class InvalidDensity < CzechPostB2bClient::ResponseCodes::BaseCode
|
574
|
+
@code = 174
|
575
|
+
@text = 'INVALID_DENSITY'
|
576
|
+
@description = 'Součet objemových hmotností celé vícekusové zásilky mimo povolený rozsah'
|
577
|
+
@type = :chyba
|
578
|
+
end
|
579
|
+
|
580
|
+
class CODAmountOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
581
|
+
@code = 176
|
582
|
+
@text = 'INVALID_AMOUNT'
|
583
|
+
@description = 'Napočtená dobírka u hlavni zásilky je nad povolený rozsah'
|
584
|
+
@type = :chyba
|
585
|
+
end
|
586
|
+
|
587
|
+
class CODAmountTooBig < CzechPostB2bClient::ResponseCodes::BaseCode
|
588
|
+
@code = 177
|
589
|
+
@text = 'INVALID_AMOUNT'
|
590
|
+
@description = 'Limit pro uložení zásilky na Výdejním místě je pro Dobírku max. 50.000,- Kč. Zásilka bude uložena na poště, která je Výdejnímu místu nadřízená.'
|
591
|
+
@type = :chyba
|
592
|
+
end
|
593
|
+
|
594
|
+
class PriceTooBig < CzechPostB2bClient::ResponseCodes::BaseCode
|
595
|
+
@code = 178
|
596
|
+
@text = 'INVALID_PRICE'
|
597
|
+
@description = 'Limit pro uložení zásilky na Výdejním místě je pro Udanou cenu a Dobírku max. 50.000,- Kč. Zásilka bude uložena na poště, která je Výdejnímu místu nadřízená.'
|
598
|
+
@type = :chyba
|
599
|
+
end
|
600
|
+
|
601
|
+
class PriceAndCODAmountTooBig < CzechPostB2bClient::ResponseCodes::BaseCode
|
602
|
+
@code = 179
|
603
|
+
@text = 'INVALID_PRICE_AND_AMOUNT'
|
604
|
+
@description = 'Limit pro uložení zásilky na Výdejním místě je pro Udanou cenu a Dobírku max. 50.000,- Kč. Zásilka bude uložena na poště, která je Výdejnímu místu nadřízená.'
|
605
|
+
@type = :chyba
|
606
|
+
end
|
607
|
+
|
608
|
+
class InfoInvalidPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
609
|
+
@code = 182
|
610
|
+
@text = 'INFO_INVALID_PHONE_NUMBER'
|
611
|
+
@description = 'Neplatný formát telefonního čísla'
|
612
|
+
@type = :info
|
613
|
+
end
|
614
|
+
|
615
|
+
class InfoInvalidEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
616
|
+
@code = 183
|
617
|
+
@text = 'INFO_INVALID_EMAIL'
|
618
|
+
@description = 'Neplatný formát emailu'
|
619
|
+
@type = :info
|
620
|
+
end
|
621
|
+
|
622
|
+
class InvalidPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
623
|
+
@code = 184
|
624
|
+
@text = 'INVALID_PHONE_NUMBER'
|
625
|
+
@description = 'Neplatný formát telefonního čísla'
|
626
|
+
@type = :chyba
|
627
|
+
end
|
628
|
+
|
629
|
+
class InvalidEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
630
|
+
@code = 185
|
631
|
+
@text = 'INVALID_EMAIL'
|
632
|
+
@description = 'Neplatný formát emailu'
|
633
|
+
@type = :chyba
|
634
|
+
end
|
635
|
+
|
636
|
+
class MissingRequiredService4 < CzechPostB2bClient::ResponseCodes::BaseCode
|
637
|
+
@code = 186
|
638
|
+
@text = 'MISSING_REQUIRED_SERVICE 4'
|
639
|
+
@description = 'Musí být vybraná služba "Dobírka Pk A" !'
|
640
|
+
@type = :chyba
|
641
|
+
end
|
642
|
+
|
643
|
+
class ServicesCombinationNotAllowed < CzechPostB2bClient::ResponseCodes::BaseCode
|
644
|
+
@code = 187
|
645
|
+
@text = 'INVALID_PREFIX'
|
646
|
+
@description = 'Nepovolená kombinace doplňkových služeb'
|
647
|
+
@type = :chyba
|
648
|
+
end
|
649
|
+
|
650
|
+
class MissingSenderEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
651
|
+
@code = 188
|
652
|
+
@text = 'MISSING_SENDER_EMAIL'
|
653
|
+
@description = 'Neuveden povinný údaj- email odesílatele'
|
654
|
+
@type = :chyba
|
655
|
+
end
|
656
|
+
|
657
|
+
class MissingRequiredMobileNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
658
|
+
@code = 189
|
659
|
+
@text = 'MISSING_REQUIRED_MOBIL_NUMBER'
|
660
|
+
@description = 'Není uveden povinný údaj - telefonní číslo nebo mobil adresáta'
|
661
|
+
@type = :chyba
|
662
|
+
end
|
663
|
+
|
664
|
+
class InvalidSignNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
665
|
+
@code = 190
|
666
|
+
@text = 'INVALID_SIGN_NUMBER'
|
667
|
+
@description = 'Neuveden počet dokumentů určených k podpisu'
|
668
|
+
@type = :chyba
|
669
|
+
end
|
670
|
+
|
671
|
+
class InvalidUseOfService36 < CzechPostB2bClient::ResponseCodes::BaseCode
|
672
|
+
@code = 191
|
673
|
+
@text = 'INVALID_SERVICE_36'
|
674
|
+
@description = 'Nepovolená kombinace adresy do Balíkomatu a služby 36 (Potvrzení dokumentace při dodání)'
|
675
|
+
@type = :chyba
|
676
|
+
end
|
677
|
+
|
678
|
+
class InvalidUseOfService37 < CzechPostB2bClient::ResponseCodes::BaseCode
|
679
|
+
@code = 192
|
680
|
+
@text = 'INVALID_SERVICE_37'
|
681
|
+
@description = 'Nepovolená kombinace adresy do Balíkomatu a služby 37 (Ověření údajů při dodání)'
|
682
|
+
@type = :chyba
|
683
|
+
end
|
684
|
+
|
685
|
+
class InvalidUseOfService38 < CzechPostB2bClient::ResponseCodes::BaseCode
|
686
|
+
@code = 193
|
687
|
+
@text = 'INVALID_SERVICE_38'
|
688
|
+
@description = 'Nepovolená kombinace adresy do Balíkomatu a služby 38 (Předání inf. z dod.)'
|
689
|
+
@type = :chyba
|
690
|
+
end
|
691
|
+
|
692
|
+
class InvalidAddressAddresseeDocumentForParcelType < CzechPostB2bClient::ResponseCodes::BaseCode
|
693
|
+
@code = 194
|
694
|
+
@text = 'INVALID_ADDRESS_ADDRESSEE_DOCUMENT'
|
695
|
+
@description = 'Zásilku tohoto typu nelze na uvedenou adresu adresáta dokumentů odeslat (obsahuje údaj Na poštu)'
|
696
|
+
@type = :chyba
|
697
|
+
end
|
698
|
+
|
699
|
+
class MissingRequiredAddresseeDocument < CzechPostB2bClient::ResponseCodes::BaseCode
|
700
|
+
@code = 195
|
701
|
+
@text = 'MISSING_REQUIRED_ADDRESSEE_DOCUMENT'
|
702
|
+
@description = 'Adresát dokumentů neuveden'
|
703
|
+
@type = :chyba
|
704
|
+
end
|
705
|
+
|
706
|
+
class MissingRequiredMobileNumberOrEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
707
|
+
@code = 196
|
708
|
+
@text = 'MISSING_REQUIRED_MOBIL_OR_EMAIL'
|
709
|
+
@description = 'Není uveden povinný údaj - mobilní telefonní číslo nebo email adresáta'
|
710
|
+
@type = :chyba
|
711
|
+
end
|
712
|
+
|
713
|
+
class InvalidZPROOrderNumberFormat < CzechPostB2bClient::ResponseCodes::BaseCode
|
714
|
+
@code = 197
|
715
|
+
@text = 'INVALID_ZPRO_ORDER_NUMBER'
|
716
|
+
@description = 'Nesprávný formát čísla objednávky ZPRO'
|
717
|
+
@type = :chyba
|
718
|
+
end
|
719
|
+
|
720
|
+
class InvalidPartnerCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
721
|
+
@code = 198
|
722
|
+
@text = 'INVALID_PARTNER_CODE'
|
723
|
+
@description = 'Váš kód partnera neodpovídá zadanému kódu objednávky'
|
724
|
+
@type = :chyba
|
725
|
+
end
|
726
|
+
|
727
|
+
class NotExistingOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
728
|
+
@code = 199
|
729
|
+
@text = 'INVALID_ORDER_NUMBER'
|
730
|
+
@description = 'Neexistující číslo objednávky'
|
731
|
+
@type = :chyba
|
732
|
+
end
|
733
|
+
|
734
|
+
class CanceledOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
735
|
+
@code = 200
|
736
|
+
@text = 'INVALID_ORDER_NUMBER'
|
737
|
+
@description = 'Objednávka s tímto číslem byla stornována'
|
738
|
+
@type = :chyba
|
739
|
+
end
|
740
|
+
|
741
|
+
class AlreadyAssignedOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
742
|
+
@code = 201
|
743
|
+
@text = 'INVALID_ORDER_NUMBER'
|
744
|
+
@description = 'K číslu objednávky již existuje přiřazená zásilka, číslo objednávky nelze použít'
|
745
|
+
@type = :chyba
|
746
|
+
end
|
747
|
+
|
748
|
+
class InvalidAmount < CzechPostB2bClient::ResponseCodes::BaseCode
|
749
|
+
@code = 202
|
750
|
+
@text = 'INVALID_AMOUNT'
|
751
|
+
@description = 'Dobírková částka je vyšší než celková cena objednávky'
|
752
|
+
@type = :chyba
|
753
|
+
end
|
754
|
+
|
755
|
+
class MissingRequiredZPROOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
756
|
+
@code = 203
|
757
|
+
@text = 'MISSING_REQUIRED_ZPRO_ORDER_NUMBER'
|
758
|
+
@description = 'Neuvedeno číslo objednávky ZPRO'
|
759
|
+
@type = :chyba
|
760
|
+
end
|
761
|
+
|
762
|
+
class VariableSymbolIsNotNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
763
|
+
@code = 204
|
764
|
+
@text = 'INVALID_VS_PARCEL'
|
765
|
+
@description = 'Variabilní symbol není číslo'
|
766
|
+
@type = :chyba
|
767
|
+
end
|
768
|
+
|
769
|
+
class ParcelCodeNotInAssignedRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
770
|
+
@code = 205
|
771
|
+
@text = 'INVALID_PARCEL_CODE'
|
772
|
+
@description = 'Zadané ID zásilky není v rozmezí vaší přidělené číselné řady'
|
773
|
+
@type = :chyba
|
774
|
+
end
|
775
|
+
|
776
|
+
class MissingParcelCustomGoods < CzechPostB2bClient::ResponseCodes::BaseCode
|
777
|
+
@code = 206
|
778
|
+
@text = 'MISSING_PARCEL_CUSTOM_GOODS'
|
779
|
+
@description = 'Neuvedena data celní prohlášky'
|
780
|
+
@type = :chyba
|
781
|
+
end
|
782
|
+
|
783
|
+
class MissingCategoryCustomDecalaration < CzechPostB2bClient::ResponseCodes::BaseCode
|
784
|
+
@code = 207
|
785
|
+
@text = 'MISSING_CATEGORY_CUSTOM_DECALARATION'
|
786
|
+
@description = 'Neuvedena kategorie zásilky'
|
787
|
+
@type = :chyba
|
788
|
+
end
|
789
|
+
|
790
|
+
class MissingCurrencyCustomDeclaration < CzechPostB2bClient::ResponseCodes::BaseCode
|
791
|
+
@code = 208
|
792
|
+
@text = 'MISSING_CURRENCY_CUSTOM_DECALARATION' # or DECLARATION?
|
793
|
+
@description = 'Neuvedena měna celní hodnoty'
|
794
|
+
@type = :chyba
|
795
|
+
end
|
796
|
+
|
797
|
+
class CustomGoodQuantityOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
798
|
+
@code = 209
|
799
|
+
@text = 'INVALID_QUANTITY_CUSTOM_GOOD'
|
800
|
+
@description = 'Množství celního obsahu mimo povolený rozsah'
|
801
|
+
@type = :chyba
|
802
|
+
end
|
803
|
+
|
804
|
+
class MissingQuantityCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
805
|
+
@code = 210
|
806
|
+
@text = 'MISSING_QUANTITY_CUSTOM_GOOD'
|
807
|
+
@description = 'Neuvedeno množství celního obsahu'
|
808
|
+
@type = :chyba
|
809
|
+
end
|
810
|
+
|
811
|
+
class WeightCustomGoodOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
812
|
+
@code = 211
|
813
|
+
@text = 'INVALID_WEIGHT_CUSTOM_GOOD'
|
814
|
+
@description = 'Hmotnost celního obsahu mimo povolený rozsah'
|
815
|
+
@type = :chyba
|
816
|
+
end
|
817
|
+
|
818
|
+
class MissingWeightCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
819
|
+
@code = 212
|
820
|
+
@text = 'MISSING_WEIGHT_CUSTOM_GOOD'
|
821
|
+
@description = 'Neuvedena hmotnost celního obsahu'
|
822
|
+
@type = :chyba
|
823
|
+
end
|
824
|
+
|
825
|
+
class MissingPriceCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
826
|
+
@code = 213
|
827
|
+
@text = 'MISSING_PRICE_CUSTOM_GOOD'
|
828
|
+
@description = 'Neuvedena celní hodnota položky'
|
829
|
+
@type = :chyba
|
830
|
+
end
|
831
|
+
|
832
|
+
class MissingIsoCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
833
|
+
@code = 214
|
834
|
+
@text = 'MISSING_ISO_CUSTOM_GOOD'
|
835
|
+
@description = 'Neuvedena země původu zboží'
|
836
|
+
@type = :chyba
|
837
|
+
end
|
838
|
+
|
839
|
+
class MissingHsCodeCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
840
|
+
@code = 215
|
841
|
+
@text = 'MISSING_HS_CODE_CUSTOM_GOOD'
|
842
|
+
@description = 'Neuveden tarifní kód'
|
843
|
+
@type = :chyba
|
844
|
+
end
|
845
|
+
|
846
|
+
class MissingContentCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
847
|
+
@code = 216
|
848
|
+
@text = 'MISSING_CONTENT_CUSTOM_GOOD'
|
849
|
+
@description = 'Neuveden popis obsahu zboží'
|
850
|
+
@type = :chyba
|
851
|
+
end
|
852
|
+
|
853
|
+
class InvalidPriceCurrencyAccordance < CzechPostB2bClient::ResponseCodes::BaseCode
|
854
|
+
@code = 217
|
855
|
+
@text = 'INVALID_PRICE_CURRENCY'
|
856
|
+
@description = 'Nesouhlasí měna udané ceny'
|
857
|
+
@type = :chyba
|
858
|
+
end
|
859
|
+
|
860
|
+
class InvalidAmountCurrency < CzechPostB2bClient::ResponseCodes::BaseCode
|
861
|
+
@code = 218
|
862
|
+
@text = 'INVALID_AMOUNT_CURRENCY'
|
863
|
+
@description = 'Nesouhlasí měna dobírky'
|
864
|
+
@type = :chyba
|
865
|
+
end
|
866
|
+
|
867
|
+
class MissingAddresseeZipCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
868
|
+
@code = 219
|
869
|
+
@text = 'MISSING_ADDRESSEE_ZIP_CODE'
|
870
|
+
@description = 'PSČ adresáta musí být vyplněno'
|
871
|
+
@type = :chyba
|
872
|
+
end
|
873
|
+
|
874
|
+
class MissingAddresseeCity < CzechPostB2bClient::ResponseCodes::BaseCode
|
875
|
+
@code = 220
|
876
|
+
@text = 'MISSING_ADDRESSEE_CITY'
|
877
|
+
@description = 'Obec adresáta musí být vyplněna'
|
878
|
+
@type = :chyba
|
879
|
+
end
|
880
|
+
|
881
|
+
class InvalidWeightCustomGoodSummary < CzechPostB2bClient::ResponseCodes::BaseCode
|
882
|
+
@code = 221
|
883
|
+
@text = 'INVALID_WEIGHT_CUSTOM_GOOD_SUMMARY'
|
884
|
+
@description = 'Celková hmotnost zboží je vyšší než hmotnost uvedená u zásilky'
|
885
|
+
@type = :chyba
|
886
|
+
end
|
887
|
+
|
888
|
+
class MissingParcelCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
889
|
+
@code = 222
|
890
|
+
@text = 'MISSING_PARCEL_CUSTOM_GOOD'
|
891
|
+
@description = 'Neuvedena zásilka k položkám obsahu zboží'
|
892
|
+
@type = :chyba
|
893
|
+
end
|
894
|
+
|
895
|
+
class WeightIsOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
896
|
+
@code = 223
|
897
|
+
@text = 'INVALID_WEIGHT'
|
898
|
+
@description = 'Váhové rozmezí je mimo povolený rozsah'
|
899
|
+
@type = :chyba
|
900
|
+
end
|
901
|
+
|
902
|
+
class InvalidOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
903
|
+
@code = 224
|
904
|
+
@text = 'INVALID_ORDER_NUMBER'
|
905
|
+
@description = 'Číslo objednávky nelze použít, ještě nedošlo k jejímu odeslání'
|
906
|
+
@type = :chyba
|
907
|
+
end
|
908
|
+
|
909
|
+
class InvalidPrefixAccordance < CzechPostB2bClient::ResponseCodes::BaseCode
|
910
|
+
@code = 225
|
911
|
+
@text = 'INVALID_PREFIX'
|
912
|
+
@description = 'Nesouhlasí typ zásilky s typem produktu dané dávky'
|
913
|
+
@type = :chyba
|
914
|
+
end
|
915
|
+
|
916
|
+
class InvalidContentCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
917
|
+
@code = 226
|
918
|
+
@text = 'INVALID_CONTENT_CUSTOM_GOOD'
|
919
|
+
@description = 'Celní hodnota položky je mimo povolený rozsah'
|
920
|
+
@type = :chyba
|
921
|
+
end
|
922
|
+
|
923
|
+
class InvalidCustomGoodNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
924
|
+
@code = 227
|
925
|
+
@text = 'INVALID_CUSTOM_GOOD_NUMBER'
|
926
|
+
@description = 'Počet položek celního obsahu mimo povolený rozsah'
|
927
|
+
@type = :chyba
|
928
|
+
end
|
929
|
+
|
930
|
+
class MissingRequiredVoucherPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
931
|
+
@code = 228
|
932
|
+
@text = 'MISSING_REQUIRED_VOUCHER_PRICE'
|
933
|
+
@description = 'Neuvedena částka'
|
934
|
+
@type = :chyba
|
935
|
+
end
|
936
|
+
|
937
|
+
class MissingRequiredPayday < CzechPostB2bClient::ResponseCodes::BaseCode
|
938
|
+
@code = 230
|
939
|
+
@text = 'MISSING_REQUIRED_PAYDAY'
|
940
|
+
@description = 'Termín výplaty není uveden'
|
941
|
+
@type = :chyba
|
942
|
+
end
|
943
|
+
|
944
|
+
class InvalidPayday < CzechPostB2bClient::ResponseCodes::BaseCode
|
945
|
+
@code = 231
|
946
|
+
@text = 'INVALID_PAYDAY'
|
947
|
+
@description = 'Termín výplaty je mimo povolené rozmezí 365 dní'
|
948
|
+
@type = :chyba
|
949
|
+
end
|
950
|
+
|
951
|
+
class OverenoVecerniDorucovani < CzechPostB2bClient::ResponseCodes::BaseCode
|
952
|
+
@code = 232
|
953
|
+
@text = 'overenoVecerniDorucovani' # WTF?
|
954
|
+
@description = 'Termín výplaty není platné datum'
|
955
|
+
@type = :chyba
|
956
|
+
end
|
957
|
+
|
958
|
+
class MissingRequiredService3XTrinity < CzechPostB2bClient::ResponseCodes::BaseCode
|
959
|
+
@code = 240
|
960
|
+
@text = 'MISSING_REQUIRED_SERVICE 3/32/33'
|
961
|
+
@description = 'Neuvedena povinná služba 3 ani 32 ani 33'
|
962
|
+
@type = :chyba
|
963
|
+
end
|
964
|
+
|
965
|
+
class MissingRequiredService10 < CzechPostB2bClient::ResponseCodes::BaseCode
|
966
|
+
@code = 241
|
967
|
+
@text = 'MISSING_REQUIRED_SERVICE_10'
|
968
|
+
@description = 'Neuvedena služba 10'
|
969
|
+
@type = :chyba
|
970
|
+
end
|
971
|
+
|
972
|
+
class MissingRequiredService1AB < CzechPostB2bClient::ResponseCodes::BaseCode
|
973
|
+
@code = 242
|
974
|
+
@text = 'MISSING_REQUIRED_SERVICE 1A/1B'
|
975
|
+
@description = 'Neuvedena povinná služba 1A ani 1B'
|
976
|
+
@type = :chyba
|
977
|
+
end
|
978
|
+
|
979
|
+
class MissingHandlingInstructions < CzechPostB2bClient::ResponseCodes::BaseCode
|
980
|
+
@code = 243
|
981
|
+
@text = 'MISSING_REQUIRED_SERVICE'
|
982
|
+
@description = 'Neuvedeny dispozice pro nakládání se zásilkou'
|
983
|
+
@type = :chyba
|
984
|
+
end
|
985
|
+
|
986
|
+
class MissingReturnInstructions < CzechPostB2bClient::ResponseCodes::BaseCode
|
987
|
+
@code = 243
|
988
|
+
@text = 'MISSING_REQUIRED_SERVICE'
|
989
|
+
@description = 'Neuveden způsob vrácení zásilky (ekonom./let.)'
|
990
|
+
@type = :chyba
|
991
|
+
end
|
992
|
+
|
993
|
+
class MissingReturnNumberDays < CzechPostB2bClient::ResponseCodes::BaseCode
|
994
|
+
@code = 245
|
995
|
+
@text = 'MISSING_RETURN_NUMBER_DAYS'
|
996
|
+
@description = 'Neuveden počet dní pro vrácení zásilky'
|
997
|
+
@type = :chyba
|
998
|
+
end
|
999
|
+
|
1000
|
+
class InvalidReturnNumberDays < CzechPostB2bClient::ResponseCodes::BaseCode
|
1001
|
+
@code = 246
|
1002
|
+
@text = 'INVALID_RETURN_NUMBER_DAYS'
|
1003
|
+
@description = 'Počet dní pro vrácení zásilky mimo povolený rozsah'
|
1004
|
+
@type = :chyba
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
class InvalidAddressForBalikovna < CzechPostB2bClient::ResponseCodes::BaseCode
|
1008
|
+
@code = 247
|
1009
|
+
@text = 'INVALID_ADRESS'
|
1010
|
+
@description = 'Nepovolená provozovna pro adresu typu Balíkovna'
|
1011
|
+
@type = :chyba
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
class AddressAllowedForBalikovnaOnly < CzechPostB2bClient::ResponseCodes::BaseCode
|
1015
|
+
@code = 248
|
1016
|
+
@text = 'INVALID_ADRESS'
|
1017
|
+
@description = 'Adresa je vhodná pouze pro produkt balík do Balíkovny'
|
1018
|
+
@type = :chyba
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
class MissingRequiredAddresseeEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
1022
|
+
@code = 250
|
1023
|
+
@text = 'MISSING_REQUIRED_EMAIL'
|
1024
|
+
@description = 'Není uveden povinný údaj - email adresáta'
|
1025
|
+
@type = :chyba
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
class MissingRequiredFirstNameAddresseeDocument < CzechPostB2bClient::ResponseCodes::BaseCode
|
1029
|
+
@code = 252
|
1030
|
+
@text = 'MISSING_REQUIRED_FIRST_NAME_ADDRESSEE_DOCUMENT'
|
1031
|
+
@description = 'Neuvedeno jméno adresáta dokumentů'
|
1032
|
+
@type = :chyba
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
class InfoInexactAddress < CzechPostB2bClient::ResponseCodes::BaseCode
|
1036
|
+
@code = 253
|
1037
|
+
@text = 'INFO_INEXACT_ADDRESS'
|
1038
|
+
@description = 'Nepřesná (nejednoznačná) adresa'
|
1039
|
+
@type = :info
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
class InvalidParcelBarcode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1043
|
+
@code = 254
|
1044
|
+
@text = 'INVALID_PARCEL_CODE'
|
1045
|
+
@description = 'Chybné ID čárového kódu'
|
1046
|
+
@type = :chyba
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# WHAT! AGAIN?
|
1050
|
+
class InvalidParcelBarcodeDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
1051
|
+
@code = 255
|
1052
|
+
@text = 'INVALID_PARCEL_CODE'
|
1053
|
+
@description = 'Chybné ID čárového kódu'
|
1054
|
+
@type = :chyba
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
class DuplicateDuplicateParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1058
|
+
@code = 256
|
1059
|
+
@text = 'DUPLICATE_PARCEL_CODE' # here we go again
|
1060
|
+
@description = 'Duplicitní ID čárového kódu'
|
1061
|
+
@type = :chyba
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
|
1065
|
+
class AddressSuitableForLocalDelivery < CzechPostB2bClient::ResponseCodes::BaseCode
|
1066
|
+
@code = 257
|
1067
|
+
@text = 'INVALID_ADRESS' # no kidding! Like 6 times same text?
|
1068
|
+
@description = 'Adresa je vhodná pouze pro vnitrostátní zásilky'
|
1069
|
+
@type = :chyba
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
class MissingVariableSymbolDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
1073
|
+
@code = 258
|
1074
|
+
@text = 'MISSING_VS'
|
1075
|
+
@description = 'Nevyplněn variabilní symbol'
|
1076
|
+
@type = :chyba
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
class AddresseeCityRequired < CzechPostB2bClient::ResponseCodes::BaseCode
|
1080
|
+
@code = 259
|
1081
|
+
@text = 'MISSING_ADDRESSEE_CITY'
|
1082
|
+
@description = 'Není uveden povinný údaj - město adresáta'
|
1083
|
+
@type = :chyba
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
class MissingAddresseeStreet < CzechPostB2bClient::ResponseCodes::BaseCode
|
1087
|
+
@code = 260
|
1088
|
+
@text = 'MISSING_ADDRESSEE_STREET'
|
1089
|
+
@description = 'Není uveden povinný údaj – ulice adresáta'
|
1090
|
+
@type = :chyba
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class MissingSizeCategory < CzechPostB2bClient::ResponseCodes::BaseCode
|
1094
|
+
@code = 261
|
1095
|
+
@text = 'MISSING_SIZE_CATEGORY'
|
1096
|
+
@description = 'Neuvedena rozměrová kategorie zásilky'
|
1097
|
+
@type = :chyba
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
class PriceOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
1101
|
+
@code = 262
|
1102
|
+
@text = 'INVALID_PRICE'
|
1103
|
+
@description = 'Udaná cena mimo povolený rozsah'
|
1104
|
+
@type = :chyba
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
class InfoSpecialPackagingRequest < CzechPostB2bClient::ResponseCodes::BaseCode
|
1108
|
+
@code = 263
|
1109
|
+
@text = 'INFO_SPECIAL_PACKAGING_REQUEST'
|
1110
|
+
@description = 'Pozor – požadavek na speciální balení zásilky'
|
1111
|
+
@type = :info
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
class PriceTooLow < CzechPostB2bClient::ResponseCodes::BaseCode
|
1115
|
+
@code = 264
|
1116
|
+
@text = 'INVALID_PRICE'
|
1117
|
+
@description = 'Službu Cenný obsah je možné zvolit až od 10 tis. Kč'
|
1118
|
+
@type = :chyba
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
class MissingAddressee < CzechPostB2bClient::ResponseCodes::BaseCode
|
1122
|
+
@code = 300
|
1123
|
+
@text = 'MISSING_ADDRESSEE'
|
1124
|
+
@description = 'Adresát neuveden'
|
1125
|
+
@type = :chyba
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
class InfoCityChanged < CzechPostB2bClient::ResponseCodes::BaseCode
|
1129
|
+
@code = 301
|
1130
|
+
@text = 'INFO_CITY_CHANGED'
|
1131
|
+
@description = 'V adrese byl upraven údaj "obec" dle zadaného psč'
|
1132
|
+
@type = :info
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
class AddressIsNotValidForSubject < CzechPostB2bClient::ResponseCodes::BaseCode
|
1136
|
+
@code = 302
|
1137
|
+
@text = 'MISSING_ADDRESS'
|
1138
|
+
@description = 'Nepovolená kombinace adresy a subjektu'
|
1139
|
+
@type = :chyba
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
class InfoInvalidBirthDay < CzechPostB2bClient::ResponseCodes::BaseCode
|
1143
|
+
@code = 303
|
1144
|
+
@text = 'INFO_INVALID_BIRTH_DAY'
|
1145
|
+
@description = 'Neplatný formát data narození'
|
1146
|
+
@type = :info
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
class InfoInvalidMobilePhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1150
|
+
@code = 304
|
1151
|
+
@text = 'INFO_INVALID_MOBIL_NUMBER'
|
1152
|
+
@description = 'Mobil - neplatné telefonní číslo'
|
1153
|
+
@type = :info
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
class InfoInvalidTelephoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1157
|
+
@code = 305
|
1158
|
+
@text = 'INFO_INVALID_TELEPHONE_NUMBER'
|
1159
|
+
@description = 'Telefon - neplatné telefonní číslo'
|
1160
|
+
@type = :info
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
class InfoInvalidPrefixAccount < CzechPostB2bClient::ResponseCodes::BaseCode
|
1164
|
+
@code = 306
|
1165
|
+
@text = 'INFO_INVALID_PREFIX_ACCOUNT'
|
1166
|
+
@description = 'Předčíslí není číslo'
|
1167
|
+
@type = :info
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
class InfoInvalidAccount < CzechPostB2bClient::ResponseCodes::BaseCode
|
1171
|
+
@code = 307
|
1172
|
+
@text = 'INFO_INVALID_ACCOUNT'
|
1173
|
+
@description = 'Účet není číslo'
|
1174
|
+
@type = :info
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class InfoInvalidBankCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1178
|
+
@code = 308
|
1179
|
+
@text = 'INFO_INVALID_BANK_CODE'
|
1180
|
+
@description = 'Banka není číslo'
|
1181
|
+
@type = :info
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
class InvalidostCodeOrCity < CzechPostB2bClient::ResponseCodes::BaseCode
|
1185
|
+
@code = 309
|
1186
|
+
@text = 'INVALID_ADDRESS'
|
1187
|
+
@description = 'Chybná adresa - neexistující PSČ nebo obec'
|
1188
|
+
@type = :chyba
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
class InvalidTypePrefix < CzechPostB2bClient::ResponseCodes::BaseCode
|
1192
|
+
@code = 310
|
1193
|
+
@text = 'INVALID_PREFIX'
|
1194
|
+
@description = 'Neplatný typ zásilky'
|
1195
|
+
@type = :chyba
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
class InvalidParcelTypeForID < CzechPostB2bClient::ResponseCodes::BaseCode
|
1199
|
+
@code = 311
|
1200
|
+
@text = 'INVALID_PREFIX'
|
1201
|
+
@description = 'Nesouhlasí typ zásilky s ID zásilky'
|
1202
|
+
@type = :chyba
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
class InfoCancelService29 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1206
|
+
@code = 312
|
1207
|
+
@text = 'INFO_CANCEL_SERVICE_29'
|
1208
|
+
@description = 'Zrušena služba 29 - nepovolená služba pro typ adresy poste restante'
|
1209
|
+
@type = :info
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
class InfoInvalidWeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
1213
|
+
@code = 313
|
1214
|
+
@text = 'INFO_INVALID_WEIGHT'
|
1215
|
+
@description = 'Hmotnost není číslo'
|
1216
|
+
@type = :info
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
class InfoInvalidPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
1220
|
+
@code = 314
|
1221
|
+
@text = 'INFO_INVALID_PRICE'
|
1222
|
+
@description = 'Udaná cena není číslo'
|
1223
|
+
@type = :info
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class InfoInvalidCODAmount < CzechPostB2bClient::ResponseCodes::BaseCode
|
1227
|
+
@code = 315
|
1228
|
+
@text = 'INFO_INVALID_AMOUNT'
|
1229
|
+
@description = 'Dobírka není číslo'
|
1230
|
+
@type = :info
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
class InvalidCODCurrencyAccordance < CzechPostB2bClient::ResponseCodes::BaseCode
|
1234
|
+
@code = 316
|
1235
|
+
@text = 'INVALID_AMOUNT_CURRENCY'
|
1236
|
+
@description = 'Nesouhlasí měna dobírkove částky'
|
1237
|
+
@type = :chyba
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class InfoInvalidSpecificSymbol < CzechPostB2bClient::ResponseCodes::BaseCode
|
1241
|
+
@code = 317
|
1242
|
+
@text = 'INFO_INVALID_SPEC_SYMBOL'
|
1243
|
+
@description = 'Specifický symbol není číslo'
|
1244
|
+
@type = :info
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
class InfoCancelService27 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1248
|
+
@code = 318
|
1249
|
+
@text = 'INFO_CANCEL_SERVICE_27'
|
1250
|
+
@description = 'Zrušena služba 27 - nepovolená služba pro adresáta s PSČ Výdejního místa'
|
1251
|
+
@type = :info
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
class InvalidService18 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1255
|
+
@code = 319
|
1256
|
+
@text = 'INVALID_SERVICE_18'
|
1257
|
+
@description = 'Nepovolena kombinace adresy a služby Doručení v Sobotu'
|
1258
|
+
@type = :chyba
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
class InvalidService19 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1262
|
+
@code = 320
|
1263
|
+
@text = 'INVALID_SERVICE_19'
|
1264
|
+
@description = 'Nepovolena kombinace adresy a služby Doručení v Neděli/sv'
|
1265
|
+
@type = :chyba
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
class InfoCancelService30 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1269
|
+
@code = 321
|
1270
|
+
@text = 'INFO_CANCEL_SERVICE_30'
|
1271
|
+
@description = 'Zrušena služba 30 - nepovolená služba u produktu Balík Do ruky nad 30kg'
|
1272
|
+
@type = :info
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
class InfoCancelService31 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1276
|
+
@code = 322
|
1277
|
+
@text = 'INFO_CANCEL_SERVICE_31'
|
1278
|
+
@description = 'Zrušena služba 31 - nepovolená služba u produktu Balík Do ruky nad 30kg'
|
1279
|
+
@type = :info
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
class InfoCancelService47 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1283
|
+
@code = 323
|
1284
|
+
@text = 'INFO_CANCEL_SERVICE_47'
|
1285
|
+
@description = 'Zrušena služba 47 - nepovolená služba u produktu Balík Do ruky do 30kg'
|
1286
|
+
@type = :info
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
class InfoService29And47 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1290
|
+
@code = 324
|
1291
|
+
@text = 'INFO_SERVICE_29+47'
|
1292
|
+
@description = 'Zásilku s výškou nad 150cm nelze podat jako Balík Do ruky se sl.47, ale musí být využit Balík Nadrozměr v kategorii NZ 2'
|
1293
|
+
@type = :info
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
class InfoCancelService34InvalidPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1297
|
+
@code = 325
|
1298
|
+
@text = 'INFO_CANCEL_SERVICE_34'
|
1299
|
+
@description = 'Zrušena služba 34, nesprávný formát telefonního čísla'
|
1300
|
+
@type = :info
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class InfoCancelService45InvalidPhoneNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1304
|
+
@code = 326
|
1305
|
+
@text = 'INFO_CANCEL_SERVICE_45'
|
1306
|
+
@description = 'Zrušena služba 45, nesprávný formát telefonního čísla nebo emailu'
|
1307
|
+
@type = :info
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
class MissingRequiredEmail < CzechPostB2bClient::ResponseCodes::BaseCode
|
1311
|
+
@code = 327
|
1312
|
+
@text = 'MISSING_REQUIRED_EMAIL'
|
1313
|
+
@description = 'Není uveden povinný údaj - email adresáta'
|
1314
|
+
@type = :chyba
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
class InfoCancelService25 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1318
|
+
@code = 328
|
1319
|
+
@text = 'INFO_CANCEL_SERVICE_25'
|
1320
|
+
@description = 'Zrušena služba 25 - neuvedena povinná služba 24 k této službě'
|
1321
|
+
@type = :info
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
class MissingRequiredParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1325
|
+
@code = 329
|
1326
|
+
@text = 'MISSING_REQUIRED_PARCEL_CODE'
|
1327
|
+
@description = 'Neuvedeno ID zásilky'
|
1328
|
+
@type = :chyba
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
class ParcelCodeNotAllowed < CzechPostB2bClient::ResponseCodes::BaseCode
|
1332
|
+
@code = 330
|
1333
|
+
@text = 'INVALID_PARCEL_CODE'
|
1334
|
+
@description = 'Nepovolené ID zásilky'
|
1335
|
+
@type = :chyba
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
class MissingPalettsNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1339
|
+
@code = 331
|
1340
|
+
@text = 'MISSING_PALETTS_NUMBER'
|
1341
|
+
@description = 'Neuveden počet palet'
|
1342
|
+
@type = :chyba
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
class InfoCancelPalettsNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1346
|
+
@code = 332
|
1347
|
+
@text = 'INFO_CANCEL_PALETTS_NUMBER'
|
1348
|
+
@description = 'Počet palet není celé číslo'
|
1349
|
+
@type = :info
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
class InfoCancelWidth < CzechPostB2bClient::ResponseCodes::BaseCode
|
1353
|
+
@code = 333
|
1354
|
+
@text = 'INFO_CANCEL_WIDTH'
|
1355
|
+
@description = 'Šířka není celé číslo'
|
1356
|
+
@type = :info
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
class InfoCancelHeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
1360
|
+
@code = 334
|
1361
|
+
@text = 'INFO_CANCEL_HEIGHT'
|
1362
|
+
@description = 'Výška není celé číslo'
|
1363
|
+
@type = :info
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
class InfoCancelLength < CzechPostB2bClient::ResponseCodes::BaseCode
|
1367
|
+
@code = 335
|
1368
|
+
@text = 'INFO_CANCEL_LENGTH'
|
1369
|
+
@description = 'Délka není celé číslo'
|
1370
|
+
@type = :info
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
class MissingRequiredPrice < CzechPostB2bClient::ResponseCodes::BaseCode
|
1374
|
+
@code = 336
|
1375
|
+
@text = 'MISSING_REQUIRED_PRICE'
|
1376
|
+
@description = 'Neuvedena částka udané ceny'
|
1377
|
+
@type = :chyba
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
class InvalidAmountType < CzechPostB2bClient::ResponseCodes::BaseCode
|
1381
|
+
@code = 337
|
1382
|
+
@text = 'INVALID_AMOUNT_TYPE'
|
1383
|
+
@description = 'Neuveden typ dobírky'
|
1384
|
+
@type = :chyba
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
class InfoCancelVSVoucher < CzechPostB2bClient::ResponseCodes::BaseCode
|
1388
|
+
@code = 338
|
1389
|
+
@text = 'INFO_CANCEL_VS_VOUCHER'
|
1390
|
+
@description = 'Variabilní symbol poukázky není číslo'
|
1391
|
+
@type = :info
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
class InvalidServiceCombination < CzechPostB2bClient::ResponseCodes::BaseCode
|
1395
|
+
@code = 339
|
1396
|
+
@text = 'INVALID_SERVICE_COMBINATION'
|
1397
|
+
@description = 'Nepovolená kombinace doplňkových služeb službyZak'
|
1398
|
+
@type = :chyba
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
class InvalidMRNCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1402
|
+
@code = 340
|
1403
|
+
@text = 'INVALID_MRN_CODE'
|
1404
|
+
@description = 'neplatný kód MRN'
|
1405
|
+
@type = :chyba
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
class InfoCancelService34 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1409
|
+
@code = 341
|
1410
|
+
@text = 'INFO_CANCEL_SERVICE_34'
|
1411
|
+
@description = 'Zrušena služba 34, nesprávný formát telefonního čísla'
|
1412
|
+
@type = :info
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
class InfoCancelService46 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1416
|
+
@code = 342
|
1417
|
+
@text = 'INFO_CANCEL_SERVICE_46'
|
1418
|
+
@description = 'Zrušena služba 46, nesprávný formát emailu'
|
1419
|
+
@type = :info
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
class InfoCancelService45 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1423
|
+
@code = 343
|
1424
|
+
@text = 'INFO_CANCEL_SERVICE_45'
|
1425
|
+
@description = 'Zrušena služba 45, nesprávný formát telefonního čísla nebo emailu'
|
1426
|
+
@type = :info
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
class MissingRequiredAddresseeDocumentDuplicate < CzechPostB2bClient::ResponseCodes::BaseCode
|
1430
|
+
@code = 344
|
1431
|
+
@text = 'MISSING_REQUIRED_ADDRESSEE_DOCUMENT'
|
1432
|
+
@description = 'Adresát dokumentů neuveden'
|
1433
|
+
@type = :chyba
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class InvalidAddressAddresseeDocumentWrongCity < CzechPostB2bClient::ResponseCodes::BaseCode
|
1437
|
+
@code = 345
|
1438
|
+
@text = 'INVALID_ADDRESS_ADDRESSEE_DOCUMENT'
|
1439
|
+
@description = 'Chybná adresa adresáta dokumentů - neexistující PSČ nebo obec'
|
1440
|
+
@type = :chyba
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
class InvalidAddressAddresseeDocumentObjectNotFound < CzechPostB2bClient::ResponseCodes::BaseCode
|
1444
|
+
@code = 346
|
1445
|
+
@text = 'INVALID_ADDRESS_ADDRESSEE_DOCUMENT'
|
1446
|
+
@description = 'Nepřesná adresa adresáta dokumentů - nenalezen objekt'
|
1447
|
+
@type = :chyba
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
class InfoCancelMobilePhoneOrEmailAddresseeDocument < CzechPostB2bClient::ResponseCodes::BaseCode
|
1451
|
+
@code = 347
|
1452
|
+
@text = 'INF0_CANCEL_MOBIL_OR_EMAIL_ADDRESSEE_DOCUMENT' # really `inf0` ?
|
1453
|
+
@description = 'Mobil - neplatné telefonní číslo nebo email ardesáta dokumentů'
|
1454
|
+
@type = :info
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
class InfoCancelCustCardNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1458
|
+
@code = 348
|
1459
|
+
@text = 'INFO_CANCEL_CUST_CARD_NUMBER'
|
1460
|
+
@description = 'Nesprávný formát zákaznické karty'
|
1461
|
+
@type = :info
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
class InfoCancelCustCardNumberAddresseeDocument < CzechPostB2bClient::ResponseCodes::BaseCode
|
1465
|
+
@code = 349
|
1466
|
+
@text = 'INFO_CANCEL_CUST_CARD_NUMBER_ADDRESSEE_DOCUMENT'
|
1467
|
+
@description = 'Nesprávný formát zákaznické karty ardesáta dokumentů'
|
1468
|
+
@type = :info
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
class InvalidZPROOrderNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1472
|
+
@code = 350
|
1473
|
+
@text = 'INVALID_ZPRO_ORDER_NUMBER'
|
1474
|
+
@description = 'Nesprávný formát čísla objednávky ZPRO'
|
1475
|
+
@type = :chyba
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
class InfoAddRequiredService75 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1479
|
+
@code = 351
|
1480
|
+
@text = 'INFO_ADD_REQUIRED_SERVICE_75'
|
1481
|
+
@description = 'Doplněna povinná služba 75 k číslu objednávky ZPRO'
|
1482
|
+
@type = :info
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
class InvalidPriceCurrency < CzechPostB2bClient::ResponseCodes::BaseCode
|
1486
|
+
@code = 352
|
1487
|
+
@text = 'INVALID_PRICE_CURRENCY'
|
1488
|
+
@description = 'Nesouhlasí měna udané ceny'
|
1489
|
+
@type = :chyba
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
class InvalidCategoryCustomDecalaration < CzechPostB2bClient::ResponseCodes::BaseCode
|
1493
|
+
@code = 353
|
1494
|
+
@text = 'INVALID_CATEGORY_CUSTOM_DECALARATION'
|
1495
|
+
@description = 'Nesprávný formát kategorie zásilky'
|
1496
|
+
@type = :chyba
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
class InvalidCurrencyCustomDecalaration < CzechPostB2bClient::ResponseCodes::BaseCode
|
1500
|
+
@code = 354
|
1501
|
+
@text = 'INVALID_CURRENCY_CUSTOM_DECALARATION'
|
1502
|
+
@description = 'Nesprávný formát měny celní hodnoty'
|
1503
|
+
@type = :chyba
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
class InvalidQuantityCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
1507
|
+
@code = 355
|
1508
|
+
@text = 'INVALID_QUANTITY_CUSTOM_GOOD'
|
1509
|
+
@description = 'Nesprávný formát množství celního obsahu'
|
1510
|
+
@type = :chyba
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
class InvalidWeightCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
1514
|
+
@code = 356
|
1515
|
+
@text = 'INVALID_WEIGHT_CUSTOM_GOOD'
|
1516
|
+
@description = 'Nesprávný formát hmotnosti celního obsahu'
|
1517
|
+
@type = :chyba
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
class InvalidPriceCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
1521
|
+
@code = 357
|
1522
|
+
@text = 'INVALID_PRICE_CUSTOM_GOOD'
|
1523
|
+
@description = 'Nesprávný formát celní hodnota položky'
|
1524
|
+
@type = :chyba
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
class InvalidIsoCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
1528
|
+
@code = 358
|
1529
|
+
@text = 'INVALID_ISO_CUSTOM_GOOD'
|
1530
|
+
@description = 'Neexistující země původu zboží'
|
1531
|
+
@type = :chyba
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
class InvalidIsoCustomGoodFormat < CzechPostB2bClient::ResponseCodes::BaseCode
|
1535
|
+
@code = 359
|
1536
|
+
@text = 'INVALID_ISO_CUSTOM_GOOD'
|
1537
|
+
@description = 'Nesprávný formát země původu zboží'
|
1538
|
+
@type = :chyba
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
class InvalidHsCodeCustomGood < CzechPostB2bClient::ResponseCodes::BaseCode
|
1542
|
+
@code = 360
|
1543
|
+
@text = 'INVALID_HS_CODE_CUSTOM_GOOD'
|
1544
|
+
@description = 'Nesprávný formát tarifního kódu'
|
1545
|
+
@type = :chyba
|
1546
|
+
end
|
1547
|
+
|
1548
|
+
class MissingRequiredService4x < CzechPostB2bClient::ResponseCodes::BaseCode
|
1549
|
+
@code = 361
|
1550
|
+
@text = 'MISSING_REQUIRED_SERVICE_43/44'
|
1551
|
+
@description = 'Neuvedena povinná služba č. 43 nebo č. 44 k datům celní prohlášky'
|
1552
|
+
@type = :chyba
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
class InfoPriceIsNotNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1556
|
+
@code = 362
|
1557
|
+
@text = 'INFO_CANCEL_PRICE'
|
1558
|
+
@description = 'Částka není číslo'
|
1559
|
+
@type = :info
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
class InfoPriceIsTooBig < CzechPostB2bClient::ResponseCodes::BaseCode
|
1563
|
+
@code = 363
|
1564
|
+
@text = 'INFO_CANCEL_PRICE'
|
1565
|
+
@description = 'Příliš velká částka'
|
1566
|
+
@type = :info
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
class InfoCancelPersonalIdentificationNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1570
|
+
@code = 364
|
1571
|
+
@text = 'INFO_CANCEL_PERSONAL_IDENTIFICATION_NUMBER'
|
1572
|
+
@description = 'Neplatný formát rodného čísla'
|
1573
|
+
@type = :info
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
class InvalidAddressee < CzechPostB2bClient::ResponseCodes::BaseCode
|
1577
|
+
@code = 365
|
1578
|
+
@text = 'INVALID_ADDRESSEE'
|
1579
|
+
@description = 'Chybný adresát'
|
1580
|
+
@type = :chyba
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
class ResponsibleConsignmentNumberOutOfRange < CzechPostB2bClient::ResponseCodes::BaseCode
|
1584
|
+
@code = 366
|
1585
|
+
@text = 'INVALID_RESPONSIBLE_CONSIGNMENT_NUMBER'
|
1586
|
+
@description = 'Hodnota "počet odpovědních zásilek" je mimo povolený rozsah'
|
1587
|
+
@type = :chyba
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
class InvalidResponsibleConsignmentNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1591
|
+
@code = 367
|
1592
|
+
@text = 'INVALID_RESPONSIBLE_CONSIGNMENT_NUMBER'
|
1593
|
+
@description = 'Nesprávný formát počtu odpovědních zásilek'
|
1594
|
+
@type = :chyba
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
class ResponsibleConsignmentNumberCannotBeImported < CzechPostB2bClient::ResponseCodes::BaseCode
|
1598
|
+
@code = 368
|
1599
|
+
@text = 'INVALID_RESPONSIBLE_CONSIGNMENT_NUMBER'
|
1600
|
+
@description = 'Počet odpovědních zásilek při vyplnění ID zásilky nelze importovat'
|
1601
|
+
@type = :chyba
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
class InfoCancelService1ABForService40 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1605
|
+
@code = 369
|
1606
|
+
@text = 'INFO_CANCEL_SERVICE_1A/1B'
|
1607
|
+
@description = 'Zrušena služba 1A/1B - nepovolená ke službě 40'
|
1608
|
+
@type = :info
|
1609
|
+
end
|
1610
|
+
|
1611
|
+
class InfoCancelService1AForService40 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1612
|
+
@code = 370
|
1613
|
+
@text = 'INFO_CANCEL_SERVICE_1A'
|
1614
|
+
@description = 'Zrušena služba 1A – nepovolená ke službě 40'
|
1615
|
+
@type = :info
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
class InfoCancelService1BForPostCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1619
|
+
@code = 371
|
1620
|
+
@text = 'INFO_CANCEL_SERVICE_1B'
|
1621
|
+
@description = 'Zrušena služba 1B – nepovolena k PSČ adresáta'
|
1622
|
+
@type = :info
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
class InvalidTareWeight < CzechPostB2bClient::ResponseCodes::BaseCode
|
1626
|
+
@code = 372
|
1627
|
+
@text = 'INVALID_TARE_WEIGHT'
|
1628
|
+
@description = 'Hmotnost obalu je mimo povolený rozsah'
|
1629
|
+
@type = :chyba
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
class InvalidNumberClosure < CzechPostB2bClient::ResponseCodes::BaseCode
|
1633
|
+
@code = 373
|
1634
|
+
@text = 'INVALID_NUMBER_CLOSURE'
|
1635
|
+
@description = 'Duplicitní číslo uzávěru'
|
1636
|
+
@type = :chyba
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
class DuplicitParcelCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1640
|
+
@code = 374
|
1641
|
+
@text = 'INVALID_PARCEL_CODE'
|
1642
|
+
@description = 'Duplicitní ID zásilky v rámci souboru'
|
1643
|
+
@type = :chyba
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
class InvalidTiming < CzechPostB2bClient::ResponseCodes::BaseCode
|
1647
|
+
@code = 375
|
1648
|
+
@text = 'INVALID_TIMING'
|
1649
|
+
@description = 'Nesprávný předstih podání'
|
1650
|
+
@type = :chyba
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
class InfoCancelService1AB < CzechPostB2bClient::ResponseCodes::BaseCode
|
1654
|
+
@code = 376
|
1655
|
+
@text = 'INFO_CANCEL_SERVICE_1A+1B'
|
1656
|
+
@description = 'Zrušena služba 1A a 1B - nepovolená kombinace doplňkových služeb'
|
1657
|
+
@type = :info
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
class InfoCancelService1B < CzechPostB2bClient::ResponseCodes::BaseCode
|
1661
|
+
@code = 377
|
1662
|
+
@text = 'INFO_CANCEL_SERVICE_1B'
|
1663
|
+
@description = 'Zrušena služba 1B'
|
1664
|
+
@type = :info
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
class InvalidPrefixCombination < CzechPostB2bClient::ResponseCodes::BaseCode
|
1668
|
+
@code = 378
|
1669
|
+
@text = 'INVALID_PREFIX_COMBINATION'
|
1670
|
+
@description = 'Zásilka je chybně přiřazena k id tiskové šablony'
|
1671
|
+
@type = :chyba
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
class ParcelDoesNotMeetTheRequirementsForm < CzechPostB2bClient::ResponseCodes::BaseCode
|
1675
|
+
@code = 379
|
1676
|
+
@text = 'PARCEL_DOES_NOT_MEET_THE_REQUIREMENTS_FORM'
|
1677
|
+
@description = 'Parametry zásilky nesplňují podmínky požadovaného formuláře'
|
1678
|
+
@type = :chyba
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
class NoContractServiceReturnReceipt < CzechPostB2bClient::ResponseCodes::BaseCode
|
1682
|
+
@code = 380
|
1683
|
+
@text = 'NO_CONTRACT_SERVICE_RETURN_RECEIPT'
|
1684
|
+
@description = 'K formuláři není sjednána smlouva ke službě Dodejka'
|
1685
|
+
@type = :chyba
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
class InfoCancelService1BAddService1A < CzechPostB2bClient::ResponseCodes::BaseCode
|
1689
|
+
@code = 381
|
1690
|
+
@text = 'INFO_CANCEL_SERVICE_1B_ADD_SERVICE_1A'
|
1691
|
+
@description = 'Služba 1B není povolena k PSČ adresáta, nahrazena službou 1A'
|
1692
|
+
@type = :info
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
class InfoCancelService1AForPostCode < CzechPostB2bClient::ResponseCodes::BaseCode
|
1696
|
+
@code = 382
|
1697
|
+
@text = 'INFO_CANCEL_SERVICE_1A'
|
1698
|
+
@description = 'Zrušena služba 1A – nepovolena k PSČ adresáta'
|
1699
|
+
@type = :info
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
class InvalidCustomerCardNumber < CzechPostB2bClient::ResponseCodes::BaseCode
|
1703
|
+
@code = 383
|
1704
|
+
@text = 'INVALID_CUSTOMER_CARD_NUMBER'
|
1705
|
+
@description = 'Chybné číslo zákaznické karty'
|
1706
|
+
@type = :chyba
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
class BadFormatReturnNumberDays < CzechPostB2bClient::ResponseCodes::BaseCode
|
1710
|
+
@code = 384
|
1711
|
+
@text = 'BAD_FORMAT_RETURN_NUMBER_DAYS'
|
1712
|
+
@description = 'Neplatný formát počtu dní pro vrácení zásilky'
|
1713
|
+
@type = :chyba
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
class InfoAddService1B < CzechPostB2bClient::ResponseCodes::BaseCode
|
1717
|
+
@code = 385
|
1718
|
+
@text = 'INFO_ADD_SERVICE_1B'
|
1719
|
+
@description = 'Přiřazena služba 1B Doruč. 13-19 hod'
|
1720
|
+
@type = :info
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
class InfoAddService1A < CzechPostB2bClient::ResponseCodes::BaseCode
|
1724
|
+
@code = 386
|
1725
|
+
@text = 'INFO_ADD_SERVICE_1A'
|
1726
|
+
@description = 'Přiřazena služba 1A Doruč. 8-14 hod'
|
1727
|
+
@type = :info
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
class InfoCancelService1AWith1B < CzechPostB2bClient::ResponseCodes::BaseCode
|
1731
|
+
@code = 387
|
1732
|
+
@text = 'INFO_CANCEL_SERVICE_1A'
|
1733
|
+
@description = 'Zrušena služba 1A Doruč. 8-14 hod - nepovolena se službou 1B'
|
1734
|
+
@type = :info
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class InfoCancelService1BWith1A < CzechPostB2bClient::ResponseCodes::BaseCode
|
1738
|
+
@code = 388
|
1739
|
+
@text = 'INFO_CANCEL_SERVICE_1B'
|
1740
|
+
@description = 'Zrušena služba 1B Doruč. 13-19 hod - nepovolena se službou 1A'
|
1741
|
+
@type = :info
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
class InfoCancelService1V < CzechPostB2bClient::ResponseCodes::BaseCode
|
1745
|
+
@code = 389
|
1746
|
+
@text = 'INFO_CANCEL_SERVICE_1V'
|
1747
|
+
@description = 'Zrušena nepovolená služba 1V - Vrácení zboží'
|
1748
|
+
@type = :info
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
class InfoAddresseeToLong < CzechPostB2bClient::ResponseCodes::BaseCode
|
1752
|
+
@code = 390
|
1753
|
+
@text = 'INFO_ADDRESSEE_TO_LONG'
|
1754
|
+
@description = 'Adresát mimo rozsah 40 znaků pro přenos ke zpracování Pk B'
|
1755
|
+
@type = :info
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
class InfoMissingPartCityServiceDeliveryOnSundayOrHolidayMayNotBeRealized < CzechPostB2bClient::ResponseCodes::BaseCode
|
1759
|
+
@code = 391
|
1760
|
+
@text = 'INFO_MISSING_PART_CITY_SERVICE_DELIVERY_ON_SUNDAY/HOLIDAY_MAY_NOT_BE_REALIZED'
|
1761
|
+
@description = 'Neuvedena část obce - sl. Gar. čas dodání v Ne/Sv nemusí být realizována'
|
1762
|
+
@type = :info
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
class NfoCancelService9 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1766
|
+
@code = 392
|
1767
|
+
@text = 'NFO_CANCEL_SERVICE_9'
|
1768
|
+
@description = 'Zrušena nepovolená služba 9 Prioritně'
|
1769
|
+
@type = :info
|
1770
|
+
end
|
1771
|
+
|
1772
|
+
class InfoAddService9 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1773
|
+
@code = 393
|
1774
|
+
@text = 'INFO_ADD_SERVICE_9'
|
1775
|
+
@description = 'Přiřazena služba 9 Prioritně'
|
1776
|
+
@type = :info
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
class InfoCancelService1E < CzechPostB2bClient::ResponseCodes::BaseCode
|
1780
|
+
@code = 394
|
1781
|
+
@text = 'INFO_CANCEL_SERVICE_1E'
|
1782
|
+
@description = 'Zrušena služba 1E - neuveden kontaktní údaj adresáta'
|
1783
|
+
@type = :info
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
class InfoCancelService5B < CzechPostB2bClient::ResponseCodes::BaseCode
|
1787
|
+
@code = 395
|
1788
|
+
@text = 'INFO_CANCEL_SERVICE_5B'
|
1789
|
+
@description = 'Zrušena služba 5B - neuveden kontaktní údaj adresáta'
|
1790
|
+
@type = :info
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
class InfoCancelService5C < CzechPostB2bClient::ResponseCodes::BaseCode
|
1794
|
+
@code = 396
|
1795
|
+
@text = 'INFO_CANCEL_SERVICE_5C'
|
1796
|
+
@description = 'Zrušena služba 5C - neuveden kontaktní údaj adresáta'
|
1797
|
+
@type = :info
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
class InfoCancelService5D < CzechPostB2bClient::ResponseCodes::BaseCode
|
1801
|
+
@code = 397
|
1802
|
+
@text = 'INFO_CANCEL_SERVICE_5D'
|
1803
|
+
@description = 'Zrušena služba 5D - neuveden kontaktní údaj adresáta'
|
1804
|
+
@type = :info
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
class InfoCancelService5BAnd5C < CzechPostB2bClient::ResponseCodes::BaseCode
|
1808
|
+
@code = 398
|
1809
|
+
@text = 'INFO_CANCEL_SERVICE_5B_AND_5C'
|
1810
|
+
@description = 'Zrušena služba 5B a 5C --nepovolená kombinace doplňkových služeb'
|
1811
|
+
@type = :info
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
class InfoCancelService5BAnd5D < CzechPostB2bClient::ResponseCodes::BaseCode
|
1815
|
+
@code = 399
|
1816
|
+
@text = 'INFO_CANCEL_SERVICE_5B_AND_5D'
|
1817
|
+
@description = 'Zrušena služba 5B a 5D - nepovolená kombinace doplňkových služeb'
|
1818
|
+
@type = :info
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
class InfoCancelService5CAnd5D < CzechPostB2bClient::ResponseCodes::BaseCode
|
1822
|
+
@code = 400
|
1823
|
+
@text = 'INFO_CANCEL_SERVICE_5C_AND_5D'
|
1824
|
+
@description = 'Zrušena služba 5C a 5D - nepovolená kombinace doplňkových služeb'
|
1825
|
+
@type = :info
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
class InfoInvalidCategoryCustomDecalaration < CzechPostB2bClient::ResponseCodes::BaseCode
|
1829
|
+
@code = 401
|
1830
|
+
@text = 'INFO_INVALID_CATEGORY_CUSTOM_DECALARATION'
|
1831
|
+
@description = 'Uvedena nepovolená kategorie zásilky - nahrazena kategorií Dokumenty'
|
1832
|
+
@type = :info
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
class InvalidSubisoCountry < CzechPostB2bClient::ResponseCodes::BaseCode
|
1836
|
+
@code = 402
|
1837
|
+
@text = 'INVALID_SUBISO_COUNTRY'
|
1838
|
+
@description = 'Neexistující nebo nesprávný členský stát'
|
1839
|
+
@type = :chyba
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
class NoContractService41 < CzechPostB2bClient::ResponseCodes::BaseCode
|
1843
|
+
@code = 403
|
1844
|
+
@text = 'NO_CONTRACT_SERVICE_41'
|
1845
|
+
@description = 'Pro tech. číslo a produkt nesjednána služba Bezdokladová dobírka'
|
1846
|
+
@type = :chyba
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
class InvalidServicesForDimensions < CzechPostB2bClient::ResponseCodes::BaseCode
|
1850
|
+
@code = 404
|
1851
|
+
@text = 'INVALID_PREFIX'
|
1852
|
+
@description = 'Nepovolená kombinace doplňkových služeb – rozměr zásilky'
|
1853
|
+
@type = :chyba
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
class InvalidPrefixForDimensionsAndFragile < CzechPostB2bClient::ResponseCodes::BaseCode
|
1857
|
+
@code = 405
|
1858
|
+
@text = 'INVALID_PREFIX'
|
1859
|
+
@description = 'Nepovolená kombinace doplňkových služeb – rozměr zásilky a sl.11 (Křehce)'
|
1860
|
+
@type = :chyba
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
class InfoAddService1D < CzechPostB2bClient::ResponseCodes::BaseCode
|
1864
|
+
@code = 406
|
1865
|
+
@text = 'INFO_ADD_SERVICE_1D'
|
1866
|
+
@description = 'Přiřazena služba 1D – cenný obsah'
|
1867
|
+
@type = :info
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
class InfoCancelService1D < CzechPostB2bClient::ResponseCodes::BaseCode
|
1871
|
+
@code = 407
|
1872
|
+
@text = 'INFO_CANCEL_SERVICE_1D'
|
1873
|
+
@description = 'Zrušena služba 1D'
|
1874
|
+
@type = :info
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
class InfoAddressWasModified < CzechPostB2bClient::ResponseCodes::BaseCode
|
1878
|
+
@code = 408
|
1879
|
+
@text = 'INFO_ADDRESS_WAS_MODIFIED'
|
1880
|
+
@description = 'Adresa není přesná, byla upravena'
|
1881
|
+
@type = :info
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
def all_code_classes
|
1885
|
+
ObjectSpace.each_object(CzechPostB2bClient::ResponseCodes::BaseCode.singleton_class)
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
module_function :all_code_classes
|
1889
|
+
|
1890
|
+
def new_by_code(code)
|
1891
|
+
klass = all_code_classes.detect { |k| k.code == code }
|
1892
|
+
raise "ResponseCode with code: #{code} is unknown!" unless klass
|
1893
|
+
|
1894
|
+
klass.new
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
module_function :new_by_code
|
1898
|
+
end
|
1899
|
+
end
|
1900
|
+
|