From bedd33e02cb78ecab483e17b158e06b7c1e863c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=9D=2E=20=D0=9D=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=BB=D0=B0=D0=B5=D0=B2?= Date: Thu, 19 Sep 2024 13:05:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D1=8B=D0=B4=D0=B0=D1=87=D0=B0=20=D0=BE?= =?UTF-8?q?=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=B0=20`card`=20=D1=81=20=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=BD=D1=8B=D0=BC=D0=B8=20=D0=BA=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D1=8B=20=D0=B2=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BC?= =?UTF-8?q?=D0=B5=D1=82=D0=BE=D0=B4=D0=B0=20=D0=BE=D0=BF=D0=BB=D0=B0=D1=82?= =?UTF-8?q?=D1=8B=20tinkoff=5Fbank=20`PaymentMethodTinkoffBank.=20=D0=98?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=82=D0=B5?= =?UTF-8?q?=D0=BA=D1=81=D1=82=D0=BE=D0=B2=20=D0=B2=20`AuthorizationDetails?= =?UTF-8?q?`=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20`rejected=5F?= =?UTF-8?q?by=5Ftimeout`=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D1=80=D0=B0=20`reason`=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20=D0=BE=20=D0=B1=D0=B0=D0=BD=D0=BA=D0=B5=20?= =?UTF-8?q?=D0=BF=D0=BB=D0=B0=D1=82=D0=B5=D0=BB=D1=8C=D1=89=D0=B8=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=BE=D0=BF=D0=BB=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20=D0=A1=D0=91=D0=9F=20?= =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D0=BE=D0=B1?= =?UTF-8?q?=D1=8A=D0=B5=D0=BA=D1=82=20`receiver`=20=D1=81=20=D1=80=D0=B5?= =?UTF-8?q?=D0=BA=D0=B2=D0=B8=D0=B7=D0=B8=D1=82=D0=B0=D0=BC=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D1=83=D1=87=D0=B0=D1=82=D0=B5=D0=BB=D1=8F.=20`frau?= =?UTF-8?q?d=5Fdata`=20=D1=81=D1=82=D0=B0=D0=BB=20`deprecated`.=20=D0=92?= =?UTF-8?q?=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=BD=D0=B5=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BD=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20`receiver`=20?= =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=BE=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=B5=D1=82=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20Tinkoff.=20=D0=BD=D0=B0=20T-Pay=20=D0=94=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D0=BD=D0=BE=D0=B2=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20=D0=BE=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D1=82=D1=8B=20=D0=BF=D0=BE=20=D1=8D=D0=BB=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=BD=D0=BD=D0=BE=D0=BC=D1=83=20=D1=81=D0=B5?= =?UTF-8?q?=D1=80=D1=82=D0=B8=D1=84=D0=B8=D0=BA=D0=B0=D1=82=D1=83=20=D0=98?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D1=8B=20=D1=82=D0=B5=D0=BA?= =?UTF-8?q?=D1=81=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20mark=5Fcode=5Finfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 10 + composer.json | 6 +- .../YooKassa-Client-ApiClientInterface.md | 4 +- docs/classes/YooKassa-Client-BaseClient.md | 4 +- docs/classes/YooKassa-Client-CurlClient.md | 4 +- docs/classes/YooKassa-Client-UserAgent.md | 4 +- docs/classes/YooKassa-Client.md | 6 +- docs/classes/YooKassa-Common-AbstractEnum.md | 4 +- .../classes/YooKassa-Common-AbstractObject.md | 4 +- .../YooKassa-Common-AbstractRequest.md | 4 +- .../YooKassa-Common-AbstractRequestBuilder.md | 4 +- ...ooKassa-Common-AbstractRequestInterface.md | 4 +- ...ommon-Exceptions-ApiConnectionException.md | 4 +- ...YooKassa-Common-Exceptions-ApiException.md | 4 +- ...sa-Common-Exceptions-AuthorizeException.md | 4 +- ...ommon-Exceptions-BadApiRequestException.md | 4 +- ...-Exceptions-EmptyPropertyValueException.md | 4 +- ...n-Exceptions-ExtensionNotFoundException.md | 4 +- ...sa-Common-Exceptions-ForbiddenException.md | 4 +- ...a-Common-Exceptions-InternalServerError.md | 4 +- ...mon-Exceptions-InvalidPropertyException.md | 4 +- ...xceptions-InvalidPropertyValueException.md | 4 +- ...tions-InvalidPropertyValueTypeException.md | 4 +- ...mmon-Exceptions-InvalidRequestException.md | 4 +- ...ooKassa-Common-Exceptions-JsonException.md | 4 +- ...ssa-Common-Exceptions-NotFoundException.md | 4 +- ...-Exceptions-ResponseProcessingException.md | 4 +- ...mon-Exceptions-TooManyRequestsException.md | 4 +- ...Common-Exceptions-UnauthorizedException.md | 4 +- docs/classes/YooKassa-Common-HttpVerb.md | 4 +- docs/classes/YooKassa-Common-ListObject.md | 4 +- .../YooKassa-Common-ListObjectInterface.md | 4 +- docs/classes/YooKassa-Common-LoggerWrapper.md | 4 +- .../classes/YooKassa-Common-ResponseObject.md | 4 +- ...assa-Helpers-Config-ConfigurationLoader.md | 4 +- ...ers-Config-ConfigurationLoaderInterface.md | 4 +- docs/classes/YooKassa-Helpers-ProductCode.md | 4 +- docs/classes/YooKassa-Helpers-Random.md | 4 +- .../YooKassa-Helpers-RawHeadersParser.md | 4 +- .../YooKassa-Helpers-SecurityHelper.md | 4 +- docs/classes/YooKassa-Helpers-StringObject.md | 4 +- docs/classes/YooKassa-Helpers-TypeCast.md | 4 +- docs/classes/YooKassa-Helpers-UUID.md | 4 +- .../classes/YooKassa-Model-AmountInterface.md | 4 +- ...assa-Model-CancellationDetailsInterface.md | 4 +- docs/classes/YooKassa-Model-CurrencyCode.md | 4 +- .../YooKassa-Model-Deal-AbstractBaseDeal.md | 4 +- .../YooKassa-Model-Deal-CaptureDealData.md | 4 +- .../YooKassa-Model-Deal-DealBalanceAmount.md | 4 +- .../YooKassa-Model-Deal-DealInterface.md | 4 +- .../classes/YooKassa-Model-Deal-DealStatus.md | 4 +- docs/classes/YooKassa-Model-Deal-DealType.md | 4 +- docs/classes/YooKassa-Model-Deal-FeeMoment.md | 4 +- .../YooKassa-Model-Deal-PaymentDealInfo.md | 4 +- .../YooKassa-Model-Deal-PayoutDealInfo.md | 4 +- .../YooKassa-Model-Deal-RefundDealData.md | 4 +- .../YooKassa-Model-Deal-RefundDealInfo.md | 4 +- docs/classes/YooKassa-Model-Deal-SafeDeal.md | 4 +- ...assa-Model-Deal-SettlementPayoutPayment.md | 4 +- ...-Model-Deal-SettlementPayoutPaymentType.md | 4 +- ...Kassa-Model-Deal-SettlementPayoutRefund.md | 4 +- docs/classes/YooKassa-Model-Metadata.md | 4 +- docs/classes/YooKassa-Model-MonetaryAmount.md | 4 +- ...Model-Notification-AbstractNotification.md | 4 +- ...Model-Notification-NotificationCanceled.md | 4 +- ...del-Notification-NotificationDealClosed.md | 4 +- ...odel-Notification-NotificationEventType.md | 4 +- ...-Model-Notification-NotificationFactory.md | 4 +- ...odel-Notification-NotificationInterface.md | 4 +- ...Notification-NotificationPayoutCanceled.md | 4 +- ...otification-NotificationPayoutSucceeded.md | 4 +- ...otification-NotificationRefundSucceeded.md | 4 +- ...odel-Notification-NotificationSucceeded.md | 4 +- ...ssa-Model-Notification-NotificationType.md | 4 +- ...ification-NotificationWaitingForCapture.md | 4 +- ...assa-Model-Payment-AuthorizationDetails.md | 38 +- ...l-Payment-AuthorizationDetailsInterface.md | 4 +- ...Kassa-Model-Payment-CancellationDetails.md | 4 +- ...el-Payment-CancellationDetailsPartyCode.md | 4 +- ...l-Payment-CancellationDetailsReasonCode.md | 14 +- ...yment-Confirmation-AbstractConfirmation.md | 4 +- ...nfirmation-ConfirmationCodeVerification.md | 4 +- ...yment-Confirmation-ConfirmationEmbedded.md | 4 +- ...yment-Confirmation-ConfirmationExternal.md | 4 +- ...ayment-Confirmation-ConfirmationFactory.md | 4 +- ...firmation-ConfirmationMobileApplication.md | 4 +- ...del-Payment-Confirmation-ConfirmationQr.md | 4 +- ...yment-Confirmation-ConfirmationRedirect.md | 4 +- ...YooKassa-Model-Payment-ConfirmationType.md | 4 +- .../classes/YooKassa-Model-Payment-Payment.md | 4 +- ...YooKassa-Model-Payment-PaymentInterface.md | 4 +- ...ent-PaymentMethod-AbstractPaymentMethod.md | 4 +- ...mentMethod-B2b-Sberbank-AbstractVatData.md | 4 +- ...ntMethod-B2b-Sberbank-CalculatedVatData.md | 4 +- ...PaymentMethod-B2b-Sberbank-MixedVatData.md | 4 +- ...entMethod-B2b-Sberbank-PayerBankDetails.md | 4 +- ...-B2b-Sberbank-PayerBankDetailsInterface.md | 4 +- ...ymentMethod-B2b-Sberbank-UntaxedVatData.md | 4 +- ...ymentMethod-B2b-Sberbank-VatDataFactory.md | 4 +- ...entMethod-B2b-Sberbank-VatDataInterface.md | 4 +- ...-PaymentMethod-B2b-Sberbank-VatDataRate.md | 4 +- ...-PaymentMethod-B2b-Sberbank-VatDataType.md | 4 +- ...sa-Model-Payment-PaymentMethod-BankCard.md | 4 +- ...l-Payment-PaymentMethod-BankCardProduct.md | 4 +- ...el-Payment-PaymentMethod-BankCardSource.md | 4 +- ...odel-Payment-PaymentMethod-BankCardType.md | 4 +- ...tronicCertificate-ElectronicCertificate.md | 658 +++++++++++++ ...tronicCertificateApprovedPaymentArticle.md | 645 +++++++++++++ ...ficate-ElectronicCertificatePaymentData.md | 512 +++++++++++ ...ent-PaymentMethod-PaymentMethodAlfaBank.md | 4 +- ...ent-PaymentMethod-PaymentMethodApplePay.md | 4 +- ...-PaymentMethod-PaymentMethodB2bSberbank.md | 4 +- ...ent-PaymentMethod-PaymentMethodBankCard.md | 4 +- ...Payment-PaymentMethod-PaymentMethodCash.md | 4 +- ...thod-PaymentMethodElectronicCertificate.md | 866 ++++++++++++++++++ ...ment-PaymentMethod-PaymentMethodFactory.md | 4 +- ...nt-PaymentMethod-PaymentMethodGooglePay.md | 4 +- ...PaymentMethod-PaymentMethodInstallments.md | 4 +- ...aymentMethod-PaymentMethodMobileBalance.md | 4 +- ...-Payment-PaymentMethod-PaymentMethodPsb.md | 4 +- ...Payment-PaymentMethod-PaymentMethodQiwi.md | 4 +- ...ent-PaymentMethod-PaymentMethodSberLoan.md | 4 +- ...ent-PaymentMethod-PaymentMethodSberbank.md | 4 +- ...-Payment-PaymentMethod-PaymentMethodSbp.md | 73 +- ...-PaymentMethod-PaymentMethodTinkoffBank.md | 74 +- ...ment-PaymentMethod-PaymentMethodUnknown.md | 4 +- ...ent-PaymentMethod-PaymentMethodWebmoney.md | 4 +- ...yment-PaymentMethod-PaymentMethodWechat.md | 4 +- ...ent-PaymentMethod-PaymentMethodYooMoney.md | 4 +- ...yment-PaymentMethod-SbpPayerBankDetails.md | 499 ++++++++++ ...ooKassa-Model-Payment-PaymentMethodType.md | 20 +- .../YooKassa-Model-Payment-PaymentStatus.md | 4 +- ...Model-Payment-ReceiptRegistrationStatus.md | 4 +- .../YooKassa-Model-Payment-Recipient.md | 4 +- ...oKassa-Model-Payment-RecipientInterface.md | 4 +- .../YooKassa-Model-Payment-ThreeDSecure.md | 4 +- .../YooKassa-Model-Payment-Transfer.md | 4 +- ...ooKassa-Model-Payment-TransferInterface.md | 4 +- .../YooKassa-Model-Payment-TransferStatus.md | 4 +- ...-Model-Payout-AbstractPayoutDestination.md | 4 +- .../YooKassa-Model-Payout-IncomeReceipt.md | 4 +- docs/classes/YooKassa-Model-Payout-Payout.md | 4 +- ...-Model-Payout-PayoutCancellationDetails.md | 4 +- ...yout-PayoutCancellationDetailsPartyCode.md | 4 +- ...out-PayoutCancellationDetailsReasonCode.md | 4 +- ...-Model-Payout-PayoutDestinationBankCard.md | 4 +- ...el-Payout-PayoutDestinationBankCardCard.md | 4 +- ...a-Model-Payout-PayoutDestinationFactory.md | 4 +- ...Kassa-Model-Payout-PayoutDestinationSbp.md | 4 +- ...assa-Model-Payout-PayoutDestinationType.md | 4 +- ...-Model-Payout-PayoutDestinationYooMoney.md | 4 +- .../YooKassa-Model-Payout-PayoutInterface.md | 4 +- ...ooKassa-Model-Payout-PayoutSelfEmployed.md | 4 +- .../YooKassa-Model-Payout-PayoutStatus.md | 4 +- ...ooKassa-Model-Payout-SbpParticipantBank.md | 4 +- ...ooKassa-Model-PersonalData-PersonalData.md | 4 +- ...nalData-PersonalDataCancellationDetails.md | 4 +- ...ersonalDataCancellationDetailsPartyCode.md | 4 +- ...rsonalDataCancellationDetailsReasonCode.md | 4 +- ...odel-PersonalData-PersonalDataInterface.md | 4 +- ...a-Model-PersonalData-PersonalDataStatus.md | 4 +- ...ssa-Model-PersonalData-PersonalDataType.md | 4 +- ...Kassa-Model-Receipt-AdditionalUserProps.md | 4 +- .../YooKassa-Model-Receipt-AgentType.md | 4 +- .../YooKassa-Model-Receipt-IndustryDetails.md | 4 +- .../YooKassa-Model-Receipt-MarkCodeInfo.md | 16 +- .../YooKassa-Model-Receipt-MarkQuantity.md | 4 +- ...oKassa-Model-Receipt-OperationalDetails.md | 4 +- .../YooKassa-Model-Receipt-PaymentMode.md | 4 +- .../YooKassa-Model-Receipt-PaymentSubject.md | 4 +- .../classes/YooKassa-Model-Receipt-Receipt.md | 4 +- .../YooKassa-Model-Receipt-ReceiptCustomer.md | 4 +- ...-Model-Receipt-ReceiptCustomerInterface.md | 4 +- ...YooKassa-Model-Receipt-ReceiptInterface.md | 4 +- .../YooKassa-Model-Receipt-ReceiptItem.md | 4 +- ...ooKassa-Model-Receipt-ReceiptItemAmount.md | 4 +- ...assa-Model-Receipt-ReceiptItemInterface.md | 4 +- ...oKassa-Model-Receipt-ReceiptItemMeasure.md | 4 +- .../YooKassa-Model-Receipt-ReceiptType.md | 4 +- .../YooKassa-Model-Receipt-Settlement.md | 4 +- ...Kassa-Model-Receipt-SettlementInterface.md | 4 +- .../YooKassa-Model-Receipt-SettlementType.md | 4 +- .../YooKassa-Model-Receipt-Supplier.md | 4 +- ...ooKassa-Model-Receipt-SupplierInterface.md | 4 +- docs/classes/YooKassa-Model-Refund-Refund.md | 4 +- ...-Model-Refund-RefundCancellationDetails.md | 4 +- ...fund-RefundCancellationDetailsPartyCode.md | 4 +- ...und-RefundCancellationDetailsReasonCode.md | 70 +- .../YooKassa-Model-Refund-RefundInterface.md | 4 +- ...efund-RefundMethod-AbstractRefundMethod.md | 4 +- ...cate-ElectronicCertificateRefundArticle.md | 645 +++++++++++++ ...ificate-ElectronicCertificateRefundData.md | 513 +++++++++++ ...ethod-RefundMethodElectronicCertificate.md | 590 ++++++++++++ ...Refund-RefundMethod-RefundMethodFactory.md | 4 +- ...del-Refund-RefundMethod-RefundMethodSbp.md | 4 +- ...Refund-RefundMethod-RefundMethodUnknown.md | 4 +- .../YooKassa-Model-Refund-RefundMethodType.md | 15 +- .../YooKassa-Model-Refund-RefundStatus.md | 4 +- docs/classes/YooKassa-Model-Refund-Source.md | 4 +- .../YooKassa-Model-Refund-SourceInterface.md | 4 +- ...ooKassa-Model-SelfEmployed-SelfEmployed.md | 4 +- ...l-SelfEmployed-SelfEmployedConfirmation.md | 4 +- ...mployed-SelfEmployedConfirmationFactory.md | 4 +- ...ployed-SelfEmployedConfirmationRedirect.md | 4 +- ...lfEmployed-SelfEmployedConfirmationType.md | 4 +- ...odel-SelfEmployed-SelfEmployedInterface.md | 4 +- ...a-Model-SelfEmployed-SelfEmployedStatus.md | 4 +- ...oKassa-Model-Settings-FiscalizationData.md | 4 +- ...sa-Model-Settings-FiscalizationProvider.md | 4 +- docs/classes/YooKassa-Model-Settings-Me.md | 4 +- .../classes/YooKassa-Model-Webhook-Webhook.md | 4 +- ...YooKassa-Model-Webhook-WebhookInterface.md | 4 +- .../YooKassa-Request-AbstractListResponse.md | 4 +- ...assa-Request-Deals-AbstractDealResponse.md | 4 +- ...ooKassa-Request-Deals-CreateDealRequest.md | 4 +- ...-Request-Deals-CreateDealRequestBuilder.md | 4 +- ...equest-Deals-CreateDealRequestInterface.md | 4 +- ...quest-Deals-CreateDealRequestSerializer.md | 4 +- ...oKassa-Request-Deals-CreateDealResponse.md | 4 +- .../YooKassa-Request-Deals-DealResponse.md | 4 +- .../YooKassa-Request-Deals-DealsRequest.md | 4 +- ...Kassa-Request-Deals-DealsRequestBuilder.md | 4 +- ...ssa-Request-Deals-DealsRequestInterface.md | 4 +- ...sa-Request-Deals-DealsRequestSerializer.md | 4 +- .../YooKassa-Request-Deals-DealsResponse.md | 4 +- ...Request-Payments-AbstractPaymentRequest.md | 4 +- ...-Payments-AbstractPaymentRequestBuilder.md | 4 +- ...equest-Payments-AbstractPaymentResponse.md | 4 +- .../YooKassa-Request-Payments-Airline.md | 4 +- ...Kassa-Request-Payments-AirlineInterface.md | 4 +- ...ooKassa-Request-Payments-CancelResponse.md | 4 +- ...tributes-AbstractConfirmationAttributes.md | 4 +- ...tributes-ConfirmationAttributesEmbedded.md | 4 +- ...tributes-ConfirmationAttributesExternal.md | 4 +- ...ttributes-ConfirmationAttributesFactory.md | 4 +- ...ConfirmationAttributesMobileApplication.md | 4 +- ...tionAttributes-ConfirmationAttributesQr.md | 4 +- ...tributes-ConfirmationAttributesRedirect.md | 4 +- ...a-Request-Payments-CreateCaptureRequest.md | 4 +- ...st-Payments-CreateCaptureRequestBuilder.md | 4 +- ...-Payments-CreateCaptureRequestInterface.md | 4 +- ...Payments-CreateCaptureRequestSerializer.md | 4 +- ...-Request-Payments-CreateCaptureResponse.md | 4 +- ...a-Request-Payments-CreatePaymentRequest.md | 128 ++- ...st-Payments-CreatePaymentRequestBuilder.md | 44 +- ...-Payments-CreatePaymentRequestInterface.md | 125 ++- ...Payments-CreatePaymentRequestSerializer.md | 4 +- ...-Request-Payments-CreatePaymentResponse.md | 4 +- .../YooKassa-Request-Payments-FraudData.md | 5 +- docs/classes/YooKassa-Request-Payments-Leg.md | 4 +- .../YooKassa-Request-Payments-LegInterface.md | 4 +- .../YooKassa-Request-Payments-Locale.md | 8 +- ...st-Payments-MerchantCustomerBankAccount.md | 4 +- .../YooKassa-Request-Payments-Passenger.md | 4 +- ...ssa-Request-Payments-PassengerInterface.md | 4 +- ...ayments-PaymentData-AbstractPaymentData.md | 4 +- ...ertificate-ElectronicCertificateArticle.md | 820 +++++++++++++++++ ...ayments-PaymentData-PaymentDataAlfabank.md | 4 +- ...ayments-PaymentData-PaymentDataApplePay.md | 4 +- ...ents-PaymentData-PaymentDataB2bSberbank.md | 4 +- ...ayments-PaymentData-PaymentDataBankCard.md | 4 +- ...nts-PaymentData-PaymentDataBankCardCard.md | 4 +- ...st-Payments-PaymentData-PaymentDataCash.md | 4 +- ...ntData-PaymentDataElectronicCertificate.md | 640 +++++++++++++ ...Payments-PaymentData-PaymentDataFactory.md | 4 +- ...yments-PaymentData-PaymentDataGooglePay.md | 4 +- ...nts-PaymentData-PaymentDataInstallments.md | 4 +- ...ts-PaymentData-PaymentDataMobileBalance.md | 4 +- ...st-Payments-PaymentData-PaymentDataQiwi.md | 4 +- ...ayments-PaymentData-PaymentDataSberLoan.md | 4 +- ...ayments-PaymentData-PaymentDataSberbank.md | 4 +- ...est-Payments-PaymentData-PaymentDataSbp.md | 4 +- ...ents-PaymentData-PaymentDataTinkoffBank.md | 6 +- ...ayments-PaymentData-PaymentDataYooMoney.md | 4 +- ...oKassa-Request-Payments-PaymentResponse.md | 4 +- ...oKassa-Request-Payments-PaymentsRequest.md | 4 +- ...Request-Payments-PaymentsRequestBuilder.md | 4 +- ...quest-Payments-PaymentsRequestInterface.md | 4 +- ...uest-Payments-PaymentsRequestSerializer.md | 4 +- ...Kassa-Request-Payments-PaymentsResponse.md | 4 +- ...-Payments-ReceiverData-AbstractReceiver.md | 457 +++++++++ ...yments-ReceiverData-ReceiverBankAccount.md | 590 ++++++++++++ ...ents-ReceiverData-ReceiverDigitalWallet.md | 536 +++++++++++ ...t-Payments-ReceiverData-ReceiverFactory.md | 107 +++ ...ents-ReceiverData-ReceiverMobileBalance.md | 523 +++++++++++ ...uest-Payments-ReceiverData-ReceiverType.md | 180 ++++ .../YooKassa-Request-Payments-TransferData.md | 4 +- ...-Request-Payments-TransferDataInterface.md | 4 +- ...-Request-Payouts-AbstractPayoutResponse.md | 4 +- ...ssa-Request-Payouts-CreatePayoutRequest.md | 4 +- ...uest-Payouts-CreatePayoutRequestBuilder.md | 4 +- ...st-Payouts-CreatePayoutRequestInterface.md | 4 +- ...t-Payouts-CreatePayoutRequestSerializer.md | 4 +- ...sa-Request-Payouts-CreatePayoutResponse.md | 4 +- ...Kassa-Request-Payouts-IncomeReceiptData.md | 4 +- ...ationData-AbstractPayoutDestinationData.md | 4 +- ...ationData-PayoutDestinationDataBankCard.md | 4 +- ...nData-PayoutDestinationDataBankCardCard.md | 4 +- ...nationData-PayoutDestinationDataFactory.md | 4 +- ...estinationData-PayoutDestinationDataSbp.md | 4 +- ...ationData-PayoutDestinationDataYooMoney.md | 4 +- ...assa-Request-Payouts-PayoutPersonalData.md | 4 +- ...YooKassa-Request-Payouts-PayoutResponse.md | 4 +- ...-Request-Payouts-PayoutSelfEmployedInfo.md | 4 +- ...oKassa-Request-Payouts-SbpBanksResponse.md | 4 +- ...mentRecipientPersonalDataRequestBuilder.md | 4 +- ...Data-CreatePersonalDataRequestInterface.md | 4 +- ...youtRecipientPersonalDataRequestBuilder.md | 4 +- ...quest-PersonalData-PersonalDataResponse.md | 4 +- ...nalDataType-AbstractPersonalDataRequest.md | 4 +- ...utStatementRecipientPersonalDataRequest.md | 4 +- ...ype-RecipientPersonalDataRequestFactory.md | 4 +- ...e-SbpPayoutRecipientPersonalDataRequest.md | 4 +- ...equest-Receipts-AbstractReceiptResponse.md | 4 +- ...quest-Receipts-CreatePostReceiptRequest.md | 4 +- ...eceipts-CreatePostReceiptRequestBuilder.md | 4 +- ...eipts-CreatePostReceiptRequestInterface.md | 4 +- ...ipts-CreatePostReceiptRequestSerializer.md | 4 +- ...Request-Receipts-PaymentReceiptResponse.md | 4 +- ...Request-Receipts-ReceiptResponseFactory.md | 4 +- ...quest-Receipts-ReceiptResponseInterface.md | 4 +- ...sa-Request-Receipts-ReceiptResponseItem.md | 4 +- ...t-Receipts-ReceiptResponseItemInterface.md | 4 +- ...oKassa-Request-Receipts-ReceiptsRequest.md | 4 +- ...Request-Receipts-ReceiptsRequestBuilder.md | 4 +- ...quest-Receipts-ReceiptsRequestInterface.md | 4 +- ...uest-Receipts-ReceiptsRequestSerializer.md | 4 +- ...Kassa-Request-Receipts-ReceiptsResponse.md | 4 +- ...-Request-Receipts-RefundReceiptResponse.md | 4 +- ...-Request-Receipts-SimpleReceiptResponse.md | 4 +- ...-Request-Refunds-AbstractRefundResponse.md | 4 +- ...ssa-Request-Refunds-CreateRefundRequest.md | 106 ++- ...uest-Refunds-CreateRefundRequestBuilder.md | 27 +- ...st-Refunds-CreateRefundRequestInterface.md | 4 +- ...t-Refunds-CreateRefundRequestSerializer.md | 4 +- ...sa-Request-Refunds-CreateRefundResponse.md | 4 +- ...fundMethodData-AbstractRefundMethodData.md | 457 +++++++++ ...a-RefundMethodDataElectronicCertificate.md | 590 ++++++++++++ ...efundMethodData-RefundMethodDataFactory.md | 107 +++ ...YooKassa-Request-Refunds-RefundResponse.md | 4 +- ...YooKassa-Request-Refunds-RefundsRequest.md | 4 +- ...a-Request-Refunds-RefundsRequestBuilder.md | 4 +- ...Request-Refunds-RefundsRequestInterface.md | 4 +- ...equest-Refunds-RefundsRequestSerializer.md | 4 +- ...ooKassa-Request-Refunds-RefundsResponse.md | 4 +- ...equest-SelfEmployed-SelfEmployedRequest.md | 4 +- ...SelfEmployed-SelfEmployedRequestBuilder.md | 4 +- ...mployed-SelfEmployedRequestConfirmation.md | 4 +- ...-SelfEmployedRequestConfirmationFactory.md | 4 +- ...SelfEmployedRequestConfirmationRedirect.md | 4 +- ...lfEmployed-SelfEmployedRequestInterface.md | 4 +- ...fEmployed-SelfEmployedRequestSerializer.md | 4 +- ...quest-SelfEmployed-SelfEmployedResponse.md | 4 +- ...ssa-Request-Webhook-WebhookListResponse.md | 4 +- docs/namespaces/default.md | 4 +- docs/namespaces/yookassa-client.md | 4 +- docs/namespaces/yookassa-common-exceptions.md | 4 +- docs/namespaces/yookassa-common.md | 4 +- docs/namespaces/yookassa-helpers-config.md | 4 +- docs/namespaces/yookassa-helpers.md | 4 +- docs/namespaces/yookassa-model-deal.md | 4 +- .../namespaces/yookassa-model-notification.md | 4 +- .../yookassa-model-payment-confirmation.md | 4 +- ...odel-payment-paymentmethod-b2b-sberbank.md | 4 +- ...ookassa-model-payment-paymentmethod-b2b.md | 4 +- ...ent-paymentmethod-electroniccertificate.md | 32 + .../yookassa-model-payment-paymentmethod.md | 7 +- docs/namespaces/yookassa-model-payment.md | 4 +- docs/namespaces/yookassa-model-payout.md | 4 +- .../namespaces/yookassa-model-personaldata.md | 4 +- docs/namespaces/yookassa-model-receipt.md | 4 +- ...fund-refundmethod-electroniccertificate.md | 31 + .../yookassa-model-refund-refundmethod.md | 9 +- docs/namespaces/yookassa-model-refund.md | 4 +- .../namespaces/yookassa-model-selfemployed.md | 4 +- docs/namespaces/yookassa-model-settings.md | 4 +- docs/namespaces/yookassa-model-webhook.md | 4 +- docs/namespaces/yookassa-model.md | 4 +- docs/namespaces/yookassa-request-deals.md | 4 +- ...request-payments-confirmationattributes.md | 4 +- ...ments-paymentdata-electroniccertificate.md | 30 + .../yookassa-request-payments-paymentdata.md | 9 +- .../yookassa-request-payments-receiverdata.md | 35 + docs/namespaces/yookassa-request-payments.md | 5 +- ...a-request-payouts-payoutdestinationdata.md | 4 +- docs/namespaces/yookassa-request-payouts.md | 4 +- ...a-request-personaldata-personaldatatype.md | 4 +- .../yookassa-request-personaldata.md | 4 +- docs/namespaces/yookassa-request-receipts.md | 4 +- ...okassa-request-refunds-refundmethoddata.md | 32 + docs/namespaces/yookassa-request-refunds.md | 8 +- .../yookassa-request-selfemployed.md | 4 +- docs/namespaces/yookassa-request-webhook.md | 4 +- docs/namespaces/yookassa-request.md | 4 +- docs/namespaces/yookassa.md | 4 +- docs/readme.md | 4 +- docs/reports/deprecated.md | 28 +- docs/reports/errors.md | 4 +- docs/reports/markers.md | 4 +- lib/Client.php | 2 +- lib/Model/Payment/AuthorizationDetails.php | 27 +- .../Payment/CancellationDetailsReasonCode.php | 4 + .../ElectronicCertificate.php | 188 ++++ ...ronicCertificateApprovedPaymentArticle.php | 192 ++++ .../ElectronicCertificatePaymentData.php | 118 +++ .../PaymentMethodElectronicCertificate.php | 156 ++++ .../PaymentMethod/PaymentMethodFactory.php | 1 + .../PaymentMethod/PaymentMethodSbp.php | 38 +- .../PaymentMethodTinkoffBank.php | 4 +- .../PaymentMethod/SbpPayerBankDetails.php | 115 +++ lib/Model/Payment/PaymentMethodType.php | 8 +- lib/Model/Receipt/MarkCodeInfo.php | 6 +- .../RefundCancellationDetailsReasonCode.php | 30 + .../ElectronicCertificateRefundArticle.php | 184 ++++ .../ElectronicCertificateRefundData.php | 118 +++ .../RefundMethodElectronicCertificate.php | 124 +++ .../RefundMethod/RefundMethodFactory.php | 1 + lib/Model/Refund/RefundMethodType.php | 4 + lib/Request/Payments/CreatePaymentRequest.php | 60 +- .../Payments/CreatePaymentRequestBuilder.php | 26 +- .../CreatePaymentRequestInterface.php | 47 +- lib/Request/Payments/FraudData.php | 2 + lib/Request/Payments/Locale.php | 4 +- .../ElectronicCertificateArticle.php | 290 ++++++ .../PaymentData/PaymentDataBankCardCard.php | 2 +- .../PaymentDataElectronicCertificate.php | 158 ++++ .../PaymentData/PaymentDataFactory.php | 1 + .../PaymentData/PaymentDataTinkoffBank.php | 2 +- .../ReceiverData/AbstractReceiver.php | 79 ++ .../ReceiverData/ReceiverBankAccount.php | 123 +++ .../ReceiverData/ReceiverDigitalWallet.php | 87 ++ .../Payments/ReceiverData/ReceiverFactory.php | 96 ++ .../ReceiverData/ReceiverMobileBalance.php | 86 ++ .../Payments/ReceiverData/ReceiverType.php | 59 ++ lib/Request/Refunds/CreateRefundRequest.php | 52 +- .../Refunds/CreateRefundRequestBuilder.php | 15 + .../AbstractRefundMethodData.php | 79 ++ .../RefundMethodDataElectronicCertificate.php | 127 +++ .../RefundMethodDataFactory.php | 92 ++ tests/AbstractTestCase.php | 2 +- .../Model/Payment/CancellationDetailsTest.php | 18 +- ...cCertificateApprovedPaymentArticleTest.php | 312 +++++++ .../ElectronicCertificatePaymentDataTest.php | 169 ++++ .../ElectronicCertificateTest.php | 285 ++++++ ...PaymentMethodElectronicCertificateTest.php | 307 +++++++ .../PaymentMethod/PaymentMethodSbpTest.php | 62 +- .../PaymentMethod/SbpPayerBankDetailsTest.php | 173 ++++ .../Refund/RefundCancellationDetailsTest.php | 5 +- ...ElectronicCertificateRefundArticleTest.php | 285 ++++++ .../ElectronicCertificateRefundDataTest.php | 169 ++++ .../RefundMethodElectronicCertificateTest.php | 251 +++++ .../RefundMethod/RefundMethodSbpTest.php | 4 +- .../CreatePaymentRequestBuilderTest.php | 146 +-- .../Payments/CreatePaymentRequestTest.php | 161 ++-- .../ElectronicCertificateArticleTest.php | 478 ++++++++++ .../PaymentDataBankCardCardTest.php | 12 +- .../PaymentData/PaymentDataBankCardTest.php | 25 +- .../PaymentDataElectronicCertificateTest.php | 276 ++++++ .../PaymentData/PaymentDataFactoryTest.php | 44 +- .../ReceiverData/ReceiverBankAccountTest.php | 232 +++++ .../ReceiverDigitalWalletTest.php | 172 ++++ .../ReceiverMobileBalanceTest.php | 170 ++++ .../CreateRefundRequestBuilderTest.php | 74 ++ .../Refunds/CreateRefundRequestTest.php | 59 ++ ...undMethodDataElectronicCertificateTest.php | 234 +++++ 465 files changed, 18142 insertions(+), 1142 deletions(-) create mode 100644 docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md create mode 100644 docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md create mode 100644 docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md create mode 100644 docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md create mode 100644 docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md create mode 100644 docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md create mode 100644 docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md create mode 100644 docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md create mode 100644 docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md create mode 100644 docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md create mode 100644 docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md create mode 100644 docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md create mode 100644 docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md create mode 100644 docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md create mode 100644 docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md create mode 100644 docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md create mode 100644 docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md create mode 100644 docs/namespaces/yookassa-request-payments-receiverdata.md create mode 100644 docs/namespaces/yookassa-request-refunds-refundmethoddata.md create mode 100644 lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php create mode 100644 lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php create mode 100644 lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php create mode 100644 lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php create mode 100644 lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php create mode 100644 lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php create mode 100644 lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php create mode 100644 lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php create mode 100644 lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php create mode 100644 lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php create mode 100644 lib/Request/Payments/ReceiverData/AbstractReceiver.php create mode 100644 lib/Request/Payments/ReceiverData/ReceiverBankAccount.php create mode 100644 lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php create mode 100644 lib/Request/Payments/ReceiverData/ReceiverFactory.php create mode 100644 lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php create mode 100644 lib/Request/Payments/ReceiverData/ReceiverType.php create mode 100644 lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php create mode 100644 lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php create mode 100644 lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php create mode 100644 tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticleTest.php create mode 100644 tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentDataTest.php create mode 100644 tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateTest.php create mode 100644 tests/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificateTest.php create mode 100644 tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php create mode 100644 tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticleTest.php create mode 100644 tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundDataTest.php create mode 100644 tests/Model/Refund/RefundMethod/RefundMethodElectronicCertificateTest.php create mode 100644 tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php create mode 100644 tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php create mode 100644 tests/Request/Payments/ReceiverData/ReceiverBankAccountTest.php create mode 100644 tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php create mode 100644 tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php create mode 100644 tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f2d403..eb053e7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +### v3.6.0 от 19.09.2024 +* Добавлена выдача объекта `card` с данными карты в данных метода оплаты tinkoff_bank `PaymentMethodTinkoffBank +* Изменения текстов в `AuthorizationDetails` +* Добавлено значение `rejected_by_timeout` параметра `reason` +* Добавлена информация о банке плательщика при оплате через СБП +* Добавлен объект `receiver` с реквизитами получателя. `fraud_data` стал `deprecated`. Вместо него нужно использовать `receiver` +* Изменено название метода Tinkoff* на T-Pay +* Добавлен новый метод оплаты по электронному сертификату +* Изменены тексты для mark_code_info + ### v3.5.0 от 02.07.2024 * Отключен платежный метод Installments diff --git a/composer.json b/composer.json index fa56a76c..9602f394 100644 --- a/composer.json +++ b/composer.json @@ -13,9 +13,9 @@ ], "dist": { "type": "zip", - "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.5.0&format=zip" + "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.6.0&format=zip" }, - "version": "3.5.0", + "version": "3.6.0", "require": { "php": ">=8.0", "ext-curl": "*", @@ -48,7 +48,7 @@ "@phpmd" ], "phplint": "vendor/bin/parallel-lint --exclude vendor/ --exclude .idea/ --exclude tests/ --exclude lsp/ -e php .", - "phpunit": "vendor/bin/phpunit --configuration=phpunit.xml.dist", + "phpunit": "vendor/bin/phpunit -derror_reporting=32759 --configuration=phpunit.xml.dist --no-coverage", "phpcsf": "vendor/bin/php-cs-fixer fix . --config=.php-cs-fixer.dist.php", "phpmd": "vendor/bin/phpmd --exclude vendor/,.idea/,tests/,lsp/ --suffixes php . text phpmd.xml" }, diff --git a/docs/classes/YooKassa-Client-ApiClientInterface.md b/docs/classes/YooKassa-Client-ApiClientInterface.md index 8685689f..d98d3d64 100644 --- a/docs/classes/YooKassa-Client-ApiClientInterface.md +++ b/docs/classes/YooKassa-Client-ApiClientInterface.md @@ -223,10 +223,10 @@ public setAdvancedCurlOptions() : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-BaseClient.md b/docs/classes/YooKassa-Client-BaseClient.md index 7b99f605..0d2fcb3a 100644 --- a/docs/classes/YooKassa-Client-BaseClient.md +++ b/docs/classes/YooKassa-Client-BaseClient.md @@ -721,10 +721,10 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-CurlClient.md b/docs/classes/YooKassa-Client-CurlClient.md index 06d23fea..08b6fddf 100644 --- a/docs/classes/YooKassa-Client-CurlClient.md +++ b/docs/classes/YooKassa-Client-CurlClient.md @@ -510,10 +510,10 @@ public setTimeout(int $timeout) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-UserAgent.md b/docs/classes/YooKassa-Client-UserAgent.md index 20ef751c..984f9ed8 100644 --- a/docs/classes/YooKassa-Client-UserAgent.md +++ b/docs/classes/YooKassa-Client-UserAgent.md @@ -325,10 +325,10 @@ public setModule(string $name, string $version) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client.md b/docs/classes/YooKassa-Client.md index 37de65a1..601278d8 100644 --- a/docs/classes/YooKassa-Client.md +++ b/docs/classes/YooKassa-Client.md @@ -270,7 +270,7 @@ DEFAULT_ATTEMPTS_COUNT = 3 Текущая версия библиотеки. ```php -SDK_VERSION = '3.5.0' +SDK_VERSION = '3.6.0' ``` @@ -2536,10 +2536,10 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractEnum.md b/docs/classes/YooKassa-Common-AbstractEnum.md index 85f1eb09..5887526c 100644 --- a/docs/classes/YooKassa-Common-AbstractEnum.md +++ b/docs/classes/YooKassa-Common-AbstractEnum.md @@ -127,10 +127,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractObject.md b/docs/classes/YooKassa-Common-AbstractObject.md index f114eedf..35da7d34 100644 --- a/docs/classes/YooKassa-Common-AbstractObject.md +++ b/docs/classes/YooKassa-Common-AbstractObject.md @@ -375,10 +375,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequest.md b/docs/classes/YooKassa-Common-AbstractRequest.md index 07953b0c..37eb5bdc 100644 --- a/docs/classes/YooKassa-Common-AbstractRequest.md +++ b/docs/classes/YooKassa-Common-AbstractRequest.md @@ -452,10 +452,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md index ea0bc81a..76dfd8d4 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md +++ b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md @@ -160,10 +160,10 @@ Abstract protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterfa ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestInterface.md b/docs/classes/YooKassa-Common-AbstractRequestInterface.md index 2853f296..c7637266 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestInterface.md +++ b/docs/classes/YooKassa-Common-AbstractRequestInterface.md @@ -99,10 +99,10 @@ public getLastValidationError() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md index cab17873..b14bae54 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md @@ -122,10 +122,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ApiException.md b/docs/classes/YooKassa-Common-Exceptions-ApiException.md index 595bad00..b6665fab 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiException.md @@ -119,10 +119,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md index ad2914d5..a4c68b5c 100644 --- a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md @@ -122,10 +122,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md index 4bdca514..c6204b2b 100644 --- a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md @@ -150,10 +150,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md index 33006a43..93c03a42 100644 --- a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md @@ -75,10 +75,10 @@ public getProperty() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md index a2fec975..610a660e 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md @@ -63,10 +63,10 @@ Constructor. ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md index 3a4172b6..d2df166e 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md @@ -150,10 +150,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md index f6c4ce7a..ebaba42a 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md +++ b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md @@ -153,10 +153,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md index 7513b84c..68e0efbf 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md @@ -74,10 +74,10 @@ public getProperty() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md index 43d47f65..0663e729 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md @@ -90,10 +90,10 @@ public getValue() : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md index 09a29d0b..fee3c4a8 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md @@ -90,10 +90,10 @@ public getType() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md index d9087dac..1a5138aa 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md @@ -74,10 +74,10 @@ public getRequestObject() : ?\YooKassa\Common\AbstractRequestInterface ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-JsonException.md b/docs/classes/YooKassa-Common-Exceptions-JsonException.md index 0fc488fd..4959a5c2 100644 --- a/docs/classes/YooKassa-Common-Exceptions-JsonException.md +++ b/docs/classes/YooKassa-Common-Exceptions-JsonException.md @@ -73,10 +73,10 @@ public __construct(mixed $message = '', mixed $code, mixed $previous = ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md index 427c693a..c27072d9 100644 --- a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md @@ -150,10 +150,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md index e9fdc0b2..78d05b1c 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md @@ -150,10 +150,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md index 515e17ab..70d1788e 100644 --- a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md +++ b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md @@ -150,10 +150,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md index f0010c20..5576a700 100644 --- a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md +++ b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md @@ -153,10 +153,10 @@ public getResponseHeaders() : string[] ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-HttpVerb.md b/docs/classes/YooKassa-Common-HttpVerb.md index 085cbb17..33610ff4 100644 --- a/docs/classes/YooKassa-Common-HttpVerb.md +++ b/docs/classes/YooKassa-Common-HttpVerb.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObject.md b/docs/classes/YooKassa-Common-ListObject.md index 06b8af4c..93d8dab4 100644 --- a/docs/classes/YooKassa-Common-ListObject.md +++ b/docs/classes/YooKassa-Common-ListObject.md @@ -473,10 +473,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObjectInterface.md b/docs/classes/YooKassa-Common-ListObjectInterface.md index 76a8b3a8..cd3cc8d9 100644 --- a/docs/classes/YooKassa-Common-ListObjectInterface.md +++ b/docs/classes/YooKassa-Common-ListObjectInterface.md @@ -215,10 +215,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-LoggerWrapper.md b/docs/classes/YooKassa-Common-LoggerWrapper.md index f946cc43..39e5230e 100644 --- a/docs/classes/YooKassa-Common-LoggerWrapper.md +++ b/docs/classes/YooKassa-Common-LoggerWrapper.md @@ -312,10 +312,10 @@ that are not necessarily wrong. ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ResponseObject.md b/docs/classes/YooKassa-Common-ResponseObject.md index f71a60fa..416732f6 100644 --- a/docs/classes/YooKassa-Common-ResponseObject.md +++ b/docs/classes/YooKassa-Common-ResponseObject.md @@ -171,10 +171,10 @@ public getHeaders() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md index 2c3ac2ad..aa2efb71 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md @@ -91,10 +91,10 @@ public load(mixed $filePath = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md index 30a4cb35..8f3ce73c 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md @@ -73,10 +73,10 @@ public load() : \YooKassa\Helpers\Config\ConfigurationLoaderInterface ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-ProductCode.md b/docs/classes/YooKassa-Helpers-ProductCode.md index 8f4139c7..598ae411 100644 --- a/docs/classes/YooKassa-Helpers-ProductCode.md +++ b/docs/classes/YooKassa-Helpers-ProductCode.md @@ -642,10 +642,10 @@ public validate() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Random.md b/docs/classes/YooKassa-Helpers-Random.md index 385e0255..d6e190bf 100644 --- a/docs/classes/YooKassa-Helpers-Random.md +++ b/docs/classes/YooKassa-Helpers-Random.md @@ -212,10 +212,10 @@ Static public value(array $values) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-RawHeadersParser.md b/docs/classes/YooKassa-Helpers-RawHeadersParser.md index 6a9f269d..c1517e02 100644 --- a/docs/classes/YooKassa-Helpers-RawHeadersParser.md +++ b/docs/classes/YooKassa-Helpers-RawHeadersParser.md @@ -70,10 +70,10 @@ Static public parse(mixed $rawHeaders) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-SecurityHelper.md b/docs/classes/YooKassa-Helpers-SecurityHelper.md index 5621fbd5..96852d93 100644 --- a/docs/classes/YooKassa-Helpers-SecurityHelper.md +++ b/docs/classes/YooKassa-Helpers-SecurityHelper.md @@ -79,10 +79,10 @@ public isIPTrusted(mixed $ip) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-StringObject.md b/docs/classes/YooKassa-Helpers-StringObject.md index 73d6fc95..ee05af3d 100644 --- a/docs/classes/YooKassa-Helpers-StringObject.md +++ b/docs/classes/YooKassa-Helpers-StringObject.md @@ -92,10 +92,10 @@ public __toString() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-TypeCast.md b/docs/classes/YooKassa-Helpers-TypeCast.md index e8ed4798..34fd1c13 100644 --- a/docs/classes/YooKassa-Helpers-TypeCast.md +++ b/docs/classes/YooKassa-Helpers-TypeCast.md @@ -166,10 +166,10 @@ Static public castToDateTime(\DateTime|int|string $value) : null|\DateTime ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-UUID.md b/docs/classes/YooKassa-Helpers-UUID.md index da3a3f54..fec71eac 100644 --- a/docs/classes/YooKassa-Helpers-UUID.md +++ b/docs/classes/YooKassa-Helpers-UUID.md @@ -65,10 +65,10 @@ Static public v4() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AmountInterface.md b/docs/classes/YooKassa-Model-AmountInterface.md index d8dba6da..5cd0c2cb 100644 --- a/docs/classes/YooKassa-Model-AmountInterface.md +++ b/docs/classes/YooKassa-Model-AmountInterface.md @@ -161,10 +161,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md index bc8e1b82..5be7f760 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md @@ -79,10 +79,10 @@ public getReason() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CurrencyCode.md b/docs/classes/YooKassa-Model-CurrencyCode.md index 482c8bc0..a6cf7465 100644 --- a/docs/classes/YooKassa-Model-CurrencyCode.md +++ b/docs/classes/YooKassa-Model-CurrencyCode.md @@ -261,10 +261,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md b/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md index e8d053cb..6cdaf9ce 100644 --- a/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md +++ b/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md index 8781917a..c7f1f905 100644 --- a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md +++ b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md @@ -432,10 +432,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md index 8ce8a697..d6d72dcd 100644 --- a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md +++ b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md @@ -510,10 +510,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealInterface.md b/docs/classes/YooKassa-Model-Deal-DealInterface.md index 5ada5ba8..672d7141 100644 --- a/docs/classes/YooKassa-Model-Deal-DealInterface.md +++ b/docs/classes/YooKassa-Model-Deal-DealInterface.md @@ -258,10 +258,10 @@ public getTest() : bool|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealStatus.md b/docs/classes/YooKassa-Model-Deal-DealStatus.md index 72bbba42..d02c06b0 100644 --- a/docs/classes/YooKassa-Model-Deal-DealStatus.md +++ b/docs/classes/YooKassa-Model-Deal-DealStatus.md @@ -164,10 +164,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealType.md b/docs/classes/YooKassa-Model-Deal-DealType.md index 39f83196..ed9974f2 100644 --- a/docs/classes/YooKassa-Model-Deal-DealType.md +++ b/docs/classes/YooKassa-Model-Deal-DealType.md @@ -152,10 +152,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-FeeMoment.md b/docs/classes/YooKassa-Model-Deal-FeeMoment.md index cba0a5d9..22e701b8 100644 --- a/docs/classes/YooKassa-Model-Deal-FeeMoment.md +++ b/docs/classes/YooKassa-Model-Deal-FeeMoment.md @@ -159,10 +159,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md index 7ae5bd91..57f41eb4 100644 --- a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md @@ -506,10 +506,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md index 517f5286..a8c3ee65 100644 --- a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md @@ -455,10 +455,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-RefundDealData.md b/docs/classes/YooKassa-Model-Deal-RefundDealData.md index 7c2f13e9..8e04c1af 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealData.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealData.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md index 186646d7..3b447a79 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SafeDeal.md b/docs/classes/YooKassa-Model-Deal-SafeDeal.md index 5c640ba1..16c6b33c 100644 --- a/docs/classes/YooKassa-Model-Deal-SafeDeal.md +++ b/docs/classes/YooKassa-Model-Deal-SafeDeal.md @@ -1200,10 +1200,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md index ad2d31b5..efc0f660 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md index 645db9ba..f5602046 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md @@ -152,10 +152,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md index e54120c1..b9d19675 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md @@ -495,10 +495,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Metadata.md b/docs/classes/YooKassa-Model-Metadata.md index 054d07af..0e031d04 100644 --- a/docs/classes/YooKassa-Model-Metadata.md +++ b/docs/classes/YooKassa-Model-Metadata.md @@ -403,10 +403,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-MonetaryAmount.md b/docs/classes/YooKassa-Model-MonetaryAmount.md index 3bcd2476..f9b66a31 100644 --- a/docs/classes/YooKassa-Model-MonetaryAmount.md +++ b/docs/classes/YooKassa-Model-MonetaryAmount.md @@ -571,10 +571,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md index 0a3767f8..1cbf8c65 100644 --- a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md +++ b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md @@ -619,10 +619,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md index 29bd6ee0..123111c5 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md index cad6588d..048668d9 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationEventType.md b/docs/classes/YooKassa-Model-Notification-NotificationEventType.md index 0f383c27..1f7071cd 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationEventType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationEventType.md @@ -199,10 +199,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md index 4cf500e2..ac1071c5 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md @@ -138,10 +138,10 @@ public factory(array $data) : \YooKassa\Model\Notification\AbstractNotification ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md index c4ea37e4..2bed707a 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md @@ -100,10 +100,10 @@ public getObject() : \YooKassa\Model\Payment\PaymentInterface|\YooKassa\Model\Re ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md index b776c43e..62f0bfa9 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md index 6d949b77..f8a65367 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md index f52b54ec..6bb2d614 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md index e4a37f19..0462e078 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationType.md b/docs/classes/YooKassa-Model-Notification-NotificationType.md index 79e3ebde..b97a5ffb 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationType.md @@ -130,10 +130,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md index bbc94db3..374046be 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md @@ -671,10 +671,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md b/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md index a0d96aab..858994cf 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md @@ -9,7 +9,9 @@ **Description:** -Данные об авторизации платежа. +Данные об авторизации платежа при оплате банковской картой. + +Присутствуют только для этих способов оплаты: банковская карта, Mir Pay, SberPay, T-Pay. --- ### Constants @@ -19,11 +21,11 @@ ### Properties | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | -| public | [$auth_code](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_auth_code) | | Код авторизации банковской карты | -| public | [$authCode](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_authCode) | | Код авторизации банковской карты | -| public | [$rrn](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_rrn) | | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента | -| public | [$three_d_secure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_three_d_secure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure | -| public | [$threeDSecure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_threeDSecure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure | +| public | [$auth_code](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_auth_code) | | Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. | +| public | [$authСode](../classes/YooKassa-Model-Payment-AuthorizationDetails.html#property_auth%D0%A1ode) | | Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. | +| public | [$rrn](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_rrn) | | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. | +| public | [$three_d_secure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_three_d_secure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure. | +| public | [$threeDSecure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_threeDSecure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure. | --- ### Methods @@ -78,19 +80,19 @@ --- ***Description*** -Код авторизации банковской карты +Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. **Type:** string **Details:** - -#### public $authCode : string + +#### public $authСode : string --- ***Description*** -Код авторизации банковской карты +Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. **Type:** string @@ -102,7 +104,7 @@ --- ***Description*** -Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента +Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. **Type:** string @@ -114,7 +116,7 @@ Retrieval Reference Number — уникальный идентификатор --- ***Description*** -Данные о прохождении пользователем аутентификации по 3‑D Secure +Данные о прохождении пользователем аутентификации по 3‑D Secure. **Type:** ThreeDSecure @@ -126,7 +128,7 @@ Retrieval Reference Number — уникальный идентификатор --- ***Description*** -Данные о прохождении пользователем аутентификации по 3‑D Secure +Данные о прохождении пользователем аутентификации по 3‑D Secure. **Type:** ThreeDSecure @@ -283,7 +285,7 @@ public getAuthCode() : string|null **Details:** * Inherited From: [\YooKassa\Model\Payment\AuthorizationDetails](../classes/YooKassa-Model-Payment-AuthorizationDetails.md) -**Returns:** string|null - +**Returns:** string|null - Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. @@ -456,7 +458,7 @@ public setAuthCode(string|null $auth_code = null) : self ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string OR null | auth_code | Код авторизации банковской карты. Выдается эмитентом и подтверждает проведение авторизации. | +| string OR null | auth_code | Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. | **Returns:** self - @@ -478,7 +480,7 @@ public setRrn(string|null $rrn = null) : self ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string OR null | rrn | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. Используется при оплате банковской картой. | +| string OR null | rrn | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. | **Returns:** self - @@ -571,10 +573,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md b/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md index 912d43bb..8e630fc3 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md @@ -100,10 +100,10 @@ public getThreeDSecure() : null|\YooKassa\Model\Payment\ThreeDSecure ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetails.md b/docs/classes/YooKassa-Model-Payment-CancellationDetails.md index b1c50f39..27db9aa4 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md index 1844455c..aba7d9ac 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md @@ -172,10 +172,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md index f1db36cf..f7fc7eb2 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md @@ -35,6 +35,7 @@ | public | [EXPIRED_ON_CAPTURE](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_EXPIRED_ON_CAPTURE) | | Истек срок списания оплаты у двухстадийного платежа. | | public | [DEAL_EXPIRED](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_DEAL_EXPIRED) | | Для тех, кто использует Безопасную сделку: закончился срок жизни сделки. | | public | [UNSUPPORTED_MOBILE_OPERATOR](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_UNSUPPORTED_MOBILE_OPERATOR) | | Нельзя заплатить с номера телефона этого мобильного оператора. При новой попытке оплаты пользователю следует использовать другое платежное средство. Список поддерживаемых операторов | +| public | [REJECTED_BY_TIMEOUT](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_REJECTED_BY_TIMEOUT) | | Отклонено по таймауту | --- ### Properties @@ -257,6 +258,15 @@ UNSUPPORTED_MOBILE_OPERATOR = 'unsupported_mobile_operator' ``` + +###### REJECTED_BY_TIMEOUT +Отклонено по таймауту + +```php +REJECTED_BY_TIMEOUT = 'rejected_by_timeout' +``` + + --- ## Properties @@ -339,10 +349,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md b/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md index 78f79053..c8864ff1 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md @@ -503,10 +503,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md index c0053b2c..40ded29f 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md index 386d26b5..12849d2f 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md @@ -570,10 +570,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md index 678a6ca4..97f5388a 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md @@ -515,10 +515,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md index 4f7e5158..b20307b8 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md @@ -95,10 +95,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md index 74821dfb..b8384463 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md @@ -569,10 +569,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md index b2f05169..d5a8b0d5 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md @@ -569,10 +569,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md index 185db6e0..3d955545 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md @@ -692,10 +692,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ConfirmationType.md b/docs/classes/YooKassa-Model-Payment-ConfirmationType.md index b6f76d9e..14568814 100644 --- a/docs/classes/YooKassa-Model-Payment-ConfirmationType.md +++ b/docs/classes/YooKassa-Model-Payment-ConfirmationType.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Payment.md b/docs/classes/YooKassa-Model-Payment-Payment.md index 996e0a49..841979c9 100644 --- a/docs/classes/YooKassa-Model-Payment-Payment.md +++ b/docs/classes/YooKassa-Model-Payment-Payment.md @@ -1941,10 +1941,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentInterface.md index c79128ca..dd700c5c 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentInterface.md @@ -419,10 +419,10 @@ public getDeal() : \YooKassa\Model\Deal\PaymentDealInfo|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md index cec000df..e246102b 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md @@ -664,10 +664,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md index 49def13c..5cadf6c4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md index 34221aab..b53b2339 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md @@ -551,10 +551,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md index ca2127f8..3a991227 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md index f6509dd3..10250046 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md @@ -934,10 +934,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md index 71daa896..622cb354 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md @@ -216,10 +216,10 @@ public getAccount() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md index d01ad53c..16c9566a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md index 451dc8c2..f8af6d7e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md @@ -99,10 +99,10 @@ public factoryFromArray(array|null $data = [], string|null $type = null) : \YooK ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md index 2cbb67de..a701de3e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md @@ -102,10 +102,10 @@ public getAmount() : \YooKassa\Model\AmountInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md index b0d0f791..e8489fd2 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md @@ -178,10 +178,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md index 45574aa3..1e13c5e3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md index f78a2d4e..d40632cd 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md @@ -957,10 +957,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md index 8ffbb3d9..0626b3ae 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md @@ -490,10 +490,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md index 2e4e3c22..0e37061e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md index 42346f70..c8242b80 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md @@ -269,10 +269,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md new file mode 100644 index 00000000..34f20b35 --- /dev/null +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md @@ -0,0 +1,658 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate +### Namespace: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate](../namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificate. + +**Description:** + +Описание используемого электронного сертификата. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$applied_compensation](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_applied_compensation) | | Сумма, которую одобрили для оплаты по сертификату за одну единицу товара. Пример: из 1000 рублей одобрили 500 рублей для оплаты по сертификату. | +| public | [$appliedCompensation](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_appliedCompensation) | | Сумма, которую одобрили для оплаты по сертификату за одну единицу товара. Пример: из 1000 рублей одобрили 500 рублей для оплаты по сертификату. | +| public | [$available_compensation](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_available_compensation) | | Максимально допустимая сумма, которую может покрыть электронный сертификат для оплаты одной единицы товара. Пример: сертификат может компенсировать максимум 1000 рублей для оплаты этого товара. | +| public | [$availableCompensation](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_availableCompensation) | | Максимально допустимая сумма, которую может покрыть электронный сертификат для оплаты одной единицы товара. Пример: сертификат может компенсировать максимум 1000 рублей для оплаты этого товара. | +| public | [$certificate_id](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_certificate_id) | | Идентификатор сертификата. От 20 до 30 символов. | +| public | [$certificateId](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_certificateId) | | Идентификатор сертификата. От 20 до 30 символов. | +| public | [$tru_quantity](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_tru_quantity) | | Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. | +| public | [$truQuantity](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#property_truQuantity) | | Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getAppliedCompensation()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_getAppliedCompensation) | | Возвращает applied_compensation. | +| public | [getAvailableCompensation()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_getAvailableCompensation) | | Возвращает available_compensation. | +| public | [getCertificateId()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_getCertificateId) | | Возвращает certificate_id. | +| public | [getTruQuantity()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_getTruQuantity) | | Возвращает tru_quantity. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setAppliedCompensation()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_setAppliedCompensation) | | Устанавливает applied_compensation. | +| public | [setAvailableCompensation()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_setAvailableCompensation) | | Устанавливает available_compensation. | +| public | [setCertificateId()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_setCertificateId) | | Устанавливает certificate_id. | +| public | [setTruQuantity()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md#method_setTruQuantity) | | Устанавливает tru_quantity. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php](../../lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $applied_compensation : \YooKassa\Model\AmountInterface +--- +***Description*** + +Сумма, которую одобрили для оплаты по сертификату за одну единицу товара. Пример: из 1000 рублей одобрили 500 рублей для оплаты по сертификату. + +**Type:** AmountInterface + +**Details:** + + + +#### public $appliedCompensation : \YooKassa\Model\AmountInterface +--- +***Description*** + +Сумма, которую одобрили для оплаты по сертификату за одну единицу товара. Пример: из 1000 рублей одобрили 500 рублей для оплаты по сертификату. + +**Type:** AmountInterface + +**Details:** + + + +#### public $available_compensation : \YooKassa\Model\AmountInterface +--- +***Description*** + +Максимально допустимая сумма, которую может покрыть электронный сертификат для оплаты одной единицы товара. Пример: сертификат может компенсировать максимум 1000 рублей для оплаты этого товара. + +**Type:** AmountInterface + +**Details:** + + + +#### public $availableCompensation : \YooKassa\Model\AmountInterface +--- +***Description*** + +Максимально допустимая сумма, которую может покрыть электронный сертификат для оплаты одной единицы товара. Пример: сертификат может компенсировать максимум 1000 рублей для оплаты этого товара. + +**Type:** AmountInterface + +**Details:** + + + +#### public $certificate_id : string +--- +***Description*** + +Идентификатор сертификата. От 20 до 30 символов. + +**Type:** string + +**Details:** + + + +#### public $certificateId : string +--- +***Description*** + +Идентификатор сертификата. От 20 до 30 символов. + +**Type:** string + +**Details:** + + + +#### public $tru_quantity : int +--- +***Description*** + +Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. + +**Type:** int + +**Details:** + + + +#### public $truQuantity : int +--- +***Description*** + +Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. + +**Type:** int + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getAppliedCompensation() : \YooKassa\Model\AmountInterface|null + +```php +public getAppliedCompensation() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает applied_compensation. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - Сумма, которую одобрили для оплаты по сертификату + + + +#### public getAvailableCompensation() : \YooKassa\Model\AmountInterface|null + +```php +public getAvailableCompensation() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает available_compensation. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - Максимально допустимая сумма + + + +#### public getCertificateId() : string|null + +```php +public getCertificateId() : string|null +``` + +**Summary** + +Возвращает certificate_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +**Returns:** string|null - Идентификатор сертификата + + + +#### public getTruQuantity() : int|null + +```php +public getTruQuantity() : int|null +``` + +**Summary** + +Возвращает tru_quantity. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +**Returns:** int|null - Количество единиц товара + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setAppliedCompensation() : self + +```php +public setAppliedCompensation(\YooKassa\Model\AmountInterface|array|null $applied_compensation = null) : self +``` + +**Summary** + +Устанавливает applied_compensation. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | applied_compensation | Сумма, которую одобрили для оплаты по сертификату | + +**Returns:** self - + + + +#### public setAvailableCompensation() : self + +```php +public setAvailableCompensation(\YooKassa\Model\AmountInterface|array|null $available_compensation = null) : self +``` + +**Summary** + +Устанавливает available_compensation. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | available_compensation | Максимально допустимая сумма | + +**Returns:** self - + + + +#### public setCertificateId() : self + +```php +public setCertificateId(string|null $certificate_id = null) : self +``` + +**Summary** + +Устанавливает certificate_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | certificate_id | Идентификатор сертификата. От 20 до 30 символов. | + +**Returns:** self - + + + +#### public setTruQuantity() : self + +```php +public setTruQuantity(int|null $tru_quantity = null) : self +``` + +**Summary** + +Устанавливает tru_quantity. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | tru_quantity | Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md new file mode 100644 index 00000000..134c3374 --- /dev/null +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md @@ -0,0 +1,645 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle +### Namespace: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate](../namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateApprovedPaymentArticle. + +**Description:** + +Товарная позиция в одобренной корзине покупки при оплате по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$article_code](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_article_code) | | Код товара в вашей системе. Максимум 128 символов. | +| public | [$article_number](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_article_number) | | Порядковый номер товара в корзине. От 1 до 999 включительно. | +| public | [$articleCode](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_articleCode) | | Код товара в вашей системе. Максимум 128 символов. | +| public | [$articleNumber](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_articleNumber) | | Порядковый номер товара в корзине. От 1 до 999 включительно. | +| public | [$certificates](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_certificates) | | Список электронных сертификатов, которые используются для оплаты покупки. | +| public | [$tru_code](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_tru_code) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | +| public | [$truCode](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#property_truCode) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticleCode()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_getArticleCode) | | Возвращает article_code. | +| public | [getArticleNumber()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_getArticleNumber) | | Возвращает article_number. | +| public | [getCertificates()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_getCertificates) | | Возвращает certificates. | +| public | [getTruCode()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_getTruCode) | | Возвращает tru_code. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticleCode()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_setArticleCode) | | Устанавливает article_code. | +| public | [setArticleNumber()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_setArticleNumber) | | Устанавливает article_number. | +| public | [setCertificates()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_setCertificates) | | Устанавливает certificates. | +| public | [setTruCode()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md#method_setTruCode) | | Устанавливает tru_code. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php](../../lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $article_code : string +--- +***Description*** + +Код товара в вашей системе. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $article_number : int +--- +***Description*** + +Порядковый номер товара в корзине. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $articleCode : string +--- +***Description*** + +Код товара в вашей системе. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $articleNumber : int +--- +***Description*** + +Порядковый номер товара в корзине. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $certificates : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate[]|\YooKassa\Common\ListObjectInterface +--- +***Description*** + +Список электронных сертификатов, которые используются для оплаты покупки. + +**Type:** ListObjectInterface + +**Details:** + + + +#### public $tru_code : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +#### public $truCode : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticleCode() : string|null + +```php +public getArticleCode() : string|null +``` + +**Summary** + +Возвращает article_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +**Returns:** string|null - Код товара в вашей системе + + + +#### public getArticleNumber() : int|null + +```php +public getArticleNumber() : int|null +``` + +**Summary** + +Возвращает article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +**Returns:** int|null - Порядковый номер товара в корзине + + + +#### public getCertificates() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate[]|\YooKassa\Common\ListObjectInterface|null + +```php +public getCertificates() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate[]|\YooKassa\Common\ListObjectInterface|null +``` + +**Summary** + +Возвращает certificates. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate[]|\YooKassa\Common\ListObjectInterface|null - Список электронных сертификатов + + + +#### public getTruCode() : string|null + +```php +public getTruCode() : string|null +``` + +**Summary** + +Возвращает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +**Returns:** string|null - Код ТРУ + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticleCode() : self + +```php +public setArticleCode(string|null $article_code = null) : self +``` + +**Summary** + +Устанавливает article_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | article_code | Код товара в вашей системе. Максимум 128 символов. | + +**Returns:** self - + + + +#### public setArticleNumber() : self + +```php +public setArticleNumber(int|null $article_number = null) : self +``` + +**Summary** + +Устанавливает article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | article_number | Порядковый номер товара в корзине. От 1 до 999 включительно. | + +**Returns:** self - + + + +#### public setCertificates() : self + +```php +public setCertificates(\YooKassa\Common\ListObjectInterface|array|null $certificates = null) : self +``` + +**Summary** + +Устанавливает certificates. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Common\ListObjectInterface OR array OR null | certificates | Список электронных сертификатов, которые используются для оплаты покупки. | + +**Returns:** self - + + + +#### public setTruCode() : self + +```php +public setTruCode(string|null $tru_code = null) : self +``` + +**Summary** + +Устанавливает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | tru_code | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md new file mode 100644 index 00000000..fadb0ea3 --- /dev/null +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md @@ -0,0 +1,512 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData +### Namespace: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate](../namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificatePaymentData. + +**Description:** + +Данные от ФЭС НСПК для оплаты по электронному сертификату. +Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$amount](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#property_amount) | | Сумма, которая спишется с электронного сертификата. | +| public | [$basket_id](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#property_basket_id) | | Идентификатор корзины покупки, сформированной в НСПК. | +| public | [$basketId](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#property_basketId) | | Идентификатор корзины покупки, сформированной в НСПК. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getAmount()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#method_getAmount) | | Возвращает amount. | +| public | [getBasketId()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#method_getBasketId) | | Возвращает basket_id. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setAmount()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#method_setAmount) | | Устанавливает amount. | +| public | [setBasketId()](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md#method_setBasketId) | | Устанавливает basket_id. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php](../../lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $amount : \YooKassa\Model\AmountInterface +--- +***Description*** + +Сумма, которая спишется с электронного сертификата. + +**Type:** AmountInterface + +**Details:** + + + +#### public $basket_id : string +--- +***Description*** + +Идентификатор корзины покупки, сформированной в НСПК. + +**Type:** string + +**Details:** + + + +#### public $basketId : string +--- +***Description*** + +Идентификатор корзины покупки, сформированной в НСПК. + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getAmount() : \YooKassa\Model\AmountInterface|null + +```php +public getAmount() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает amount. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - Сумма, которая спишется с электронного сертификата + + + +#### public getBasketId() : string|null + +```php +public getBasketId() : string|null +``` + +**Summary** + +Возвращает basket_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md) + +**Returns:** string|null - Идентификатор корзины покупки + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setAmount() : self + +```php +public setAmount(\YooKassa\Model\AmountInterface|array|null $amount = null) : self +``` + +**Summary** + +Устанавливает amount. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | amount | Сумма, которая спишется с электронного сертификата | + +**Returns:** self - + + + +#### public setBasketId() : self + +```php +public setBasketId(string|null $basket_id = null) : self +``` + +**Summary** + +Устанавливает basket_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | basket_id | Идентификатор корзины покупки | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md index 5d00958b..92ace9f4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md @@ -724,10 +724,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md index 32cc8c24..655e01ec 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md index 6a89f49e..4480a685 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md @@ -870,10 +870,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md index 4ed1314e..2fa01744 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md @@ -732,10 +732,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md index 20574f86..f5602234 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md new file mode 100644 index 00000000..3f9c26e5 --- /dev/null +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md @@ -0,0 +1,866 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate +### Namespace: [\YooKassa\Model\Payment\PaymentMethod](../namespaces/yookassa-model-payment-paymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель PaymentMethodElectronicCertificate. + +**Description:** + +Оплата по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$articles](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#property_articles) | | Одобренная корзина покупки — список товаров, одобренных к оплате по электронному сертификату. Присутствует только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | +| public | [$card](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#property_card) | | Данные банковской карты «Мир». | +| public | [$electronic_certificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#property_electronic_certificate) | | Данные от ФЭС НСПК для оплаты по электронному сертификату. | +| public | [$electronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#property_electronicCertificate) | | Данные от ФЭС НСПК для оплаты по электронному сертификату. | +| public | [$id](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_id) | | Идентификатор записи о сохраненных платежных данных | +| public | [$saved](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_saved) | | Возможность многократного использования | +| public | [$title](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_title) | | Название метода оплаты | +| public | [$type](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#property_type) | | Код способа оплаты. | +| public | [$type](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_type) | | Код способа оплаты | +| protected | [$_id](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__id) | | Идентификатор записи о сохраненных платежных данных. | +| protected | [$_saved](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__saved) | | С помощью сохраненного способа оплаты можно проводить [безакцептные списания](/developers/payment-acceptance/scenario-extensions/recurring-payments). | +| protected | [$_title](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__title) | | Название способа оплаты. | +| protected | [$_type](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__type) | | Код способа оплаты. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticles()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_getArticles) | | Возвращает articles. | +| public | [getCard()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_getCard) | | Возвращает card. | +| public | [getElectronicCertificate()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_getElectronicCertificate) | | Возвращает electronic_certificate. | +| public | [getId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getSaved) | | Возвращает saved. | +| public | [getTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getTitle) | | Возвращает Название способа оплаты. | +| public | [getType()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getType) | | Возвращает тип платежного метода. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticles()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_setArticles) | | Устанавливает articles. | +| public | [setCard()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_setCard) | | Устанавливает card. | +| public | [setElectronicCertificate()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md#method_setElectronicCertificate) | | Устанавливает electronic_certificate. | +| public | [setId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setSaved) | | Устанавливает признак возможности многократного использования. | +| public | [setTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setTitle) | | Устанавливает Название способа оплаты. | +| public | [setType()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setType) | | Устанавливает тип платежного метода. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + * \YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $articles : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle[]|\YooKassa\Common\ListObjectInterface|null +--- +***Description*** + +Одобренная корзина покупки — список товаров, одобренных к оплате по электронному сертификату. Присутствует только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + +**Type:** ListObjectInterface|null + +**Details:** + + + +#### public $card : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +--- +***Description*** + +Данные банковской карты «Мир». + +**Type:** BankCard|null + +**Details:** + + + +#### public $electronic_certificate : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +--- +***Description*** + +Данные от ФЭС НСПК для оплаты по электронному сертификату. + +**Type:** ElectronicCertificatePaymentData|null + +**Details:** + + + +#### public $electronicCertificate : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +--- +***Description*** + +Данные от ФЭС НСПК для оплаты по электронному сертификату. + +**Type:** ElectronicCertificatePaymentData|null + +**Details:** + + + +#### public $id : string +--- +***Description*** + +Идентификатор записи о сохраненных платежных данных + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### public $saved : bool +--- +***Description*** + +Возможность многократного использования + +**Type:** bool + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### public $title : string +--- +***Description*** + +Название метода оплаты + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор записи о сохраненных платежных данных. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### protected $_saved : bool +--- +**Summary** + +С помощью сохраненного способа оплаты можно проводить [безакцептные списания](/developers/payment-acceptance/scenario-extensions/recurring-payments). + +**Type:** bool + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### protected $_title : ?string +--- +**Summary** + +Название способа оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код способа оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticles() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle[]|\YooKassa\Common\ListObjectInterface|null + +```php +public getArticles() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle[]|\YooKassa\Common\ListObjectInterface|null +``` + +**Summary** + +Возвращает articles. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle[]|\YooKassa\Common\ListObjectInterface|null - Одобренная корзина покупки — список товаров + + + +#### public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null + +```php +public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\BankCard|null - Данные банковской карты «Мир» + + + +#### public getElectronicCertificate() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null + +```php +public getElectronicCertificate() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +``` + +**Summary** + +Возвращает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null - Данные от ФЭС НСПК для оплаты по электронному сертификату + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +**Returns:** string|null - + + + +#### public getSaved() : bool|null + +```php +public getSaved() : bool|null +``` + +**Summary** + +Возвращает saved. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +**Returns:** bool|null - + + + +#### public getTitle() : string|null + +```php +public getTitle() : string|null +``` + +**Summary** + +Возвращает Название способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +**Returns:** string|null - Название способа оплаты + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип платежного метода. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +**Returns:** string|null - Тип платежного метода + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticles() : self + +```php +public setArticles(\YooKassa\Common\ListObjectInterface|array|null $articles = null) : self +``` + +**Summary** + +Устанавливает articles. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Common\ListObjectInterface OR array OR null | articles | Одобренная корзина покупки — список товаров, одобренных к оплате по электронному сертификату. Присутствует только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | + +**Returns:** self - + + + +#### public setCard() : self + +```php +public setCard(\YooKassa\Model\Payment\PaymentMethod\BankCard|array|null $card = null) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\BankCard OR array OR null | card | Данные банковской карты «Мир» | + +**Returns:** self - + + + +#### public setElectronicCertificate() : self + +```php +public setElectronicCertificate(\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|array|null $electronic_certificate = null) : self +``` + +**Summary** + +Устанавливает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData OR array OR null | electronic_certificate | Данные от ФЭС НСПК для оплаты по электронному сертификату. | + +**Returns:** self - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор способа оплаты. | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \Exception | | + +**Returns:** self - + + + +#### public setSaved() : self + +```php +public setSaved(bool|array|null $saved = null) : self +``` + +**Summary** + +Устанавливает признак возможности многократного использования. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| bool OR array OR null | saved | С помощью сохраненного способа оплаты можно проводить [безакцептные списания](/developers/payment-acceptance/scenario-extensions/recurring-payments). | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \Exception | | + +**Returns:** self - + + + +#### public setTitle() : self + +```php +public setTitle(string|null $title = null) : self +``` + +**Summary** + +Устанавливает Название способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | title | Название способа оплаты. | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \Exception | | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип платежного метода. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип платежного метода | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md index f74d2595..b3340248 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md @@ -112,10 +112,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md index 887ff08c..5ca86f07 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md index 9b2aa977..74e0c38f 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md index d04d5a00..56c96f2e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md @@ -723,10 +723,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md index 44ec7823..a484f257 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md index 5b3dbb34..2f1d02dd 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md index 3b634bd7..6c8c0211 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md @@ -803,10 +803,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md index d0cba4c2..bafeaffd 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md @@ -789,10 +789,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md index 6b5bc4bd..72085893 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md @@ -20,6 +20,8 @@ | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [$id](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_id) | | Идентификатор записи о сохраненных платежных данных | +| public | [$payer_bank_details](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#property_payer_bank_details) | | Реквизиты счета, который использовался для оплаты. | +| public | [$payerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#property_payerBankDetails) | | Реквизиты счета, который использовался для оплаты. | | public | [$saved](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_saved) | | Возможность многократного использования | | public | [$sbp_operation_id](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#property_sbp_operation_id) | | Идентификатор операции в СБП (НСПК). | | public | [$sbpOperationId](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#property_sbpOperationId) | | Идентификатор операции в СБП (НСПК). | @@ -41,6 +43,7 @@ | public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | | public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | | public | [getId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getPayerBankDetails()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#method_getPayerBankDetails) | | Возвращает payer_bank_details. | | public | [getSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getSbpOperationId()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#method_getSbpOperationId) | | Возвращает sbp_operation_id. | | public | [getTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getTitle) | | Возвращает Название способа оплаты. | @@ -52,6 +55,7 @@ | public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | | public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | | public | [setId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setPayerBankDetails()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#method_setPayerBankDetails) | | Устанавливает payer_bank_details. | | public | [setSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setSaved) | | Устанавливает признак возможности многократного использования. | | public | [setSbpOperationId()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md#method_setSbpOperationId) | | Устанавливает sbp_operation_id. | | public | [setTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setTitle) | | Устанавливает Название способа оплаты. | @@ -94,6 +98,30 @@ * Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +#### public $payer_bank_details : \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|null +--- +***Description*** + +Реквизиты счета, который использовался для оплаты. + +**Type:** SbpPayerBankDetails|null + +**Details:** + + + +#### public $payerBankDetails : \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|null +--- +***Description*** + +Реквизиты счета, который использовался для оплаты. + +**Type:** SbpPayerBankDetails|null + +**Details:** + + #### public $saved : bool --- @@ -358,6 +386,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getPayerBankDetails() : \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|null + +```php +public getPayerBankDetails() : \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|null +``` + +**Summary** + +Возвращает payer_bank_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodSbp](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|null - Реквизиты счета, который использовался для оплаты. + + #### public getSaved() : bool|null @@ -389,7 +434,7 @@ public getSbpOperationId() : string|null **Details:** * Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodSbp](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md) -**Returns:** string|null - +**Returns:** string|null - Идентификатор операции в СБП (НСПК). @@ -572,6 +617,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setPayerBankDetails() : self + +```php +public setPayerBankDetails(\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails|array|null $payer_bank_details = null) : self +``` + +**Summary** + +Устанавливает payer_bank_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodSbp](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails OR array OR null | payer_bank_details | Реквизиты счета, который использовался для оплаты. | + +**Returns:** self - + + #### public setSaved() : self @@ -736,10 +803,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md index e7df6c24..d9e0680f 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md @@ -9,7 +9,7 @@ **Description:** -Оплата через интернет-банк Тинькофф. +Оплата через T-Pay. --- ### Constants @@ -19,10 +19,12 @@ ### Properties | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | +| public | [$card](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md#property_card) | | Данные банковской карты | | public | [$id](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_id) | | Идентификатор записи о сохраненных платежных данных | | public | [$saved](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_saved) | | Возможность многократного использования | | public | [$title](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_title) | | Название метода оплаты | | public | [$type](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property_type) | | Код способа оплаты | +| protected | [$_card](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md#property__card) | | | | protected | [$_id](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__id) | | Идентификатор записи о сохраненных платежных данных. | | protected | [$_saved](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__saved) | | С помощью сохраненного способа оплаты можно проводить [безакцептные списания](/developers/payment-acceptance/scenario-extensions/recurring-payments). | | protected | [$_title](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#property__title) | | Название способа оплаты. | @@ -38,6 +40,7 @@ | public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | | public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | | public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getCard()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md#method_getCard) | | Возвращает данные банковской карты. | | public | [getId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getId) | | Возвращает id. | | public | [getSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_getTitle) | | Возвращает Название способа оплаты. | @@ -48,6 +51,7 @@ | public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | | public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | | public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setCard()](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md#method_setCard) | | Устанавливает данные банковской карты. | | public | [setId()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setId) | | Устанавливает id. | | public | [setSaved()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setSaved) | | Устанавливает признак возможности многократного использования. | | public | [setTitle()](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md#method_setTitle) | | Устанавливает Название способа оплаты. | @@ -60,9 +64,10 @@ ### Details * File: [lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php) * Package: YooKassa\Model -* Class Hierarchy: +* Class Hierarchy: * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) * [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + * [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) * \YooKassa\Model\Payment\PaymentMethod\PaymentMethodTinkoffBank * See Also: @@ -77,6 +82,19 @@ --- ## Properties + +#### public $card : string +--- +***Description*** + +Данные банковской карты + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) + + #### public $id : string --- @@ -129,6 +147,15 @@ * Inherited From: [\YooKassa\Model\Payment\PaymentMethod\AbstractPaymentMethod](../classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md) + +#### protected $_card : ?\YooKassa\Model\Payment\PaymentMethod\BankCard +--- +**Type:** BankCard +Данные банковской карты +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) + + #### protected $_id : ?string --- @@ -313,6 +340,23 @@ public fromArray(array|\Traversable $sourceArray) : void **Returns:** void - + +#### public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null + +```php +public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +``` + +**Summary** + +Возвращает данные банковской карты. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\BankCard|null - Данные банковской карты + + #### public getId() : string|null @@ -500,6 +544,28 @@ public offsetUnset(string $offset) : void **Returns:** void - + +#### public setCard() : self + +```php +public setCard(\YooKassa\Model\Payment\PaymentMethod\BankCard|array|null $card) : self +``` + +**Summary** + +Устанавливает данные банковской карты. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\BankCard OR array OR null | card | Данные банковской карты | + +**Returns:** self - + + #### public setId() : self @@ -669,10 +735,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md index 638ccc6b..cb7f5bbd 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md index 84232edf..5c8cc2b4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md index ca3d4159..95566a7b 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md @@ -670,10 +670,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md index ad12ee3d..baacb74e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md @@ -736,10 +736,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md new file mode 100644 index 00000000..0a42be6c --- /dev/null +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md @@ -0,0 +1,499 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails +### Namespace: [\YooKassa\Model\Payment\PaymentMethod](../namespaces/yookassa-model-payment-paymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель SbpPayerBankDetails. + +**Description:** + +Реквизиты счета, который использовался для оплаты. +Обязательный параметр для платежей в статусе ~`succeeded`. В остальных случаях может отсутствовать. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$bank_id](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#property_bank_id) | | Идентификатор банка или платежного сервиса в СБП (НСПК). | +| public | [$bic](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#property_bic) | | Банковский идентификационный код (БИК) банка или платежного сервиса. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getBankId()](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#method_getBankId) | | Возвращает bank_id. | +| public | [getBic()](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#method_getBic) | | Возвращает bic. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setBankId()](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#method_setBankId) | | Устанавливает bank_id. | +| public | [setBic()](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md#method_setBic) | | Устанавливает bic. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php](../../lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $bank_id : string +--- +***Description*** + +Идентификатор банка или платежного сервиса в СБП (НСПК). + +**Type:** string + +**Details:** + + + +#### public $bic : string +--- +***Description*** + +Банковский идентификационный код (БИК) банка или платежного сервиса. + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getBankId() : string|null + +```php +public getBankId() : string|null +``` + +**Summary** + +Возвращает bank_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md) + +**Returns:** string|null - + + + +#### public getBic() : string|null + +```php +public getBic() : string|null +``` + +**Summary** + +Возвращает bic. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md) + +**Returns:** string|null - + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setBankId() : self + +```php +public setBankId(string|null $bank_id = null) : self +``` + +**Summary** + +Устанавливает bank_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | bank_id | Идентификатор банка или платежного сервиса в СБП (НСПК). | + +**Returns:** self - + + + +#### public setBic() : self + +```php +public setBic(string|null $bic = null) : self +``` + +**Summary** + +Устанавливает bic. + +**Details:** +* Inherited From: [\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | bic | | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md index f30adc75..3091eccd 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md @@ -23,7 +23,7 @@ - `webmoney` - Платеж из кошелька Webmoney - `alfabank` - Платеж через Альфа-Клик - `b2b_sberbank` - Сбербанк Бизнес Онлайн -- `tinkoff_bank` - Интернет-банк Тинькофф +- `tinkoff_bank` - T-Pay - `psb` - ПромсвязьБанк - `installments` - Заплатить по частям - `wechat` - Платеж через WeChat @@ -44,12 +44,13 @@ | public | [WEBMONEY](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_WEBMONEY) | *deprecated* | Платеж из кошелька Webmoney | | public | [ALFABANK](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_ALFABANK) | *deprecated* | Платеж через Альфа-Клик | | public | [B2B_SBERBANK](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_B2B_SBERBANK) | | Сбербанк Бизнес Онлайн | -| public | [TINKOFF_BANK](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_TINKOFF_BANK) | | Интернет-банк Тинькофф | +| public | [TINKOFF_BANK](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_TINKOFF_BANK) | | Платеж через T-Pay | | public | [PSB](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_PSB) | *deprecated* | ПромсвязьБанк | | public | [INSTALLMENTS](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_INSTALLMENTS) | *deprecated* | Заплатить по частям | | public | [WECHAT](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_WECHAT) | *deprecated* | Оплата через WeChat. | | public | [SBP](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_SBP) | | Оплата через сервис быстрых платежей | | public | [SBER_LOAN](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_SBER_LOAN) | | Прием оплаты с использованием Кредита от СберБанка | +| public | [ELECTRONIC_CERTIFICATE](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_ELECTRONIC_CERTIFICATE) | | Прием платежей по электронному сертификату, привязанному к карте «Мир» | | public | [UNKNOWN](../classes/YooKassa-Model-Payment-PaymentMethodType.md#constant_UNKNOWN) | *deprecated* | Для неизвестных методов оплаты | --- @@ -193,7 +194,7 @@ B2B_SBERBANK = 'b2b_sberbank' ###### TINKOFF_BANK -Интернет-банк Тинькофф +Платеж через T-Pay ```php TINKOFF_BANK = 'tinkoff_bank' @@ -251,6 +252,15 @@ SBER_LOAN = 'sber_loan' ``` + +###### ELECTRONIC_CERTIFICATE +Прием платежей по электронному сертификату, привязанному к карте «Мир» + +```php +ELECTRONIC_CERTIFICATE = 'electronic_certificate' +``` + + ###### ~~UNKNOWN~~ Для неизвестных методов оплаты @@ -344,10 +354,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentStatus.md b/docs/classes/YooKassa-Model-Payment-PaymentStatus.md index 84e97a7f..7f06a6e9 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentStatus.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentStatus.md @@ -178,10 +178,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md b/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md index 4397e3ca..3dd9affa 100644 --- a/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md +++ b/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Recipient.md b/docs/classes/YooKassa-Model-Payment-Recipient.md index 3c8ed314..fe054d97 100644 --- a/docs/classes/YooKassa-Model-Payment-Recipient.md +++ b/docs/classes/YooKassa-Model-Payment-Recipient.md @@ -527,10 +527,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-RecipientInterface.md b/docs/classes/YooKassa-Model-Payment-RecipientInterface.md index c6b6993d..7ba66312 100644 --- a/docs/classes/YooKassa-Model-Payment-RecipientInterface.md +++ b/docs/classes/YooKassa-Model-Payment-RecipientInterface.md @@ -94,10 +94,10 @@ public getGatewayId() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md b/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md index a32b929f..84f25703 100644 --- a/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md +++ b/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Transfer.md b/docs/classes/YooKassa-Model-Payment-Transfer.md index 3b1b7dc6..304b6cfb 100644 --- a/docs/classes/YooKassa-Model-Payment-Transfer.md +++ b/docs/classes/YooKassa-Model-Payment-Transfer.md @@ -882,10 +882,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-TransferInterface.md b/docs/classes/YooKassa-Model-Payment-TransferInterface.md index c43d3788..ee17f44b 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferInterface.md +++ b/docs/classes/YooKassa-Model-Payment-TransferInterface.md @@ -308,10 +308,10 @@ public getMetadata() : null|\YooKassa\Model\Metadata ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-TransferStatus.md b/docs/classes/YooKassa-Model-Payment-TransferStatus.md index 333a8c0c..b0a5171d 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferStatus.md +++ b/docs/classes/YooKassa-Model-Payment-TransferStatus.md @@ -177,10 +177,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md index 8ff0bde5..d9ee2168 100644 --- a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md +++ b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md b/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md index ffc6006c..8bec5c9f 100644 --- a/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md +++ b/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-Payout.md b/docs/classes/YooKassa-Model-Payout-Payout.md index 49f361e5..e67e7438 100644 --- a/docs/classes/YooKassa-Model-Payout-Payout.md +++ b/docs/classes/YooKassa-Model-Payout-Payout.md @@ -1267,10 +1267,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md index ca148b2a..d5587443 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md index 4baa8e07..50b71f7d 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md @@ -163,10 +163,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md index 196040a2..3c3b6fff 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md @@ -251,10 +251,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md index 95f3c4d2..2cb1a923 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md @@ -505,10 +505,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md index 864dd2c6..9b09ff9e 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md @@ -703,10 +703,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md index 192d16d1..2bc437d8 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md index c974beb5..709a6d2f 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md @@ -651,10 +651,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md index 4360e25b..336f6050 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md @@ -174,10 +174,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md index 12945eaf..24e58eb7 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md @@ -538,10 +538,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutInterface.md b/docs/classes/YooKassa-Model-Payout-PayoutInterface.md index 74f5a7b8..d9a41fd6 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutInterface.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutInterface.md @@ -238,10 +238,10 @@ public getTest() : bool|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md b/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md index dee65ba7..64d0b8ec 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md @@ -452,10 +452,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutStatus.md b/docs/classes/YooKassa-Model-Payout-PayoutStatus.md index daf79179..83c41409 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutStatus.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutStatus.md @@ -174,10 +174,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md b/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md index 913cf415..d2fca244 100644 --- a/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md +++ b/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md @@ -576,10 +576,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalData.md b/docs/classes/YooKassa-Model-PersonalData-PersonalData.md index 07f798ea..60573652 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalData.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalData.md @@ -923,10 +923,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md index c938693c..84bb4692 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md @@ -489,10 +489,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md index eeb79a88..81e4915e 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md @@ -142,10 +142,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md index 0d7ecb26..79d56053 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md @@ -142,10 +142,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md index 031d390f..7f3333bc 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md @@ -362,10 +362,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md index 31b02b08..42950fca 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md @@ -166,10 +166,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md index f8066c29..c13d5e43 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md @@ -155,10 +155,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md b/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md index 932b6d07..a2db3974 100644 --- a/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md +++ b/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md @@ -509,10 +509,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-AgentType.md b/docs/classes/YooKassa-Model-Receipt-AgentType.md index b70b5b88..7efda8d1 100644 --- a/docs/classes/YooKassa-Model-Receipt-AgentType.md +++ b/docs/classes/YooKassa-Model-Receipt-AgentType.md @@ -203,10 +203,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md b/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md index c7c9b755..3456e732 100644 --- a/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md b/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md index 81d8dc10..ca8f0d6e 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md @@ -41,11 +41,11 @@ Class MarkCodeInfo. | public | [$egais_20](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_egais_20) | | Код товара в формате ЕГАИС-2.0 (тег в 54 ФЗ — 1308) | | public | [$egais_30](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_egais_30) | | Код товара в формате ЕГАИС-3.0 (тег в 54 ФЗ — 1309) | | public | [$fur](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_fur) | | Контрольно-идентификационный знак мехового изделия (тег в 54 ФЗ — 1307) | -| public | [$gs_10](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_gs_10) | | Код товара в формате GS1.0 (тег в 54 ФЗ — 1304) | +| public | [$gs_10](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_gs_10) | | Код товара в формате GS1.0 (тег в 54 ФЗ — 1304).
Можно передавать, если используете онлайн-кассу Orange Data, aQsi, Кит Инвест, АТОЛ Онлайн. | | public | [$gs_1m](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_gs_1m) | | Код товара в формате GS1.M (тег в 54 ФЗ — 1305) | | public | [$itf_14](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_itf_14) | | Код товара в формате ITF-14 (тег в 54 ФЗ — 1303) | -| public | [$mark_code_raw](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_mark_code_raw) | | Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) | -| public | [$markCodeRaw](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_markCodeRaw) | | Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) | +| public | [$mark_code_raw](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_mark_code_raw) | | Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` | +| public | [$markCodeRaw](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_markCodeRaw) | | Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` | | public | [$short](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_short) | | Код товара в формате короткого кода маркировки (тег в 54 ФЗ — 1306) | | public | [$unknown](../classes/YooKassa-Model-Receipt-MarkCodeInfo.md#property_unknown) | | Нераспознанный код товара (тег в 54 ФЗ — 1300) | @@ -256,7 +256,7 @@ EGAIS_30_LENGTH = 14 : int --- ***Description*** -Код товара в формате GS1.0 (тег в 54 ФЗ — 1304) +Код товара в формате GS1.0 (тег в 54 ФЗ — 1304).
Можно передавать, если используете онлайн-кассу Orange Data, aQsi, Кит Инвест, АТОЛ Онлайн. **Type:** string @@ -292,7 +292,7 @@ EGAIS_30_LENGTH = 14 : int --- ***Description*** -Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) +Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` **Type:** string @@ -304,7 +304,7 @@ EGAIS_30_LENGTH = 14 : int --- ***Description*** -Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) +Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` **Type:** string @@ -1085,10 +1085,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md b/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md index 0e1937cc..fc3f644b 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md @@ -509,10 +509,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md b/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md index 434b3053..f86b7a26 100644 --- a/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md @@ -602,10 +602,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md index a42ef0e2..84938b6b 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md index 312b5c8e..7ce8ace1 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md @@ -462,10 +462,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Receipt.md b/docs/classes/YooKassa-Model-Receipt-Receipt.md index f6966581..0fd3f355 100644 --- a/docs/classes/YooKassa-Model-Receipt-Receipt.md +++ b/docs/classes/YooKassa-Model-Receipt-Receipt.md @@ -1068,10 +1068,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md index 3d147c40..b1c1f590 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md index 0fe77dc1..8500ecc9 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md @@ -140,10 +140,10 @@ public jsonSerialize() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md index f54f903c..9ce48545 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md @@ -181,10 +181,10 @@ public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShippin ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md index 032562bb..e3699fa6 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md @@ -1702,10 +1702,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md index 6cdfe2e7..f8f745fc 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md @@ -567,10 +567,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md index 822a6c4d..077b5e96 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md @@ -436,10 +436,10 @@ public isShipping() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md index aea738a7..519b097c 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md @@ -374,10 +374,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptType.md b/docs/classes/YooKassa-Model-Receipt-ReceiptType.md index 278bbb88..e53d9d97 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptType.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptType.md @@ -155,10 +155,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Settlement.md b/docs/classes/YooKassa-Model-Receipt-Settlement.md index 2e7b0cea..5783d38c 100644 --- a/docs/classes/YooKassa-Model-Receipt-Settlement.md +++ b/docs/classes/YooKassa-Model-Receipt-Settlement.md @@ -488,10 +488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md b/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md index 49abbdfa..40ba2145 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md @@ -83,10 +83,10 @@ public getAmount() : \YooKassa\Model\AmountInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SettlementType.md b/docs/classes/YooKassa-Model-Receipt-SettlementType.md index 0e3caeeb..8481aabf 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementType.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementType.md @@ -168,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Supplier.md b/docs/classes/YooKassa-Model-Receipt-Supplier.md index dd32b3cc..7764e2fb 100644 --- a/docs/classes/YooKassa-Model-Receipt-Supplier.md +++ b/docs/classes/YooKassa-Model-Receipt-Supplier.md @@ -547,10 +547,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md b/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md index 23b6d59e..5d449e12 100644 --- a/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md @@ -177,10 +177,10 @@ public setInn(null|string $inn) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-Refund.md b/docs/classes/YooKassa-Model-Refund-Refund.md index 1c6ffc2e..b2229835 100644 --- a/docs/classes/YooKassa-Model-Refund-Refund.md +++ b/docs/classes/YooKassa-Model-Refund-Refund.md @@ -1146,10 +1146,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md index 8fb2f950..523f89ee 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md index 08b59020..ddd1811e 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md @@ -164,10 +164,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md index 66428cd4..c1784e5a 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md @@ -14,6 +14,12 @@ - `insufficient_funds` - Не хватает денег, чтобы сделать возврат - `rejected_by_payee` - Эмитент платежного средства отклонил возврат по неизвестным причинам - `yoo_money_account_closed` - Пользователь закрыл кошелек ЮMoney, на который вы пытаетесь вернуть платеж +- `payment_basket_id_not_found` - НСПК не нашла для этого возврата одобренную корзину покупки +- `payment_article_number_not_found` - Указаны товары, для оплаты которых не использовался электронный сертификат: значение `payment_article_number` отсутствует +- `payment_tru_code_not_found` - Указаны товары, для оплаты которых не использовался электронный сертификат: значение `tru_code` отсутствует +- `too_many_refunding_articles` - Для одного или нескольких товаров количество возвращаемых единиц (`quantity`) больше, чем указано в одобренной корзине покупки +- `some_articles_already_refunded` - Некоторые товары уже возвращены +- `rejected_by_timeout` - Технические неполадки на стороне инициатора отмены возврата. --- ### Constants @@ -23,6 +29,12 @@ | public | [INSUFFICIENT_FUNDS](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_INSUFFICIENT_FUNDS) | | Не хватает денег, чтобы сделать возврат: сумма платежей, которые вы получили в день возврата, меньше, чем сам возврат, или есть задолженность. [Что делать в этом случае](https://yookassa.ru/docs/support/payments/refunding#refunding__block) | | public | [REJECTED_BY_PAYEE](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_REJECTED_BY_PAYEE) | | Эмитент платежного средства отклонил возврат по неизвестным причинам. Предложите пользователю обратиться к эмитенту для уточнения подробностей или договоритесь с пользователем о том, чтобы вернуть ему деньги напрямую, не через ЮKassa. | | public | [YOO_MONEY_ACCOUNT_CLOSED](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_YOO_MONEY_ACCOUNT_CLOSED) | | Пользователь закрыл кошелек ЮMoney, на который вы пытаетесь вернуть платеж. Сделать возврат через ЮKassa нельзя. Договоритесь с пользователем напрямую, каким способом вы вернете ему деньги. | +| public | [PAYMENT_BASKET_ID_NOT_FOUND](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_PAYMENT_BASKET_ID_NOT_FOUND) | | НСПК не нашла для этого возврата одобренную корзину покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. | +| public | [PAYMENT_ARTICLE_NUMBER_NOT_FOUND](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_PAYMENT_ARTICLE_NUMBER_NOT_FOUND) | | Указаны товары, для оплаты которых не использовался электронный сертификат: значение `payment_article_number` отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. | +| public | [PAYMENT_TRU_CODE_NOT_FOUND](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_PAYMENT_TRU_CODE_NOT_FOUND) | | Указаны товары, для оплаты которых не использовался электронный сертификат: значение tru_code отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. | +| public | [TOO_MANY_REFUNDING_ARTICLES](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_TOO_MANY_REFUNDING_ARTICLES) | | Для одного или нескольких товаров количество возвращаемых единиц (`quantity`) больше, чем указано в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. | +| public | [SOME_ARTICLES_ALREADY_REFUNDED](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_SOME_ARTICLES_ALREADY_REFUNDED) | | Некоторые товары уже возвращены. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. | +| public | [REJECTED_BY_TIMEOUT](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md#constant_REJECTED_BY_TIMEOUT) | | Технические неполадки на стороне инициатора отмены возврата. Повторите запрос с новым ключом идемпотентности. | --- ### Properties @@ -84,6 +96,60 @@ YOO_MONEY_ACCOUNT_CLOSED = 'yoo_money_account_closed' ``` + +###### PAYMENT_BASKET_ID_NOT_FOUND +НСПК не нашла для этого возврата одобренную корзину покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. + +```php +PAYMENT_BASKET_ID_NOT_FOUND = 'payment_basket_id_not_found' +``` + + + +###### PAYMENT_ARTICLE_NUMBER_NOT_FOUND +Указаны товары, для оплаты которых не использовался электронный сертификат: значение `payment_article_number` отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. + +```php +PAYMENT_ARTICLE_NUMBER_NOT_FOUND = 'payment_article_number_not_found' +``` + + + +###### PAYMENT_TRU_CODE_NOT_FOUND +Указаны товары, для оплаты которых не использовался электронный сертификат: значение tru_code отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. + +```php +PAYMENT_TRU_CODE_NOT_FOUND = 'payment_tru_code_not_found' +``` + + + +###### TOO_MANY_REFUNDING_ARTICLES +Для одного или нескольких товаров количество возвращаемых единиц (`quantity`) больше, чем указано в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. + +```php +TOO_MANY_REFUNDING_ARTICLES = 'too_many_refunding_articles' +``` + + + +###### SOME_ARTICLES_ALREADY_REFUNDED +Некоторые товары уже возвращены. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. + +```php +SOME_ARTICLES_ALREADY_REFUNDED = 'some_articles_already_refunded' +``` + + + +###### REJECTED_BY_TIMEOUT +Технические неполадки на стороне инициатора отмены возврата. Повторите запрос с новым ключом идемпотентности. + +```php +REJECTED_BY_TIMEOUT = 'rejected_by_timeout' +``` + + --- ## Properties @@ -166,10 +232,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundInterface.md b/docs/classes/YooKassa-Model-Refund-RefundInterface.md index 08762dc5..bfe419ff 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundInterface.md +++ b/docs/classes/YooKassa-Model-Refund-RefundInterface.md @@ -221,10 +221,10 @@ public getDeal() : null|\YooKassa\Model\Deal\RefundDealInfo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md index c25759b8..9f662b1f 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md new file mode 100644 index 00000000..4a05e9fe --- /dev/null +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md @@ -0,0 +1,645 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle +### Namespace: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate](../namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateRefundArticle. + +**Description:** + +Товарная позиция в корзине возврата при возврате на электронный сертификат. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$article_number](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_article_number) | | Порядковый номер товара в корзине возврата. От 1 до 999 включительно. | +| public | [$articleNumber](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_articleNumber) | | Порядковый номер товара в корзине возврата. От 1 до 999 включительно. | +| public | [$payment_article_number](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_payment_article_number) | | Порядковый номер товара в одобренной корзине покупки (article_number в [объекте платежа](https://yookassa.ru/developers/api#payment_object)). От 1 до 999 включительно. | +| public | [$paymentArticleNumber](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_paymentArticleNumber) | | Порядковый номер товара в одобренной корзине покупки (article_number в [объекте платежа](https://yookassa.ru/developers/api#payment_object)). От 1 до 999 включительно. | +| public | [$quantity](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_quantity) | | Количество возвращаемых единиц товара. Формат: целое положительное число. | +| public | [$tru_code](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_tru_code) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | +| public | [$truCode](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#property_truCode) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticleNumber()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_getArticleNumber) | | Возвращает article_number. | +| public | [getPaymentArticleNumber()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_getPaymentArticleNumber) | | Возвращает payment_article_number. | +| public | [getQuantity()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_getQuantity) | | Возвращает quantity. | +| public | [getTruCode()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_getTruCode) | | Возвращает tru_code. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticleNumber()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_setArticleNumber) | | Устанавливает article_number. | +| public | [setPaymentArticleNumber()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_setPaymentArticleNumber) | | Устанавливает payment_article_number. | +| public | [setQuantity()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_setQuantity) | | Устанавливает quantity. | +| public | [setTruCode()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md#method_setTruCode) | | Устанавливает tru_code. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php](../../lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $article_number : int +--- +***Description*** + +Порядковый номер товара в корзине возврата. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $articleNumber : int +--- +***Description*** + +Порядковый номер товара в корзине возврата. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $payment_article_number : int +--- +***Description*** + +Порядковый номер товара в одобренной корзине покупки (article_number в [объекте платежа](https://yookassa.ru/developers/api#payment_object)). От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $paymentArticleNumber : int +--- +***Description*** + +Порядковый номер товара в одобренной корзине покупки (article_number в [объекте платежа](https://yookassa.ru/developers/api#payment_object)). От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $quantity : int +--- +***Description*** + +Количество возвращаемых единиц товара. Формат: целое положительное число. + +**Type:** int + +**Details:** + + + +#### public $tru_code : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +#### public $truCode : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticleNumber() : int|null + +```php +public getArticleNumber() : int|null +``` + +**Summary** + +Возвращает article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +**Returns:** int|null - Порядковый номер товара в корзине возврата + + + +#### public getPaymentArticleNumber() : int|null + +```php +public getPaymentArticleNumber() : int|null +``` + +**Summary** + +Возвращает payment_article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +**Returns:** int|null - Порядковый номер товара в одобренной корзине покупки + + + +#### public getQuantity() : int|null + +```php +public getQuantity() : int|null +``` + +**Summary** + +Возвращает quantity. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +**Returns:** int|null - Количество возвращаемых единиц товара + + + +#### public getTruCode() : string|null + +```php +public getTruCode() : string|null +``` + +**Summary** + +Возвращает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +**Returns:** string|null - Код ТРУ + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticleNumber() : self + +```php +public setArticleNumber(int|null $article_number = null) : self +``` + +**Summary** + +Устанавливает article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | article_number | Порядковый номер товара в корзине возврата | + +**Returns:** self - + + + +#### public setPaymentArticleNumber() : self + +```php +public setPaymentArticleNumber(int|null $payment_article_number = null) : self +``` + +**Summary** + +Устанавливает payment_article_number. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | payment_article_number | Порядковый номер товара в одобренной корзине покупки | + +**Returns:** self - + + + +#### public setQuantity() : self + +```php +public setQuantity(int|null $quantity = null) : self +``` + +**Summary** + +Устанавливает quantity. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | quantity | Количество возвращаемых единиц товара. Формат: целое положительное число. | + +**Returns:** self - + + + +#### public setTruCode() : self + +```php +public setTruCode(string|null $tru_code = null) : self +``` + +**Summary** + +Устанавливает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | tru_code | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md new file mode 100644 index 00000000..6ead0180 --- /dev/null +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md @@ -0,0 +1,513 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData +### Namespace: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate](../namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateRefundData. + +**Description:** + +Данные от ФЭС НСПК для возврата на электронный сертификат. + +Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$amount](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#property_amount) | | Сумма, которая вернется на электронный сертификат. | +| public | [$basket_id](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#property_basket_id) | | Идентификатор корзины возврата, сформированной в НСПК. | +| public | [$basketId](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#property_basketId) | | Идентификатор корзины возврата, сформированной в НСПК. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getAmount()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#method_getAmount) | | Возвращает amount. | +| public | [getBasketId()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#method_getBasketId) | | Возвращает basket_id. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setAmount()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#method_setAmount) | | Устанавливает amount. | +| public | [setBasketId()](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md#method_setBasketId) | | Устанавливает basket_id. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php](../../lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $amount : \YooKassa\Model\AmountInterface +--- +***Description*** + +Сумма, которая вернется на электронный сертификат. + +**Type:** AmountInterface + +**Details:** + + + +#### public $basket_id : string +--- +***Description*** + +Идентификатор корзины возврата, сформированной в НСПК. + +**Type:** string + +**Details:** + + + +#### public $basketId : string +--- +***Description*** + +Идентификатор корзины возврата, сформированной в НСПК. + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getAmount() : \YooKassa\Model\AmountInterface|null + +```php +public getAmount() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает amount. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - Сумма, которая вернется на электронный сертификат + + + +#### public getBasketId() : string|null + +```php +public getBasketId() : string|null +``` + +**Summary** + +Возвращает basket_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md) + +**Returns:** string|null - Идентификатор корзины возврата, сформированной в НСПК + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setAmount() : self + +```php +public setAmount(\YooKassa\Model\AmountInterface|array|null $amount = null) : self +``` + +**Summary** + +Устанавливает amount. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | amount | Сумма, которая вернется на электронный сертификат | + +**Returns:** self - + + + +#### public setBasketId() : self + +```php +public setBasketId(string|null $basket_id = null) : self +``` + +**Summary** + +Устанавливает basket_id. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | basket_id | Идентификатор корзины возврата, сформированной в НСПК | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md new file mode 100644 index 00000000..36b52786 --- /dev/null +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md @@ -0,0 +1,590 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate +### Namespace: [\YooKassa\Model\Refund\RefundMethod](../namespaces/yookassa-model-refund-refundmethod.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateRefundMethod. + +**Description:** + +Возврат платежа по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$articles](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#property_articles) | | Корзина возврата — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Присутствует, если оплата была на [готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | +| public | [$electronic_certificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#property_electronic_certificate) | | Данные от ФЭС НСПК для возврата на электронный сертификат. | +| public | [$electronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#property_electronicCertificate) | | Данные от ФЭС НСПК для возврата на электронный сертификат. | +| public | [$type](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#property_type) | | Код способа оплаты. | +| public | [$type](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md#property_type) | | Код метода возврата | +| protected | [$_type](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md#property__type) | | Код метода возврата. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticles()](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#method_getArticles) | | Возвращает articles. | +| public | [getElectronicCertificate()](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#method_getElectronicCertificate) | | Возвращает electronic_certificate. | +| public | [getType()](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md#method_getType) | | Возвращает тип метода возврата. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticles()](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#method_setArticles) | | Устанавливает articles. | +| public | [setElectronicCertificate()](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md#method_setElectronicCertificate) | | Устанавливает electronic_certificate. | +| public | [setType()](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md#method_setType) | | Устанавливает тип метода возврата. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php](../../lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) + * \YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $articles : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface +--- +***Description*** + +Корзина возврата — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Присутствует, если оплата была на [готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + +**Type:** ListObjectInterface + +**Details:** + + + +#### public $electronic_certificate : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData +--- +***Description*** + +Данные от ФЭС НСПК для возврата на электронный сертификат. + +**Type:** ElectronicCertificateRefundData + +**Details:** + + + +#### public $electronicCertificate : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData +--- +***Description*** + +Данные от ФЭС НСПК для возврата на электронный сертификат. + +**Type:** ElectronicCertificateRefundData + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код метода возврата + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код метода возврата. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticles() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null + +```php +public getArticles() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null +``` + +**Summary** + +Возвращает articles. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null - Корзина возврата — список возвращаемых товаров + + + +#### public getElectronicCertificate() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null + +```php +public getElectronicCertificate() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null +``` + +**Summary** + +Возвращает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null - Данные от ФЭС НСПК для возврата на электронный сертификат + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) + +**Returns:** string|null - Тип метода возврата + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticles() : self + +```php +public setArticles(\YooKassa\Common\ListObjectInterface|array|null $articles = null) : self +``` + +**Summary** + +Устанавливает articles. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Common\ListObjectInterface OR array OR null | articles | Корзина возврата — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Присутствует, если оплата была на [готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | + +**Returns:** self - + + + +#### public setElectronicCertificate() : self + +```php +public setElectronicCertificate(\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|array|null $electronic_certificate = null) : self +``` + +**Summary** + +Устанавливает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData OR array OR null | electronic_certificate | Данные от ФЭС НСПК для возврата на электронный сертификат | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип метода возврата | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md index 70c87033..79688a1c 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md index 6d3e9190..dd7cb423 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md @@ -514,10 +514,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md index a2fd37b8..0ac6d899 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethodType.md b/docs/classes/YooKassa-Model-Refund-RefundMethodType.md index 37f87491..18869bf1 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethodType.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethodType.md @@ -13,12 +13,14 @@ Возможные значения: - `sbp` - Возврат через сервис быстрых платежей +- `electronic_certificate` - Возврат платежа по электронному сертификату --- ### Constants | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [SBP](../classes/YooKassa-Model-Refund-RefundMethodType.md#constant_SBP) | | Возврат через сервис быстрых платежей | +| public | [ELECTRONIC_CERTIFICATE](../classes/YooKassa-Model-Refund-RefundMethodType.md#constant_ELECTRONIC_CERTIFICATE) | | Прием платежей по электронному сертификату, привязанному к карте «Мир» | | public | [UNKNOWN](../classes/YooKassa-Model-Refund-RefundMethodType.md#constant_UNKNOWN) | *deprecated* | Для неизвестных методов возврата | --- @@ -64,6 +66,15 @@ SBP = 'sbp' ``` + +###### ELECTRONIC_CERTIFICATE +Прием платежей по электронному сертификату, привязанному к карте «Мир» + +```php +ELECTRONIC_CERTIFICATE = 'electronic_certificate' +``` + + ###### ~~UNKNOWN~~ Для неизвестных методов возврата @@ -157,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundStatus.md b/docs/classes/YooKassa-Model-Refund-RefundStatus.md index ea8c5a63..fb2643ce 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundStatus.md +++ b/docs/classes/YooKassa-Model-Refund-RefundStatus.md @@ -161,10 +161,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-Source.md b/docs/classes/YooKassa-Model-Refund-Source.md index 2b98ee92..e98b51f6 100644 --- a/docs/classes/YooKassa-Model-Refund-Source.md +++ b/docs/classes/YooKassa-Model-Refund-Source.md @@ -608,10 +608,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-SourceInterface.md b/docs/classes/YooKassa-Model-Refund-SourceInterface.md index 662a25e4..eae22a38 100644 --- a/docs/classes/YooKassa-Model-Refund-SourceInterface.md +++ b/docs/classes/YooKassa-Model-Refund-SourceInterface.md @@ -209,10 +209,10 @@ public setPlatformFeeAmount(\YooKassa\Model\AmountInterface|array|null $platform ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md index f0a58043..42725170 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md @@ -870,10 +870,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md index 552a696e..002f6ac7 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md index 33b8280a..c6fcefa0 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md @@ -96,10 +96,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md index 1f4050f7..8a76c4cf 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md @@ -518,10 +518,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md index 86b01768..bc90cbb3 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md @@ -151,10 +151,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md index 2842e1e2..813f8aec 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md @@ -360,10 +360,10 @@ public setTest(bool $test) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md index a55b35cf..5e7d8627 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md @@ -187,10 +187,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-FiscalizationData.md b/docs/classes/YooKassa-Model-Settings-FiscalizationData.md index 664d0ee5..e42fa940 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationData.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationData.md @@ -488,10 +488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md b/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md index 28e1eaa8..a9595711 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md @@ -275,10 +275,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-Me.md b/docs/classes/YooKassa-Model-Settings-Me.md index 444c9361..11053dd8 100644 --- a/docs/classes/YooKassa-Model-Settings-Me.md +++ b/docs/classes/YooKassa-Model-Settings-Me.md @@ -1014,10 +1014,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Webhook-Webhook.md b/docs/classes/YooKassa-Model-Webhook-Webhook.md index a4d1a271..1bc53b0a 100644 --- a/docs/classes/YooKassa-Model-Webhook-Webhook.md +++ b/docs/classes/YooKassa-Model-Webhook-Webhook.md @@ -542,10 +542,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md b/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md index d4833754..0c55fff3 100644 --- a/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md +++ b/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md @@ -171,10 +171,10 @@ public setUrl(string|null $url = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-AbstractListResponse.md b/docs/classes/YooKassa-Request-AbstractListResponse.md index e12d619c..875828e3 100644 --- a/docs/classes/YooKassa-Request-AbstractListResponse.md +++ b/docs/classes/YooKassa-Request-AbstractListResponse.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md index 7d6886b0..840c71d7 100644 --- a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md @@ -1232,10 +1232,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md index c4dc230c..a1223444 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md @@ -807,10 +807,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md index 90e2169f..a9880faa 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md @@ -280,10 +280,10 @@ protected initCurrentObject() : \YooKassa\Request\Deals\CreateDealRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md index e7af391d..b500c29f 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md @@ -286,10 +286,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md index ca033227..6965ee40 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Deals\CreateDealRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md index 82ce031e..2fce49a1 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md @@ -1233,10 +1233,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealResponse.md b/docs/classes/YooKassa-Request-Deals-DealResponse.md index 39125ed3..848ee5c3 100644 --- a/docs/classes/YooKassa-Request-Deals-DealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealResponse.md @@ -1233,10 +1233,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequest.md b/docs/classes/YooKassa-Request-Deals-DealsRequest.md index 4dcf58c7..96a37a8c 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequest.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequest.md @@ -1488,10 +1488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md index 4348be9b..40af1b10 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md @@ -437,10 +437,10 @@ protected initCurrentObject() : \YooKassa\Request\Deals\DealsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md index 570aa87b..0253ca4d 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md @@ -765,10 +765,10 @@ public setFullTextSearch(string|null $full_text_search) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md index b5b25ed8..2a51e7db 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Common\AbstractRequest|\YooKassa\Request\Deals\DealsR ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsResponse.md b/docs/classes/YooKassa-Request-Deals-DealsResponse.md index ab662f92..fc448b93 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md index a7f7e98c..cc778451 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md @@ -806,10 +806,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md index ae82c5e2..e887abcf 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md @@ -471,10 +471,10 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md index bec4632e..9b3c27e4 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md @@ -1998,10 +1998,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Airline.md b/docs/classes/YooKassa-Request-Payments-Airline.md index 19c1fe5f..4f8d605b 100644 --- a/docs/classes/YooKassa-Request-Payments-Airline.md +++ b/docs/classes/YooKassa-Request-Payments-Airline.md @@ -690,10 +690,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AirlineInterface.md b/docs/classes/YooKassa-Request-Payments-AirlineInterface.md index ddb45a93..e90c702e 100644 --- a/docs/classes/YooKassa-Request-Payments-AirlineInterface.md +++ b/docs/classes/YooKassa-Request-Payments-AirlineInterface.md @@ -123,10 +123,10 @@ public getLegs() : \YooKassa\Request\Payments\LegInterface[]|\YooKassa\Common\Li ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CancelResponse.md b/docs/classes/YooKassa-Request-Payments-CancelResponse.md index 3b134952..c13c6258 100644 --- a/docs/classes/YooKassa-Request-Payments-CancelResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CancelResponse.md @@ -1999,10 +1999,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md index 9fbc7ca9..2ca7e736 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md @@ -507,10 +507,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md index 3b3c9070..e90e1605 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md @@ -535,10 +535,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md index 78553737..69442383 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md @@ -535,10 +535,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md index 87e6e7cc..ff46031c 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md @@ -90,10 +90,10 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md index a462dcf5..8aa4d175 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md @@ -597,10 +597,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md index b4fd350b..b664d971 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md @@ -594,10 +594,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md index d34dd6c4..0a45f102 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md index b14166f7..91350749 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md @@ -938,10 +938,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md index b50d82c1..71088715 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md @@ -519,10 +519,10 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md index af9a45e6..ae3be899 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md @@ -289,10 +289,10 @@ public setDeal(null|array|\YooKassa\Model\Deal\CaptureDealData $deal) : \YooKass ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md index 5b42d22a..d9030dfd 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\CreateCaptureRequestInterface $reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md index b914188e..34bc4e70 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md @@ -1999,10 +1999,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md index 706b2784..709201f6 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md @@ -105,16 +105,14 @@ var_dump($response); | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [$airline](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_airline) | | Объект с данными для продажи авиабилетов | -| public | [$amount](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_amount) | | Сумма создаваемого платежа | | public | [$amount](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_amount) | | Сумма | +| public | [$amount](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_amount) | | Сумма создаваемого платежа | | public | [$capture](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_capture) | | Автоматически принять поступившую оплату | | public | [$client_ip](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_client_ip) | | IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения | | public | [$clientIp](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_clientIp) | | IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения | | public | [$confirmation](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_confirmation) | | Способ подтверждения платежа | | public | [$deal](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_deal) | | Данные о сделке, в составе которой проходит платеж | | public | [$description](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_description) | | Описание транзакции | -| public | [$fraud_data](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_fraud_data) | | Информация для проверки операции на мошенничество | -| public | [$fraudData](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_fraudData) | | Информация для проверки операции на мошенничество | | public | [$merchant_customer_id](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_merchant_customer_id) | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | | public | [$merchantCustomerId](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_merchantCustomerId) | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | | public | [$metadata](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_metadata) | | Метаданные привязанные к платежу | @@ -126,6 +124,7 @@ var_dump($response); | public | [$paymentToken](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentToken) | | Одноразовый токен для проведения оплаты, сформированный YooKassa JS widget | | public | [$receipt](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_receipt) | | Данные фискального чека 54-ФЗ | | public | [$receipt](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_receipt) | | Данные фискального чека 54-ФЗ | +| public | [$receiver](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_receiver) | | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона | | public | [$recipient](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_recipient) | | Получатель платежа, если задан | | public | [$save_payment_method](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_save_payment_method) | | Сохранить платежные данные для последующего использования. Значение true инициирует создание многоразового payment_method | | public | [$savePaymentMethod](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_savePaymentMethod) | | Сохранить платежные данные для последующего использования. Значение true инициирует создание многоразового payment_method | @@ -154,7 +153,7 @@ var_dump($response); | public | [getConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getConfirmation) | | Возвращает способ подтверждения платежа. | | public | [getDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getDeal) | | Возвращает данные о сделке, в составе которой проходит платеж. | | public | [getDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getDescription) | | Возвращает описание транзакции | -| public | [getFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getFraudData) | | Возвращает информацию для проверки операции на мошенничество. | +| public | [getFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getFraudData) | *deprecated* | Возвращает информацию для проверки операции на мошенничество. | | public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | | public | [getMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getMerchantCustomerId) | | Возвращает идентификатор покупателя в вашей системе. | | public | [getMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getMetadata) | | Возвращает данные оплаты установленные мерчантом | @@ -162,6 +161,7 @@ var_dump($response); | public | [getPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentMethodId) | | Устанавливает идентификатор записи платёжных данных покупателя. | | public | [getPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentToken) | | Возвращает одноразовый токен для проведения оплаты. | | public | [getReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_getReceipt) | | Возвращает чек, если он есть. | +| public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | | public | [getRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getRecipient) | | Возвращает объект получателя платежа. | | public | [getSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getSavePaymentMethod) | | Возвращает флаг сохранения платёжных данных. | | public | [getTransfers()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_getTransfers) | | Возвращает данные о распределении денег — сколько и в какой магазин нужно перевести. | @@ -173,13 +173,14 @@ var_dump($response); | public | [hasConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasConfirmation) | | Проверяет, был ли установлен способ подтверждения платежа. | | public | [hasDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasDeal) | | Проверяет, были ли установлены данные о сделке. | | public | [hasDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasDescription) | | Проверяет наличие описания транзакции в создаваемом платеже. | -| public | [hasFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasFraudData) | | Проверяет, была ли установлена информация для проверки операции на мошенничество. | +| public | [hasFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasFraudData) | *deprecated* | Проверяет, была ли установлена информация для проверки операции на мошенничество. | | public | [hasMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasMerchantCustomerId) | | Проверяет, был ли установлен идентификатор покупателя в вашей системе. | | public | [hasMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные заказа. | | public | [hasPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentMethodData) | | Проверяет установлен ли объект с методом оплаты. | | public | [hasPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentMethodId) | | Проверяет наличие идентификатора записи о платёжных данных покупателя. | | public | [hasPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentToken) | | Проверяет наличие одноразового токена для проведения оплаты. | | public | [hasReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_hasReceipt) | | Проверяет наличие чека. | +| public | [hasReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasReceiver) | | Проверяет, были ли установлены реквизиты получателя оплаты. | | public | [hasRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasRecipient) | | Проверяет наличие получателя платежа в запросе. | | public | [hasSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasSavePaymentMethod) | | Проверяет, был ли установлен флаг сохранения платёжных данных. | | public | [hasTransfers()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_hasTransfers) | | Проверяет наличие данных о распределении денег. | @@ -196,13 +197,14 @@ var_dump($response); | public | [setConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setConfirmation) | | Устанавливает способ подтверждения платежа. | | public | [setDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setDeal) | | Устанавливает данные о сделке, в составе которой проходит платеж. | | public | [setDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setDescription) | | Устанавливает описание транзакции | -| public | [setFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setFraudData) | | Устанавливает информацию для проверки операции на мошенничество. | +| public | [setFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setFraudData) | *deprecated* | Устанавливает информацию для проверки операции на мошенничество. | | public | [setMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setMerchantCustomerId) | | Устанавливает идентификатор покупателя в вашей системе. | | public | [setMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setMetadata) | | Устанавливает метаданные, привязанные к платежу. | | public | [setPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentMethodData) | | Устанавливает объект с информацией для создания метода оплаты. | | public | [setPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentMethodId) | | Устанавливает идентификатор записи о сохранённых данных покупателя. | | public | [setPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentToken) | | Устанавливает одноразовый токен для проведения оплаты, сформированный YooKassa JS widget. | | public | [setReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_setReceipt) | | Устанавливает чек. | +| public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setRecipient) | | Устанавливает объект с информацией о получателе платежа. | | public | [setSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setSavePaymentMethod) | | Устанавливает флаг сохранения платёжных данных. Значение true инициирует создание многоразового payment_method. | | public | [setTransfers()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_setTransfers) | | Устанавливает transfers (массив распределения денег между магазинами). | @@ -264,11 +266,12 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма создаваемого платежа +Сумма **Type:** AmountInterface **Details:** +* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -276,12 +279,11 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма +Сумма создаваемого платежа **Type:** AmountInterface **Details:** -* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -356,30 +358,6 @@ IPv4 или IPv6-адрес покупателя. Если не указан, и **Details:** - -#### public $fraud_data : \YooKassa\Request\Payments\FraudData ---- -***Description*** - -Информация для проверки операции на мошенничество - -**Type:** FraudData - -**Details:** - - - -#### public $fraudData : \YooKassa\Request\Payments\FraudData ---- -***Description*** - -Информация для проверки операции на мошенничество - -**Type:** FraudData - -**Details:** - - #### public $merchant_customer_id : string --- @@ -513,6 +491,18 @@ IPv4 или IPv6-адрес покупателя. Если не указан, и * Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) + +#### public $receiver : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver|null +--- +***Description*** + +Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона + +**Type:** AbstractReceiver|null + +**Details:** + + #### public $recipient : \YooKassa\Model\Payment\RecipientInterface --- @@ -888,7 +878,7 @@ public getDescription() : string|null -#### public getFraudData() : null|\YooKassa\Request\Payments\FraudData +#### (deprecated) - public getFraudData() : null|\YooKassa\Request\Payments\FraudData ```php public getFraudData() : null|\YooKassa\Request\Payments\FraudData @@ -898,6 +888,8 @@ public getFraudData() : null|\YooKassa\Request\Payments\FraudData Возвращает информацию для проверки операции на мошенничество. +**Deprecated** +DeprecatedБольше не поддерживается. Вместо него нужно использовать `getReceiver()` **Details:** * Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) @@ -1023,6 +1015,23 @@ public getReceipt() : null|\YooKassa\Model\Receipt\ReceiptInterface **Returns:** null|\YooKassa\Model\Receipt\ReceiptInterface - Данные фискального чека 54-ФЗ или null, если чека нет + +#### public getReceiver() : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver|null + +```php +public getReceiver() : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver|null +``` + +**Summary** + +Возвращает реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +**Returns:** \YooKassa\Request\Payments\ReceiverData\AbstractReceiver|null - Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + + #### public getRecipient() : null|\YooKassa\Model\Payment\RecipientInterface @@ -1212,7 +1221,7 @@ public hasDescription() : bool -#### public hasFraudData() : bool +#### (deprecated) - public hasFraudData() : bool ```php public hasFraudData() : bool @@ -1222,6 +1231,8 @@ public hasFraudData() : bool Проверяет, была ли установлена информация для проверки операции на мошенничество. +**Deprecated** +DeprecatedБольше не поддерживается. Вместо него нужно использовать `hasReceiver()` **Details:** * Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) @@ -1330,6 +1341,23 @@ public hasReceipt() : bool **Returns:** bool - True если чек есть, false если нет + +#### public hasReceiver() : bool + +```php +public hasReceiver() : bool +``` + +**Summary** + +Проверяет, были ли установлены реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +**Returns:** bool - True если реквизиты получателя оплаты были установлены, false если нет + + #### public hasRecipient() : bool @@ -1674,7 +1702,7 @@ public setDescription(string|null $description) : \YooKassa\Request\Payments\Cre -#### public setFraudData() : self +#### (deprecated) - public setFraudData() : self ```php public setFraudData(null|array|\YooKassa\Request\Payments\FraudData $fraud_data = null) : self @@ -1684,6 +1712,8 @@ public setFraudData(null|array|\YooKassa\Request\Payments\FraudData $fraud_data Устанавливает информацию для проверки операции на мошенничество. +**Deprecated** +DeprecatedБольше не поддерживается. Вместо него нужно использовать `setReceiver()` **Details:** * Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) @@ -1848,6 +1878,28 @@ public setReceipt(null|array|\YooKassa\Model\Receipt\ReceiptInterface $receipt) **Returns:** self - + +#### public setReceiver() : self + +```php +public setReceiver(\YooKassa\Request\Payments\ReceiverData\AbstractReceiver|array|null $receiver = null) : self +``` + +**Summary** + +Устанавливает реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\ReceiverData\AbstractReceiver OR array OR null | receiver | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. | + +**Returns:** self - + + #### public setRecipient() : self @@ -2024,10 +2076,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md index 90f6e93a..d640a825 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md @@ -124,7 +124,7 @@ var_dump($response); | public | [setCurrency()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setCurrency) | | Устанавливает валюту в которой будет происходить подтверждение оплаты заказа. | | public | [setDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setDeal) | | Устанавливает сделку. | | public | [setDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setDescription) | | Устанавливает описание транзакции. | -| public | [setFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setFraudData) | | Устанавливает сделку. | +| public | [setFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setFraudData) | *deprecated* | Устанавливает информацию для проверки операции на мошенничество. | | public | [setGatewayId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setGatewayId) | | Устанавливает идентификатор шлюза. | | public | [setMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setMerchantCustomerId) | | Устанавливает идентификатор покупателя в вашей системе. | | public | [setMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setMetadata) | | Устанавливает метаданные, привязанные к платежу. | @@ -138,6 +138,7 @@ var_dump($response); | public | [setReceiptItems()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptItems) | | Устанавливает список товаров для создания чека. | | public | [setReceiptOperationalDetails()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setReceiptOperationalDetails) | | Устанавливает отраслевой реквизит чека. | | public | [setReceiptPhone()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptPhone) | | Устанавливает телефон получателя чека. | +| public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setRecipient) | | Устанавливает получателя платежа из объекта или ассоциативного массива. | | public | [setSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setSavePaymentMethod) | | Устанавливает флаг сохранения платёжных данных. Значение true инициирует создание многоразового payment_method. | | public | [setTaxSystemCode()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setTaxSystemCode) | | Устанавливает код системы налогообложения. | @@ -564,7 +565,7 @@ public setDescription(string|null $value) : \YooKassa\Request\Payments\CreatePay -#### public setFraudData() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder +#### (deprecated) - public setFraudData() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder ```php public setFraudData(null|array|\YooKassa\Request\Payments\FraudData $value) : \YooKassa\Request\Payments\CreatePaymentRequestBuilder @@ -572,22 +573,24 @@ public setFraudData(null|array|\YooKassa\Request\Payments\FraudData $value) : \Y **Summary** -Устанавливает сделку. +Устанавливает информацию для проверки операции на мошенничество. +**Deprecated** +DeprecatedБольше не поддерживается. Вместо него нужно использовать `setReceiver()` **Details:** * Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestBuilder](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| null OR array OR \YooKassa\Request\Payments\FraudData | value | Данные о сделке, в составе которой проходит платеж | +| null OR array OR \YooKassa\Request\Payments\FraudData | value | Информация для проверки операции на мошенничество | ##### Throws: | Type | Description | | ---- | ----------- | | \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | | -**Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Информация для проверки операции на мошенничество +**Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс билдера запросов @@ -920,6 +923,33 @@ public setReceiptPhone(string|null $value) : self **Returns:** self - Инстанс билдера запросов + +#### public setReceiver() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder + +```php +public setReceiver(null|array|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver $value) : \YooKassa\Request\Payments\CreatePaymentRequestBuilder +``` + +**Summary** + +Устанавливает реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestBuilder](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| null OR array OR \YooKassa\Request\Payments\ReceiverData\AbstractReceiver | value | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | | + +**Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс билдера запросов + + #### public setRecipient() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder @@ -1064,10 +1094,10 @@ protected initCurrentObject() : \YooKassa\Request\Payments\CreatePaymentRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md index 6a273fd4..214eeab4 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md @@ -22,13 +22,13 @@ Interface CreatePaymentRequestInterface. | public | [getConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getConfirmation) | | Возвращает способ подтверждения платежа. | | public | [getDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getDeal) | | Возвращает данные о сделке, в составе которой проходит платеж. | | public | [getDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getDescription) | | Возвращает описание транзакции. | -| public | [getFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getFraudData) | | Возвращает информацию для проверки операции на мошенничество. | | public | [getMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getMerchantCustomerId) | | Возвращает идентификатор покупателя в вашей системе. | | public | [getMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getMetadata) | | Возвращает данные оплаты установленные мерчантом | | public | [getPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentMethodData) | | Возвращает данные для создания метода оплаты. | | public | [getPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentMethodId) | | Устанавливает идентификатор записи платёжных данных покупателя. | | public | [getPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentToken) | | Возвращает одноразовый токен для проведения оплаты. | | public | [getReceipt()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceipt) | | Возвращает чек, если он есть. | +| public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | | public | [getRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getRecipient) | | Возвращает объект получателя платежа. | | public | [getSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getSavePaymentMethod) | | Возвращает флаг сохранения платёжных данных. | | public | [getTransfers()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getTransfers) | | Возвращает данные о распределении денег — сколько и в какой магазин нужно перевести. | @@ -38,13 +38,13 @@ Interface CreatePaymentRequestInterface. | public | [hasConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasConfirmation) | | Проверяет, был ли установлен способ подтверждения платежа. | | public | [hasDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasDeal) | | Проверяет, были ли установлены данные о сделке. | | public | [hasDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasDescription) | | Проверяет наличие описания транзакции в создаваемом платеже. | -| public | [hasFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasFraudData) | | Проверяет, была ли установлена информация для проверки операции на мошенничество. | | public | [hasMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasMerchantCustomerId) | | Проверяет, был ли установлен идентификатор покупателя в вашей системе. | | public | [hasMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные заказа. | | public | [hasPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentMethodData) | | Проверяет установлен ли объект с методом оплаты. | | public | [hasPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentMethodId) | | Проверяет наличие идентификатора записи о платёжных данных покупателя. | | public | [hasPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentToken) | | Проверяет наличие одноразового токена для проведения оплаты. | | public | [hasReceipt()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasReceipt) | | Проверяет наличие чека в создаваемом платеже. | +| public | [hasReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasReceiver) | | Проверяет, были ли установлены реквизиты получателя оплаты. | | public | [hasRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasRecipient) | | Проверяет наличие получателя платежа в запросе. | | public | [hasSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasSavePaymentMethod) | | Проверяет, был ли установлен флаг сохранения платёжных данных. | | public | [hasTransfers()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasTransfers) | | Проверяет наличие данных о распределении денег. | @@ -54,12 +54,12 @@ Interface CreatePaymentRequestInterface. | public | [setConfirmation()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setConfirmation) | | Устанавливает способ подтверждения платежа. | | public | [setDeal()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setDeal) | | Устанавливает данные о сделке, в составе которой проходит платеж. | | public | [setDescription()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setDescription) | | Устанавливает описание транзакции. | -| public | [setFraudData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setFraudData) | | Устанавливает информацию для проверки операции на мошенничество. | | public | [setMerchantCustomerId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setMerchantCustomerId) | | Устанавливает идентификатор покупателя в вашей системе. | | public | [setMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setMetadata) | | Устанавливает метаданные, привязанные к платежу. | | public | [setPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentMethodData) | | Устанавливает объект с информацией для создания метода оплаты. | | public | [setPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentMethodId) | | Устанавливает идентификатор записи о сохранённых данных покупателя. | | public | [setPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentToken) | | Устанавливает одноразовый токен для проведения оплаты, сформированный YooKassa JS widget. | +| public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setRecipient) | | Устанавливает объект с информацией о получателе платежа. | | public | [setSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setSavePaymentMethod) | | Устанавливает флаг сохранения платёжных данных. Значение true инициирует создание многоразового payment_method. | | public | [setTransfers()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setTransfers) | | Устанавливает данные о распределении денег — сколько и в какой магазин нужно перевести. | @@ -95,10 +95,9 @@ Interface CreatePaymentRequestInterface. | property | | IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения | | property | | Метаданные привязанные к платежу | | property | | Данные о сделке, в составе которой проходит платеж | -| property | | Информация для проверки операции на мошенничество | -| property | | Информация для проверки операции на мошенничество | | property | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | | property | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | +| property | | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона | --- ## Methods @@ -891,62 +890,6 @@ public setDeal(null|array|\YooKassa\Model\Deal\PaymentDealInfo $deal) : self **Returns:** self - - -#### public getFraudData() : null|\YooKassa\Request\Payments\FraudData - -```php -public getFraudData() : null|\YooKassa\Request\Payments\FraudData -``` - -**Summary** - -Возвращает информацию для проверки операции на мошенничество. - -**Details:** -* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) - -**Returns:** null|\YooKassa\Request\Payments\FraudData - Информация для проверки операции на мошенничество - - - -#### public hasFraudData() : bool - -```php -public hasFraudData() : bool -``` - -**Summary** - -Проверяет, была ли установлена информация для проверки операции на мошенничество. - -**Details:** -* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) - -**Returns:** bool - True если информация была установлена, false если нет - - - -#### public setFraudData() : self - -```php -public setFraudData(null|array|\YooKassa\Request\Payments\FraudData $fraud_data) : self -``` - -**Summary** - -Устанавливает информацию для проверки операции на мошенничество. - -**Details:** -* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) - -##### Parameters: -| Type | Name | Description | -| ---- | ---- | ----------- | -| null OR array OR \YooKassa\Request\Payments\FraudData | fraud_data | Информация для проверки операции на мошенничество | - -**Returns:** self - - - #### public getMerchantCustomerId() : string|null @@ -1003,6 +946,62 @@ public setMerchantCustomerId(string|null $merchant_customer_id) : self **Returns:** self - + +#### public getReceiver() : null|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver + +```php +public getReceiver() : null|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver +``` + +**Summary** + +Возвращает реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +**Returns:** null|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver - Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + + + +#### public hasReceiver() : bool + +```php +public hasReceiver() : bool +``` + +**Summary** + +Проверяет, были ли установлены реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +**Returns:** bool - True если реквизиты получателя оплаты были установлены, false если нет + + + +#### public setReceiver() : self + +```php +public setReceiver(null|array|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver $receiver) : self +``` + +**Summary** + +Устанавливает реквизиты получателя оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| null OR array OR \YooKassa\Request\Payments\ReceiverData\AbstractReceiver | receiver | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. | + +**Returns:** self - + + --- @@ -1016,10 +1015,10 @@ public setMerchantCustomerId(string|null $merchant_customer_id) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md index 9a7810ec..ade70914 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\CreatePaymentRequestInterface $reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md index afb5aab0..844f33e5 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md @@ -1999,10 +1999,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-FraudData.md b/docs/classes/YooKassa-Request-Payments-FraudData.md index b11b8445..b5588c45 100644 --- a/docs/classes/YooKassa-Request-Payments-FraudData.md +++ b/docs/classes/YooKassa-Request-Payments-FraudData.md @@ -65,6 +65,7 @@ | --- | ------- | ----------- | | category | | Class | | author | | cms@yoomoney.ru | +| deprecated | | Больше не поддерживается. Вместо него нужно использовать `receiver`. | --- ## Properties @@ -515,10 +516,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Leg.md b/docs/classes/YooKassa-Request-Payments-Leg.md index ff35fe48..fef7045c 100644 --- a/docs/classes/YooKassa-Request-Payments-Leg.md +++ b/docs/classes/YooKassa-Request-Payments-Leg.md @@ -685,10 +685,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-LegInterface.md b/docs/classes/YooKassa-Request-Payments-LegInterface.md index 8fe9d3db..f4df0791 100644 --- a/docs/classes/YooKassa-Request-Payments-LegInterface.md +++ b/docs/classes/YooKassa-Request-Payments-LegInterface.md @@ -176,10 +176,10 @@ public setDepartureDate(\DateTime|string|null $value) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Locale.md b/docs/classes/YooKassa-Request-Payments-Locale.md index ac8c5690..4cad2f39 100644 --- a/docs/classes/YooKassa-Request-Payments-Locale.md +++ b/docs/classes/YooKassa-Request-Payments-Locale.md @@ -9,12 +9,14 @@ **Description:** -Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. +Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. Формат соответствует [ISO/IEC 15897](https://en.wikipedia.org/wiki/Locale_(computer_software)). Возможные значения: - `ru_RU` - Русский - `en_US` - English +Регистр важен. + --- ### Constants | Visibility | Name | Flag | Summary | @@ -156,10 +158,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md b/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md index 4e32f133..6d65b7ce 100644 --- a/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md +++ b/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Passenger.md b/docs/classes/YooKassa-Request-Payments-Passenger.md index ed0b74e2..644ba141 100644 --- a/docs/classes/YooKassa-Request-Payments-Passenger.md +++ b/docs/classes/YooKassa-Request-Payments-Passenger.md @@ -517,10 +517,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PassengerInterface.md b/docs/classes/YooKassa-Request-Payments-PassengerInterface.md index 2e73a3ce..ea957113 100644 --- a/docs/classes/YooKassa-Request-Payments-PassengerInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PassengerInterface.md @@ -131,10 +131,10 @@ public setLastName(string|null $value) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md b/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md index b67d6f3a..1b1ddba7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md b/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md new file mode 100644 index 00000000..34155300 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md @@ -0,0 +1,820 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle +### Namespace: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate](../namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateArticle. + +**Description:** + +Товарная позиция в корзине покупки при оплате по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$article_code](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_article_code) | | Код товара в вашей системе. Максимум 128 символов. | +| public | [$article_name](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_article_name) | | Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. | +| public | [$article_number](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_article_number) | | Порядковый номер товара в корзине. От 1 до 999 включительно. | +| public | [$articleCode](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_articleCode) | | Код товара в вашей системе. Максимум 128 символов. | +| public | [$articleName](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_articleName) | | Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. | +| public | [$articleNumber](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_articleNumber) | | Порядковый номер товара в корзине. От 1 до 999 включительно. | +| public | [$metadata](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | +| public | [$price](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_price) | | Цена за единицу товара. | +| public | [$quantity](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_quantity) | | Количество единиц товара. Формат: целое положительное число. | +| public | [$tru_code](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_tru_code) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | +| public | [$truCode](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#property_truCode) | | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticleCode()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getArticleCode) | | Возвращает article_code. | +| public | [getArticleName()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getArticleName) | | Возвращает article_name. | +| public | [getArticleNumber()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getArticleNumber) | | Возвращает article_number. | +| public | [getMetadata()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getMetadata) | | Возвращает metadata. | +| public | [getPrice()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getPrice) | | Возвращает price. | +| public | [getQuantity()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getQuantity) | | Возвращает quantity. | +| public | [getTruCode()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_getTruCode) | | Возвращает tru_code. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticleCode()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setArticleCode) | | Устанавливает article_code. | +| public | [setArticleName()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setArticleName) | | Устанавливает article_name. | +| public | [setArticleNumber()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setArticleNumber) | | Устанавливает article_number. | +| public | [setMetadata()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setMetadata) | | Устанавливает metadata. | +| public | [setPrice()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setPrice) | | Устанавливает price. | +| public | [setQuantity()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setQuantity) | | Устанавливает quantity. | +| public | [setTruCode()](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md#method_setTruCode) | | Устанавливает tru_code. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php](../../lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $article_code : string +--- +***Description*** + +Код товара в вашей системе. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $article_name : string +--- +***Description*** + +Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $article_number : int +--- +***Description*** + +Порядковый номер товара в корзине. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $articleCode : string +--- +***Description*** + +Код товара в вашей системе. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $articleName : string +--- +***Description*** + +Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. + +**Type:** string + +**Details:** + + + +#### public $articleNumber : int +--- +***Description*** + +Порядковый номер товара в корзине. От 1 до 999 включительно. + +**Type:** int + +**Details:** + + + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** + + + +#### public $price : \YooKassa\Model\AmountInterface +--- +***Description*** + +Цена за единицу товара. + +**Type:** AmountInterface + +**Details:** + + + +#### public $quantity : int +--- +***Description*** + +Количество единиц товара. Формат: целое положительное число. + +**Type:** int + +**Details:** + + + +#### public $tru_code : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +#### public $truCode : string +--- +***Description*** + +Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + +**Type:** string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticleCode() : string|null + +```php +public getArticleCode() : string|null +``` + +**Summary** + +Возвращает article_code. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** string|null - Код товара в вашей системе + + + +#### public getArticleName() : string|null + +```php +public getArticleName() : string|null +``` + +**Summary** + +Возвращает article_name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** string|null - Название товара в вашей системе + + + +#### public getArticleNumber() : int|null + +```php +public getArticleNumber() : int|null +``` + +**Summary** + +Возвращает article_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** int|null - Порядковый номер товара в корзине + + + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** \YooKassa\Model\Metadata|null - Любые дополнительные данные + + + +#### public getPrice() : \YooKassa\Model\AmountInterface|null + +```php +public getPrice() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает price. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - Цена за единицу товара + + + +#### public getQuantity() : int|null + +```php +public getQuantity() : int|null +``` + +**Summary** + +Возвращает quantity. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** int|null - Количество единиц товара + + + +#### public getTruCode() : string|null + +```php +public getTruCode() : string|null +``` + +**Summary** + +Возвращает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +**Returns:** string|null - Код ТРУ + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticleCode() : self + +```php +public setArticleCode(string|null $article_code = null) : self +``` + +**Summary** + +Устанавливает article_code. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | article_code | Код товара в вашей системе. Максимум 128 символов. | + +**Returns:** self - + + + +#### public setArticleName() : self + +```php +public setArticleName(string|null $article_name = null) : self +``` + +**Summary** + +Устанавливает article_name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | article_name | Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. | + +**Returns:** self - + + + +#### public setArticleNumber() : self + +```php +public setArticleNumber(int|null $article_number = null) : self +``` + +**Summary** + +Устанавливает article_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | article_number | Порядковый номер товара в корзине. От 1 до 999 включительно. | + +**Returns:** self - + + + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | + +**Returns:** self - + + + +#### public setPrice() : self + +```php +public setPrice(\YooKassa\Model\AmountInterface|array|null $price = null) : self +``` + +**Summary** + +Устанавливает price. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | price | Цена за единицу товара. | + +**Returns:** self - + + + +#### public setQuantity() : self + +```php +public setQuantity(int|null $quantity = null) : self +``` + +**Summary** + +Устанавливает quantity. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | quantity | Количество единиц товара. Формат: целое положительное число. | + +**Returns:** self - + + + +#### public setTruCode() : self + +```php +public setTruCode(string|null $tru_code = null) : self +``` + +**Summary** + +Устанавливает tru_code. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | tru_code | Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md index d02dcf52..68aa21df 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md index 87f4d24a..0407a63f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md @@ -510,10 +510,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md index f1c0c037..621ea497 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md @@ -577,10 +577,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md index eaaaa3dd..479f3581 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md index e1ab631b..018ace10 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md @@ -677,10 +677,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md index 8dbd540d..1b8a203e 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md new file mode 100644 index 00000000..94f593ee --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md @@ -0,0 +1,640 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate +### Namespace: [\YooKassa\Request\Payments\PaymentData](../namespaces/yookassa-request-payments-paymentdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentMethodDataElectronicCertificate. + +**Description:** + +Данные для оплаты по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$articles](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#property_articles) | | Корзина покупки (в терминах НСПК) — список товаров, которые можно оплатить по сертификату. Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | +| public | [$card](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#property_card) | | Данные банковской карты «Мир». | +| public | [$electronic_certificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#property_electronic_certificate) | | Данные от ФЭС НСПК для оплаты по электронному сертификату. | +| public | [$electronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#property_electronicCertificate) | | Данные от ФЭС НСПК для оплаты по электронному сертификату. | +| public | [$type](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#property_type) | | Код способа оплаты. | +| public | [$type](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md#property_type) | | Тип метода оплаты | +| protected | [$_type](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticles()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_getArticles) | | Возвращает articles. | +| public | [getCard()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_getCard) | | Возвращает card. | +| public | [getElectronicCertificate()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_getElectronicCertificate) | | Возвращает electronic_certificate. | +| public | [getType()](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md#method_getType) | | Возвращает тип метода оплаты. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticles()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_setArticles) | | Устанавливает articles. | +| public | [setCard()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_setCard) | | Устанавливает card. | +| public | [setElectronicCertificate()](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md#method_setElectronicCertificate) | | Устанавливает electronic_certificate. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [setType()](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md#method_setType) | | Устанавливает тип метода оплаты. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php](../../lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Payments\PaymentData\AbstractPaymentData](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md) + * \YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $articles : \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle[]|\YooKassa\Common\ListObjectInterface|null +--- +***Description*** + +Корзина покупки (в терминах НСПК) — список товаров, которые можно оплатить по сертификату. Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + +**Type:** ListObjectInterface|null + +**Details:** + + + +#### public $card : \YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard|null +--- +***Description*** + +Данные банковской карты «Мир». + +**Type:** PaymentDataBankCardCard|null + +**Details:** + + + +#### public $electronic_certificate : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +--- +***Description*** + +Данные от ФЭС НСПК для оплаты по электронному сертификату. + +**Type:** ElectronicCertificatePaymentData|null + +**Details:** + + + +#### public $electronicCertificate : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +--- +***Description*** + +Данные от ФЭС НСПК для оплаты по электронному сертификату. + +**Type:** ElectronicCertificatePaymentData|null + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Тип метода оплаты + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\AbstractPaymentData](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md) + + + +#### protected $_type : ?string +--- +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\AbstractPaymentData](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticles() : \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle[]|\YooKassa\Common\ListObjectInterface|null + +```php +public getArticles() : \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle[]|\YooKassa\Common\ListObjectInterface|null +``` + +**Summary** + +Возвращает articles. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +**Returns:** \YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle[]|\YooKassa\Common\ListObjectInterface|null - Корзина покупки (в терминах НСПК) — список товаров + + + +#### public getCard() : \YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard|null + +```php +public getCard() : \YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +**Returns:** \YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard|null - Данные банковской карты «Мир». + + + +#### public getElectronicCertificate() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null + +```php +public getElectronicCertificate() : \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null +``` + +**Summary** + +Возвращает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|null - Данные от ФЭС НСПК для оплаты по электронному сертификату. + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип метода оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\AbstractPaymentData](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md) + +**Returns:** string|null - Тип метода оплаты + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticles() : self + +```php +public setArticles(\YooKassa\Common\ListObjectInterface|array|null $articles = null) : self +``` + +**Summary** + +Устанавливает articles. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Common\ListObjectInterface OR array OR null | articles | Корзина покупки (в терминах НСПК) — список товаров, которые можно оплатить по сертификату. Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | + +**Returns:** self - + + + +#### public setCard() : self + +```php +public setCard(\YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard|array|null $card = null) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard OR array OR null | card | Данные банковской карты «Мир». | + +**Returns:** self - + + + +#### public setElectronicCertificate() : self + +```php +public setElectronicCertificate(\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData|array|null $electronic_certificate = null) : self +``` + +**Summary** + +Устанавливает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData OR array OR null | electronic_certificate | Данные от ФЭС НСПК для оплаты по электронному сертификату. | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected setType() : self + +```php +protected setType(string|null $type) : self +``` + +**Summary** + +Устанавливает тип метода оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentData\AbstractPaymentData](../classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип метода оплаты | + +**Returns:** self - + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md index 209e4ffe..a9c67179 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md index b6dd1478..f369f9df 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md @@ -577,10 +577,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md index 09752bfd..47744a9a 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md @@ -444,10 +444,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md index 3197e2a3..f0a24036 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md index d666f303..9806013c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md index f33db768..81c5002b 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md index 3cccb34b..47563ba5 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md index a117654b..7ca51a2d 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md index d2a12b7b..defd2459 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md @@ -9,7 +9,7 @@ **Description:** -Данные для оплаты через интернет-банк Тинькофф. +Данные для оплаты через T-Pay. --- ### Constants @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md index db233d10..96237e8c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md index f4804401..9f57457f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md @@ -1999,10 +1999,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md index 7732496e..c83b59e0 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md @@ -1357,10 +1357,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md index eb61de6a..7cf8a6b7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md @@ -507,10 +507,10 @@ protected initCurrentObject() : \YooKassa\Request\Payments\PaymentsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md index 30991766..bf0f9f56 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md @@ -765,10 +765,10 @@ public setPaymentMethod(string $payment_method) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md index 13b69e88..ada8772c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\PaymentsRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md index 9ae61a29..b92f0bee 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md new file mode 100644 index 00000000..e24b2e87 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md @@ -0,0 +1,457 @@ +# [YooKassa API SDK](../home.md) + +# Abstract Class: \YooKassa\Request\Payments\ReceiverData\AbstractReceiver +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель Receiver. + +**Description:** + +Реквизиты получателя оплаты при [пополнении электронного кошелька, банковского счета или баланса телефона](/developers/payment-acceptance/scenario-extensions/receiver-data). + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property_type) | | Код получателя оплаты. | +| protected | [$_type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property__type) | | Код получателя оплаты. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_getType) | | Возвращает type. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_setType) | | Устанавливает type. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/AbstractReceiver.php](../../lib/Request/Payments/ReceiverData/AbstractReceiver.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\ReceiverData\AbstractReceiver + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** + + + +#### protected $_type : ?string +--- +**Summary** + +Код получателя оплаты. + +**Type:** ?string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +**Returns:** string|null - Код получателя оплаты + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код получателя оплаты | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md new file mode 100644 index 00000000..419d2e08 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md @@ -0,0 +1,590 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель ReceiverBankAccount. + +**Description:** + +Реквизиты для пополнения банковского счета. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$account_number](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#property_account_number) | | Номер банковского счета. Формат — 20 символов. | +| public | [$accountNumber](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#property_accountNumber) | | Номер банковского счета. Формат — 20 символов. | +| public | [$bic](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#property_bic) | | Банковский идентификационный код (БИК) банка, в котором открыт счет. Формат — 9 символов. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#property_type) | | Код получателя оплаты. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property_type) | | Код получателя оплаты. | +| protected | [$_type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property__type) | | Код получателя оплаты. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getAccountNumber()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#method_getAccountNumber) | | Возвращает account_number. | +| public | [getBic()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#method_getBic) | | Возвращает bic. | +| public | [getType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_getType) | | Возвращает type. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setAccountNumber()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#method_setAccountNumber) | | Устанавливает account_number. | +| public | [setBic()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md#method_setBic) | | Устанавливает bic. | +| public | [setType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_setType) | | Устанавливает type. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/ReceiverBankAccount.php](../../lib/Request/Payments/ReceiverData/ReceiverBankAccount.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + * \YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $account_number : string +--- +***Description*** + +Номер банковского счета. Формат — 20 символов. + +**Type:** string + +**Details:** + + + +#### public $accountNumber : string +--- +***Description*** + +Номер банковского счета. Формат — 20 символов. + +**Type:** string + +**Details:** + + + +#### public $bic : string +--- +***Description*** + +Банковский идентификационный код (БИК) банка, в котором открыт счет. Формат — 9 символов. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код получателя оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getAccountNumber() : string|null + +```php +public getAccountNumber() : string|null +``` + +**Summary** + +Возвращает account_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) + +**Returns:** string|null - Номер банковского счета. + + + +#### public getBic() : string|null + +```php +public getBic() : string|null +``` + +**Summary** + +Возвращает bic. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) + +**Returns:** string|null - Банковский идентификационный код (БИК) банка, в котором открыт счет. + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +**Returns:** string|null - Код получателя оплаты + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setAccountNumber() : self + +```php +public setAccountNumber(string|null $account_number = null) : self +``` + +**Summary** + +Устанавливает account_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | account_number | Номер банковского счета. Формат — 20 символов. | + +**Returns:** self - + + + +#### public setBic() : self + +```php +public setBic(string|null $bic = null) : self +``` + +**Summary** + +Устанавливает bic. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | bic | Банковский идентификационный код (БИК) банка, в котором открыт счет. Формат — 9 символов. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код получателя оплаты | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md new file mode 100644 index 00000000..59573be1 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md @@ -0,0 +1,536 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель ReceiverDigitalWallet. + +**Description:** + +Реквизиты для пополнения баланса электронного кошелька. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$account_number](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#property_account_number) | | Идентификатор электронного кошелька для пополнения. Максимум 20 символов. | +| public | [$accountNumber](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#property_accountNumber) | | Идентификатор электронного кошелька для пополнения. Максимум 20 символов. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#property_type) | | Код получателя оплаты. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property_type) | | Код получателя оплаты. | +| protected | [$_type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property__type) | | Код получателя оплаты. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getAccountNumber()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#method_getAccountNumber) | | Возвращает account_number. | +| public | [getType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_getType) | | Возвращает type. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setAccountNumber()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md#method_setAccountNumber) | | Устанавливает account_number. | +| public | [setType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_setType) | | Устанавливает type. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php](../../lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + * \YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $account_number : string +--- +***Description*** + +Идентификатор электронного кошелька для пополнения. Максимум 20 символов. + +**Type:** string + +**Details:** + + + +#### public $accountNumber : string +--- +***Description*** + +Идентификатор электронного кошелька для пополнения. Максимум 20 символов. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код получателя оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getAccountNumber() : string|null + +```php +public getAccountNumber() : string|null +``` + +**Summary** + +Возвращает account_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md) + +**Returns:** string|null - Идентификатор электронного кошелька для пополнения. + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +**Returns:** string|null - Код получателя оплаты + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setAccountNumber() : self + +```php +public setAccountNumber(string|null $account_number = null) : self +``` + +**Summary** + +Устанавливает account_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | account_number | Идентификатор электронного кошелька для пополнения. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код получателя оплаты | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md new file mode 100644 index 00000000..66fe3e19 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md @@ -0,0 +1,107 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\ReceiverData\ReceiverFactory +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель ReceiverFactory. + +**Description:** + +Фабрика создания объекта кода получателя оплаты из массива. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [factory()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md#method_factory) | | Фабричный метод создания объекта кода получателя оплаты по типу. | +| public | [factoryFromArray()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md#method_factoryFromArray) | | Фабричный метод создания объекта кода получателя оплаты из массива. | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/ReceiverFactory.php](../../lib/Request/Payments/ReceiverData/ReceiverFactory.php) +* Package: YooKassa\Request +* Class Hierarchy: + * \YooKassa\Request\Payments\ReceiverData\ReceiverFactory + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public factory() : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver + +```php +public factory(string|null $type = null) : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver +``` + +**Summary** + +Фабричный метод создания объекта кода получателя оплаты по типу. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverFactory](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип платежных данных | + +**Returns:** \YooKassa\Request\Payments\ReceiverData\AbstractReceiver - + + + +#### public factoryFromArray() : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver + +```php +public factoryFromArray(array|null $data = null, string|null $type = null) : \YooKassa\Request\Payments\ReceiverData\AbstractReceiver +``` + +**Summary** + +Фабричный метод создания объекта кода получателя оплаты из массива. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverFactory](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | Массив платежных данных | +| string OR null | type | Тип платежных данных | + +**Returns:** \YooKassa\Request\Payments\ReceiverData\AbstractReceiver - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md new file mode 100644 index 00000000..a8120308 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md @@ -0,0 +1,523 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель ReceiverMobileBalance. + +**Description:** + +Реквизиты для пополнения баланса телефона. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$phone](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md#property_phone) | | Номер телефона, баланс которого хотите пополнить. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md#property_type) | | Код получателя оплаты. | +| public | [$type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property_type) | | Код получателя оплаты. | +| protected | [$_type](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#property__type) | | Код получателя оплаты. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getPhone()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md#method_getPhone) | | Возвращает phone. | +| public | [getType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_getType) | | Возвращает type. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setPhone()](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md#method_setPhone) | | Устанавливает phone. | +| public | [setType()](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md#method_setType) | | Устанавливает type. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php](../../lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + * \YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $phone : string +--- +***Description*** + +Номер телефона, баланс которого хотите пополнить. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код получателя оплаты. + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код получателя оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getPhone() : string|null + +```php +public getPhone() : string|null +``` + +**Summary** + +Возвращает phone. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md) + +**Returns:** string|null - Номер телефона, баланс которого хотите пополнить. + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +**Returns:** string|null - Код получателя оплаты + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setPhone() : self + +```php +public setPhone(string|null $phone = null) : self +``` + +**Summary** + +Устанавливает phone. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | phone | Номер телефона, баланс которого хотите пополнить. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код получателя оплаты | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md new file mode 100644 index 00000000..e7452461 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md @@ -0,0 +1,180 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\ReceiverData\ReceiverType +### Namespace: [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) +--- +**Summary:** + +Класс, представляющий модель ReceiverType. + +**Description:** + +Код получателя оплаты. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [MOBILE_BALANCE](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md#constant_MOBILE_BALANCE) | | Пополнение баланса телефона | +| public | [DIGITAL_WALLET](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md#constant_DIGITAL_WALLET) | | Пополнение электронного кошелька | +| public | [BANK_ACCOUNT](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md#constant_BANK_ACCOUNT) | | Пополнение банковского счета, открытого в вашей системе | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md#property_validValues) | | Возвращает список доступных значений | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getEnabledValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getEnabledValues) | | Возвращает значения в enum'е значения которых разрешены. | +| public | [getValidValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getValidValues) | | Возвращает все значения в enum'e. | +| public | [valueExists()](../classes/YooKassa-Common-AbstractEnum.md#method_valueExists) | | Проверяет наличие значения в enum'e. | + +--- +### Details +* File: [lib/Request/Payments/ReceiverData/ReceiverType.php](../../lib/Request/Payments/ReceiverData/ReceiverType.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Request\Payments\ReceiverData\ReceiverType + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### MOBILE_BALANCE +Пополнение баланса телефона + +```php +MOBILE_BALANCE = 'mobile_balance' +``` + + + +###### DIGITAL_WALLET +Пополнение электронного кошелька + +```php +DIGITAL_WALLET = 'digital_wallet' +``` + + + +###### BANK_ACCOUNT +Пополнение банковского счета, открытого в вашей системе + +```php +BANK_ACCOUNT = 'bank_account' +``` + + + +--- +## Properties + +#### protected $validValues : array +--- +**Summary** + +Возвращает список доступных значений + +**Type:** array +Массив принимаемых enum'ом значений +**Details:** + + +##### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| return | | | + + +--- +## Methods + +#### public getEnabledValues() : string[] + +```php +Static public getEnabledValues() : string[] +``` + +**Summary** + +Возвращает значения в enum'е значения которых разрешены. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** string[] - Массив разрешённых значений + + + +#### public getValidValues() : array + +```php +Static public getValidValues() : array +``` + +**Summary** + +Возвращает все значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** array - Массив значений в перечислении + + + +#### public valueExists() : bool + +```php +Static public valueExists(mixed $value) : bool +``` + +**Summary** + +Проверяет наличие значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Проверяемое значение | + +**Returns:** bool - True если значение имеется, false если нет + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-TransferData.md b/docs/classes/YooKassa-Request-Payments-TransferData.md index b16aa58b..3952d8da 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferData.md +++ b/docs/classes/YooKassa-Request-Payments-TransferData.md @@ -764,10 +764,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md b/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md index 2e08e02a..e45b5984 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md +++ b/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md @@ -332,10 +332,10 @@ public hasMetadata() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md index 999485a0..a3302c2f 100644 --- a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md @@ -1300,10 +1300,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md index 714b4f40..cb9c8f49 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md @@ -1339,10 +1339,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md index 9cc46a2b..3280a693 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md @@ -425,10 +425,10 @@ protected initCurrentObject() : \YooKassa\Request\Payouts\CreatePayoutRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md index 2db89c42..a5e20626 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md @@ -655,10 +655,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md index 1d2a8290..3e007b9b 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payouts\CreatePayoutRequestInterface $request ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md index af328dc1..e7e33186 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md @@ -1301,10 +1301,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md b/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md index c222f602..180d7cc9 100644 --- a/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md +++ b/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md @@ -523,10 +523,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md index 0a9087e2..9f88e98e 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md @@ -464,10 +464,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md index c3b40995..176fdced 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md @@ -520,10 +520,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md index ee7fac93..a0c41967 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md index a4be9f01..6b7a7e45 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md index c6777ed5..ddbd7afb 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md @@ -599,10 +599,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md index 4a62e559..fd2fd514 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md @@ -566,10 +566,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md b/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md index 25a335d1..f63eacd2 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md @@ -458,10 +458,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md index 7c5aaa66..0fe4d45a 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md @@ -1301,10 +1301,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md b/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md index f0e1365a..e0cfb8b5 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md @@ -456,10 +456,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md b/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md index b71949b4..34c13b5e 100644 --- a/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md b/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md index cc19f550..eb9a903d 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md @@ -304,10 +304,10 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md b/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md index b9a3fe31..832746e6 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md @@ -376,10 +376,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md b/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md index 32eb12ea..f953baf5 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md @@ -281,10 +281,10 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md index 33ad2e6a..8d0d5500 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md @@ -939,10 +939,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md index a3e66710..dea8d90d 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md @@ -658,10 +658,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md index 5e9162f6..9a17dea4 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md @@ -1030,10 +1030,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md index 714f86b6..2007bf59 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md index 897a1f8a..ff38cc1e 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md @@ -959,10 +959,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md index 5b7f8d34..8bb00aba 100644 --- a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md @@ -1563,10 +1563,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md index 139a9099..a2c030cc 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md @@ -1332,10 +1332,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md index ac5540bf..0920e381 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md @@ -592,10 +592,10 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\CreatePostReceiptRequ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md index 8ade83f4..2fd3644b 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md @@ -587,10 +587,10 @@ public notEmpty() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md index 8618006c..a976c778 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md @@ -61,10 +61,10 @@ public serialize(\YooKassa\Request\Receipts\CreatePostReceiptRequestInterface $r ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md index ca4c3cdb..53f76248 100644 --- a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md @@ -1676,10 +1676,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md index 4e07d116..f4011950 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md @@ -61,10 +61,10 @@ public factory(array $data) : \YooKassa\Request\Receipts\AbstractReceiptResponse ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md index d5ee8808..17ec9c9c 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md @@ -206,10 +206,10 @@ public notEmpty() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md index 2f184e00..898aff79 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md @@ -1500,10 +1500,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md index 8536cdc3..1152e75f 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md @@ -378,10 +378,10 @@ public getSupplier() : \YooKassa\Model\Receipt\SupplierInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md index 90745c50..150ca1f5 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md @@ -1236,10 +1236,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md index be1f08e6..09e374ed 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md @@ -407,10 +407,10 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\ReceiptsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md index 8c19a7c0..bbc8af6c 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md @@ -378,10 +378,10 @@ public hasLimit() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md index d8c55371..cabda482 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md @@ -61,10 +61,10 @@ public serialize(\YooKassa\Request\Receipts\ReceiptsRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md index 139373f1..3415112f 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md @@ -533,10 +533,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md index 8ccc1491..a66ace49 100644 --- a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md @@ -1676,10 +1676,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md index 444876ac..15860c16 100644 --- a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md @@ -1589,10 +1589,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md index dccc6260..7ef36ead 100644 --- a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md @@ -1173,10 +1173,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md index 491ca2f2..36c9b2c4 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md @@ -63,8 +63,11 @@ var_dump($response); | public | [$amount](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_amount) | | Сумма возврата | | public | [$deal](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_deal) | | Информация о сделке | | public | [$description](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_description) | | Комментарий к операции возврата, основание для возврата средств покупателю. | -| public | [$paymentId](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_paymentId) | | Айди платежа для которого создаётся возврат | +| public | [$payment_id](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_payment_id) | | Идентификатор платежа для которого создаётся возврат | +| public | [$paymentId](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_paymentId) | | Идентификатор платежа для которого создаётся возврат | | public | [$receipt](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_receipt) | | Инстанс чека или null | +| public | [$refund_method_data](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_refund_method_data) | | Метод возврата | +| public | [$refundMethodData](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_refundMethodData) | | Метод возврата | | public | [$sources](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#property_sources) | | Информация о распределении денег — сколько и в какой магазин нужно перевести | --- @@ -85,6 +88,7 @@ var_dump($response); | public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | | public | [getPaymentId()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_getPaymentId) | | Возвращает идентификатор платежа для которого создаётся возврат средств. | | public | [getReceipt()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_getReceipt) | | Возвращает чек, если он есть. | +| public | [getRefundMethodData()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_getRefundMethodData) | | Возвращает метод возврата. | | public | [getSources()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_getSources) | | Возвращает информацию о распределении денег — сколько и в какой магазин нужно перевести. | | public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | | public | [hasAmount()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasAmount) | | Проверяет, была ли установлена сумма возврата. | @@ -92,6 +96,7 @@ var_dump($response); | public | [hasDescription()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasDescription) | | Проверяет задан ли комментарий к создаваемому возврату. | | public | [hasPaymentId()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasPaymentId) | | Проверяет, был ли установлена идентификатор платежа. | | public | [hasReceipt()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasReceipt) | | Проверяет наличие чека. | +| public | [hasRefundMethodData()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasRefundMethodData) | | Проверяет установлен ли объект с методом возврата. | | public | [hasSources()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_hasSources) | | Проверяет наличие информации о распределении денег. | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | @@ -104,6 +109,7 @@ var_dump($response); | public | [setDescription()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_setDescription) | | Устанавливает комментарий к возврату. | | public | [setPaymentId()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_setPaymentId) | | Устанавливает идентификатор платежа для которого создаётся возврат | | public | [setReceipt()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_setReceipt) | | Устанавливает чек. | +| public | [setRefundMethodData()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_setRefundMethodData) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_setSources) | | Устанавливает sources (массив распределения денег между магазинами). | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | | public | [validate()](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md#method_validate) | | Валидирует объект запроса. | @@ -170,12 +176,24 @@ var_dump($response); **Details:** + +#### public $payment_id : string +--- +***Description*** + +Идентификатор платежа для которого создаётся возврат + +**Type:** string + +**Details:** + + #### public $paymentId : string --- ***Description*** -Айди платежа для которого создаётся возврат +Идентификатор платежа для которого создаётся возврат **Type:** string @@ -194,6 +212,30 @@ var_dump($response); **Details:** + +#### public $refund_method_data : null|\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData +--- +***Description*** + +Метод возврата + +**Type:** AbstractRefundMethodData + +**Details:** + + + +#### public $refundMethodData : null|\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData +--- +***Description*** + +Метод возврата + +**Type:** AbstractRefundMethodData + +**Details:** + + #### public $sources : null|\YooKassa\Common\ListObjectInterface|\YooKassa\Model\Refund\SourceInterface[] --- @@ -478,6 +520,23 @@ public getReceipt() : null|\YooKassa\Model\Receipt\ReceiptInterface **Returns:** null|\YooKassa\Model\Receipt\ReceiptInterface - Данные фискального чека 54-ФЗ или null, если чека нет + +#### public getRefundMethodData() : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData|null + +```php +public getRefundMethodData() : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData|null +``` + +**Summary** + +Возвращает метод возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\CreateRefundRequest](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md) + +**Returns:** \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData|null - Метод возврата + + #### public getSources() : \YooKassa\Model\Refund\SourceInterface[]|\YooKassa\Common\ListObjectInterface @@ -593,6 +652,23 @@ public hasReceipt() : bool **Returns:** bool - True если чек есть, false если нет + +#### public hasRefundMethodData() : bool + +```php +public hasRefundMethodData() : bool +``` + +**Summary** + +Проверяет установлен ли объект с методом возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\CreateRefundRequest](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md) + +**Returns:** bool - True если объект метода возврата установлен, false если нет + + #### public hasSources() : bool @@ -843,6 +919,28 @@ public setReceipt(null|array|\YooKassa\Model\Receipt\ReceiptInterface $receipt = **Returns:** self - + +#### public setRefundMethodData() : self + +```php +public setRefundMethodData(\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData|array|null $refund_method_data = null) : self +``` + +**Summary** + +Устанавливает метод возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\CreateRefundRequest](../classes/YooKassa-Request-Refunds-CreateRefundRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData OR array OR null | refund_method_data | Метод возврата | + +**Returns:** self - + + #### public setSources() : self @@ -970,10 +1068,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md index 9908c2e3..7389ad7c 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md @@ -84,6 +84,7 @@ var_dump($response); | public | [setReceiptEmail()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptEmail) | | Устанавливает адрес электронной почты получателя чека. | | public | [setReceiptItems()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptItems) | | Устанавливает список товаров для создания чека. | | public | [setReceiptPhone()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptPhone) | | Устанавливает телефон получателя чека. | +| public | [setRefundMethodData()](../classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md#method_setRefundMethodData) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md#method_setSources) | | Устанавливает источники возврата. | | public | [setTaxSystemCode()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setTaxSystemCode) | | Устанавливает код системы налогообложения. | | public | [setTransfers()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setTransfers) | | Устанавливает трансферы. | @@ -551,6 +552,28 @@ public setReceiptPhone(string|null $value) : self **Returns:** self - Инстанс билдера запросов + +#### public setRefundMethodData() : self + +```php +public setRefundMethodData(\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData|array|null $value = null) : self +``` + +**Summary** + +Устанавливает метод возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\CreateRefundRequestBuilder](../classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData OR array OR null | value | | + +**Returns:** self - + + #### public setSources() : self @@ -646,10 +669,10 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\CreateRefundRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md index 151e4c59..699132d7 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md @@ -341,10 +341,10 @@ public hasDeal() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md index 76026bac..05f421ce 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Refunds\CreateRefundRequestInterface $request ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md index 5a86e13a..bfe897ed 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md @@ -1174,10 +1174,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md new file mode 100644 index 00000000..6287bb7a --- /dev/null +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md @@ -0,0 +1,457 @@ +# [YooKassa API SDK](../home.md) + +# Abstract Class: \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData +### Namespace: [\YooKassa\Request\Refunds\RefundMethodData](../namespaces/yookassa-request-refunds-refundmethoddata.md) +--- +**Summary:** + +Класс, представляющий модель AbstractRefundMethod. + +**Description:** + +Абстрактный класс, описывающий основные свойства и методы методов возврата. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$type](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#property_type) | | Код метода возврата | +| protected | [$_type](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#property__type) | | Код метода возврата. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getType()](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#method_getType) | | Возвращает тип метода возврата. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setType()](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#method_setType) | | Устанавливает тип метода возврата. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php](../../lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $type : string +--- +***Description*** + +Код метода возврата + +**Type:** string + +**Details:** + + + +#### protected $_type : ?string +--- +**Summary** + +Код метода возврата. + +**Type:** ?string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + +**Returns:** string|null - Тип метода возврата + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип метода возврата | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md new file mode 100644 index 00000000..e1ab94ed --- /dev/null +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md @@ -0,0 +1,590 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate +### Namespace: [\YooKassa\Request\Refunds\RefundMethodData](../namespaces/yookassa-request-refunds-refundmethoddata.md) +--- +**Summary:** + +Класс, представляющий модель ElectronicCertificateRefundMethod. + +**Description:** + +Возврат платежа по электронному сертификату. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$articles](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#property_articles) | | Корзина возврата (в терминах НСПК) — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Данные должны соответствовать товарам из одобренной корзины покупки (`articles` в [объекте платежа](#payment_object)). Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | +| public | [$electronic_certificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#property_electronic_certificate) | | Данные от ФЭС НСПК для возврата на электронный сертификат. Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). | +| public | [$electronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#property_electronicCertificate) | | Данные от ФЭС НСПК для возврата на электронный сертификат. Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). | +| public | [$type](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#property_type) | | Код способа оплаты. | +| public | [$type](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#property_type) | | Код метода возврата | +| protected | [$_type](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#property__type) | | Код метода возврата. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#method___construct) | | | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getArticles()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#method_getArticles) | | Возвращает articles. | +| public | [getElectronicCertificate()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#method_getElectronicCertificate) | | Возвращает electronic_certificate. | +| public | [getType()](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#method_getType) | | Возвращает тип метода возврата. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setArticles()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#method_setArticles) | | Устанавливает articles. | +| public | [setElectronicCertificate()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md#method_setElectronicCertificate) | | Устанавливает electronic_certificate. | +| public | [setType()](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md#method_setType) | | Устанавливает тип метода возврата. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php](../../lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php) +* Package: YooKassa\Modela +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + * \YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $articles : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface +--- +***Description*** + +Корзина возврата (в терминах НСПК) — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Данные должны соответствовать товарам из одобренной корзины покупки (`articles` в [объекте платежа](#payment_object)). Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + +**Type:** ListObjectInterface + +**Details:** + + + +#### public $electronic_certificate : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData +--- +***Description*** + +Данные от ФЭС НСПК для возврата на электронный сертификат. Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). + +**Type:** ElectronicCertificateRefundData + +**Details:** + + + +#### public $electronicCertificate : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData +--- +***Description*** + +Данные от ФЭС НСПК для возврата на электронный сертификат. Необходимо передавать только при [оплате со сбором данных на вашей стороне](https://yookassa.ru/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/merchant-payment-form). + +**Type:** ElectronicCertificateRefundData + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код метода возврата + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код метода возврата. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getArticles() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null + +```php +public getArticles() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null +``` + +**Summary** + +Возвращает articles. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle[]|\YooKassa\Common\ListObjectInterface|null - Корзина возврата (в терминах НСПК) — список возвращаемых товаров + + + +#### public getElectronicCertificate() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null + +```php +public getElectronicCertificate() : \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null +``` + +**Summary** + +Возвращает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) + +**Returns:** \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|null - Данные от ФЭС НСПК для возврата на электронный сертификат. + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + +**Returns:** string|null - Тип метода возврата + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setArticles() : self + +```php +public setArticles(\YooKassa\Common\ListObjectInterface|array|null $articles = null) : self +``` + +**Summary** + +Устанавливает articles. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Common\ListObjectInterface OR array OR null | articles | Корзина возврата (в терминах НСПК) — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Данные должны соответствовать товарам из одобренной корзины покупки (`articles` в [объекте платежа](#payment_object)). Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). | + +**Returns:** self - + + + +#### public setElectronicCertificate() : self + +```php +public setElectronicCertificate(\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData|array|null $electronic_certificate = null) : self +``` + +**Summary** + +Устанавливает electronic_certificate. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData OR array OR null | electronic_certificate | Данные от ФЭС НСПК для возврата на электронный сертификат. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип метода возврата. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип метода возврата | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md new file mode 100644 index 00000000..eba39367 --- /dev/null +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md @@ -0,0 +1,107 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory +### Namespace: [\YooKassa\Request\Refunds\RefundMethodData](../namespaces/yookassa-request-refunds-refundmethoddata.md) +--- +**Summary:** + +Класс, представляющий модель RefundMethodDataFactory. + +**Description:** + +Фабрика создания объекта методов возврата из массива. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [factory()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md#method_factory) | | Фабричный метод создания объекта платежных данных по типу. | +| public | [factoryFromArray()](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md#method_factoryFromArray) | | Фабричный метод создания объекта платежных данных из массива. | + +--- +### Details +* File: [lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php](../../lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php) +* Package: YooKassa\Model +* Class Hierarchy: + * \YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public factory() : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData + +```php +public factory(string|null $type) : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData +``` + +**Summary** + +Фабричный метод создания объекта платежных данных по типу. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип платежного метода | + +**Returns:** \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData - + + + +#### public factoryFromArray() : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData + +```php +public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData +``` + +**Summary** + +Фабричный метод создания объекта платежных данных из массива. + +**Details:** +* Inherited From: [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | data | Массив платежных данных | +| null OR string | type | Тип платежного метода | + +**Returns:** \YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md index ac86a593..54bcd416 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md @@ -1174,10 +1174,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md index ec5054cc..640fa5fa 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md @@ -1139,10 +1139,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md index e5eca28a..548bc0b2 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md @@ -391,10 +391,10 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\RefundsRequestInterfac ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md index 4de2f94f..2c20abba 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md @@ -305,10 +305,10 @@ public hasCursor() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md index c014bfa3..14d4b3d8 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Refunds\RefundsRequestInterface $request) : a ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md index 1cdc5042..d6d1cb1c 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md index b946f30a..5023f854 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md @@ -721,10 +721,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md index 01d125d9..d0357382 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md @@ -261,10 +261,10 @@ protected initCurrentObject() : \YooKassa\Request\SelfEmployed\SelfEmployedReque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md index d1dde9db..2c23e1ca 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md index 1d6f74f8..d538a941 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md index 2309729d..9fd0e47c 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md @@ -451,10 +451,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md index ddaaf4bf..705a766d 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md @@ -247,10 +247,10 @@ public validate() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md index aba00ad3..c67f6110 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\SelfEmployed\SelfEmployedRequest $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md index d2aebba1..7ab24053 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md @@ -884,10 +884,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md index 64d47382..1392594b 100644 --- a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md +++ b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md @@ -533,10 +533,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/default.md b/docs/namespaces/default.md index 635b2a45..f04b6647 100644 --- a/docs/namespaces/default.md +++ b/docs/namespaces/default.md @@ -67,10 +67,10 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-client.md b/docs/namespaces/yookassa-client.md index 32b311e2..d504a660 100644 --- a/docs/namespaces/yookassa-client.md +++ b/docs/namespaces/yookassa-client.md @@ -29,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common-exceptions.md b/docs/namespaces/yookassa-common-exceptions.md index 6ff86d12..ad3ef250 100644 --- a/docs/namespaces/yookassa-common-exceptions.md +++ b/docs/namespaces/yookassa-common-exceptions.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common.md b/docs/namespaces/yookassa-common.md index 673eb384..28e6e480 100644 --- a/docs/namespaces/yookassa-common.md +++ b/docs/namespaces/yookassa-common.md @@ -39,10 +39,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers-config.md b/docs/namespaces/yookassa-helpers-config.md index b71275cb..b7492a28 100644 --- a/docs/namespaces/yookassa-helpers-config.md +++ b/docs/namespaces/yookassa-helpers-config.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers.md b/docs/namespaces/yookassa-helpers.md index 69ca4545..531e1802 100644 --- a/docs/namespaces/yookassa-helpers.md +++ b/docs/namespaces/yookassa-helpers.md @@ -31,10 +31,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-deal.md b/docs/namespaces/yookassa-model-deal.md index f3ce622c..ee4af0aa 100644 --- a/docs/namespaces/yookassa-model-deal.md +++ b/docs/namespaces/yookassa-model-deal.md @@ -40,10 +40,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-notification.md b/docs/namespaces/yookassa-model-notification.md index 06881a7d..777f24c5 100644 --- a/docs/namespaces/yookassa-model-notification.md +++ b/docs/namespaces/yookassa-model-notification.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-confirmation.md b/docs/namespaces/yookassa-model-payment-confirmation.md index cd553131..9b2ad723 100644 --- a/docs/namespaces/yookassa-model-payment-confirmation.md +++ b/docs/namespaces/yookassa-model-payment-confirmation.md @@ -28,10 +28,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md index c2de08c8..ec7facb4 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md @@ -35,10 +35,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md index 139f2083..69be051e 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md @@ -19,10 +19,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md b/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md new file mode 100644 index 00000000..f1df603e --- /dev/null +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md @@ -0,0 +1,32 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate + +## Parent: [\YooKassa\Model\Payment\PaymentMethod](../namespaces/yookassa-model-payment-paymentmethod.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md) | Класс, представляющий модель ElectronicCertificate. | +| [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificateApprovedPaymentArticle](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md) | Класс, представляющий модель ElectronicCertificateApprovedPaymentArticle. | +| [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate\ElectronicCertificatePaymentData](../classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md) | Класс, представляющий модель ElectronicCertificatePaymentData. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod.md b/docs/namespaces/yookassa-model-payment-paymentmethod.md index 143f25dd..ce946f54 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod.md @@ -7,6 +7,7 @@ ### Namespaces * [\YooKassa\Model\Payment\PaymentMethod\B2b](../namespaces/yookassa-model-payment-paymentmethod-b2b.md) +* [\YooKassa\Model\Payment\PaymentMethod\ElectronicCertificate](../namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md) ### Classes @@ -22,6 +23,7 @@ | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodB2bSberbank](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md) | Класс, представляющий модель PaymentMethodB2bSberbank. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodBankCard](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md) | Класс, представляющий модель PaymentMethodBankCard. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodCash](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md) | Класс, представляющий модель PaymentMethodCash. | +| [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodElectronicCertificate](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md) | Класс, представляющий модель PaymentMethodElectronicCertificate. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodFactory](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md) | Класс, представляющий модель PaymentMethodFactory. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodGooglePay](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md) | Класс, представляющий модель PaymentMethodGooglePay. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodInstallments](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md) | Класс, представляющий модель PaymentMethodInstallments. | @@ -36,6 +38,7 @@ | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodWebmoney](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md) | Класс, представляющий модель PaymentMethodWebmoney. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodWechat](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md) | Класс, представляющий модель PaymentMethodWeChat. | | [\YooKassa\Model\Payment\PaymentMethod\PaymentMethodYooMoney](../classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md) | Класс, представляющий модель PaymentMethodYooMoney. | +| [\YooKassa\Model\Payment\PaymentMethod\SbpPayerBankDetails](../classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md) | Класс, представляющий модель SbpPayerBankDetails. | --- @@ -48,10 +51,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment.md b/docs/namespaces/yookassa-model-payment.md index 127ba29a..9366b84b 100644 --- a/docs/namespaces/yookassa-model-payment.md +++ b/docs/namespaces/yookassa-model-payment.md @@ -47,10 +47,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payout.md b/docs/namespaces/yookassa-model-payout.md index eeb3a36f..54b88aa5 100644 --- a/docs/namespaces/yookassa-model-payout.md +++ b/docs/namespaces/yookassa-model-payout.md @@ -41,10 +41,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-personaldata.md b/docs/namespaces/yookassa-model-personaldata.md index d38489d9..d09ae1a5 100644 --- a/docs/namespaces/yookassa-model-personaldata.md +++ b/docs/namespaces/yookassa-model-personaldata.md @@ -32,10 +32,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-receipt.md b/docs/namespaces/yookassa-model-receipt.md index 2027ef61..3f56320d 100644 --- a/docs/namespaces/yookassa-model-receipt.md +++ b/docs/namespaces/yookassa-model-receipt.md @@ -47,10 +47,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md b/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md new file mode 100644 index 00000000..2c723f87 --- /dev/null +++ b/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md @@ -0,0 +1,31 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Model\Refund\RefundMethod\ElectronicCertificate + +## Parent: [\YooKassa\Model\Refund\RefundMethod](../namespaces/yookassa-model-refund-refundmethod.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundArticle](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md) | Класс, представляющий модель ElectronicCertificateRefundArticle. | +| [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate\ElectronicCertificateRefundData](../classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md) | Класс, представляющий модель ElectronicCertificateRefundData. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund-refundmethod.md b/docs/namespaces/yookassa-model-refund-refundmethod.md index 541dd078..a10d20ad 100644 --- a/docs/namespaces/yookassa-model-refund-refundmethod.md +++ b/docs/namespaces/yookassa-model-refund-refundmethod.md @@ -4,11 +4,16 @@ ## Parent: [\YooKassa\Model\Refund](../namespaces/yookassa-model-refund.md) +### Namespaces + +* [\YooKassa\Model\Refund\RefundMethod\ElectronicCertificate](../namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md) + ### Classes | Name | Summary | | ---- | ------- | | [\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod](../classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md) | Класс, представляющий модель AbstractRefundMethod. | +| [\YooKassa\Model\Refund\RefundMethod\RefundMethodElectronicCertificate](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md) | Класс, представляющий модель ElectronicCertificateRefundMethod. | | [\YooKassa\Model\Refund\RefundMethod\RefundMethodFactory](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md) | Класс, представляющий модель RefundMethodFactory. | | [\YooKassa\Model\Refund\RefundMethod\RefundMethodSbp](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md) | Класс, представляющий модель RefundMethodSbp. | | [\YooKassa\Model\Refund\RefundMethod\RefundMethodUnknown](../classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md) | Класс, представляющий модель RefundMethodUnknown. | @@ -24,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund.md b/docs/namespaces/yookassa-model-refund.md index 5783178b..2279cc60 100644 --- a/docs/namespaces/yookassa-model-refund.md +++ b/docs/namespaces/yookassa-model-refund.md @@ -38,10 +38,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-selfemployed.md b/docs/namespaces/yookassa-model-selfemployed.md index 3ec4c675..c4f08c2e 100644 --- a/docs/namespaces/yookassa-model-selfemployed.md +++ b/docs/namespaces/yookassa-model-selfemployed.md @@ -32,10 +32,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-settings.md b/docs/namespaces/yookassa-model-settings.md index 4f4eb082..7815add8 100644 --- a/docs/namespaces/yookassa-model-settings.md +++ b/docs/namespaces/yookassa-model-settings.md @@ -23,10 +23,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-webhook.md b/docs/namespaces/yookassa-model-webhook.md index e8c20a9d..e451521c 100644 --- a/docs/namespaces/yookassa-model-webhook.md +++ b/docs/namespaces/yookassa-model-webhook.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model.md b/docs/namespaces/yookassa-model.md index f45810e5..13713081 100644 --- a/docs/namespaces/yookassa-model.md +++ b/docs/namespaces/yookassa-model.md @@ -43,10 +43,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-deals.md b/docs/namespaces/yookassa-request-deals.md index a1349eb8..16c4d4d1 100644 --- a/docs/namespaces/yookassa-request-deals.md +++ b/docs/namespaces/yookassa-request-deals.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-confirmationattributes.md b/docs/namespaces/yookassa-request-payments-confirmationattributes.md index ce9576bf..ada25ca6 100644 --- a/docs/namespaces/yookassa-request-payments-confirmationattributes.md +++ b/docs/namespaces/yookassa-request-payments-confirmationattributes.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md b/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md new file mode 100644 index 00000000..16e04c3f --- /dev/null +++ b/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md @@ -0,0 +1,30 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\Payments\PaymentData\ElectronicCertificate + +## Parent: [\YooKassa\Request\Payments\PaymentData](../namespaces/yookassa-request-payments-paymentdata.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate\ElectronicCertificateArticle](../classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md) | Класс, представляющий модель ElectronicCertificateArticle. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-paymentdata.md b/docs/namespaces/yookassa-request-payments-paymentdata.md index 4dad1d18..06ec81d4 100644 --- a/docs/namespaces/yookassa-request-payments-paymentdata.md +++ b/docs/namespaces/yookassa-request-payments-paymentdata.md @@ -4,6 +4,10 @@ ## Parent: [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) +### Namespaces + +* [\YooKassa\Request\Payments\PaymentData\ElectronicCertificate](../namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md) + ### Classes | Name | Summary | @@ -15,6 +19,7 @@ | [\YooKassa\Request\Payments\PaymentData\PaymentDataBankCard](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md) | Класс, представляющий модель PaymentMethodDataBankCard. | | [\YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md) | Класс, представляющий модель PaymentDataBankCardCard. | | [\YooKassa\Request\Payments\PaymentData\PaymentDataCash](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md) | Класс, представляющий модель PaymentMethodDataCash. | +| [\YooKassa\Request\Payments\PaymentData\PaymentDataElectronicCertificate](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md) | Класс, представляющий модель PaymentMethodDataElectronicCertificate. | | [\YooKassa\Request\Payments\PaymentData\PaymentDataFactory](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md) | Класс, представляющий модель PaymentDataFactory. | | [\YooKassa\Request\Payments\PaymentData\PaymentDataGooglePay](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md) | Класс, представляющий модель PaymentDataGooglePay. | | [\YooKassa\Request\Payments\PaymentData\PaymentDataInstallments](../classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md) | Класс, представляющий модель PaymentMethodDataInstallments. | @@ -37,10 +42,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-receiverdata.md b/docs/namespaces/yookassa-request-payments-receiverdata.md new file mode 100644 index 00000000..6085cd79 --- /dev/null +++ b/docs/namespaces/yookassa-request-payments-receiverdata.md @@ -0,0 +1,35 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\Payments\ReceiverData + +## Parent: [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\Payments\ReceiverData\AbstractReceiver](../classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md) | Класс, представляющий модель Receiver. | +| [\YooKassa\Request\Payments\ReceiverData\ReceiverBankAccount](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md) | Класс, представляющий модель ReceiverBankAccount. | +| [\YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md) | Класс, представляющий модель ReceiverDigitalWallet. | +| [\YooKassa\Request\Payments\ReceiverData\ReceiverFactory](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md) | Класс, представляющий модель ReceiverFactory. | +| [\YooKassa\Request\Payments\ReceiverData\ReceiverMobileBalance](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md) | Класс, представляющий модель ReceiverMobileBalance. | +| [\YooKassa\Request\Payments\ReceiverData\ReceiverType](../classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md) | Класс, представляющий модель ReceiverType. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments.md b/docs/namespaces/yookassa-request-payments.md index be1dd328..a0a9fe1c 100644 --- a/docs/namespaces/yookassa-request-payments.md +++ b/docs/namespaces/yookassa-request-payments.md @@ -8,6 +8,7 @@ * [\YooKassa\Request\Payments\ConfirmationAttributes](../namespaces/yookassa-request-payments-confirmationattributes.md) * [\YooKassa\Request\Payments\PaymentData](../namespaces/yookassa-request-payments-paymentdata.md) +* [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) ### Interfaces @@ -61,10 +62,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md index cb2d55a4..033cdbe1 100644 --- a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md +++ b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md @@ -26,10 +26,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts.md b/docs/namespaces/yookassa-request-payouts.md index 80871e32..9ea21e11 100644 --- a/docs/namespaces/yookassa-request-payouts.md +++ b/docs/namespaces/yookassa-request-payouts.md @@ -40,10 +40,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-personaldata-personaldatatype.md b/docs/namespaces/yookassa-request-personaldata-personaldatatype.md index 085a12b8..0921c8bd 100644 --- a/docs/namespaces/yookassa-request-personaldata-personaldatatype.md +++ b/docs/namespaces/yookassa-request-personaldata-personaldatatype.md @@ -24,10 +24,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-personaldata.md b/docs/namespaces/yookassa-request-personaldata.md index 3891844d..7c0906a6 100644 --- a/docs/namespaces/yookassa-request-personaldata.md +++ b/docs/namespaces/yookassa-request-personaldata.md @@ -33,10 +33,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-receipts.md b/docs/namespaces/yookassa-request-receipts.md index b104afc0..dbdcc9aa 100644 --- a/docs/namespaces/yookassa-request-receipts.md +++ b/docs/namespaces/yookassa-request-receipts.md @@ -42,10 +42,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds-refundmethoddata.md b/docs/namespaces/yookassa-request-refunds-refundmethoddata.md new file mode 100644 index 00000000..8ce472f8 --- /dev/null +++ b/docs/namespaces/yookassa-request-refunds-refundmethoddata.md @@ -0,0 +1,32 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\Refunds\RefundMethodData + +## Parent: [\YooKassa\Request\Refunds](../namespaces/yookassa-request-refunds.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData](../classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md) | Класс, представляющий модель AbstractRefundMethod. | +| [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataElectronicCertificate](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md) | Класс, представляющий модель ElectronicCertificateRefundMethod. | +| [\YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory](../classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md) | Класс, представляющий модель RefundMethodDataFactory. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 30](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) + +© 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds.md b/docs/namespaces/yookassa-request-refunds.md index 76b771b0..0a606218 100644 --- a/docs/namespaces/yookassa-request-refunds.md +++ b/docs/namespaces/yookassa-request-refunds.md @@ -4,6 +4,10 @@ ## Parent: [\YooKassa\Request](../namespaces/yookassa-request.md) +### Namespaces + +* [\YooKassa\Request\Refunds\RefundMethodData](../namespaces/yookassa-request-refunds-refundmethoddata.md) + ### Interfaces | Name | Summary | @@ -37,10 +41,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-selfemployed.md b/docs/namespaces/yookassa-request-selfemployed.md index 0ea9472f..0c898fc5 100644 --- a/docs/namespaces/yookassa-request-selfemployed.md +++ b/docs/namespaces/yookassa-request-selfemployed.md @@ -33,10 +33,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-webhook.md b/docs/namespaces/yookassa-request-webhook.md index 31fc88ae..4d1c771b 100644 --- a/docs/namespaces/yookassa-request-webhook.md +++ b/docs/namespaces/yookassa-request-webhook.md @@ -21,10 +21,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request.md b/docs/namespaces/yookassa-request.md index 38b822ab..f36b88f8 100644 --- a/docs/namespaces/yookassa-request.md +++ b/docs/namespaces/yookassa-request.md @@ -32,10 +32,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa.md b/docs/namespaces/yookassa.md index f3437417..fbe7a620 100644 --- a/docs/namespaces/yookassa.md +++ b/docs/namespaces/yookassa.md @@ -29,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/readme.md b/docs/readme.md index 343109d3..7d1d969a 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -67,10 +67,10 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ ### Reports * [Errors - 0](reports/errors.md) * [Markers - 0](reports/markers.md) -* [Deprecated - 25](reports/deprecated.md) +* [Deprecated - 30](reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/reports/deprecated.md b/docs/reports/deprecated.md index 55866b6b..78e20bbe 100644 --- a/docs/reports/deprecated.md +++ b/docs/reports/deprecated.md @@ -17,6 +17,9 @@ * [lib/Model/Refund/RefundMethod/RefundMethodUnknown.php](../../lib/Model/Refund/RefundMethod/RefundMethodUnknown.php) * [lib/Model/Refund/RefundMethodType.php](../../lib/Model/Refund/RefundMethodType.php) * [lib/Model/Settings/Me.php](../../lib/Model/Settings/Me.php) +* [lib/Request/Payments/CreatePaymentRequest.php](../../lib/Request/Payments/CreatePaymentRequest.php) +* [lib/Request/Payments/CreatePaymentRequestBuilder.php](../../lib/Request/Payments/CreatePaymentRequestBuilder.php) +* [lib/Request/Payments/FraudData.php](../../lib/Request/Payments/FraudData.php) * [lib/Request/Payments/PaymentData/PaymentDataAlfabank.php](../../lib/Request/Payments/PaymentData/PaymentDataAlfabank.php) * [lib/Request/Payments/PaymentData/PaymentDataInstallments.php](../../lib/Request/Payments/PaymentData/PaymentDataInstallments.php) * [lib/Request/Payments/PaymentData/PaymentDataQiwi.php](../../lib/Request/Payments/PaymentData/PaymentDataQiwi.php) @@ -81,7 +84,7 @@ | 114 | \YooKassa\Model\Payment\PaymentMethodType::PSB | Больше недоступен | | 121 | \YooKassa\Model\Payment\PaymentMethodType::INSTALLMENTS | Больше недоступен | | 128 | \YooKassa\Model\Payment\PaymentMethodType::WECHAT | Больше недоступен | -| 141 | \YooKassa\Model\Payment\PaymentMethodType::UNKNOWN | Не используется для реальных платежей | +| 144 | \YooKassa\Model\Payment\PaymentMethodType::UNKNOWN | Не используется для реальных платежей | #### [lib/Model/Refund/RefundCancellationDetailsPartyCode.php](../../lib/Model/Refund/RefundCancellationDetailsPartyCode.php) | Line | Element | Description | @@ -96,13 +99,30 @@ #### [lib/Model/Refund/RefundMethodType.php](../../lib/Model/Refund/RefundMethodType.php) | Line | Element | Description | | ---- | ------- | ----------- | -| 53 | \YooKassa\Model\Refund\RefundMethodType::UNKNOWN | Не используется для реальных возвратов | +| 56 | \YooKassa\Model\Refund\RefundMethodType::UNKNOWN | Не используется для реальных возвратов | #### [lib/Model/Settings/Me.php](../../lib/Model/Settings/Me.php) | Line | Element | Description | | ---- | ------- | ----------- | | 252 | \YooKassa\Model\Settings\Me::getFiscalizationEnabled() | Устарел. | | 265 | \YooKassa\Model\Settings\Me::setFiscalizationEnabled() | Устарел. | + +#### [lib/Request/Payments/CreatePaymentRequest.php](../../lib/Request/Payments/CreatePaymentRequest.php) +| Line | Element | Description | +| ---- | ------- | ----------- | +| 558 | \YooKassa\Request\Payments\CreatePaymentRequest::getFraudData() | Больше не поддерживается. Вместо него нужно использовать `getReceiver()` | +| 569 | \YooKassa\Request\Payments\CreatePaymentRequest::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | +| 580 | \YooKassa\Request\Payments\CreatePaymentRequest::hasFraudData() | Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` | + +#### [lib/Request/Payments/CreatePaymentRequestBuilder.php](../../lib/Request/Payments/CreatePaymentRequestBuilder.php) +| Line | Element | Description | +| ---- | ------- | ----------- | +| 332 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | + +#### [lib/Request/Payments/FraudData.php](../../lib/Request/Payments/FraudData.php) +| Line | Element | Description | +| ---- | ------- | ----------- | +| 49 | \YooKassa\Request\Payments\FraudData | Больше не поддерживается. Вместо него нужно использовать `receiver`. | #### [lib/Request/Payments/PaymentData/PaymentDataAlfabank.php](../../lib/Request/Payments/PaymentData/PaymentDataAlfabank.php) | Line | Element | Description | @@ -130,10 +150,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/reports/errors.md b/docs/reports/errors.md index 4fc5af45..09f0737f 100644 --- a/docs/reports/errors.md +++ b/docs/reports/errors.md @@ -14,10 +14,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/docs/reports/markers.md b/docs/reports/markers.md index a058d820..f989addc 100644 --- a/docs/reports/markers.md +++ b/docs/reports/markers.md @@ -14,10 +14,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 25](../reports/deprecated.md) +* [Deprecated - 30](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2024-07-02 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2024-09-19 using [phpDocumentor](http://www.phpdoc.org/) © 2024 YooMoney \ No newline at end of file diff --git a/lib/Client.php b/lib/Client.php index 1de138ed..4fd9881b 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -119,7 +119,7 @@ class Client extends BaseClient /** * Текущая версия библиотеки. */ - public const SDK_VERSION = '3.5.0'; + public const SDK_VERSION = '3.6.0'; /** * Получить список платежей магазина. diff --git a/lib/Model/Payment/AuthorizationDetails.php b/lib/Model/Payment/AuthorizationDetails.php index 06318720..2e1d11e7 100644 --- a/lib/Model/Payment/AuthorizationDetails.php +++ b/lib/Model/Payment/AuthorizationDetails.php @@ -26,30 +26,31 @@ namespace YooKassa\Model\Payment; -use Exception; use YooKassa\Common\AbstractObject; use YooKassa\Validator\Constraints as Assert; /** * Класс, представляющий модель AuthorizationDetails. * - * Данные об авторизации платежа. + * Данные об авторизации платежа при оплате банковской картой. + * + * Присутствуют только для этих способов оплаты: банковская карта, Mir Pay, SberPay, T-Pay. * * @category Class * @package YooKassa\Model * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * - * @property string $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента - * @property string $authCode Код авторизации банковской карты - * @property string $auth_code Код авторизации банковской карты - * @property ThreeDSecure $threeDSecure Данные о прохождении пользователем аутентификации по 3‑D Secure - * @property ThreeDSecure $three_d_secure Данные о прохождении пользователем аутентификации по 3‑D Secure + * @property string $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. + * @property string $authСode Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. + * @property string $auth_code Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. + * @property ThreeDSecure $threeDSecure Данные о прохождении пользователем аутентификации по 3‑D Secure. + * @property ThreeDSecure $three_d_secure Данные о прохождении пользователем аутентификации по 3‑D Secure. */ class AuthorizationDetails extends AbstractObject implements AuthorizationDetailsInterface { /** - * Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. Используется при оплате банковской картой. + * Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. * * @var string|null */ @@ -57,7 +58,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail private ?string $_rrn = null; /** - * Код авторизации банковской карты. Выдается эмитентом и подтверждает проведение авторизации. + * Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. * * @var string|null */ @@ -65,7 +66,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail private ?string $_auth_code = null; /** - * @var ThreeDSecure|null + * @var ThreeDSecure|null Данные о прохождении пользователем аутентификации по 3‑D Secure. */ #[Assert\NotNull] #[Assert\Valid] @@ -85,7 +86,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail /** * Устанавливает rrn. * - * @param string|null $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. Используется при оплате банковской картой. + * @param string|null $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. * * @return self */ @@ -98,7 +99,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail /** * Возвращает auth_code. * - * @return string|null + * @return string|null Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. */ public function getAuthCode(): ?string { @@ -108,7 +109,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail /** * Устанавливает auth_code. * - * @param string|null $auth_code Код авторизации банковской карты. Выдается эмитентом и подтверждает проведение авторизации. + * @param string|null $auth_code Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. * * @return self */ diff --git a/lib/Model/Payment/CancellationDetailsReasonCode.php b/lib/Model/Payment/CancellationDetailsReasonCode.php index 82913bec..b8078250 100644 --- a/lib/Model/Payment/CancellationDetailsReasonCode.php +++ b/lib/Model/Payment/CancellationDetailsReasonCode.php @@ -121,6 +121,9 @@ class CancellationDetailsReasonCode extends AbstractEnum /** Нельзя заплатить с номера телефона этого мобильного оператора. При новой попытке оплаты пользователю следует использовать другое платежное средство. Список поддерживаемых операторов */ public const UNSUPPORTED_MOBILE_OPERATOR = 'unsupported_mobile_operator'; + /** Отклонено по таймауту */ + public const REJECTED_BY_TIMEOUT = 'rejected_by_timeout'; + protected static array $validValues = [ self::THREE_D_SECURE_FAILED => true, self::CALL_ISSUER => true, @@ -142,5 +145,6 @@ class CancellationDetailsReasonCode extends AbstractEnum self::EXPIRED_ON_CAPTURE => true, self::DEAL_EXPIRED => true, self::UNSUPPORTED_MOBILE_OPERATOR => true, + self::REJECTED_BY_TIMEOUT => true, ]; } diff --git a/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php new file mode 100644 index 00000000..4f485ec2 --- /dev/null +++ b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificate.php @@ -0,0 +1,188 @@ +_certificate_id; + } + + /** + * Устанавливает certificate_id. + * + * @param string|null $certificate_id Идентификатор сертификата. От 20 до 30 символов. + * + * @return self + */ + public function setCertificateId(?string $certificate_id = null): self + { + $this->_certificate_id = $this->validatePropertyValue('_certificate_id', $certificate_id); + return $this; + } + + /** + * Возвращает tru_quantity. + * + * @return int|null Количество единиц товара + */ + public function getTruQuantity(): ?int + { + return $this->_tru_quantity; + } + + /** + * Устанавливает tru_quantity. + * + * @param int|null $tru_quantity Количество единиц товара, которое одобрили для оплаты по этому электронному сертификату. + * + * @return self + */ + public function setTruQuantity(?int $tru_quantity = null): self + { + $this->_tru_quantity = $this->validatePropertyValue('_tru_quantity', $tru_quantity); + return $this; + } + + /** + * Возвращает available_compensation. + * + * @return AmountInterface|null Максимально допустимая сумма + */ + public function getAvailableCompensation(): ?AmountInterface + { + return $this->_available_compensation; + } + + /** + * Устанавливает available_compensation. + * + * @param AmountInterface|array|null $available_compensation Максимально допустимая сумма + * + * @return self + */ + public function setAvailableCompensation(mixed $available_compensation = null): self + { + $this->_available_compensation = $this->validatePropertyValue('_available_compensation', $available_compensation); + return $this; + } + + /** + * Возвращает applied_compensation. + * + * @return AmountInterface|null Сумма, которую одобрили для оплаты по сертификату + */ + public function getAppliedCompensation(): ?AmountInterface + { + return $this->_applied_compensation; + } + + /** + * Устанавливает applied_compensation. + * + * @param AmountInterface|array|null $applied_compensation Сумма, которую одобрили для оплаты по сертификату + * + * @return self + */ + public function setAppliedCompensation(mixed $applied_compensation = null): self + { + $this->_applied_compensation = $this->validatePropertyValue('_applied_compensation', $applied_compensation); + return $this; + } + +} + diff --git a/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php new file mode 100644 index 00000000..5fd4864a --- /dev/null +++ b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticle.php @@ -0,0 +1,192 @@ +_article_number; + } + + /** + * Устанавливает article_number. + * + * @param int|null $article_number Порядковый номер товара в корзине. От 1 до 999 включительно. + * + * @return self + */ + public function setArticleNumber(?int $article_number = null): self + { + $this->_article_number = $this->validatePropertyValue('_article_number', $article_number); + return $this; + } + + /** + * Возвращает tru_code. + * + * @return string|null Код ТРУ + */ + public function getTruCode(): ?string + { + return $this->_tru_code; + } + + /** + * Устанавливает tru_code. + * + * @param string|null $tru_code Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + * + * @return self + */ + public function setTruCode(?string $tru_code = null): self + { + $this->_tru_code = $this->validatePropertyValue('_tru_code', $tru_code); + return $this; + } + + /** + * Возвращает article_code. + * + * @return string|null Код товара в вашей системе + */ + public function getArticleCode(): ?string + { + return $this->_article_code; + } + + /** + * Устанавливает article_code. + * + * @param string|null $article_code Код товара в вашей системе. Максимум 128 символов. + * + * @return self + */ + public function setArticleCode(?string $article_code = null): self + { + $this->_article_code = $this->validatePropertyValue('_article_code', $article_code); + return $this; + } + + /** + * Возвращает certificates. + * + * @return ElectronicCertificate[]|ListObjectInterface|null Список электронных сертификатов + */ + public function getCertificates(): ?ListObjectInterface + { + if ($this->_certificates === null) { + $this->_certificates = new ListObject(ElectronicCertificate::class); + } + return $this->_certificates; + } + + /** + * Устанавливает certificates. + * + * @param ListObjectInterface|array|null $certificates Список электронных сертификатов, которые используются для оплаты покупки. + * + * @return self + */ + public function setCertificates(mixed $certificates = null): self + { + $this->_certificates = $this->validatePropertyValue('_certificates', $certificates); + return $this; + } + +} + diff --git a/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php new file mode 100644 index 00000000..5d0c3b81 --- /dev/null +++ b/lib/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentData.php @@ -0,0 +1,118 @@ +_amount; + } + + /** + * Устанавливает amount. + * + * @param AmountInterface|array|null $amount Сумма, которая спишется с электронного сертификата + * + * @return self + */ + public function setAmount(mixed $amount = null): self + { + $this->_amount = $this->validatePropertyValue('_amount', $amount); + return $this; + } + + /** + * Возвращает basket_id. + * + * @return string|null Идентификатор корзины покупки + */ + public function getBasketId(): ?string + { + return $this->_basket_id; + } + + /** + * Устанавливает basket_id. + * + * @param string|null $basket_id Идентификатор корзины покупки + * + * @return self + */ + public function setBasketId(?string $basket_id = null): self + { + $this->_basket_id = $this->validatePropertyValue('_basket_id', $basket_id); + return $this; + } + +} + diff --git a/lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php b/lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php new file mode 100644 index 00000000..005a17b9 --- /dev/null +++ b/lib/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificate.php @@ -0,0 +1,156 @@ +setType(PaymentMethodType::ELECTRONIC_CERTIFICATE); + } + + /** + * Возвращает card. + * + * @return BankCard|null Данные банковской карты «Мир» + */ + public function getCard(): ?BankCard + { + return $this->_card; + } + + /** + * Устанавливает card. + * + * @param BankCard|array|null $card Данные банковской карты «Мир» + * + * @return self + */ + public function setCard(mixed $card = null): self + { + $this->_card = $this->validatePropertyValue('_card', $card); + return $this; + } + + /** + * Возвращает electronic_certificate. + * + * @return ElectronicCertificatePaymentData|null Данные от ФЭС НСПК для оплаты по электронному сертификату + */ + public function getElectronicCertificate(): ?ElectronicCertificatePaymentData + { + return $this->_electronic_certificate; + } + + /** + * Устанавливает electronic_certificate. + * + * @param ElectronicCertificatePaymentData|array|null $electronic_certificate Данные от ФЭС НСПК для оплаты по электронному сертификату. + * + * @return self + */ + public function setElectronicCertificate(mixed $electronic_certificate = null): self + { + $this->_electronic_certificate = $this->validatePropertyValue('_electronic_certificate', $electronic_certificate); + return $this; + } + + /** + * Возвращает articles. + * + * @return ElectronicCertificateApprovedPaymentArticle[]|ListObjectInterface|null Одобренная корзина покупки — список товаров + */ + public function getArticles(): ?ListObjectInterface + { + if ($this->_articles === null) { + $this->_articles = new ListObject(ElectronicCertificateApprovedPaymentArticle::class); + } + return $this->_articles; + } + + /** + * Устанавливает articles. + * + * @param ListObjectInterface|array|null $articles Одобренная корзина покупки — список товаров, одобренных к оплате по электронному сертификату. Присутствует только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + * + * @return self + */ + public function setArticles(mixed $articles = null): self + { + $this->_articles = $this->validatePropertyValue('_articles', $articles); + return $this; + } + +} + diff --git a/lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php b/lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php index 1a0d0768..36cfcab2 100644 --- a/lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php +++ b/lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php @@ -63,6 +63,7 @@ class PaymentMethodFactory PaymentMethodType::WECHAT => 'PaymentMethodWechat', PaymentMethodType::SBP => 'PaymentMethodSbp', PaymentMethodType::SBER_LOAN => 'PaymentMethodSberLoan', + PaymentMethodType::ELECTRONIC_CERTIFICATE => 'PaymentMethodElectronicCertificate', PaymentMethodType::UNKNOWN => 'PaymentMethodUnknown', ]; diff --git a/lib/Model/Payment/PaymentMethod/PaymentMethodSbp.php b/lib/Model/Payment/PaymentMethod/PaymentMethodSbp.php index d31ad38d..c1fa7351 100644 --- a/lib/Model/Payment/PaymentMethod/PaymentMethodSbp.php +++ b/lib/Model/Payment/PaymentMethod/PaymentMethodSbp.php @@ -41,17 +41,29 @@ use YooKassa\Validator\Constraints as Assert; * * @property string|null $sbp_operation_id Идентификатор операции в СБП (НСПК). * @property string|null $sbpOperationId Идентификатор операции в СБП (НСПК). + * @property SbpPayerBankDetails|null $payer_bank_details Реквизиты счета, который использовался для оплаты. + * @property SbpPayerBankDetails|null $payerBankDetails Реквизиты счета, который использовался для оплаты. */ class PaymentMethodSbp extends AbstractPaymentMethod { /** - * Идентификатор операции в СБП (НСПК). Пример: `1027088AE4CB48CB81287833347A8777` Обязательный параметр для платежей в статусе ~`succeeded`. В остальных случаях может отсутствовать. + * Идентификатор операции в СБП (НСПК). Пример: `1027088AE4CB48CB81287833347A8777` + * Обязательный параметр для платежей в статусе ~`succeeded`. В остальных случаях может отсутствовать. * * @var string|null */ #[Assert\Type('string')] private ?string $_sbp_operation_id = null; + /** + * Реквизиты счета, который использовался для оплаты. + * Обязательный параметр для платежей в статусе ~`succeeded`. В остальных случаях может отсутствовать. + * + * @var SbpPayerBankDetails|null + */ + #[Assert\Type(SbpPayerBankDetails::class)] + private ?SbpPayerBankDetails $_payer_bank_details = null; + public function __construct(?array $data = []) { parent::__construct($data); @@ -61,7 +73,7 @@ class PaymentMethodSbp extends AbstractPaymentMethod /** * Возвращает sbp_operation_id. * - * @return string|null + * @return string|null Идентификатор операции в СБП (НСПК). */ public function getSbpOperationId(): ?string { @@ -81,4 +93,26 @@ class PaymentMethodSbp extends AbstractPaymentMethod return $this; } + /** + * Возвращает payer_bank_details. + * + * @return SbpPayerBankDetails|null Реквизиты счета, который использовался для оплаты. + */ + public function getPayerBankDetails(): ?SbpPayerBankDetails + { + return $this->_payer_bank_details; + } + + /** + * Устанавливает payer_bank_details. + * + * @param SbpPayerBankDetails|array|null $payer_bank_details Реквизиты счета, который использовался для оплаты. + * + * @return self + */ + public function setPayerBankDetails(mixed $payer_bank_details = null): self + { + $this->_payer_bank_details = $this->validatePropertyValue('_payer_bank_details', $payer_bank_details); + return $this; + } } diff --git a/lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php b/lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php index 29b9d3ce..ae6f9e84 100644 --- a/lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php +++ b/lib/Model/Payment/PaymentMethod/PaymentMethodTinkoffBank.php @@ -31,14 +31,14 @@ use YooKassa\Model\Payment\PaymentMethodType; /** * Класс, представляющий модель PaymentMethodTinkoffBank. * - * Оплата через интернет-банк Тинькофф. + * Оплата через T-Pay. * * @category Class * @package YooKassa\Model * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api */ -class PaymentMethodTinkoffBank extends AbstractPaymentMethod +class PaymentMethodTinkoffBank extends PaymentMethodBankCard { public function __construct(?array $data = []) { diff --git a/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php b/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php new file mode 100644 index 00000000..e70c0df2 --- /dev/null +++ b/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php @@ -0,0 +1,115 @@ +_bank_id; + } + + /** + * Устанавливает bank_id. + * + * @param string|null $bank_id Идентификатор банка или платежного сервиса в СБП (НСПК). + * + * @return self + */ + public function setBankId(?string $bank_id = null): self + { + $this->_bank_id = $this->validatePropertyValue('_bank_id', $bank_id); + return $this; + } + + /** + * Возвращает bic. + * + * @return string|null + */ + public function getBic(): ?string + { + return $this->_bic; + } + + /** + * Устанавливает bic. + * + * @param string|null $bic + * + * @return self + */ + public function setBic(?string $bic = null): self + { + $this->_bic = $this->validatePropertyValue('_bic', $bic); + return $this; + } + +} + diff --git a/lib/Model/Payment/PaymentMethodType.php b/lib/Model/Payment/PaymentMethodType.php index fc963da7..8be1732b 100644 --- a/lib/Model/Payment/PaymentMethodType.php +++ b/lib/Model/Payment/PaymentMethodType.php @@ -45,7 +45,7 @@ use YooKassa\Common\AbstractEnum; * - `webmoney` - Платеж из кошелька Webmoney * - `alfabank` - Платеж через Альфа-Клик * - `b2b_sberbank` - Сбербанк Бизнес Онлайн - * - `tinkoff_bank` - Интернет-банк Тинькофф + * - `tinkoff_bank` - T-Pay * - `psb` - ПромсвязьБанк * - `installments` - Заплатить по частям * - `wechat` - Платеж через WeChat @@ -103,7 +103,7 @@ class PaymentMethodType extends AbstractEnum /** Сбербанк Бизнес Онлайн */ public const B2B_SBERBANK = 'b2b_sberbank'; - /** Интернет-банк Тинькофф */ + /** Платеж через T-Pay */ public const TINKOFF_BANK = 'tinkoff_bank'; /** @@ -133,6 +133,9 @@ class PaymentMethodType extends AbstractEnum /** Прием оплаты с использованием Кредита от СберБанка */ public const SBER_LOAN = 'sber_loan'; + /** Прием платежей по электронному сертификату, привязанному к карте «Мир» */ + public const ELECTRONIC_CERTIFICATE = 'electronic_certificate'; + /** * Для неизвестных методов оплаты * @@ -158,6 +161,7 @@ class PaymentMethodType extends AbstractEnum self::WECHAT => false, self::SBP => true, self::SBER_LOAN => true, + self::ELECTRONIC_CERTIFICATE => true, self::UNKNOWN => false, ]; } diff --git a/lib/Model/Receipt/MarkCodeInfo.php b/lib/Model/Receipt/MarkCodeInfo.php index bb2a8d77..fa26868d 100644 --- a/lib/Model/Receipt/MarkCodeInfo.php +++ b/lib/Model/Receipt/MarkCodeInfo.php @@ -44,13 +44,13 @@ use YooKassa\Validator\Constraints as Assert; * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * - * @property string $markCodeRaw Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) - * @property string $mark_code_raw Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000) + * @property string $markCodeRaw Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` + * @property string $mark_code_raw Код товара в том виде, в котором он был прочитан сканером (тег в 54 ФЗ — 2000).
Нужно передавать, если используете онлайн-кассу Orange Data.
Пример: ~`010460406000590021N4N57RTCBUZTQ\\u001d2403054002410161218\\u001d1424010191ffd0\\u001g92tIAF/YVpU4roQS3M/m4z78yFq0nc/WsSmLeX6QkF/YVWwy5IMYAeiQ91Xa2m/fFSJcOkb2N+uUUtfr4n0mOX0Q==` * @property string $unknown Нераспознанный код товара (тег в 54 ФЗ — 1300) * @property string $ean_8 Код товара в формате EAN-8 (тег в 54 ФЗ — 1301) * @property string $ean_13 Код товара в формате EAN-13 (тег в 54 ФЗ — 1302) * @property string $itf_14 Код товара в формате ITF-14 (тег в 54 ФЗ — 1303) - * @property string $gs_10 Код товара в формате GS1.0 (тег в 54 ФЗ — 1304) + * @property string $gs_10 Код товара в формате GS1.0 (тег в 54 ФЗ — 1304).
Можно передавать, если используете онлайн-кассу Orange Data, aQsi, Кит Инвест, АТОЛ Онлайн. * @property string $gs_1m Код товара в формате GS1.M (тег в 54 ФЗ — 1305) * @property string $short Код товара в формате короткого кода маркировки (тег в 54 ФЗ — 1306) * @property string $fur Контрольно-идентификационный знак мехового изделия (тег в 54 ФЗ — 1307) diff --git a/lib/Model/Refund/RefundCancellationDetailsReasonCode.php b/lib/Model/Refund/RefundCancellationDetailsReasonCode.php index 8c60b8e5..feac6401 100644 --- a/lib/Model/Refund/RefundCancellationDetailsReasonCode.php +++ b/lib/Model/Refund/RefundCancellationDetailsReasonCode.php @@ -36,6 +36,12 @@ use YooKassa\Common\AbstractEnum; * - `insufficient_funds` - Не хватает денег, чтобы сделать возврат * - `rejected_by_payee` - Эмитент платежного средства отклонил возврат по неизвестным причинам * - `yoo_money_account_closed` - Пользователь закрыл кошелек ЮMoney, на который вы пытаетесь вернуть платеж + * - `payment_basket_id_not_found` - НСПК не нашла для этого возврата одобренную корзину покупки + * - `payment_article_number_not_found` - Указаны товары, для оплаты которых не использовался электронный сертификат: значение `payment_article_number` отсутствует + * - `payment_tru_code_not_found` - Указаны товары, для оплаты которых не использовался электронный сертификат: значение `tru_code` отсутствует + * - `too_many_refunding_articles` - Для одного или нескольких товаров количество возвращаемых единиц (`quantity`) больше, чем указано в одобренной корзине покупки + * - `some_articles_already_refunded` - Некоторые товары уже возвращены + * - `rejected_by_timeout` - Технические неполадки на стороне инициатора отмены возврата. */ class RefundCancellationDetailsReasonCode extends AbstractEnum { @@ -51,10 +57,34 @@ class RefundCancellationDetailsReasonCode extends AbstractEnum /** Пользователь закрыл кошелек ЮMoney, на который вы пытаетесь вернуть платеж. Сделать возврат через ЮKassa нельзя. Договоритесь с пользователем напрямую, каким способом вы вернете ему деньги. */ public const YOO_MONEY_ACCOUNT_CLOSED = 'yoo_money_account_closed'; + /** НСПК не нашла для этого возврата одобренную корзину покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. */ + public const PAYMENT_BASKET_ID_NOT_FOUND = 'payment_basket_id_not_found'; + + /** Указаны товары, для оплаты которых не использовался электронный сертификат: значение `payment_article_number` отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. */ + public const PAYMENT_ARTICLE_NUMBER_NOT_FOUND = 'payment_article_number_not_found'; + + /** Указаны товары, для оплаты которых не использовался электронный сертификат: значение tru_code отсутствует в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. */ + public const PAYMENT_TRU_CODE_NOT_FOUND = 'payment_tru_code_not_found'; + + /** Для одного или нескольких товаров количество возвращаемых единиц (`quantity`) больше, чем указано в одобренной корзине покупки. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. */ + public const TOO_MANY_REFUNDING_ARTICLES = 'too_many_refunding_articles'; + + /** Некоторые товары уже возвращены. Откорректируйте данные и отправьте запрос еще раз с новым ключом идемпотентности. */ + public const SOME_ARTICLES_ALREADY_REFUNDED = 'some_articles_already_refunded'; + + /** Технические неполадки на стороне инициатора отмены возврата. Повторите запрос с новым ключом идемпотентности. */ + public const REJECTED_BY_TIMEOUT = 'rejected_by_timeout'; + protected static array $validValues = [ self::GENERAL_DECLINE => true, self::INSUFFICIENT_FUNDS => true, self::REJECTED_BY_PAYEE => true, self::YOO_MONEY_ACCOUNT_CLOSED => true, + self::PAYMENT_BASKET_ID_NOT_FOUND => true, + self::PAYMENT_ARTICLE_NUMBER_NOT_FOUND => true, + self::PAYMENT_TRU_CODE_NOT_FOUND => true, + self::TOO_MANY_REFUNDING_ARTICLES => true, + self::SOME_ARTICLES_ALREADY_REFUNDED => true, + self::REJECTED_BY_TIMEOUT => true, ]; } diff --git a/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php b/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php new file mode 100644 index 00000000..f459d389 --- /dev/null +++ b/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticle.php @@ -0,0 +1,184 @@ +_article_number; + } + + /** + * Устанавливает article_number. + * + * @param int|null $article_number Порядковый номер товара в корзине возврата + * + * @return self + */ + public function setArticleNumber(?int $article_number = null): self + { + $this->_article_number = $this->validatePropertyValue('_article_number', $article_number); + return $this; + } + + /** + * Возвращает payment_article_number. + * + * @return int|null Порядковый номер товара в одобренной корзине покупки + */ + public function getPaymentArticleNumber(): ?int + { + return $this->_payment_article_number; + } + + /** + * Устанавливает payment_article_number. + * + * @param int|null $payment_article_number Порядковый номер товара в одобренной корзине покупки + * + * @return self + */ + public function setPaymentArticleNumber(?int $payment_article_number = null): self + { + $this->_payment_article_number = $this->validatePropertyValue('_payment_article_number', $payment_article_number); + return $this; + } + + /** + * Возвращает tru_code. + * + * @return string|null Код ТРУ + */ + public function getTruCode(): ?string + { + return $this->_tru_code; + } + + /** + * Устанавливает tru_code. + * + * @param string|null $tru_code Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + * + * @return self + */ + public function setTruCode(?string $tru_code = null): self + { + $this->_tru_code = $this->validatePropertyValue('_tru_code', $tru_code); + return $this; + } + + /** + * Возвращает quantity. + * + * @return int|null Количество возвращаемых единиц товара + */ + public function getQuantity(): ?int + { + return $this->_quantity; + } + + /** + * Устанавливает quantity. + * + * @param int|null $quantity Количество возвращаемых единиц товара. Формат: целое положительное число. + * + * @return self + */ + public function setQuantity(?int $quantity = null): self + { + $this->_quantity = $this->validatePropertyValue('_quantity', $quantity); + return $this; + } + +} + diff --git a/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php b/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php new file mode 100644 index 00000000..8d87ac70 --- /dev/null +++ b/lib/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundData.php @@ -0,0 +1,118 @@ +_amount; + } + + /** + * Устанавливает amount. + * + * @param AmountInterface|array|null $amount Сумма, которая вернется на электронный сертификат + * + * @return self + */ + public function setAmount(mixed $amount = null): self + { + $this->_amount = $this->validatePropertyValue('_amount', $amount); + return $this; + } + + /** + * Возвращает basket_id. + * + * @return string|null Идентификатор корзины возврата, сформированной в НСПК + */ + public function getBasketId(): ?string + { + return $this->_basket_id; + } + + /** + * Устанавливает basket_id. + * + * @param string|null $basket_id Идентификатор корзины возврата, сформированной в НСПК + * + * @return self + */ + public function setBasketId(?string $basket_id = null): self + { + $this->_basket_id = $this->validatePropertyValue('_basket_id', $basket_id); + return $this; + } + +} + diff --git a/lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php b/lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php new file mode 100644 index 00000000..36e5f263 --- /dev/null +++ b/lib/Model/Refund/RefundMethod/RefundMethodElectronicCertificate.php @@ -0,0 +1,124 @@ +setType(RefundMethodType::ELECTRONIC_CERTIFICATE); + } + + /** + * Возвращает electronic_certificate. + * + * @return ElectronicCertificateRefundData|null Данные от ФЭС НСПК для возврата на электронный сертификат + */ + public function getElectronicCertificate(): ?ElectronicCertificateRefundData + { + return $this->_electronic_certificate; + } + + /** + * Устанавливает electronic_certificate. + * + * @param ElectronicCertificateRefundData|array|null $electronic_certificate Данные от ФЭС НСПК для возврата на электронный сертификат + * + * @return self + */ + public function setElectronicCertificate(mixed $electronic_certificate = null): self + { + $this->_electronic_certificate = $this->validatePropertyValue('_electronic_certificate', $electronic_certificate); + return $this; + } + + /** + * Возвращает articles. + * + * @return ElectronicCertificateRefundArticle[]|ListObjectInterface|null Корзина возврата — список возвращаемых товаров + */ + public function getArticles(): ?ListObjectInterface + { + if ($this->_articles === null) { + $this->_articles = new ListObject(ElectronicCertificateRefundArticle::class); + } + return $this->_articles; + } + + /** + * Устанавливает articles. + * + * @param ListObjectInterface|array|null $articles Корзина возврата — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Присутствует, если оплата была на [готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + * + * @return self + */ + public function setArticles(mixed $articles = null): self + { + $this->_articles = $this->validatePropertyValue('_articles', $articles); + return $this; + } + +} + diff --git a/lib/Model/Refund/RefundMethod/RefundMethodFactory.php b/lib/Model/Refund/RefundMethod/RefundMethodFactory.php index b180a84e..691fce52 100644 --- a/lib/Model/Refund/RefundMethod/RefundMethodFactory.php +++ b/lib/Model/Refund/RefundMethod/RefundMethodFactory.php @@ -43,6 +43,7 @@ class RefundMethodFactory { private array $typeClassMap = [ RefundMethodType::SBP => 'RefundMethodSbp', + RefundMethodType::ELECTRONIC_CERTIFICATE => 'RefundMethodElectronicCertificate', RefundMethodType::UNKNOWN => 'RefundMethodUnknown', ]; diff --git a/lib/Model/Refund/RefundMethodType.php b/lib/Model/Refund/RefundMethodType.php index 67aa49f4..641bd036 100644 --- a/lib/Model/Refund/RefundMethodType.php +++ b/lib/Model/Refund/RefundMethodType.php @@ -35,6 +35,7 @@ use YooKassa\Common\AbstractEnum; * * Возможные значения: * - `sbp` - Возврат через сервис быстрых платежей + * - `electronic_certificate` - Возврат платежа по электронному сертификату * * @category Class * @package YooKassa\Model @@ -45,6 +46,8 @@ class RefundMethodType extends AbstractEnum { /** Возврат через сервис быстрых платежей */ public const SBP = 'sbp'; + /** Прием платежей по электронному сертификату, привязанному к карте «Мир» */ + public const ELECTRONIC_CERTIFICATE = 'electronic_certificate'; /** * Для неизвестных методов возврата * @@ -54,6 +57,7 @@ class RefundMethodType extends AbstractEnum protected static array $validValues = [ self::SBP => true, + self::ELECTRONIC_CERTIFICATE => true, self::UNKNOWN => false, ]; } diff --git a/lib/Request/Payments/CreatePaymentRequest.php b/lib/Request/Payments/CreatePaymentRequest.php index 0d99329b..bb1fe37b 100644 --- a/lib/Request/Payments/CreatePaymentRequest.php +++ b/lib/Request/Payments/CreatePaymentRequest.php @@ -39,6 +39,8 @@ use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttribu use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesFactory; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; use YooKassa\Request\Payments\PaymentData\PaymentDataFactory; +use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; +use YooKassa\Request\Payments\ReceiverData\ReceiverFactory; use YooKassa\Validator\Constraints as Assert; /** @@ -71,10 +73,9 @@ use YooKassa\Validator\Constraints as Assert; * @property string $client_ip IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения * @property Metadata $metadata Метаданные привязанные к платежу * @property PaymentDealInfo $deal Данные о сделке, в составе которой проходит платеж - * @property FraudData $fraudData Информация для проверки операции на мошенничество - * @property FraudData $fraud_data Информация для проверки операции на мошенничество * @property string $merchantCustomerId Идентификатор покупателя в вашей системе, например электронная почта или номер телефона * @property string $merchant_customer_id Идентификатор покупателя в вашей системе, например электронная почта или номер телефона + * @property AbstractReceiver|null $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона */ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePaymentRequestInterface { @@ -156,6 +157,7 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme /** * @var FraudData|null Информация для проверки операции на мошенничество + * @deprecated Больше не поддерживается. Вместо него нужно использовать `receiver` */ #[Assert\Valid] #[Assert\Type(FraudData::class)] @@ -171,6 +173,15 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme #[Assert\Length(max: Payment::MAX_LENGTH_MERCHANT_CUSTOMER_ID)] private ?string $_merchant_customer_id = null; + /** + * Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона + * + * @var AbstractReceiver|null + */ + #[Assert\Valid] + #[Assert\Type(AbstractReceiver::class)] + private ?AbstractReceiver $_receiver = null; + /** * Возвращает описание транзакции * @return string|null @@ -541,32 +552,34 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme /** * Возвращает информацию для проверки операции на мошенничество. * + * @deprecated Больше не поддерживается. Вместо него нужно использовать `getReceiver()` * @return null|FraudData Информация для проверки операции на мошенничество */ public function getFraudData(): ?FraudData { - return $this->_fraud_data; + return null; } /** * Устанавливает информацию для проверки операции на мошенничество. * * @param null|array|FraudData $fraud_data Информация для проверки операции на мошенничество + * @deprecated Больше не поддерживается. Вместо него нужно использовать `setReceiver()` */ public function setFraudData(mixed $fraud_data = null): self { - $this->_fraud_data = $this->validatePropertyValue('_fraud_data', $fraud_data); return $this; } /** * Проверяет, была ли установлена информация для проверки операции на мошенничество. * + * @deprecated Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` * @return bool True если информация была установлена, false если нет */ public function hasFraudData(): bool { - return !empty($this->_fraud_data); + return false; } /** @@ -600,6 +613,43 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme return $this; } + /** + * Возвращает реквизиты получателя оплаты. + * + * @return AbstractReceiver|null Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + */ + public function getReceiver(): ?AbstractReceiver + { + return $this->_receiver; + } + + /** + * Проверяет, были ли установлены реквизиты получателя оплаты. + * + * @return bool True если реквизиты получателя оплаты были установлены, false если нет + */ + public function hasReceiver(): bool + { + return null !== $this->_receiver; + } + + /** + * Устанавливает реквизиты получателя оплаты. + * + * @param AbstractReceiver|array|null $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + * + * @return self + */ + public function setReceiver(mixed $receiver = null): self + { + if (is_array($receiver)) { + $factory = new ReceiverFactory(); + $receiver = $factory->factoryFromArray($receiver); + } + $this->_receiver = $this->validatePropertyValue('_receiver', $receiver); + return $this; + } + /** * Проверяет на валидность текущий объект * diff --git a/lib/Request/Payments/CreatePaymentRequestBuilder.php b/lib/Request/Payments/CreatePaymentRequestBuilder.php index 0a7ae0c5..de4ff503 100644 --- a/lib/Request/Payments/CreatePaymentRequestBuilder.php +++ b/lib/Request/Payments/CreatePaymentRequestBuilder.php @@ -40,6 +40,7 @@ use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttribu use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesFactory; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; use YooKassa\Request\Payments\PaymentData\PaymentDataFactory; +use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; /** * Класс, представляющий модель CreatePaymentRequestBuilder. @@ -319,18 +320,17 @@ class CreatePaymentRequestBuilder extends AbstractPaymentRequestBuilder } /** - * Устанавливает сделку. + * Устанавливает информацию для проверки операции на мошенничество. + * @deprecated Больше не поддерживается. Вместо него нужно использовать `setReceiver()` * - * @param null|array|FraudData $value Данные о сделке, в составе которой проходит платеж + * @param null|array|FraudData $value Информация для проверки операции на мошенничество * - * @return CreatePaymentRequestBuilder Информация для проверки операции на мошенничество + * @return CreatePaymentRequestBuilder Инстанс билдера запросов * * @throws InvalidPropertyValueTypeException */ public function setFraudData(mixed $value): CreatePaymentRequestBuilder { - $this->currentObject->setFraudData($value); - return $this; } @@ -376,6 +376,22 @@ class CreatePaymentRequestBuilder extends AbstractPaymentRequestBuilder return $this; } + /** + * Устанавливает реквизиты получателя оплаты. + * + * @param null|array|AbstractReceiver $value Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона + * + * @return CreatePaymentRequestBuilder Инстанс билдера запросов + * + * @throws InvalidPropertyValueTypeException + */ + public function setReceiver(mixed $value): CreatePaymentRequestBuilder + { + $this->currentObject->setReceiver($value); + + return $this; + } + /** * Строит и возвращает объект запроса для отправки в API ЮKassa. * diff --git a/lib/Request/Payments/CreatePaymentRequestInterface.php b/lib/Request/Payments/CreatePaymentRequestInterface.php index dd9afb8e..6a633584 100644 --- a/lib/Request/Payments/CreatePaymentRequestInterface.php +++ b/lib/Request/Payments/CreatePaymentRequestInterface.php @@ -36,6 +36,7 @@ use YooKassa\Model\Payment\TransferInterface; use YooKassa\Model\Receipt\ReceiptInterface; use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttributes; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; +use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; /** * Interface CreatePaymentRequestInterface. @@ -63,10 +64,9 @@ use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; * @property string $client_ip IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения * @property Metadata $metadata Метаданные привязанные к платежу * @property PaymentDealInfo $deal Данные о сделке, в составе которой проходит платеж - * @property FraudData $fraudData Информация для проверки операции на мошенничество - * @property FraudData $fraud_data Информация для проверки операции на мошенничество * @property string $merchantCustomerId Идентификатор покупателя в вашей системе, например электронная почта или номер телефона * @property string $merchant_customer_id Идентификатор покупателя в вашей системе, например электронная почта или номер телефона + * @property AbstractReceiver|null $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона */ interface CreatePaymentRequestInterface { @@ -364,27 +364,6 @@ interface CreatePaymentRequestInterface */ public function setDeal(mixed $deal): self; - /** - * Возвращает информацию для проверки операции на мошенничество. - * - * @return null|FraudData Информация для проверки операции на мошенничество - */ - public function getFraudData(): ?FraudData; - - /** - * Проверяет, была ли установлена информация для проверки операции на мошенничество. - * - * @return bool True если информация была установлена, false если нет - */ - public function hasFraudData(): bool; - - /** - * Устанавливает информацию для проверки операции на мошенничество. - * - * @param null|array|FraudData $fraud_data Информация для проверки операции на мошенничество - */ - public function setFraudData(mixed $fraud_data): self; - /** * Возвращает идентификатор покупателя в вашей системе. * @@ -405,4 +384,26 @@ interface CreatePaymentRequestInterface * @param string|null $merchant_customer_id Идентификатор покупателя в вашей системе, например электронная почта или номер телефона. Не более 200 символов */ public function setMerchantCustomerId(?string $merchant_customer_id): self; + + + /** + * Возвращает реквизиты получателя оплаты. + * + * @return null|AbstractReceiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + */ + public function getReceiver(): ?AbstractReceiver; + + /** + * Проверяет, были ли установлены реквизиты получателя оплаты. + * + * @return bool True если реквизиты получателя оплаты были установлены, false если нет + */ + public function hasReceiver(): bool; + + /** + * Устанавливает реквизиты получателя оплаты. + * + * @param null|array|AbstractReceiver $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. + */ + public function setReceiver(mixed $receiver): self; } diff --git a/lib/Request/Payments/FraudData.php b/lib/Request/Payments/FraudData.php index eb5e55c0..29b59bcc 100644 --- a/lib/Request/Payments/FraudData.php +++ b/lib/Request/Payments/FraudData.php @@ -39,6 +39,8 @@ use YooKassa\Validator\Constraints as Assert; * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * + * @deprecated Больше не поддерживается. Вместо него нужно использовать `receiver`. + * * @property string|null $toppedUpPhone Номер телефона для пополнения * @property string|null $topped_up_phone Номер телефона для пополнения * @property MerchantCustomerBankAccount|null $merchantCustomerBankAccount Данные банковского счета, открытого в вашей системе diff --git a/lib/Request/Payments/Locale.php b/lib/Request/Payments/Locale.php index 8f3b519b..7317d2ff 100644 --- a/lib/Request/Payments/Locale.php +++ b/lib/Request/Payments/Locale.php @@ -31,12 +31,14 @@ use YooKassa\Common\AbstractEnum; /** * Класс, представляющий модель Locale. * - * Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. + * Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. Формат соответствует [ISO/IEC 15897](https://en.wikipedia.org/wiki/Locale_(computer_software)). * * Возможные значения: * - `ru_RU` - Русский * - `en_US` - English * + * Регистр важен. + * * @category Class * @package YooKassa\Request * @author cms@yoomoney.ru diff --git a/lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php b/lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php new file mode 100644 index 00000000..21206bc3 --- /dev/null +++ b/lib/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticle.php @@ -0,0 +1,290 @@ +_article_number; + } + + /** + * Устанавливает article_number. + * + * @param int|null $article_number Порядковый номер товара в корзине. От 1 до 999 включительно. + * + * @return self + */ + public function setArticleNumber(?int $article_number = null): self + { + $this->_article_number = $this->validatePropertyValue('_article_number', $article_number); + return $this; + } + + /** + * Возвращает tru_code. + * + * @return string|null Код ТРУ + */ + public function getTruCode(): ?string + { + return $this->_tru_code; + } + + /** + * Устанавливает tru_code. + * + * @param string|null $tru_code Код ТРУ. 30 символов, две группы цифр, разделенные точкой. Формат: ~`NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ`, где ~`NNNNNNNNN.NNNNNNNNN` — код вида ТРУ по [Перечню ТРУ](https://esnsi.gosuslugi.ru/classifiers/10616/data?pg=1&p=1), ~`YYYY` — код производителя, ~`MMMM` — код модели, ~`ZZZ` — код страны производителя. Пример: ~`329921120.06001010200080001643` [Как сформировать код ТРУ](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate#payments-preparation-tru-code) + * + * @return self + */ + public function setTruCode(?string $tru_code = null): self + { + $this->_tru_code = $this->validatePropertyValue('_tru_code', $tru_code); + return $this; + } + + /** + * Возвращает article_code. + * + * @return string|null Код товара в вашей системе + */ + public function getArticleCode(): ?string + { + return $this->_article_code; + } + + /** + * Устанавливает article_code. + * + * @param string|null $article_code Код товара в вашей системе. Максимум 128 символов. + * + * @return self + */ + public function setArticleCode(?string $article_code = null): self + { + $this->_article_code = $this->validatePropertyValue('_article_code', $article_code); + return $this; + } + + /** + * Возвращает article_name. + * + * @return string|null Название товара в вашей системе + */ + public function getArticleName(): ?string + { + return $this->_article_name; + } + + /** + * Устанавливает article_name. + * + * @param string|null $article_name Название товара в вашей системе. Отображается на готовой платежной форме ЮKassa. Максимум 128 символов. + * + * @return self + */ + public function setArticleName(?string $article_name = null): self + { + $this->_article_name = $this->validatePropertyValue('_article_name', $article_name); + return $this; + } + + /** + * Возвращает quantity. + * + * @return int|null Количество единиц товара + */ + public function getQuantity(): ?int + { + return $this->_quantity; + } + + /** + * Устанавливает quantity. + * + * @param int|null $quantity Количество единиц товара. Формат: целое положительное число. + * + * @return self + */ + public function setQuantity(?int $quantity = null): self + { + $this->_quantity = $this->validatePropertyValue('_quantity', $quantity); + return $this; + } + + /** + * Возвращает price. + * + * @return AmountInterface|null Цена за единицу товара + */ + public function getPrice(): ?AmountInterface + { + return $this->_price; + } + + /** + * Устанавливает price. + * + * @param AmountInterface|array|null $price Цена за единицу товара. + * + * @return self + */ + public function setPrice(mixed $price = null): self + { + $this->_price = $this->validatePropertyValue('_price', $price); + return $this; + } + + /** + * Возвращает metadata. + * + * @return Metadata|null Любые дополнительные данные + */ + public function getMetadata(): ?Metadata + { + return $this->_metadata; + } + + /** + * Устанавливает metadata. + * + * @param Metadata|array|null $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + * + * @return self + */ + public function setMetadata(mixed $metadata = null): self + { + $this->_metadata = $this->validatePropertyValue('_metadata', $metadata); + return $this; + } + +} + diff --git a/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php b/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php index 512b0212..32ce4924 100644 --- a/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php +++ b/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php @@ -86,7 +86,7 @@ class PaymentDataBankCardCard extends AbstractObject * @var string|null Имя держателя карты */ #[Assert\Type('string')] - #[Assert\Regex('/^[a-zA-Z ]{0,26}$/')] + #[Assert\Regex('/^[a-zA-Z \'-]{1,26}$/')] private ?string $_cardholder = null; /** diff --git a/lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php b/lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php new file mode 100644 index 00000000..1e884fa3 --- /dev/null +++ b/lib/Request/Payments/PaymentData/PaymentDataElectronicCertificate.php @@ -0,0 +1,158 @@ +setType(PaymentMethodType::ELECTRONIC_CERTIFICATE); + } + + /** + * Возвращает card. + * + * @return PaymentDataBankCardCard|null Данные банковской карты «Мир». + */ + public function getCard(): ?PaymentDataBankCardCard + { + return $this->_card; + } + + /** + * Устанавливает card. + * + * @param PaymentDataBankCardCard|array|null $card Данные банковской карты «Мир». + * + * @return self + */ + public function setCard(mixed $card = null): self + { + $this->_card = $this->validatePropertyValue('_card', $card); + return $this; + } + + /** + * Возвращает electronic_certificate. + * + * @return ElectronicCertificatePaymentData|null Данные от ФЭС НСПК для оплаты по электронному сертификату. + */ + public function getElectronicCertificate(): ?ElectronicCertificatePaymentData + { + return $this->_electronic_certificate; + } + + /** + * Устанавливает electronic_certificate. + * + * @param ElectronicCertificatePaymentData|array|null $electronic_certificate Данные от ФЭС НСПК для оплаты по электронному сертификату. + * + * @return self + */ + public function setElectronicCertificate(mixed $electronic_certificate = null): self + { + $this->_electronic_certificate = $this->validatePropertyValue('_electronic_certificate', $electronic_certificate); + return $this; + } + + /** + * Возвращает articles. + * + * @return ElectronicCertificateArticle[]|ListObjectInterface|null Корзина покупки (в терминах НСПК) — список товаров + */ + public function getArticles(): ?ListObjectInterface + { + if ($this->_articles === null) { + $this->_articles = new ListObject(ElectronicCertificateArticle::class); + } + return $this->_articles; + } + + /** + * Устанавливает articles. + * + * @param ListObjectInterface|array|null $articles Корзина покупки (в терминах НСПК) — список товаров, которые можно оплатить по сертификату. Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + * + * @return self + */ + public function setArticles(mixed $articles = null): self + { + $this->_articles = $this->validatePropertyValue('_articles', $articles); + return $this; + } + +} + diff --git a/lib/Request/Payments/PaymentData/PaymentDataFactory.php b/lib/Request/Payments/PaymentData/PaymentDataFactory.php index 6c8baed8..b4a923b0 100644 --- a/lib/Request/Payments/PaymentData/PaymentDataFactory.php +++ b/lib/Request/Payments/PaymentData/PaymentDataFactory.php @@ -53,6 +53,7 @@ class PaymentDataFactory PaymentMethodType::TINKOFF_BANK => 'PaymentDataTinkoffBank', PaymentMethodType::SBP => 'PaymentDataSbp', PaymentMethodType::SBER_LOAN => 'PaymentDataSberLoan', + PaymentMethodType::ELECTRONIC_CERTIFICATE => 'PaymentDataElectronicCertificate', ]; /** diff --git a/lib/Request/Payments/PaymentData/PaymentDataTinkoffBank.php b/lib/Request/Payments/PaymentData/PaymentDataTinkoffBank.php index 9d82ea31..1d09f56f 100644 --- a/lib/Request/Payments/PaymentData/PaymentDataTinkoffBank.php +++ b/lib/Request/Payments/PaymentData/PaymentDataTinkoffBank.php @@ -32,7 +32,7 @@ use YooKassa\Validator\Constraints as Assert; /** * Класс, представляющий модель PaymentMethodDataTinkoffBank. * - * Данные для оплаты через интернет-банк Тинькофф. + * Данные для оплаты через T-Pay. * * @category Class * @package YooKassa\Request diff --git a/lib/Request/Payments/ReceiverData/AbstractReceiver.php b/lib/Request/Payments/ReceiverData/AbstractReceiver.php new file mode 100644 index 00000000..938927f6 --- /dev/null +++ b/lib/Request/Payments/ReceiverData/AbstractReceiver.php @@ -0,0 +1,79 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|null $type Код получателя оплаты + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } + +} diff --git a/lib/Request/Payments/ReceiverData/ReceiverBankAccount.php b/lib/Request/Payments/ReceiverData/ReceiverBankAccount.php new file mode 100644 index 00000000..68476a46 --- /dev/null +++ b/lib/Request/Payments/ReceiverData/ReceiverBankAccount.php @@ -0,0 +1,123 @@ +setType(ReceiverType::BANK_ACCOUNT); + } + + /** + * Возвращает account_number. + * + * @return string|null Номер банковского счета. + */ + public function getAccountNumber(): ?string + { + return $this->_account_number; + } + + /** + * Устанавливает account_number. + * + * @param string|null $account_number Номер банковского счета. Формат — 20 символов. + * + * @return self + */ + public function setAccountNumber(?string $account_number = null): self + { + $this->_account_number = $this->validatePropertyValue('_account_number', $account_number); + return $this; + } + + /** + * Возвращает bic. + * + * @return string|null Банковский идентификационный код (БИК) банка, в котором открыт счет. + */ + public function getBic(): ?string + { + return $this->_bic; + } + + /** + * Устанавливает bic. + * + * @param string|null $bic Банковский идентификационный код (БИК) банка, в котором открыт счет. Формат — 9 символов. + * + * @return self + */ + public function setBic(?string $bic = null): self + { + $this->_bic = $this->validatePropertyValue('_bic', $bic); + return $this; + } + +} + diff --git a/lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php b/lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php new file mode 100644 index 00000000..c5033366 --- /dev/null +++ b/lib/Request/Payments/ReceiverData/ReceiverDigitalWallet.php @@ -0,0 +1,87 @@ +setType(ReceiverType::DIGITAL_WALLET); + } + + /** + * Возвращает account_number. + * + * @return string|null Идентификатор электронного кошелька для пополнения. + */ + public function getAccountNumber(): ?string + { + return $this->_account_number; + } + + /** + * Устанавливает account_number. + * + * @param string|null $account_number Идентификатор электронного кошелька для пополнения. + * + * @return self + */ + public function setAccountNumber(?string $account_number = null): self + { + $this->_account_number = $this->validatePropertyValue('_account_number', $account_number); + return $this; + } + +} + diff --git a/lib/Request/Payments/ReceiverData/ReceiverFactory.php b/lib/Request/Payments/ReceiverData/ReceiverFactory.php new file mode 100644 index 00000000..1613ad8f --- /dev/null +++ b/lib/Request/Payments/ReceiverData/ReceiverFactory.php @@ -0,0 +1,96 @@ + 'ReceiverBankAccount', + ReceiverType::DIGITAL_WALLET => 'ReceiverDigitalWallet', + ReceiverType::MOBILE_BALANCE => 'ReceiverMobileBalance', + ]; + + /** + * Фабричный метод создания объекта кода получателя оплаты по типу. + * + * @param string|null $type Тип платежных данных + * + * @return AbstractReceiver + */ + public function factory(?string $type = null): AbstractReceiver + { + if (!is_string($type)) { + throw new InvalidArgumentException('Invalid receiver type value in receiver factory'); + } + if (!array_key_exists($type, $this->typeClassMap)) { + throw new InvalidArgumentException('Invalid receiver data type "' . $type . '"'); + } + $className = __NAMESPACE__ . '\\' . $this->typeClassMap[$type]; + + return new $className(); + } + + /** + * Фабричный метод создания объекта кода получателя оплаты из массива. + * + * @param array|null $data Массив платежных данных + * @param string|null $type Тип платежных данных + */ + public function factoryFromArray(?array $data = null, ?string $type = null): AbstractReceiver + { + if (null === $type) { + if (array_key_exists('type', $data)) { + $type = $data['type']; + unset($data['type']); + } else { + throw new InvalidArgumentException( + 'Parameter type not specified in ReceiverFactory.factoryFromArray()' + ); + } + } + $paymentData = $this->factory($type); + foreach ($data as $key => $value) { + if ($paymentData->offsetExists($key)) { + $paymentData->offsetSet($key, $value); + } + } + + return $paymentData; + } +} diff --git a/lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php b/lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php new file mode 100644 index 00000000..b8e3a2dc --- /dev/null +++ b/lib/Request/Payments/ReceiverData/ReceiverMobileBalance.php @@ -0,0 +1,86 @@ +setType(ReceiverType::MOBILE_BALANCE); + } + + /** + * Возвращает phone. + * + * @return string|null Номер телефона, баланс которого хотите пополнить. + */ + public function getPhone(): ?string + { + return $this->_phone; + } + + /** + * Устанавливает phone. + * + * @param string|null $phone Номер телефона, баланс которого хотите пополнить. + * + * @return self + */ + public function setPhone(?string $phone = null): self + { + $this->_phone = $this->validatePropertyValue('_phone', $phone); + return $this; + } + +} + diff --git a/lib/Request/Payments/ReceiverData/ReceiverType.php b/lib/Request/Payments/ReceiverData/ReceiverType.php new file mode 100644 index 00000000..18b16db0 --- /dev/null +++ b/lib/Request/Payments/ReceiverData/ReceiverType.php @@ -0,0 +1,59 @@ + true, + self::DIGITAL_WALLET => true, + self::BANK_ACCOUNT => true + ]; +} diff --git a/lib/Request/Refunds/CreateRefundRequest.php b/lib/Request/Refunds/CreateRefundRequest.php index 27461591..22db208b 100644 --- a/lib/Request/Refunds/CreateRefundRequest.php +++ b/lib/Request/Refunds/CreateRefundRequest.php @@ -36,6 +36,8 @@ use YooKassa\Model\Receipt\Receipt; use YooKassa\Model\Receipt\ReceiptInterface; use YooKassa\Model\Refund\Source; use YooKassa\Model\Refund\SourceInterface; +use YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData; +use YooKassa\Request\Refunds\RefundMethodData\RefundMethodDataFactory; use YooKassa\Validator\Constraints as Assert; /** @@ -50,12 +52,15 @@ use YooKassa\Validator\Constraints as Assert; * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * - * @property string $paymentId Айди платежа для которого создаётся возврат + * @property string $payment_id Идентификатор платежа для которого создаётся возврат + * @property string $paymentId Идентификатор платежа для которого создаётся возврат * @property AmountInterface $amount Сумма возврата * @property string $description Комментарий к операции возврата, основание для возврата средств покупателю. * @property null|ReceiptInterface $receipt Инстанс чека или null * @property null|ListObjectInterface|SourceInterface[] $sources Информация о распределении денег — сколько и в какой магазин нужно перевести * @property null|RefundDealData $deal Информация о сделке + * @property null|AbstractRefundMethodData $refund_method_data Метод возврата + * @property null|AbstractRefundMethodData $refundMethodData Метод возврата */ class CreateRefundRequest extends AbstractRequest implements CreateRefundRequestInterface { @@ -96,7 +101,7 @@ class CreateRefundRequest extends AbstractRequest implements CreateRefundRequest #[Assert\Valid] #[Assert\AllType(Source::class)] #[Assert\Type(ListObject::class)] - private ?ListObject $_sources = null; + private ?ListObjectInterface $_sources = null; /** * @var RefundDealData|null Данные о сделке, в составе которой проходит возврат @@ -104,6 +109,13 @@ class CreateRefundRequest extends AbstractRequest implements CreateRefundRequest #[Assert\Valid] #[Assert\Type(RefundDealData::class)] private ?RefundDealData $_deal = null; + + /** + * @var AbstractRefundMethodData|null + */ + #[Assert\Type(AbstractRefundMethodData::class)] + private ?AbstractRefundMethodData $_refund_method_data = null; + /** * Возвращает идентификатор платежа для которого создаётся возврат средств. * @@ -311,6 +323,42 @@ class CreateRefundRequest extends AbstractRequest implements CreateRefundRequest return $this; } + /** + * Возвращает метод возврата. + * + * @return AbstractRefundMethodData|null Метод возврата + */ + public function getRefundMethodData(): ?AbstractRefundMethodData + { + return $this->_refund_method_data; + } + + /** + * Проверяет установлен ли объект с методом возврата. + * + * @return bool True если объект метода возврата установлен, false если нет + */ + public function hasRefundMethodData(): bool + { + return !empty($this->_refund_method_data); + } + + /** + * Устанавливает метод возврата. + * + * @param AbstractRefundMethodData|array|null $refund_method_data Метод возврата + * + * @return self + */ + public function setRefundMethodData(mixed $refund_method_data = null): self + { + if (is_array($refund_method_data)) { + $refund_method_data = (new RefundMethodDataFactory)->factoryFromArray($refund_method_data); + } + $this->_refund_method_data = $this->validatePropertyValue('_refund_method_data', $refund_method_data); + return $this; + } + /** * Валидирует объект запроса. * diff --git a/lib/Request/Refunds/CreateRefundRequestBuilder.php b/lib/Request/Refunds/CreateRefundRequestBuilder.php index 20fc3cf0..5cb11321 100644 --- a/lib/Request/Refunds/CreateRefundRequestBuilder.php +++ b/lib/Request/Refunds/CreateRefundRequestBuilder.php @@ -34,6 +34,7 @@ use YooKassa\Common\ListObjectInterface; use YooKassa\Model\Deal\RefundDealData; use YooKassa\Model\Refund\SourceInterface; use YooKassa\Request\Payments\AbstractPaymentRequestBuilder; +use YooKassa\Request\Refunds\RefundMethodData\AbstractRefundMethodData; /** * Класс, представляющий модель CreateRefundRequestBuilder. @@ -135,6 +136,20 @@ class CreateRefundRequestBuilder extends AbstractPaymentRequestBuilder return $this; } + /** + * Устанавливает метод возврата. + * + * @param AbstractRefundMethodData|array|null $value + * + * @return self + */ + public function setRefundMethodData(mixed $value = null): self + { + $this->currentObject->setRefundMethodData($value); + + return $this; + } + /** * Строит объект запроса к API. * diff --git a/lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php b/lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php new file mode 100644 index 00000000..7937e68a --- /dev/null +++ b/lib/Request/Refunds/RefundMethodData/AbstractRefundMethodData.php @@ -0,0 +1,79 @@ +_type; + } + + /** + * Устанавливает тип метода возврата. + * + * @param string|null $type Тип метода возврата + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } +} diff --git a/lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php b/lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php new file mode 100644 index 00000000..b523015c --- /dev/null +++ b/lib/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificate.php @@ -0,0 +1,127 @@ +setType(RefundMethodType::ELECTRONIC_CERTIFICATE); + } + + /** + * Возвращает electronic_certificate. + * + * @return ElectronicCertificateRefundData|null Данные от ФЭС НСПК для возврата на электронный сертификат. + */ + public function getElectronicCertificate(): ?ElectronicCertificateRefundData + { + return $this->_electronic_certificate; + } + + /** + * Устанавливает electronic_certificate. + * + * @param ElectronicCertificateRefundData|array|null $electronic_certificate Данные от ФЭС НСПК для возврата на электронный сертификат. + * + * @return self + */ + public function setElectronicCertificate(mixed $electronic_certificate = null): self + { + $this->_electronic_certificate = $this->validatePropertyValue('_electronic_certificate', $electronic_certificate); + return $this; + } + + /** + * Возвращает articles. + * + * @return ElectronicCertificateRefundArticle[]|ListObjectInterface|null Корзина возврата (в терминах НСПК) — список возвращаемых товаров + */ + public function getArticles(): ?ListObjectInterface + { + if ($this->_articles === null) { + $this->_articles = new ListObject(ElectronicCertificateRefundArticle::class); + } + return $this->_articles; + } + + /** + * Устанавливает articles. + * + * @param ListObjectInterface|array|null $articles Корзина возврата (в терминах НСПК) — список возвращаемых товаров, для оплаты которых использовался электронный сертификат. Данные должны соответствовать товарам из одобренной корзины покупки (`articles` в [объекте платежа](#payment_object)). Необходимо передавать только при [оплате на готовой странице ЮKassa](/developers/payment-acceptance/integration-scenarios/manual-integration/other/electronic-certificate/ready-made-payment-form). + * + * @return self + */ + public function setArticles(mixed $articles = null): self + { + $this->_articles = $this->validatePropertyValue('_articles', $articles); + return $this; + } + +} + diff --git a/lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php b/lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php new file mode 100644 index 00000000..f4f4f18e --- /dev/null +++ b/lib/Request/Refunds/RefundMethodData/RefundMethodDataFactory.php @@ -0,0 +1,92 @@ + 'RefundMethodDataElectronicCertificate', + ]; + + /** + * Фабричный метод создания объекта платежных данных по типу. + * + * @param string|null $type Тип платежного метода + * + * @return AbstractRefundMethodData + */ + public function factory(?string $type): AbstractRefundMethodData + { + if (!is_string($type)) { + throw new InvalidArgumentException('Invalid refund method type value in refund method factory'); + } + if (!array_key_exists($type, $this->typeClassMap)) { + throw new InvalidArgumentException('Invalid refund method data type "' . $type . '"'); + } + $className = __NAMESPACE__ . '\\' . $this->typeClassMap[$type]; + + return new $className(); + } + + /** + * Фабричный метод создания объекта платежных данных из массива. + * + * @param array $data Массив платежных данных + * @param null|string $type Тип платежного метода + */ + public function factoryFromArray(array $data, ?string $type = null): AbstractRefundMethodData + { + if (null === $type) { + if (array_key_exists('type', $data)) { + $type = $data['type']; + unset($data['type']); + } else { + throw new InvalidArgumentException( + 'Parameter type not specified in RefundMethodDataFactory.factoryFromArray()' + ); + } + } + + $paymentData = $this->factory($type); + $paymentData->fromArray($data); + + return $paymentData; + } +} diff --git a/tests/AbstractTestCase.php b/tests/AbstractTestCase.php index 54627a52..f1506619 100644 --- a/tests/AbstractTestCase.php +++ b/tests/AbstractTestCase.php @@ -619,4 +619,4 @@ class AbstractTestCase extends TestCase } return $result; } -} \ No newline at end of file +} diff --git a/tests/Model/Payment/CancellationDetailsTest.php b/tests/Model/Payment/CancellationDetailsTest.php index c80c1e7b..37843ec2 100644 --- a/tests/Model/Payment/CancellationDetailsTest.php +++ b/tests/Model/Payment/CancellationDetailsTest.php @@ -31,6 +31,8 @@ use Tests\YooKassa\AbstractTestCase; use Datetime; use YooKassa\Model\Metadata; use YooKassa\Model\Payment\CancellationDetails; +use YooKassa\Model\Payment\CancellationDetailsPartyCode; +use YooKassa\Model\Payment\CancellationDetailsReasonCode; /** * CancellationDetailsTest @@ -75,10 +77,10 @@ class CancellationDetailsTest extends AbstractTestCase $instance->setParty($value); self::assertNotNull($instance->getParty()); self::assertNotNull($instance->party); - self::assertEquals($value, is_array($value) ? $instance->getParty()->toArray() : $instance->getParty()); - self::assertEquals($value, is_array($value) ? $instance->party->toArray() : $instance->party); - self::assertContains($instance->getParty(), ['yoo_money', 'payment_network', 'merchant', 'yandex_checkout']); - self::assertContains($instance->party, ['yoo_money', 'payment_network', 'merchant', 'yandex_checkout']); + self::assertEquals($value, $instance->getParty()); + self::assertEquals($value, $instance->party); + self::assertContains($instance->getParty(), CancellationDetailsPartyCode::getValidValues()); + self::assertContains($instance->party, CancellationDetailsPartyCode::getValidValues()); } /** @@ -131,10 +133,10 @@ class CancellationDetailsTest extends AbstractTestCase $instance->setReason($value); self::assertNotNull($instance->getReason()); self::assertNotNull($instance->reason); - self::assertEquals($value, is_array($value) ? $instance->getReason()->toArray() : $instance->getReason()); - self::assertEquals($value, is_array($value) ? $instance->reason->toArray() : $instance->reason); - self::assertContains($instance->getReason(), ['3d_secure_failed', 'call_issuer', 'card_expired', 'payment_method_limit_exceeded', 'payment_method_restricted', 'country_forbidden', 'general_decline', 'fraud_suspected', 'identification_required', 'insufficient_funds', 'invalid_card_number', 'invalid_csc', 'issuer_unavailable', 'canceled_by_merchant', 'permission_revoked', 'internal_timeout', 'expired_on_confirmation', 'expired_on_capture', 'unsupported_mobile_operator', 'deal_expired']); - self::assertContains($instance->reason, ['3d_secure_failed', 'call_issuer', 'card_expired', 'payment_method_limit_exceeded', 'payment_method_restricted', 'country_forbidden', 'general_decline', 'fraud_suspected', 'identification_required', 'insufficient_funds', 'invalid_card_number', 'invalid_csc', 'issuer_unavailable', 'canceled_by_merchant', 'permission_revoked', 'internal_timeout', 'expired_on_confirmation', 'expired_on_capture', 'unsupported_mobile_operator', 'deal_expired']); + self::assertEquals($value, $instance->getReason()); + self::assertEquals($value, $instance->reason); + self::assertContains($instance->getReason(), CancellationDetailsReasonCode::getValidValues()); + self::assertContains($instance->reason, CancellationDetailsReasonCode::getValidValues()); } /** diff --git a/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticleTest.php b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticleTest.php new file mode 100644 index 00000000..2335a050 --- /dev/null +++ b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateApprovedPaymentArticleTest.php @@ -0,0 +1,312 @@ +object = $this->getMockBuilder(ElectronicCertificateApprovedPaymentArticle::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificateApprovedPaymentArticle::class)); + $this->assertInstanceOf(ElectronicCertificateApprovedPaymentArticle::class, $this->object); + } + + /** + * Test property "article_number" + * @dataProvider validArticleNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setArticleNumber($value); + self::assertNotNull($instance->getArticleNumber()); + self::assertNotNull($instance->article_number); + self::assertEquals($value, is_array($value) ? $instance->getArticleNumber()->toArray() : $instance->getArticleNumber()); + self::assertEquals($value, is_array($value) ? $instance->article_number->toArray() : $instance->article_number); + self::assertLessThanOrEqual(999, is_string($instance->getArticleNumber()) ? mb_strlen($instance->getArticleNumber()) : $instance->getArticleNumber()); + self::assertLessThanOrEqual(999, is_string($instance->article_number) ? mb_strlen($instance->article_number) : $instance->article_number); + self::assertGreaterThanOrEqual(1, is_string($instance->getArticleNumber()) ? mb_strlen($instance->getArticleNumber()) : $instance->getArticleNumber()); + self::assertGreaterThanOrEqual(1, is_string($instance->article_number) ? mb_strlen($instance->article_number) : $instance->article_number); + self::assertIsNumeric($instance->getArticleNumber()); + self::assertIsNumeric($instance->article_number); + } + + /** + * Test invalid property "article_number" + * @dataProvider invalidArticleNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * Test property "tru_code" + * @dataProvider validTruCodeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testTruCode(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setTruCode($value); + self::assertNotNull($instance->getTruCode()); + self::assertNotNull($instance->tru_code); + self::assertEquals($value, is_array($value) ? $instance->getTruCode()->toArray() : $instance->getTruCode()); + self::assertEquals($value, is_array($value) ? $instance->tru_code->toArray() : $instance->tru_code); + self::assertLessThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertLessThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + self::assertGreaterThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertGreaterThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + } + + /** + * Test invalid property "tru_code" + * @dataProvider invalidTruCodeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidTruCode(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setTruCode($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * Test property "article_code" + * @dataProvider validArticleCodeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleCode(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticleCode()); + self::assertEmpty($instance->article_code); + $instance->setArticleCode($value); + self::assertEquals($value, is_array($value) ? $instance->getArticleCode()->toArray() : $instance->getArticleCode()); + self::assertEquals($value, is_array($value) ? $instance->article_code->toArray() : $instance->article_code); + if (!empty($value)) { + self::assertNotNull($instance->getArticleCode()); + self::assertNotNull($instance->article_code); + self::assertLessThanOrEqual(128, is_string($instance->getArticleCode()) ? mb_strlen($instance->getArticleCode()) : $instance->getArticleCode()); + self::assertLessThanOrEqual(128, is_string($instance->article_code) ? mb_strlen($instance->article_code) : $instance->article_code); + } + } + + /** + * Test invalid property "article_code" + * @dataProvider invalidArticleCodeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleCode(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleCode($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_code')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_code')); + } + + /** + * Test property "certificates" + * @dataProvider validCertificatesDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCertificates(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertIsObject($instance->getCertificates()); + self::assertIsObject($instance->certificates); + self::assertCount(0, $instance->getCertificates()); + self::assertCount(0, $instance->certificates); + $instance->setCertificates($value); + self::assertNotNull($instance->getCertificates()); + self::assertNotNull($instance->certificates); + foreach ($value as $key => $element) { + if (is_array($element) && !empty($element)) { + self::assertEquals($element, $instance->getCertificates()[$key]->toArray()); + self::assertEquals($element, $instance->certificates[$key]->toArray()); + self::assertIsArray($instance->getCertificates()[$key]->toArray()); + self::assertIsArray($instance->certificates[$key]->toArray()); + } + if (is_object($element) && !empty($element)) { + self::assertEquals($element, $instance->getCertificates()->get($key)); + self::assertIsObject($instance->getCertificates()->get($key)); + self::assertIsObject($instance->certificates->get($key)); + self::assertIsObject($instance->getCertificates()); + self::assertIsObject($instance->certificates); + } + } + self::assertCount(count($value), $instance->getCertificates()); + self::assertCount(count($value), $instance->certificates); + } + + /** + * Test invalid property "certificates" + * @dataProvider invalidCertificatesDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCertificates(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCertificates($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCertificatesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_certificates')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCertificatesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_certificates')); + } +} diff --git a/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentDataTest.php b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentDataTest.php new file mode 100644 index 00000000..1d532c88 --- /dev/null +++ b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificatePaymentDataTest.php @@ -0,0 +1,169 @@ +object = $this->getMockBuilder(ElectronicCertificatePaymentData::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificatePaymentData::class)); + $this->assertInstanceOf(ElectronicCertificatePaymentData::class, $this->object); + } + + /** + * Test property "amount" + * @dataProvider validAmountDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAmount(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAmount($value); + self::assertNotNull($instance->getAmount()); + self::assertNotNull($instance->amount); + self::assertEquals($value, is_array($value) ? $instance->getAmount()->toArray() : $instance->getAmount()); + self::assertEquals($value, is_array($value) ? $instance->amount->toArray() : $instance->amount); + } + + /** + * Test invalid property "amount" + * @dataProvider invalidAmountDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAmount(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAmount($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } + + /** + * Test property "basket_id" + * @dataProvider validBasketIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBasketId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBasketId($value); + self::assertNotNull($instance->getBasketId()); + self::assertNotNull($instance->basket_id); + self::assertEquals($value, $instance->getBasketId()); + self::assertEquals($value, $instance->basket_id); + } + + /** + * Test invalid property "basket_id" + * @dataProvider invalidBasketIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBasketId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBasketId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBasketIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_basket_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBasketIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_basket_id')); + } +} diff --git a/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateTest.php b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateTest.php new file mode 100644 index 00000000..cfefad87 --- /dev/null +++ b/tests/Model/Payment/PaymentMethod/ElectronicCertificate/ElectronicCertificateTest.php @@ -0,0 +1,285 @@ +object = $this->getMockBuilder(ElectronicCertificate::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificate::class)); + $this->assertInstanceOf(ElectronicCertificate::class, $this->object); + } + + /** + * Test property "certificate_id" + * @dataProvider validCertificateIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCertificateId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setCertificateId($value); + self::assertNotNull($instance->getCertificateId()); + self::assertNotNull($instance->certificate_id); + self::assertEquals($value, $instance->getCertificateId()); + self::assertEquals($value, $instance->certificate_id); + self::assertLessThanOrEqual(30, is_string($instance->getCertificateId()) ? mb_strlen($instance->getCertificateId()) : $instance->getCertificateId()); + self::assertLessThanOrEqual(30, is_string($instance->certificate_id) ? mb_strlen($instance->certificate_id) : $instance->certificate_id); + self::assertGreaterThanOrEqual(20, is_string($instance->getCertificateId()) ? mb_strlen($instance->getCertificateId()) : $instance->getCertificateId()); + self::assertGreaterThanOrEqual(20, is_string($instance->certificate_id) ? mb_strlen($instance->certificate_id) : $instance->certificate_id); + } + + /** + * Test invalid property "certificate_id" + * @dataProvider invalidCertificateIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCertificateId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCertificateId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCertificateIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_certificate_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCertificateIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_certificate_id')); + } + + /** + * Test property "tru_quantity" + * @dataProvider validTruQuantityDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testTruQuantity(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setTruQuantity($value); + self::assertNotNull($instance->getTruQuantity()); + self::assertNotNull($instance->tru_quantity); + self::assertEquals($value, $instance->getTruQuantity()); + self::assertEquals($value, $instance->tru_quantity); + self::assertIsNumeric($instance->getTruQuantity()); + self::assertIsNumeric($instance->tru_quantity); + } + + /** + * Test invalid property "tru_quantity" + * @dataProvider invalidTruQuantityDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidTruQuantity(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setTruQuantity($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTruQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_quantity')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTruQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_quantity')); + } + + /** + * Test property "available_compensation" + * @dataProvider validAvailableCompensationDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAvailableCompensation(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAvailableCompensation($value); + self::assertNotNull($instance->getAvailableCompensation()); + self::assertNotNull($instance->available_compensation); + self::assertEquals($value, is_array($value) ? $instance->getAvailableCompensation()->toArray() : $instance->getAvailableCompensation()); + self::assertEquals($value, is_array($value) ? $instance->available_compensation->toArray() : $instance->available_compensation); + } + + /** + * Test invalid property "available_compensation" + * @dataProvider invalidAvailableCompensationDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAvailableCompensation(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAvailableCompensation($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAvailableCompensationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_available_compensation')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAvailableCompensationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_available_compensation')); + } + + /** + * Test property "applied_compensation" + * @dataProvider validAppliedCompensationDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAppliedCompensation(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAppliedCompensation($value); + self::assertNotNull($instance->getAppliedCompensation()); + self::assertNotNull($instance->applied_compensation); + self::assertEquals($value, is_array($value) ? $instance->getAppliedCompensation()->toArray() : $instance->getAppliedCompensation()); + self::assertEquals($value, is_array($value) ? $instance->applied_compensation->toArray() : $instance->applied_compensation); + } + + /** + * Test invalid property "applied_compensation" + * @dataProvider invalidAppliedCompensationDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAppliedCompensation(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAppliedCompensation($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAppliedCompensationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_applied_compensation')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAppliedCompensationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_applied_compensation')); + } +} diff --git a/tests/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificateTest.php b/tests/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificateTest.php new file mode 100644 index 00000000..dbbd3abe --- /dev/null +++ b/tests/Model/Payment/PaymentMethod/PaymentMethodElectronicCertificateTest.php @@ -0,0 +1,307 @@ +object = $this->getMockBuilder(PaymentMethodElectronicCertificate::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentMethodElectronicCertificate::class)); + $this->assertInstanceOf(PaymentMethodElectronicCertificate::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertContains($instance->getType(), ['electronic_certificate']); + self::assertContains($instance->type, ['electronic_certificate']); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "card" + * @dataProvider validCardDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCard(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCard()); + self::assertEmpty($instance->card); + $instance->setCard($value); + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); + if (!empty($value)) { + self::assertNotNull($instance->getCard()); + self::assertNotNull($instance->card); + } + } + + /** + * Test invalid property "card" + * @dataProvider invalidCardDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCard(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCard($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * Test property "electronic_certificate" + * @dataProvider validElectronicCertificateDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testElectronicCertificate(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getElectronicCertificate()); + self::assertEmpty($instance->electronic_certificate); + $instance->setElectronicCertificate($value); + self::assertEquals($value, is_array($value) ? $instance->getElectronicCertificate()->toArray() : $instance->getElectronicCertificate()); + self::assertEquals($value, is_array($value) ? $instance->electronic_certificate->toArray() : $instance->electronic_certificate); + if (!empty($value)) { + self::assertNotNull($instance->getElectronicCertificate()); + self::assertNotNull($instance->electronic_certificate); + } + } + + /** + * Test invalid property "electronic_certificate" + * @dataProvider invalidElectronicCertificateDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidElectronicCertificate(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setElectronicCertificate($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * Test property "articles" + * @dataProvider validArticlesDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticles(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticles()); + self::assertEmpty($instance->articles); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + self::assertCount(0, $instance->getArticles()); + self::assertCount(0, $instance->articles); + $instance->setArticles($value); + if (!empty($value)) { + self::assertNotNull($instance->getArticles()); + self::assertNotNull($instance->articles); + foreach ($value as $key => $element) { + if (is_array($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()[$key]->toArray()); + self::assertEquals($element, $instance->articles[$key]->toArray()); + self::assertIsArray($instance->getArticles()[$key]->toArray()); + self::assertIsArray($instance->articles[$key]->toArray()); + } + if (is_object($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()->get($key)); + self::assertIsObject($instance->getArticles()->get($key)); + self::assertIsObject($instance->articles->get($key)); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + } + } + self::assertCount(count($value), $instance->getArticles()); + self::assertCount(count($value), $instance->articles); + } + } + + /** + * Test invalid property "articles" + * @dataProvider invalidArticlesDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticles(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticles($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } +} diff --git a/tests/Model/Payment/PaymentMethod/PaymentMethodSbpTest.php b/tests/Model/Payment/PaymentMethod/PaymentMethodSbpTest.php index b273319d..b4cd542b 100644 --- a/tests/Model/Payment/PaymentMethod/PaymentMethodSbpTest.php +++ b/tests/Model/Payment/PaymentMethod/PaymentMethodSbpTest.php @@ -116,8 +116,8 @@ class PaymentMethodSbpTest extends AbstractTestCase self::assertEmpty($instance->getSbpOperationId()); self::assertEmpty($instance->sbp_operation_id); $instance->setSbpOperationId($value); - self::assertEquals($value, is_array($value) ? $instance->getSbpOperationId()->toArray() : $instance->getSbpOperationId()); - self::assertEquals($value, is_array($value) ? $instance->sbp_operation_id->toArray() : $instance->sbp_operation_id); + self::assertEquals($value, $instance->getSbpOperationId()); + self::assertEquals($value, $instance->sbp_operation_id); if (!empty($value)) { self::assertNotNull($instance->getSbpOperationId()); self::assertNotNull($instance->sbp_operation_id); @@ -159,4 +159,62 @@ class PaymentMethodSbpTest extends AbstractTestCase $instance = $this->getTestInstance(); return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_sbp_operation_id')); } + + /** + * Test property "payer_bank_details" + * @dataProvider validPayerBankDetailsDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPayerBankDetails(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getPayerBankDetails()); + self::assertEmpty($instance->payer_bank_details); + $instance->setPayerBankDetails($value); + self::assertEquals($value, is_array($value) ? $instance->getPayerBankDetails()->toArray() : $instance->getPayerBankDetails()); + self::assertEquals($value, is_array($value) ? $instance->payer_bank_details->toArray() : $instance->payer_bank_details); + if (!empty($value)) { + self::assertNotNull($instance->getPayerBankDetails()); + self::assertNotNull($instance->payer_bank_details); + } + } + + /** + * Test invalid property "payer_bank_details" + * @dataProvider invalidPayerBankDetailsDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPayerBankDetails(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPayerBankDetails($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPayerBankDetailsDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payer_bank_details')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPayerBankDetailsDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payer_bank_details')); + } } diff --git a/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php b/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php new file mode 100644 index 00000000..42481baa --- /dev/null +++ b/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php @@ -0,0 +1,173 @@ +object = $this->getMockBuilder(SbpPayerBankDetails::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(SbpPayerBankDetails::class)); + $this->assertInstanceOf(SbpPayerBankDetails::class, $this->object); + } + + /** + * Test property "bank_id" + * @dataProvider validBankIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBankId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBankId($value); + self::assertNotNull($instance->getBankId()); + self::assertNotNull($instance->bank_id); + self::assertEquals($value, $instance->getBankId()); + self::assertEquals($value, $instance->bank_id); + self::assertMatchesRegularExpression("/\\d{12}/", $instance->getBankId()); + self::assertMatchesRegularExpression("/\\d{12}/", $instance->bank_id); + self::assertLessThanOrEqual(12, is_string($instance->getBankId()) ? mb_strlen($instance->getBankId()) : $instance->getBankId()); + self::assertLessThanOrEqual(12, is_string($instance->bank_id) ? mb_strlen($instance->bank_id) : $instance->bank_id); + } + + /** + * Test invalid property "bank_id" + * @dataProvider invalidBankIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBankId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBankId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBankIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_bank_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBankIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_bank_id')); + } + + /** + * Test property "bic" + * @dataProvider validBicDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBic(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBic($value); + self::assertNotNull($instance->getBic()); + self::assertNotNull($instance->bic); + self::assertEquals($value, $instance->getBic()); + self::assertEquals($value, $instance->bic); + } + + /** + * Test invalid property "bic" + * @dataProvider invalidBicDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBic(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBic($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } +} diff --git a/tests/Model/Refund/RefundCancellationDetailsTest.php b/tests/Model/Refund/RefundCancellationDetailsTest.php index c551b3de..538f0d08 100644 --- a/tests/Model/Refund/RefundCancellationDetailsTest.php +++ b/tests/Model/Refund/RefundCancellationDetailsTest.php @@ -31,6 +31,7 @@ use Tests\YooKassa\AbstractTestCase; use Datetime; use YooKassa\Model\Metadata; use YooKassa\Model\Refund\RefundCancellationDetails; +use YooKassa\Model\Refund\RefundCancellationDetailsReasonCode; /** * RefundCancellationDetailsTest @@ -133,8 +134,8 @@ class RefundCancellationDetailsTest extends AbstractTestCase self::assertNotNull($instance->reason); self::assertEquals($value, is_array($value) ? $instance->getReason()->toArray() : $instance->getReason()); self::assertEquals($value, is_array($value) ? $instance->reason->toArray() : $instance->reason); - self::assertContains($instance->getReason(), ['yoo_money_account_closed', 'insufficient_funds', 'general_decline', 'rejected_by_payee']); - self::assertContains($instance->reason, ['yoo_money_account_closed', 'insufficient_funds', 'general_decline', 'rejected_by_payee']); + self::assertContains($instance->getReason(), RefundCancellationDetailsReasonCode::getValidValues()); + self::assertContains($instance->reason, RefundCancellationDetailsReasonCode::getValidValues()); } /** diff --git a/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticleTest.php b/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticleTest.php new file mode 100644 index 00000000..cd5b0bf1 --- /dev/null +++ b/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundArticleTest.php @@ -0,0 +1,285 @@ +object = $this->getMockBuilder(ElectronicCertificateRefundArticle::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificateRefundArticle::class)); + $this->assertInstanceOf(ElectronicCertificateRefundArticle::class, $this->object); + } + + /** + * Test property "article_number" + * @dataProvider validArticleNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setArticleNumber($value); + self::assertNotNull($instance->getArticleNumber()); + self::assertNotNull($instance->article_number); + self::assertEquals($value, is_array($value) ? $instance->getArticleNumber()->toArray() : $instance->getArticleNumber()); + self::assertEquals($value, is_array($value) ? $instance->article_number->toArray() : $instance->article_number); + } + + /** + * Test invalid property "article_number" + * @dataProvider invalidArticleNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * Test property "payment_article_number" + * @dataProvider validPaymentArticleNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentArticleNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPaymentArticleNumber($value); + self::assertNotNull($instance->getPaymentArticleNumber()); + self::assertNotNull($instance->payment_article_number); + self::assertEquals($value, is_array($value) ? $instance->getPaymentArticleNumber()->toArray() : $instance->getPaymentArticleNumber()); + self::assertEquals($value, is_array($value) ? $instance->payment_article_number->toArray() : $instance->payment_article_number); + } + + /** + * Test invalid property "payment_article_number" + * @dataProvider invalidPaymentArticleNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentArticleNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentArticleNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_article_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_article_number')); + } + + /** + * Test property "tru_code" + * @dataProvider validTruCodeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testTruCode(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setTruCode($value); + self::assertNotNull($instance->getTruCode()); + self::assertNotNull($instance->tru_code); + self::assertEquals($value, is_array($value) ? $instance->getTruCode()->toArray() : $instance->getTruCode()); + self::assertEquals($value, is_array($value) ? $instance->tru_code->toArray() : $instance->tru_code); + self::assertLessThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertLessThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + self::assertGreaterThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertGreaterThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + } + + /** + * Test invalid property "tru_code" + * @dataProvider invalidTruCodeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidTruCode(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setTruCode($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * Test property "quantity" + * @dataProvider validQuantityDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testQuantity(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setQuantity($value); + self::assertNotNull($instance->getQuantity()); + self::assertNotNull($instance->quantity); + self::assertEquals($value, is_array($value) ? $instance->getQuantity()->toArray() : $instance->getQuantity()); + self::assertEquals($value, is_array($value) ? $instance->quantity->toArray() : $instance->quantity); + self::assertGreaterThanOrEqual(1, is_string($instance->getQuantity()) ? mb_strlen($instance->getQuantity()) : $instance->getQuantity()); + self::assertGreaterThanOrEqual(1, is_string($instance->quantity) ? mb_strlen($instance->quantity) : $instance->quantity); + self::assertIsNumeric($instance->getQuantity()); + self::assertIsNumeric($instance->quantity); + } + + /** + * Test invalid property "quantity" + * @dataProvider invalidQuantityDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidQuantity(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setQuantity($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_quantity')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_quantity')); + } +} diff --git a/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundDataTest.php b/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundDataTest.php new file mode 100644 index 00000000..de9c6d82 --- /dev/null +++ b/tests/Model/Refund/RefundMethod/ElectronicCertificate/ElectronicCertificateRefundDataTest.php @@ -0,0 +1,169 @@ +object = $this->getMockBuilder(ElectronicCertificateRefundData::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificateRefundData::class)); + $this->assertInstanceOf(ElectronicCertificateRefundData::class, $this->object); + } + + /** + * Test property "basket_id" + * @dataProvider validBasketIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBasketId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBasketId($value); + self::assertNotNull($instance->getBasketId()); + self::assertNotNull($instance->basket_id); + self::assertEquals($value, is_array($value) ? $instance->getBasketId()->toArray() : $instance->getBasketId()); + self::assertEquals($value, is_array($value) ? $instance->basket_id->toArray() : $instance->basket_id); + } + + /** + * Test invalid property "basket_id" + * @dataProvider invalidBasketIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBasketId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBasketId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBasketIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_basket_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBasketIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_basket_id')); + } + + /** + * Test property "amount" + * @dataProvider validAmountDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAmount(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAmount($value); + self::assertNotNull($instance->getAmount()); + self::assertNotNull($instance->amount); + self::assertEquals($value, is_array($value) ? $instance->getAmount()->toArray() : $instance->getAmount()); + self::assertEquals($value, is_array($value) ? $instance->amount->toArray() : $instance->amount); + } + + /** + * Test invalid property "amount" + * @dataProvider invalidAmountDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAmount(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAmount($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } +} diff --git a/tests/Model/Refund/RefundMethod/RefundMethodElectronicCertificateTest.php b/tests/Model/Refund/RefundMethod/RefundMethodElectronicCertificateTest.php new file mode 100644 index 00000000..9a3f442a --- /dev/null +++ b/tests/Model/Refund/RefundMethod/RefundMethodElectronicCertificateTest.php @@ -0,0 +1,251 @@ +object = $this->getMockBuilder(RefundMethodElectronicCertificate::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(RefundMethodElectronicCertificate::class)); + $this->assertInstanceOf(RefundMethodElectronicCertificate::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertContains($instance->getType(), ['electronic_certificate']); + self::assertContains($instance->type, ['electronic_certificate']); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "electronic_certificate" + * @dataProvider validElectronicCertificateDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testElectronicCertificate(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getElectronicCertificate()); + self::assertEmpty($instance->electronic_certificate); + $instance->setElectronicCertificate($value); + self::assertEquals($value, is_array($value) ? $instance->getElectronicCertificate()->toArray() : $instance->getElectronicCertificate()); + self::assertEquals($value, is_array($value) ? $instance->electronic_certificate->toArray() : $instance->electronic_certificate); + if (!empty($value)) { + self::assertNotNull($instance->getElectronicCertificate()); + self::assertNotNull($instance->electronic_certificate); + } + } + + /** + * Test invalid property "electronic_certificate" + * @dataProvider invalidElectronicCertificateDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidElectronicCertificate(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setElectronicCertificate($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * Test property "articles" + * @dataProvider validArticlesDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticles(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticles()); + self::assertEmpty($instance->articles); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + self::assertCount(0, $instance->getArticles()); + self::assertCount(0, $instance->articles); + $instance->setArticles($value); + if (!empty($value)) { + self::assertNotNull($instance->getArticles()); + self::assertNotNull($instance->articles); + foreach ($value as $key => $element) { + if (is_array($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()[$key]->toArray()); + self::assertEquals($element, $instance->articles[$key]->toArray()); + self::assertIsArray($instance->getArticles()[$key]->toArray()); + self::assertIsArray($instance->articles[$key]->toArray()); + } + if (is_object($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()->get($key)); + self::assertIsObject($instance->getArticles()->get($key)); + self::assertIsObject($instance->articles->get($key)); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + } + } + self::assertCount(count($value), $instance->getArticles()); + self::assertCount(count($value), $instance->articles); + } + } + + /** + * Test invalid property "articles" + * @dataProvider invalidArticlesDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticles(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticles($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } +} diff --git a/tests/Model/Refund/RefundMethod/RefundMethodSbpTest.php b/tests/Model/Refund/RefundMethod/RefundMethodSbpTest.php index e7bb60fc..1542001f 100644 --- a/tests/Model/Refund/RefundMethod/RefundMethodSbpTest.php +++ b/tests/Model/Refund/RefundMethod/RefundMethodSbpTest.php @@ -117,8 +117,8 @@ class RefundMethodSbpTest extends AbstractTestCase self::assertEmpty($instance->getSbpOperationId()); self::assertEmpty($instance->sbp_operation_id); $instance->setSbpOperationId($value); - self::assertEquals($value, is_array($value) ? $instance->getSbpOperationId()->toArray() : $instance->getSbpOperationId()); - self::assertEquals($value, is_array($value) ? $instance->sbp_operation_id->toArray() : $instance->sbp_operation_id); + self::assertEquals($value, $instance->getSbpOperationId()); + self::assertEquals($value, $instance->sbp_operation_id); if (!empty($value)) { self::assertNotNull($instance->getSbpOperationId()); self::assertNotNull($instance->sbp_operation_id); diff --git a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php index f806f53c..fc20219d 100644 --- a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php +++ b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php @@ -1,28 +1,28 @@ setAmount($options['amount']); - $builder->setFraudData($options['fraud_data']); - $instance = $builder->build(); - - if (empty($options['fraud_data'])) { - self::assertNull($instance->getFraudData()); - } else { - self::assertNotNull($instance->getFraudData()); - if (is_array($options['fraud_data'])) { - self::assertEquals($options['fraud_data'], $instance->getFraudData()->toArray()); - } else { - self::assertEquals($options['fraud_data'], $instance->getFraudData()); - } - } - } - /** * @dataProvider validDataProvider * @@ -1013,10 +988,10 @@ class CreatePaymentRequestBuilderTest extends TestCase ], ], ], - 'fraud_data' => null, 'merchant_customer_id' => null, 'receiptIndustryDetails' => [], 'receiptOperationalDetails' => null, + 'receiver' => null, ], ], [ @@ -1061,12 +1036,10 @@ class CreatePaymentRequestBuilderTest extends TestCase ] ], ], - 'fraud_data' => new FraudData([ - 'id' => Random::str(11, 15, '0123456789'), - ]), 'merchant_customer_id' => null, 'receiptIndustryDetails' => [], 'receiptOperationalDetails' => null, + 'receiver' => null, ], ], ]; @@ -1092,6 +1065,18 @@ class CreatePaymentRequestBuilderTest extends TestCase 'locale' => 'ru_RU', ], ]; + $receivers = [ + [ + 'type' => ReceiverType::BANK_ACCOUNT, + 'account_number' => Random::str(20, 20, '0123456789'), + 'bic' => Random::str(9, 9, '0123456789'), + ], + new ReceiverDigitalWallet(['account_number' => Random::str(20, 20, '0123456789')]), + [ + 'type' => ReceiverType::MOBILE_BALANCE, + 'phone' => Random::str(4, 15, '0123456789'), + ], + ]; for ($i = 0; $i < 10; $i++) { $request = [ 'accountId' => uniqid('', true), @@ -1144,10 +1129,8 @@ class CreatePaymentRequestBuilderTest extends TestCase ], ], ], - 'fraud_data' => [ - 'id' => Random::str(11, 15, '0123456789'), - ], 'merchant_customer_id' => Random::str(3, 100), + 'receiver' => Random::value($receivers), ]; $result[] = [$request]; } @@ -1271,9 +1254,45 @@ class CreatePaymentRequestBuilderTest extends TestCase } /** + * @dataProvider validDataProvider + * + * @param mixed $options + * * @throws Exception */ - public static function invalidFraudDataProvider(): array + public function testSetReceiver(mixed $options): void + { + $builder = new CreatePaymentRequestBuilder(); + + $builder->setReceiptItems($options['receiptItems']); + $builder->setReceiptEmail($options['receiptEmail']); + $builder->setReceiver($options['receiver']); + $instance = $builder->build($this->getRequiredData()); + + if (empty($options['receiver'])) { + self::assertNull($instance->getReceiver()); + } else { + self::assertNotNull($instance->getReceiver()); + self::assertEquals($options['receiver'], is_array($options['receiver']) ? $instance->getReceiver()->toArray() : $instance->getReceiver()); + } + } + + /** + * @dataProvider invalidReceiverDataProvider + * + * @param mixed $value + */ + public function testSetInvalidReceiver(mixed $value): void + { + $this->expectException(InvalidArgumentException::class); + $builder = new CreatePaymentRequestBuilder(); + $builder->setReceiver($value); + } + + /** + * @throws Exception + */ + public static function invalidReceiverDataProvider(): array { return [ [true], @@ -1285,19 +1304,6 @@ class CreatePaymentRequestBuilderTest extends TestCase [Random::int(7, 100)], ]; } - - /** - * @dataProvider invalidFraudDataProvider - * - * @param mixed $value - */ - public function testSetInvalidFraudData(mixed $value): void - { - $this->expectException(InvalidArgumentException::class); - $builder = new CreatePaymentRequestBuilder(); - $builder->setFraudData($value); - } - /** * @param null $testingProperty * @param null $paymentType diff --git a/tests/Request/Payments/CreatePaymentRequestTest.php b/tests/Request/Payments/CreatePaymentRequestTest.php index fe4deb24..34200122 100644 --- a/tests/Request/Payments/CreatePaymentRequestTest.php +++ b/tests/Request/Payments/CreatePaymentRequestTest.php @@ -1,28 +1,28 @@ getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_deal')); } - /** - * Test property "fraud_data" - * @dataProvider validFraudDataDataProvider - * @param mixed $value - * - * @return void - * @throws Exception - */ - public function testFraudData(mixed $value): void - { - $instance = $this->getTestInstance(); - self::assertEmpty($instance->getFraudData()); - self::assertEmpty($instance->fraud_data); - $instance->setFraudData($value); - self::assertEquals($value, is_array($value) ? $instance->getFraudData()->toArray() : $instance->getFraudData()); - self::assertEquals($value, is_array($value) ? $instance->fraud_data->toArray() : $instance->fraud_data); - if (!empty($value)) { - self::assertTrue($instance->hasFraudData()); - self::assertNotNull($instance->getFraudData()); - self::assertNotNull($instance->fraud_data); - } - } - - /** - * Test invalid property "fraud_data" - * @dataProvider invalidFraudDataDataProvider - * @param mixed $value - * @param string $exceptionClass - * - * @return void - */ - public function testInvalidFraudData(mixed $value, string $exceptionClass): void - { - $instance = $this->getTestInstance(); - - $this->expectException($exceptionClass); - $instance->setFraudData($value); - } - - /** - * @return array[] - * @throws Exception - */ - public function validFraudDataDataProvider(): array - { - $instance = $this->getTestInstance(); - return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_fraud_data')); - } - - /** - * @return array[] - * @throws Exception - */ - public function invalidFraudDataDataProvider(): array - { - $instance = $this->getTestInstance(); - return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_fraud_data')); - } /** * Test property "merchant_customer_id" @@ -1053,6 +995,65 @@ class CreatePaymentRequestTest extends AbstractTestCase return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_merchant_customer_id')); } + /** + * Test property "receiver" + * @dataProvider validReceiverDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testReceiver(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getReceiver()); + self::assertEmpty($instance->receiver); + $instance->setReceiver($value); + self::assertEquals($value, is_array($value) ? $instance->getReceiver()->toArray() : $instance->getReceiver()); + self::assertEquals($value, is_array($value) ? $instance->receiver->toArray() : $instance->receiver); + if (!empty($value)) { + self::assertTrue($instance->hasReceiver()); + self::assertNotNull($instance->getReceiver()); + self::assertNotNull($instance->receiver); + } + } + + /** + * Test invalid property "receiver" + * @dataProvider invalidReceiverDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidReceiver(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setReceiver($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validReceiverDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_receiver')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidReceiverDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_receiver')); + } + public function testValidate(): void { $instance = new CreatePaymentRequest(); diff --git a/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php b/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php new file mode 100644 index 00000000..812f8953 --- /dev/null +++ b/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php @@ -0,0 +1,478 @@ +object = $this->getMockBuilder(ElectronicCertificateArticle::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ElectronicCertificateArticle::class)); + $this->assertInstanceOf(ElectronicCertificateArticle::class, $this->object); + } + + /** + * Test property "article_number" + * @dataProvider validArticleNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setArticleNumber($value); + self::assertNotNull($instance->getArticleNumber()); + self::assertNotNull($instance->article_number); + self::assertEquals($value, $instance->getArticleNumber()); + self::assertEquals($value, $instance->article_number); + self::assertLessThanOrEqual(999, is_string($instance->getArticleNumber()) ? mb_strlen($instance->getArticleNumber()) : $instance->getArticleNumber()); + self::assertLessThanOrEqual(999, is_string($instance->article_number) ? mb_strlen($instance->article_number) : $instance->article_number); + self::assertGreaterThanOrEqual(1, is_string($instance->getArticleNumber()) ? mb_strlen($instance->getArticleNumber()) : $instance->getArticleNumber()); + self::assertGreaterThanOrEqual(1, is_string($instance->article_number) ? mb_strlen($instance->article_number) : $instance->article_number); + self::assertIsNumeric($instance->getArticleNumber()); + self::assertIsNumeric($instance->article_number); + } + + /** + * Test invalid property "article_number" + * @dataProvider invalidArticleNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_number')); + } + + /** + * Test property "tru_code" + * @dataProvider validTruCodeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testTruCode(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setTruCode($value); + self::assertNotNull($instance->getTruCode()); + self::assertNotNull($instance->tru_code); + self::assertEquals($value, $instance->getTruCode()); + self::assertEquals($value, $instance->tru_code); + self::assertLessThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertLessThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + self::assertGreaterThanOrEqual(30, is_string($instance->getTruCode()) ? mb_strlen($instance->getTruCode()) : $instance->getTruCode()); + self::assertGreaterThanOrEqual(30, is_string($instance->tru_code) ? mb_strlen($instance->tru_code) : $instance->tru_code); + } + + /** + * Test invalid property "tru_code" + * @dataProvider invalidTruCodeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidTruCode(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setTruCode($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTruCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_tru_code')); + } + + /** + * Test property "article_code" + * @dataProvider validArticleCodeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleCode(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticleCode()); + self::assertEmpty($instance->article_code); + $instance->setArticleCode($value); + self::assertEquals($value, $instance->getArticleCode()); + self::assertEquals($value, $instance->article_code); + if (!empty($value)) { + self::assertNotNull($instance->getArticleCode()); + self::assertNotNull($instance->article_code); + self::assertLessThanOrEqual(128, is_string($instance->getArticleCode()) ? mb_strlen($instance->getArticleCode()) : $instance->getArticleCode()); + self::assertLessThanOrEqual(128, is_string($instance->article_code) ? mb_strlen($instance->article_code) : $instance->article_code); + } + } + + /** + * Test invalid property "article_code" + * @dataProvider invalidArticleCodeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleCode(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleCode($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_code')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleCodeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_code')); + } + + /** + * Test property "article_name" + * @dataProvider validArticleNameDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticleName(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setArticleName($value); + self::assertNotNull($instance->getArticleName()); + self::assertNotNull($instance->article_name); + self::assertEquals($value, $instance->getArticleName()); + self::assertEquals($value, $instance->article_name); + self::assertLessThanOrEqual(128, is_string($instance->getArticleName()) ? mb_strlen($instance->getArticleName()) : $instance->getArticleName()); + self::assertLessThanOrEqual(128, is_string($instance->article_name) ? mb_strlen($instance->article_name) : $instance->article_name); + } + + /** + * Test invalid property "article_name" + * @dataProvider invalidArticleNameDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticleName(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticleName($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticleNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_name')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticleNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_article_name')); + } + + /** + * Test property "quantity" + * @dataProvider validQuantityDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testQuantity(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setQuantity($value); + self::assertNotNull($instance->getQuantity()); + self::assertNotNull($instance->quantity); + self::assertEquals($value, $instance->getQuantity()); + self::assertEquals($value, $instance->quantity); + self::assertIsNumeric($instance->getQuantity()); + self::assertIsNumeric($instance->quantity); + } + + /** + * Test invalid property "quantity" + * @dataProvider invalidQuantityDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidQuantity(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setQuantity($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_quantity')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidQuantityDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_quantity')); + } + + /** + * Test property "price" + * @dataProvider validPriceDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPrice(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPrice($value); + self::assertNotNull($instance->getPrice()); + self::assertNotNull($instance->price); + self::assertEquals($value, is_array($value) ? $instance->getPrice()->toArray() : $instance->getPrice()); + self::assertEquals($value, is_array($value) ? $instance->price->toArray() : $instance->price); + } + + /** + * Test invalid property "price" + * @dataProvider invalidPriceDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPrice(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPrice($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPriceDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_price')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPriceDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_price')); + } + + /** + * Test property "metadata" + * @dataProvider validMetadataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMetadata(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getMetadata()); + self::assertEmpty($instance->metadata); + $instance->setMetadata($value); + if (!empty($value)) { + self::assertNotNull($instance->getMetadata()); + self::assertNotNull($instance->metadata); + foreach ($value as $key => $element) { + if (!empty($element)) { + self::assertEquals($element, $instance->getMetadata()[$key]); + self::assertEquals($element, $instance->metadata[$key]); + self::assertIsObject($instance->getMetadata()); + self::assertIsObject($instance->metadata); + } + } + self::assertCount(count($value), $instance->getMetadata()); + self::assertCount(count($value), $instance->metadata); + if ($instance->getMetadata() instanceof Metadata) { + self::assertEquals($value, $instance->getMetadata()->toArray()); + self::assertEquals($value, $instance->metadata->toArray()); + self::assertCount(count($value), $instance->getMetadata()); + self::assertCount(count($value), $instance->metadata); + } + } + } + + /** + * Test invalid property "metadata" + * @dataProvider invalidMetadataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMetadata(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setMetadata($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } +} diff --git a/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php b/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php index 04b5a189..2a8902d7 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php @@ -29,6 +29,7 @@ namespace Tests\YooKassa\Request\Payments\PaymentData; use Exception; use Tests\YooKassa\AbstractTestCase; use Datetime; +use YooKassa\Helpers\Random; use YooKassa\Model\Metadata; use YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard; @@ -308,8 +309,8 @@ class PaymentDataBankCardCardTest extends AbstractTestCase if (!empty($value)) { self::assertNotNull($instance->getCardholder()); self::assertNotNull($instance->cardholder); - self::assertMatchesRegularExpression("/[a-zA-Z]{0,26}/", $instance->getCardholder()); - self::assertMatchesRegularExpression("/[a-zA-Z]{0,26}/", $instance->cardholder); + self::assertMatchesRegularExpression("/[a-zA-Z '-]{1,26}/", $instance->getCardholder()); + self::assertMatchesRegularExpression("/[a-zA-Z '-]{1,26}/", $instance->cardholder); } } @@ -335,8 +336,11 @@ class PaymentDataBankCardCardTest extends AbstractTestCase */ public function validCardholderDataProvider(): array { - $instance = $this->getTestInstance(); - return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_cardholder')); + return [ + [null], + [Random::str(1, 26, 'abcdefghijklmnopqrstuvwxyz \'-')], + [Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-')], + ]; } /** diff --git a/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php b/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php index 79dec2f2..79f42c99 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php @@ -29,8 +29,10 @@ namespace Tests\YooKassa\Request\Payments\PaymentData; use Exception; use Tests\YooKassa\AbstractTestCase; use Datetime; +use YooKassa\Helpers\Random; use YooKassa\Model\Metadata; use YooKassa\Request\Payments\PaymentData\PaymentDataBankCard; +use YooKassa\Request\Payments\PaymentData\PaymentDataBankCardCard; /** * PaymentDataBankCardTest @@ -75,11 +77,12 @@ class PaymentDataBankCardTest extends AbstractTestCase self::assertEmpty($instance->getCard()); self::assertEmpty($instance->card); $instance->setCard($value); - self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); - self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); if (!empty($value)) { self::assertNotNull($instance->getCard()); self::assertNotNull($instance->card); + } else { + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); } } @@ -105,8 +108,22 @@ class PaymentDataBankCardTest extends AbstractTestCase */ public function validCardDataProvider(): array { - $instance = $this->getTestInstance(); - return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + return [ + [null], + [new PaymentDataBankCardCard([ + 'number' => Random::str(16, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2045), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + ])], + [''], + [[ + 'number' => Random::str(16, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2030), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + ]], + ]; } /** diff --git a/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php b/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php new file mode 100644 index 00000000..62e9f4df --- /dev/null +++ b/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php @@ -0,0 +1,276 @@ +object = $this->getMockBuilder(PaymentDataElectronicCertificate::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentDataElectronicCertificate::class)); + $this->assertInstanceOf(PaymentDataElectronicCertificate::class, $this->object); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "card" + * @dataProvider validCardDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCard(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCard()); + self::assertEmpty($instance->card); + $instance->setCard($value); + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); + if (!empty($value)) { + self::assertNotNull($instance->getCard()); + self::assertNotNull($instance->card); + } + } + + /** + * Test invalid property "card" + * @dataProvider invalidCardDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCard(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCard($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * Test property "electronic_certificate" + * @dataProvider validElectronicCertificateDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testElectronicCertificate(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getElectronicCertificate()); + self::assertEmpty($instance->electronic_certificate); + $instance->setElectronicCertificate($value); + self::assertEquals($value, is_array($value) ? $instance->getElectronicCertificate()->toArray() : $instance->getElectronicCertificate()); + self::assertEquals($value, is_array($value) ? $instance->electronic_certificate->toArray() : $instance->electronic_certificate); + if (!empty($value)) { + self::assertNotNull($instance->getElectronicCertificate()); + self::assertNotNull($instance->electronic_certificate); + } + } + + /** + * Test invalid property "electronic_certificate" + * @dataProvider invalidElectronicCertificateDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidElectronicCertificate(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setElectronicCertificate($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * Test property "articles" + * @dataProvider validArticlesDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticles(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticles()); + self::assertEmpty($instance->articles); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + self::assertCount(0, $instance->getArticles()); + self::assertCount(0, $instance->articles); + $instance->setArticles($value); + if (!empty($value)) { + self::assertNotNull($instance->getArticles()); + self::assertNotNull($instance->articles); + foreach ($value as $key => $element) { + if (is_array($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()[$key]->toArray()); + self::assertEquals($element, $instance->articles[$key]->toArray()); + self::assertIsArray($instance->getArticles()[$key]->toArray()); + self::assertIsArray($instance->articles[$key]->toArray()); + } + if (is_object($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()->get($key)); + self::assertIsObject($instance->getArticles()->get($key)); + self::assertIsObject($instance->articles->get($key)); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + } + } + self::assertCount(count($value), $instance->getArticles()); + self::assertCount(count($value), $instance->articles); + } + } + + /** + * Test invalid property "articles" + * @dataProvider invalidArticlesDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticles(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticles($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } +} diff --git a/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php b/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php index e5dcc7e1..b962480d 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php @@ -1,28 +1,28 @@ object = $this->getMockBuilder(ReceiverBankAccount::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ReceiverBankAccount::class)); + $this->assertInstanceOf(ReceiverBankAccount::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertContains($instance->getType(), ['bank_account']); + self::assertContains($instance->type, ['bank_account']); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "account_number" + * @dataProvider validAccountNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAccountNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAccountNumber($value); + self::assertNotNull($instance->getAccountNumber()); + self::assertNotNull($instance->account_number); + self::assertEquals($value, $instance->getAccountNumber()); + self::assertEquals($value, $instance->account_number); + self::assertMatchesRegularExpression("/^[0-9]{20}$/", $instance->getAccountNumber()); + self::assertMatchesRegularExpression("/^[0-9]{20}$/", $instance->account_number); + self::assertLessThanOrEqual(20, is_string($instance->getAccountNumber()) ? mb_strlen($instance->getAccountNumber()) : $instance->getAccountNumber()); + self::assertLessThanOrEqual(20, is_string($instance->account_number) ? mb_strlen($instance->account_number) : $instance->account_number); + } + + /** + * Test invalid property "account_number" + * @dataProvider invalidAccountNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAccountNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAccountNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } + + /** + * Test property "bic" + * @dataProvider validBicDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBic(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBic($value); + self::assertNotNull($instance->getBic()); + self::assertNotNull($instance->bic); + self::assertEquals($value, $instance->getBic()); + self::assertEquals($value, $instance->bic); + self::assertMatchesRegularExpression("/^[0-9]{9}$/", $instance->getBic()); + self::assertMatchesRegularExpression("/^[0-9]{9}$/", $instance->bic); + self::assertLessThanOrEqual(9, is_string($instance->getBic()) ? mb_strlen($instance->getBic()) : $instance->getBic()); + self::assertLessThanOrEqual(9, is_string($instance->bic) ? mb_strlen($instance->bic) : $instance->bic); + } + + /** + * Test invalid property "bic" + * @dataProvider invalidBicDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBic(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBic($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } +} diff --git a/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php b/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php new file mode 100644 index 00000000..c4ca2c37 --- /dev/null +++ b/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php @@ -0,0 +1,172 @@ +object = $this->getMockBuilder(ReceiverDigitalWallet::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ReceiverDigitalWallet::class)); + $this->assertInstanceOf(ReceiverDigitalWallet::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertContains($instance->getType(), ['digital_wallet']); + self::assertContains($instance->type, ['digital_wallet']); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "account_number" + * @dataProvider validAccountNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAccountNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAccountNumber($value); + self::assertNotNull($instance->getAccountNumber()); + self::assertNotNull($instance->account_number); + self::assertEquals($value, $instance->getAccountNumber()); + self::assertEquals($value, $instance->account_number); + self::assertLessThanOrEqual(20, is_string($instance->getAccountNumber()) ? mb_strlen($instance->getAccountNumber()) : $instance->getAccountNumber()); + self::assertLessThanOrEqual(20, is_string($instance->account_number) ? mb_strlen($instance->account_number) : $instance->account_number); + } + + /** + * Test invalid property "account_number" + * @dataProvider invalidAccountNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAccountNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAccountNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } +} diff --git a/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php b/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php new file mode 100644 index 00000000..130dd083 --- /dev/null +++ b/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php @@ -0,0 +1,170 @@ +object = $this->getMockBuilder(ReceiverMobileBalance::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ReceiverMobileBalance::class)); + $this->assertInstanceOf(ReceiverMobileBalance::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertContains($instance->getType(), ['mobile_balance']); + self::assertContains($instance->type, ['mobile_balance']); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "phone" + * @dataProvider validPhoneDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPhone(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPhone($value); + self::assertNotNull($instance->getPhone()); + self::assertNotNull($instance->phone); + self::assertEquals($value, $instance->getPhone()); + self::assertEquals($value, $instance->phone); + } + + /** + * Test invalid property "phone" + * @dataProvider invalidPhoneDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPhone(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPhone($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPhoneDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_phone')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPhoneDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_phone')); + } +} diff --git a/tests/Request/Refunds/CreateRefundRequestBuilderTest.php b/tests/Request/Refunds/CreateRefundRequestBuilderTest.php index 00281c63..b7882bc1 100644 --- a/tests/Request/Refunds/CreateRefundRequestBuilderTest.php +++ b/tests/Request/Refunds/CreateRefundRequestBuilderTest.php @@ -40,6 +40,7 @@ use YooKassa\Model\Receipt\PaymentMode; use YooKassa\Model\Receipt\PaymentSubject; use YooKassa\Model\Receipt\ReceiptItem; use YooKassa\Model\Receipt\ReceiptItemAmount; +use YooKassa\Model\Refund\RefundMethodType; use YooKassa\Model\Refund\Source; use YooKassa\Request\Payments\CreatePaymentRequestBuilder; use YooKassa\Request\Refunds\CreateRefundRequestBuilder; @@ -544,6 +545,24 @@ class CreateRefundRequestBuilderTest extends TestCase ], ], ], + 'refund_method_data' => [ + 'type' => RefundMethodType::ELECTRONIC_CERTIFICATE, + 'articles' => [ + [ + 'article_number' => Random::int(1, 999), + 'payment_article_number' => Random::int(1, 999), + 'tru_code' => Random::str(30, 30, '0123456789'), + 'quantity' => Random::int(1, 6), + ], + ], + 'electronic_certificate' => [ + 'amount' => [ + 'value' => Random::int(1, 999999), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ], + 'basket_id' => Random::str(100) + ], + ] ], ], [ @@ -577,6 +596,7 @@ class CreateRefundRequestBuilderTest extends TestCase ] ], ], + 'refund_method_data' => null, ], ], ]; @@ -627,6 +647,7 @@ class CreateRefundRequestBuilderTest extends TestCase ], ], ], + 'refund_method_data' => null, ]; $result[] = [$request]; } @@ -671,6 +692,29 @@ class CreateRefundRequestBuilderTest extends TestCase } } + /** + * @dataProvider validDataProvider + * + * @param mixed $options + * + * @throws Exception + */ + public function testSetRefundMethodData(mixed $options): void + { + $builder = new CreateRefundRequestBuilder(); + $builder->setPaymentId($options['paymentId']); + $builder->setAmount($options['amount']); + $builder->setRefundMethodData($options['refund_method_data']); + $instance = $builder->build(); + + if (empty($options['refund_method_data'])) { + self::assertNull($instance->getRefundMethodData()); + } else { + self::assertNotNull($instance->getRefundMethodData()); + self::assertEquals($options['refund_method_data'], $instance->getRefundMethodData()->toArray()); + } + } + /** * @throws Exception */ @@ -709,4 +753,34 @@ class CreateRefundRequestBuilderTest extends TestCase 'amount' => Random::int(1, 100), ]; } + + + /** + * @dataProvider validDataProvider + * + * @param mixed $options + * + * @throws Exception + */ + public function testAddSource(mixed $options): void + { + $builder = new CreateRefundRequestBuilder(); + + $builder->setPaymentId($options['paymentId']); + $builder->setAmount($options['amount']); + + if (!empty($options['sources'])) { + foreach ($options['sources'] as $source) { + $builder->addSource($source); + } + } + $instance = $builder->build(); + + if (empty($options['sources'])) { + self::assertEmpty($instance->getSources()); + } else { + self::assertNotNull($instance->getSources()); + self::assertCount(count($options['sources']), $instance->getSources()); + } + } } diff --git a/tests/Request/Refunds/CreateRefundRequestTest.php b/tests/Request/Refunds/CreateRefundRequestTest.php index 79ed33e6..e80611ef 100644 --- a/tests/Request/Refunds/CreateRefundRequestTest.php +++ b/tests/Request/Refunds/CreateRefundRequestTest.php @@ -440,6 +440,65 @@ class CreateRefundRequestTest extends AbstractTestCase return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_deal')); } + /** + * Test property "refund_method_data" + * @dataProvider validRefundMethodDataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testRefundMethodData(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getRefundMethodData()); + self::assertEmpty($instance->refund_method_data); + $instance->setRefundMethodData($value); + self::assertEquals($value, is_array($value) ? $instance->getRefundMethodData()->toArray() : $instance->getRefundMethodData()); + self::assertEquals($value, is_array($value) ? $instance->refund_method_data->toArray() : $instance->refund_method_data); + if (!empty($value)) { + self::assertTrue($instance->hasRefundMethodData()); + self::assertNotNull($instance->getRefundMethodData()); + self::assertNotNull($instance->refund_method_data); + } + } + + /** + * Test invalid property "refund_method_data" + * @dataProvider invalidRefundMethodDataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidRefundMethodData(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setRefundMethodData($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validRefundMethodDataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_refund_method_data')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidRefundMethodDataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_refund_method_data')); + } + public function testValidate(): void { $instance = new CreateRefundRequest(); diff --git a/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php b/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php new file mode 100644 index 00000000..851eb51b --- /dev/null +++ b/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php @@ -0,0 +1,234 @@ +object = $this->getMockBuilder(RefundMethodDataElectronicCertificate::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(RefundMethodDataElectronicCertificate::class)); + $this->assertInstanceOf(RefundMethodDataElectronicCertificate::class, $this->object); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "electronic_certificate" + * @dataProvider validElectronicCertificateDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testElectronicCertificate(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getElectronicCertificate()); + self::assertEmpty($instance->electronic_certificate); + $instance->setElectronicCertificate($value); + self::assertEquals($value, is_array($value) ? $instance->getElectronicCertificate()->toArray() : $instance->getElectronicCertificate()); + self::assertEquals($value, is_array($value) ? $instance->electronic_certificate->toArray() : $instance->electronic_certificate); + if (!empty($value)) { + self::assertNotNull($instance->getElectronicCertificate()); + self::assertNotNull($instance->electronic_certificate); + } + } + + /** + * Test invalid property "electronic_certificate" + * @dataProvider invalidElectronicCertificateDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidElectronicCertificate(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setElectronicCertificate($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidElectronicCertificateDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_electronic_certificate')); + } + + /** + * Test property "articles" + * @dataProvider validArticlesDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testArticles(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getArticles()); + self::assertEmpty($instance->articles); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + self::assertCount(0, $instance->getArticles()); + self::assertCount(0, $instance->articles); + $instance->setArticles($value); + if (!empty($value)) { + self::assertNotNull($instance->getArticles()); + self::assertNotNull($instance->articles); + foreach ($value as $key => $element) { + if (is_array($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()[$key]->toArray()); + self::assertEquals($element, $instance->articles[$key]->toArray()); + self::assertIsArray($instance->getArticles()[$key]->toArray()); + self::assertIsArray($instance->articles[$key]->toArray()); + } + if (is_object($element) && !empty($element)) { + self::assertEquals($element, $instance->getArticles()->get($key)); + self::assertIsObject($instance->getArticles()->get($key)); + self::assertIsObject($instance->articles->get($key)); + self::assertIsObject($instance->getArticles()); + self::assertIsObject($instance->articles); + } + } + self::assertCount(count($value), $instance->getArticles()); + self::assertCount(count($value), $instance->articles); + } + } + + /** + * Test invalid property "articles" + * @dataProvider invalidArticlesDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidArticles(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setArticles($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidArticlesDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_articles')); + } +}