From 6b332d11eccf99908164040cfb79c783a51cd246 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: Tue, 16 Nov 2021 14:06:55 +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=D1=8B=20=D1=83=D0=B2=D0=B5=D0=B4=D0=BE=D0=BC=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D0=A1=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=D0=BC=20=D0=B8=20=D0=92=D1=8B=D0=BF=D0=BB=D0=B0?= =?UTF-8?q?=D1=82=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + CHANGELOG.md | 3 + composer.json | 2 +- docs/classes/JsonSerializable.md | 2 +- .../YooKassa-Client-ApiClientInterface.md | 2 +- docs/classes/YooKassa-Client-BaseClient.md | 2 +- docs/classes/YooKassa-Client-CurlClient.md | 2 +- docs/classes/YooKassa-Client-UserAgent.md | 2 +- docs/classes/YooKassa-Client.md | 4 +- docs/classes/YooKassa-Common-AbstractEnum.md | 2 +- .../classes/YooKassa-Common-AbstractObject.md | 2 +- .../YooKassa-Common-AbstractPaymentRequest.md | 2 +- ...sa-Common-AbstractPaymentRequestBuilder.md | 2 +- .../YooKassa-Common-AbstractRefundRequest.md | 2 +- .../YooKassa-Common-AbstractRequest.md | 2 +- .../YooKassa-Common-AbstractRequestBuilder.md | 2 +- ...ommon-Exceptions-ApiConnectionException.md | 2 +- ...YooKassa-Common-Exceptions-ApiException.md | 2 +- ...sa-Common-Exceptions-AuthorizeException.md | 2 +- ...ommon-Exceptions-BadApiRequestException.md | 2 +- ...-Exceptions-EmptyPropertyValueException.md | 2 +- ...n-Exceptions-ExtensionNotFoundException.md | 2 +- ...sa-Common-Exceptions-ForbiddenException.md | 2 +- ...a-Common-Exceptions-InternalServerError.md | 2 +- ...mon-Exceptions-InvalidPropertyException.md | 2 +- ...xceptions-InvalidPropertyValueException.md | 2 +- ...tions-InvalidPropertyValueTypeException.md | 2 +- ...mmon-Exceptions-InvalidRequestException.md | 2 +- ...ooKassa-Common-Exceptions-JsonException.md | 2 +- ...ssa-Common-Exceptions-NotFoundException.md | 2 +- ...-Exceptions-ResponseProcessingException.md | 2 +- ...mon-Exceptions-TooManyRequestsException.md | 2 +- ...Common-Exceptions-UnauthorizedException.md | 2 +- docs/classes/YooKassa-Common-HttpVerb.md | 2 +- docs/classes/YooKassa-Common-LoggerWrapper.md | 2 +- .../classes/YooKassa-Common-ResponseObject.md | 2 +- ...assa-Helpers-Config-ConfigurationLoader.md | 2 +- ...ers-Config-ConfigurationLoaderInterface.md | 2 +- docs/classes/YooKassa-Helpers-ProductCode.md | 2 +- docs/classes/YooKassa-Helpers-Random.md | 2 +- .../YooKassa-Helpers-RawHeadersParser.md | 2 +- docs/classes/YooKassa-Helpers-StringObject.md | 2 +- docs/classes/YooKassa-Helpers-TypeCast.md | 2 +- docs/classes/YooKassa-Helpers-UUID.md | 2 +- docs/classes/YooKassa-Model-Airline.md | 2 +- .../YooKassa-Model-AirlineInterface.md | 2 +- .../classes/YooKassa-Model-AmountInterface.md | 2 +- .../YooKassa-Model-AuthorizationDetails.md | 2 +- ...ssa-Model-AuthorizationDetailsInterface.md | 2 +- docs/classes/YooKassa-Model-BaseDeal.md | 2 +- .../YooKassa-Model-CancellationDetails.md | 2 +- ...assa-Model-CancellationDetailsInterface.md | 2 +- ...assa-Model-CancellationDetailsPartyCode.md | 2 +- ...ssa-Model-CancellationDetailsReasonCode.md | 2 +- ...Model-Confirmation-AbstractConfirmation.md | 2 +- ...nfirmation-ConfirmationCodeVerification.md | 2 +- ...Model-Confirmation-ConfirmationEmbedded.md | 2 +- ...Model-Confirmation-ConfirmationExternal.md | 2 +- ...-Model-Confirmation-ConfirmationFactory.md | 2 +- ...firmation-ConfirmationMobileApplication.md | 2 +- ...Kassa-Model-Confirmation-ConfirmationQr.md | 2 +- ...Model-Confirmation-ConfirmationRedirect.md | 2 +- ...tributes-AbstractConfirmationAttributes.md | 2 +- ...-ConfirmationAttributesCodeVerification.md | 2 +- ...tributes-ConfirmationAttributesEmbedded.md | 2 +- ...tributes-ConfirmationAttributesExternal.md | 2 +- ...ttributes-ConfirmationAttributesFactory.md | 2 +- ...ConfirmationAttributesMobileApplication.md | 2 +- ...tionAttributes-ConfirmationAttributesQr.md | 2 +- ...tributes-ConfirmationAttributesRedirect.md | 2 +- .../YooKassa-Model-ConfirmationType.md | 2 +- docs/classes/YooKassa-Model-CurrencyCode.md | 2 +- .../YooKassa-Model-Deal-CaptureDealData.md | 2 +- .../YooKassa-Model-Deal-DealBalanceAmount.md | 2 +- .../classes/YooKassa-Model-Deal-DealStatus.md | 2 +- docs/classes/YooKassa-Model-Deal-DealType.md | 2 +- docs/classes/YooKassa-Model-Deal-FeeMoment.md | 2 +- .../YooKassa-Model-Deal-PaymentDealInfo.md | 2 +- .../YooKassa-Model-Deal-PayoutDealInfo.md | 2 +- .../YooKassa-Model-Deal-RefundDealData.md | 2 +- .../YooKassa-Model-Deal-RefundDealInfo.md | 2 +- ...assa-Model-Deal-SettlementPayoutPayment.md | 2 +- ...-Model-Deal-SettlementPayoutPaymentType.md | 2 +- ...Kassa-Model-Deal-SettlementPayoutRefund.md | 2 +- docs/classes/YooKassa-Model-DealInterface.md | 2 +- docs/classes/YooKassa-Model-Leg.md | 2 +- docs/classes/YooKassa-Model-LegInterface.md | 2 +- docs/classes/YooKassa-Model-Locale.md | 2 +- docs/classes/YooKassa-Model-Metadata.md | 2 +- docs/classes/YooKassa-Model-MonetaryAmount.md | 2 +- ...Model-Notification-AbstractNotification.md | 2 +- ...Model-Notification-NotificationCanceled.md | 2 +- ...del-Notification-NotificationDealClosed.md | 597 ++++++++++++++++++ ...-Model-Notification-NotificationFactory.md | 2 +- ...odel-Notification-NotificationInterface.md | 2 +- ...Notification-NotificationPayoutCanceled.md | 597 ++++++++++++++++++ ...otification-NotificationPayoutSucceeded.md | 597 ++++++++++++++++++ ...otification-NotificationRefundSucceeded.md | 2 +- ...odel-Notification-NotificationSucceeded.md | 2 +- ...ification-NotificationWaitingForCapture.md | 2 +- .../YooKassa-Model-NotificationEventType.md | 35 +- .../YooKassa-Model-NotificationType.md | 2 +- docs/classes/YooKassa-Model-Passenger.md | 2 +- .../YooKassa-Model-PassengerInterface.md | 2 +- docs/classes/YooKassa-Model-Payment.md | 2 +- ...a-Model-PaymentData-AbstractPaymentData.md | 2 +- ...-Model-PaymentData-B2b-Sberbank-VatData.md | 2 +- ...ymentData-B2b-Sberbank-VatDataInterface.md | 2 +- ...el-PaymentData-B2b-Sberbank-VatDataRate.md | 2 +- ...el-PaymentData-B2b-Sberbank-VatDataType.md | 2 +- ...a-Model-PaymentData-PaymentDataAlfabank.md | 2 +- ...a-Model-PaymentData-PaymentDataApplePay.md | 2 +- ...odel-PaymentData-PaymentDataB2bSberbank.md | 2 +- ...a-Model-PaymentData-PaymentDataBankCard.md | 2 +- ...del-PaymentData-PaymentDataBankCardCard.md | 2 +- ...Kassa-Model-PaymentData-PaymentDataCash.md | 2 +- ...sa-Model-PaymentData-PaymentDataFactory.md | 2 +- ...-Model-PaymentData-PaymentDataGooglePay.md | 2 +- ...del-PaymentData-PaymentDataInstallments.md | 2 +- ...el-PaymentData-PaymentDataMobileBalance.md | 2 +- ...Kassa-Model-PaymentData-PaymentDataQiwi.md | 2 +- ...a-Model-PaymentData-PaymentDataSberbank.md | 2 +- ...odel-PaymentData-PaymentDataTinkoffBank.md | 2 +- ...a-Model-PaymentData-PaymentDataWebmoney.md | 2 +- ...ssa-Model-PaymentData-PaymentDataWechat.md | 2 +- ...a-Model-PaymentData-PaymentDataYooMoney.md | 2 +- .../YooKassa-Model-PaymentInterface.md | 2 +- ...del-PaymentMethod-AbstractPaymentMethod.md | 2 +- ...entMethod-B2b-Sberbank-PayerBankDetails.md | 2 +- ...-B2b-Sberbank-PayerBankDetailsInterface.md | 2 +- ...assa-Model-PaymentMethod-BankCardSource.md | 2 +- ...del-PaymentMethod-PaymentMethodAlfaBank.md | 2 +- ...del-PaymentMethod-PaymentMethodApplePay.md | 2 +- ...-PaymentMethod-PaymentMethodB2bSberbank.md | 2 +- ...del-PaymentMethod-PaymentMethodBankCard.md | 2 +- ...del-PaymentMethod-PaymentMethodCardType.md | 2 +- ...a-Model-PaymentMethod-PaymentMethodCash.md | 2 +- ...odel-PaymentMethod-PaymentMethodFactory.md | 2 +- ...el-PaymentMethod-PaymentMethodGooglePay.md | 2 +- ...PaymentMethod-PaymentMethodInstallments.md | 2 +- ...aymentMethod-PaymentMethodMobileBalance.md | 2 +- ...sa-Model-PaymentMethod-PaymentMethodPsb.md | 2 +- ...a-Model-PaymentMethod-PaymentMethodQiwi.md | 2 +- ...del-PaymentMethod-PaymentMethodSberbank.md | 2 +- ...-PaymentMethod-PaymentMethodTinkoffBank.md | 2 +- ...del-PaymentMethod-PaymentMethodWebmoney.md | 2 +- ...Model-PaymentMethod-PaymentMethodWechat.md | 2 +- ...del-PaymentMethod-PaymentMethodYooMoney.md | 2 +- .../YooKassa-Model-PaymentMethodType.md | 2 +- docs/classes/YooKassa-Model-PaymentStatus.md | 2 +- ...-Model-Payout-AbstractPayoutDestination.md | 2 +- ...-Model-Payout-PayoutCancellationDetails.md | 14 +- ...yout-PayoutCancellationDetailsPartyCode.md | 2 +- ...out-PayoutCancellationDetailsReasonCode.md | 2 +- ...-Model-Payout-PayoutDestinationBankCard.md | 2 +- ...el-Payout-PayoutDestinationBankCardCard.md | 2 +- ...a-Model-Payout-PayoutDestinationFactory.md | 2 +- ...assa-Model-Payout-PayoutDestinationType.md | 6 +- ...-Model-Payout-PayoutDestinationYooMoney.md | 2 +- docs/classes/YooKassa-Model-Payout.md | 42 +- .../classes/YooKassa-Model-PayoutInterface.md | 2 +- docs/classes/YooKassa-Model-PayoutStatus.md | 2 +- .../YooKassa-Model-Receipt-AgentType.md | 2 +- .../YooKassa-Model-Receipt-PaymentMode.md | 2 +- .../YooKassa-Model-Receipt-PaymentSubject.md | 2 +- ...ooKassa-Model-Receipt-ReceiptItemAmount.md | 2 +- .../YooKassa-Model-Receipt-SettlementType.md | 2 +- docs/classes/YooKassa-Model-Receipt.md | 2 +- .../classes/YooKassa-Model-ReceiptCustomer.md | 2 +- ...YooKassa-Model-ReceiptCustomerInterface.md | 2 +- .../YooKassa-Model-ReceiptInterface.md | 2 +- docs/classes/YooKassa-Model-ReceiptItem.md | 2 +- .../YooKassa-Model-ReceiptItemInterface.md | 2 +- ...ooKassa-Model-ReceiptRegistrationStatus.md | 2 +- docs/classes/YooKassa-Model-ReceiptType.md | 2 +- docs/classes/YooKassa-Model-Recipient.md | 2 +- .../YooKassa-Model-RecipientInterface.md | 2 +- docs/classes/YooKassa-Model-Refund.md | 2 +- .../classes/YooKassa-Model-RefundInterface.md | 2 +- docs/classes/YooKassa-Model-RefundStatus.md | 2 +- docs/classes/YooKassa-Model-Requestor.md | 2 +- .../YooKassa-Model-RequestorInterface.md | 2 +- docs/classes/YooKassa-Model-SafeDeal.md | 2 +- docs/classes/YooKassa-Model-Settlement.md | 2 +- .../YooKassa-Model-SettlementInterface.md | 2 +- docs/classes/YooKassa-Model-Source.md | 2 +- .../classes/YooKassa-Model-SourceInterface.md | 2 +- docs/classes/YooKassa-Model-Supplier.md | 2 +- .../YooKassa-Model-SupplierInterface.md | 2 +- docs/classes/YooKassa-Model-Transfer.md | 2 +- .../YooKassa-Model-TransferInterface.md | 2 +- docs/classes/YooKassa-Model-TransferStatus.md | 2 +- .../classes/YooKassa-Model-Webhook-Webhook.md | 2 +- ...assa-Request-Deals-AbstractDealResponse.md | 2 +- ...ooKassa-Request-Deals-CreateDealRequest.md | 2 +- ...-Request-Deals-CreateDealRequestBuilder.md | 2 +- ...equest-Deals-CreateDealRequestInterface.md | 2 +- ...quest-Deals-CreateDealRequestSerializer.md | 2 +- ...oKassa-Request-Deals-CreateDealResponse.md | 2 +- .../YooKassa-Request-Deals-DealResponse.md | 2 +- .../YooKassa-Request-Deals-DealsRequest.md | 2 +- ...Kassa-Request-Deals-DealsRequestBuilder.md | 2 +- ...ssa-Request-Deals-DealsRequestInterface.md | 2 +- ...sa-Request-Deals-DealsRequestSerializer.md | 2 +- .../YooKassa-Request-Deals-DealsResponse.md | 2 +- ...equest-Payments-AbstractPaymentResponse.md | 2 +- ...a-Request-Payments-CreatePaymentRequest.md | 2 +- ...st-Payments-CreatePaymentRequestBuilder.md | 2 +- ...-Payments-CreatePaymentRequestInterface.md | 2 +- ...Payments-CreatePaymentRequestSerializer.md | 2 +- ...-Request-Payments-CreatePaymentResponse.md | 2 +- ...Request-Payments-Payment-CancelResponse.md | 2 +- ...t-Payments-Payment-CreateCaptureRequest.md | 2 +- ...nts-Payment-CreateCaptureRequestBuilder.md | 2 +- ...s-Payment-CreateCaptureRequestInterface.md | 2 +- ...-Payment-CreateCaptureRequestSerializer.md | 2 +- ...-Payments-Payment-CreateCaptureResponse.md | 2 +- ...oKassa-Request-Payments-PaymentResponse.md | 2 +- ...oKassa-Request-Payments-PaymentsRequest.md | 2 +- ...Request-Payments-PaymentsRequestBuilder.md | 2 +- ...quest-Payments-PaymentsRequestInterface.md | 2 +- ...uest-Payments-PaymentsRequestSerializer.md | 2 +- ...Kassa-Request-Payments-PaymentsResponse.md | 2 +- ...-Request-Payouts-AbstractPayoutResponse.md | 42 +- ...ssa-Request-Payouts-CreatePayoutRequest.md | 2 +- ...uest-Payouts-CreatePayoutRequestBuilder.md | 2 +- ...st-Payouts-CreatePayoutRequestInterface.md | 2 +- ...t-Payouts-CreatePayoutRequestSerializer.md | 2 +- ...sa-Request-Payouts-CreatePayoutResponse.md | 42 +- ...ationData-AbstractPayoutDestinationData.md | 2 +- ...ationData-PayoutDestinationDataBankCard.md | 2 +- ...nData-PayoutDestinationDataBankCardCard.md | 2 +- ...nationData-PayoutDestinationDataFactory.md | 2 +- ...ationData-PayoutDestinationDataYooMoney.md | 2 +- ...YooKassa-Request-Payouts-PayoutResponse.md | 42 +- ...equest-Receipts-AbstractReceiptResponse.md | 2 +- ...quest-Receipts-CreatePostReceiptRequest.md | 2 +- ...eceipts-CreatePostReceiptRequestBuilder.md | 2 +- ...eipts-CreatePostReceiptRequestInterface.md | 2 +- ...ipts-CreatePostReceiptRequestSerializer.md | 2 +- ...Request-Receipts-PaymentReceiptResponse.md | 2 +- ...Request-Receipts-ReceiptResponseFactory.md | 2 +- ...quest-Receipts-ReceiptResponseInterface.md | 2 +- ...sa-Request-Receipts-ReceiptResponseItem.md | 2 +- ...t-Receipts-ReceiptResponseItemInterface.md | 2 +- ...oKassa-Request-Receipts-ReceiptsRequest.md | 2 +- ...Request-Receipts-ReceiptsRequestBuilder.md | 2 +- ...quest-Receipts-ReceiptsRequestInterface.md | 2 +- ...uest-Receipts-ReceiptsRequestSerializer.md | 2 +- ...Kassa-Request-Receipts-ReceiptsResponse.md | 2 +- ...-Request-Receipts-RefundReceiptResponse.md | 2 +- ...-Request-Receipts-SimpleReceiptResponse.md | 2 +- ...-Request-Refunds-AbstractRefundResponse.md | 2 +- ...ssa-Request-Refunds-CreateRefundRequest.md | 2 +- ...uest-Refunds-CreateRefundRequestBuilder.md | 2 +- ...st-Refunds-CreateRefundRequestInterface.md | 2 +- ...t-Refunds-CreateRefundRequestSerializer.md | 2 +- ...sa-Request-Refunds-CreateRefundResponse.md | 2 +- ...YooKassa-Request-Refunds-RefundResponse.md | 2 +- ...YooKassa-Request-Refunds-RefundsRequest.md | 2 +- ...a-Request-Refunds-RefundsRequestBuilder.md | 2 +- ...Request-Refunds-RefundsRequestInterface.md | 2 +- ...equest-Refunds-RefundsRequestSerializer.md | 2 +- ...ooKassa-Request-Refunds-RefundsResponse.md | 2 +- ...ssa-Request-Webhook-WebhookListResponse.md | 2 +- docs/namespaces/default.md | 2 +- docs/namespaces/yookassa-client.md | 2 +- docs/namespaces/yookassa-common-exceptions.md | 2 +- docs/namespaces/yookassa-common.md | 2 +- docs/namespaces/yookassa-helpers-config.md | 2 +- docs/namespaces/yookassa-helpers.md | 2 +- .../namespaces/yookassa-model-confirmation.md | 2 +- .../yookassa-model-confirmationattributes.md | 2 +- docs/namespaces/yookassa-model-deal.md | 2 +- .../namespaces/yookassa-model-notification.md | 5 +- ...yookassa-model-paymentdata-b2b-sberbank.md | 2 +- .../yookassa-model-paymentdata-b2b.md | 2 +- docs/namespaces/yookassa-model-paymentdata.md | 2 +- ...okassa-model-paymentmethod-b2b-sberbank.md | 2 +- .../yookassa-model-paymentmethod-b2b.md | 2 +- .../yookassa-model-paymentmethod.md | 2 +- docs/namespaces/yookassa-model-payout.md | 4 +- docs/namespaces/yookassa-model-receipt.md | 2 +- docs/namespaces/yookassa-model-webhook.md | 2 +- docs/namespaces/yookassa-model.md | 4 +- docs/namespaces/yookassa-request-deals.md | 2 +- .../yookassa-request-payments-payment.md | 2 +- docs/namespaces/yookassa-request-payments.md | 2 +- ...a-request-payouts-payoutdestinationdata.md | 2 +- docs/namespaces/yookassa-request-payouts.md | 2 +- docs/namespaces/yookassa-request-receipts.md | 2 +- docs/namespaces/yookassa-request-refunds.md | 2 +- docs/namespaces/yookassa-request-webhook.md | 2 +- docs/namespaces/yookassa-request.md | 2 +- docs/namespaces/yookassa.md | 2 +- docs/readme.md | 2 +- docs/reports/deprecated.md | 2 +- docs/reports/errors.md | 2 +- docs/reports/markers.md | 2 +- lib/Client.php | 2 +- .../Notification/NotificationCanceled.php | 2 +- .../Notification/NotificationDealClosed.php | 107 ++++ .../Notification/NotificationFactory.php | 4 + .../NotificationPayoutCanceled.php | 107 ++++ .../NotificationPayoutSucceeded.php | 107 ++++ .../NotificationRefundSucceeded.php | 2 +- lib/Model/NotificationEventType.php | 12 + lib/Model/Payout.php | 30 +- .../Payout/PayoutCancellationDetails.php | 8 +- lib/Model/Payout/PayoutDestinationType.php | 4 +- phpdoc.xml | 2 +- .../Notification/AbstractNotificationTest.php | 2 +- .../Notification/NotificationCanceledTest.php | 2 +- .../NotificationDealClosedTest.php | 126 ++++ .../Notification/NotificationFactoryTest.php | 107 +++- .../NotificationPayoutCanceledTest.php | 127 ++++ .../NotificationPayoutSucceededTest.php | 113 ++++ .../NotificationRefundSucceededTest.php | 2 +- .../NotificationSucceededTest.php | 3 +- .../NotificationWaitingForCaptureTest.php | 3 +- tests/Model/SafeDealTest.php | 19 +- 321 files changed, 3063 insertions(+), 429 deletions(-) create mode 100644 docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md create mode 100644 docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md create mode 100644 docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md create mode 100644 lib/Model/Notification/NotificationDealClosed.php create mode 100644 lib/Model/Notification/NotificationPayoutCanceled.php create mode 100644 lib/Model/Notification/NotificationPayoutSucceeded.php create mode 100644 tests/Model/Notification/NotificationDealClosedTest.php create mode 100644 tests/Model/Notification/NotificationPayoutCanceledTest.php create mode 100644 tests/Model/Notification/NotificationPayoutSucceededTest.php diff --git a/.gitignore b/.gitignore index e0a62952..a26d59ba 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ composer.lock /build/ phpunit.xml lsp +/.php-cs-fixer.cache diff --git a/CHANGELOG.md b/CHANGELOG.md index c78e2f54..31f22382 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v2.2.2 от 16.11.2021 +* Добавлены уведомления по Сделкам и Выплатам + ### v2.2.1 от 09.11.2021 * Небольшие исправления * Поправлены тесты diff --git a/composer.json b/composer.json index 9dc1ec72..cd8e78e9 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "email": "cms@yoomoney.ru" } ], - "version": "2.2.1", + "version": "2.2.2", "require": { "php": ">=5.3.0", "ext-curl": "*", diff --git a/docs/classes/JsonSerializable.md b/docs/classes/JsonSerializable.md index e5c9ff04..4bd4e974 100644 --- a/docs/classes/JsonSerializable.md +++ b/docs/classes/JsonSerializable.md @@ -50,6 +50,6 @@ public jsonSerialize() : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-ApiClientInterface.md b/docs/classes/YooKassa-Client-ApiClientInterface.md index 1f17b15c..4916705e 100644 --- a/docs/classes/YooKassa-Client-ApiClientInterface.md +++ b/docs/classes/YooKassa-Client-ApiClientInterface.md @@ -200,6 +200,6 @@ public setConfig(array $config) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-BaseClient.md b/docs/classes/YooKassa-Client-BaseClient.md index 712418b8..5b47ea87 100644 --- a/docs/classes/YooKassa-Client-BaseClient.md +++ b/docs/classes/YooKassa-Client-BaseClient.md @@ -639,6 +639,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-CurlClient.md b/docs/classes/YooKassa-Client-CurlClient.md index 5c607133..682258a1 100644 --- a/docs/classes/YooKassa-Client-CurlClient.md +++ b/docs/classes/YooKassa-Client-CurlClient.md @@ -495,6 +495,6 @@ public setTimeout(int $timeout) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-UserAgent.md b/docs/classes/YooKassa-Client-UserAgent.md index 3ce3500b..11b9c498 100644 --- a/docs/classes/YooKassa-Client-UserAgent.md +++ b/docs/classes/YooKassa-Client-UserAgent.md @@ -316,6 +316,6 @@ public setModule(string $name, string $version) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client.md b/docs/classes/YooKassa-Client.md index e1253765..2ef0a7fd 100644 --- a/docs/classes/YooKassa-Client.md +++ b/docs/classes/YooKassa-Client.md @@ -234,7 +234,7 @@ DEFAULT_ATTEMPTS_COUNT = 3 Текущая версия библиотеки ```php -SDK_VERSION = '2.2.1' +SDK_VERSION = '2.2.2' ``` @@ -2140,6 +2140,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractEnum.md b/docs/classes/YooKassa-Common-AbstractEnum.md index 3490c720..b80c261b 100644 --- a/docs/classes/YooKassa-Common-AbstractEnum.md +++ b/docs/classes/YooKassa-Common-AbstractEnum.md @@ -118,6 +118,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractObject.md b/docs/classes/YooKassa-Common-AbstractObject.md index 8e882b3c..e70df294 100644 --- a/docs/classes/YooKassa-Common-AbstractObject.md +++ b/docs/classes/YooKassa-Common-AbstractObject.md @@ -332,6 +332,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractPaymentRequest.md b/docs/classes/YooKassa-Common-AbstractPaymentRequest.md index c478a8a1..e356334a 100644 --- a/docs/classes/YooKassa-Common-AbstractPaymentRequest.md +++ b/docs/classes/YooKassa-Common-AbstractPaymentRequest.md @@ -666,6 +666,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractPaymentRequestBuilder.md b/docs/classes/YooKassa-Common-AbstractPaymentRequestBuilder.md index a0b28c84..aeb468e4 100644 --- a/docs/classes/YooKassa-Common-AbstractPaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Common-AbstractPaymentRequestBuilder.md @@ -462,6 +462,6 @@ protected initCurrentObject() : self --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRefundRequest.md b/docs/classes/YooKassa-Common-AbstractRefundRequest.md index 47cedb20..3fbd34d6 100644 --- a/docs/classes/YooKassa-Common-AbstractRefundRequest.md +++ b/docs/classes/YooKassa-Common-AbstractRefundRequest.md @@ -637,6 +637,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequest.md b/docs/classes/YooKassa-Common-AbstractRequest.md index 0e6cf989..ce8b7f11 100644 --- a/docs/classes/YooKassa-Common-AbstractRequest.md +++ b/docs/classes/YooKassa-Common-AbstractRequest.md @@ -407,6 +407,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md index 6985feea..f8ad5d70 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md +++ b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md @@ -157,6 +157,6 @@ Abstract protected initCurrentObject() : \YooKassa\Common\AbstractRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 954a41fc..27c03308 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md @@ -126,6 +126,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 dffe3d1a..932748c3 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiException.md @@ -123,6 +123,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d316659f..50807578 100644 --- a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md @@ -126,6 +126,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2bac04a8..d26f57ce 100644 --- a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md @@ -152,6 +152,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 392b3303..33801b5f 100644 --- a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md @@ -79,6 +79,6 @@ public getProperty() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 03c55193..a5de197c 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md @@ -67,6 +67,6 @@ Constructor --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 7c69a1c1..39b7d953 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md @@ -152,6 +152,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 c2eba7df..f8f8c3e6 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md +++ b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md @@ -155,6 +155,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 1ad74da5..3caf30cd 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md @@ -78,6 +78,6 @@ public getProperty() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2191306c..53322d17 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md @@ -94,6 +94,6 @@ public getValue() : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 cded7f10..5d8fa869 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md @@ -94,6 +94,6 @@ public getType() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 5e31dcc3..ce8525d4 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md @@ -78,6 +78,6 @@ public getRequestObject() : \YooKassa\Common\AbstractRequest|null --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 25a6f8fb..20a96aa2 100644 --- a/docs/classes/YooKassa-Common-Exceptions-JsonException.md +++ b/docs/classes/YooKassa-Common-Exceptions-JsonException.md @@ -76,6 +76,6 @@ public __construct(mixed $message = "", mixed $code, mixed $previous = --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 9d1c86da..2b5fae9e 100644 --- a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md @@ -152,6 +152,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d73cc724..2eb15d10 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md @@ -152,6 +152,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 8c26ab83..a5dcfb3f 100644 --- a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md +++ b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md @@ -152,6 +152,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 9d4042e7..e70b1b61 100644 --- a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md +++ b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md @@ -155,6 +155,6 @@ public getResponseHeaders() : string[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-HttpVerb.md b/docs/classes/YooKassa-Common-HttpVerb.md index eede04af..7535fed3 100644 --- a/docs/classes/YooKassa-Common-HttpVerb.md +++ b/docs/classes/YooKassa-Common-HttpVerb.md @@ -179,6 +179,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-LoggerWrapper.md b/docs/classes/YooKassa-Common-LoggerWrapper.md index 1a83ba4a..0fd212f6 100644 --- a/docs/classes/YooKassa-Common-LoggerWrapper.md +++ b/docs/classes/YooKassa-Common-LoggerWrapper.md @@ -299,6 +299,6 @@ that are not necessarily wrong. --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ResponseObject.md b/docs/classes/YooKassa-Common-ResponseObject.md index 4b2fee21..49af50b7 100644 --- a/docs/classes/YooKassa-Common-ResponseObject.md +++ b/docs/classes/YooKassa-Common-ResponseObject.md @@ -162,6 +162,6 @@ public getHeaders() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 02404476..460b82c3 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md @@ -73,6 +73,6 @@ public load(mixed $filePath = null) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 422d112b..dd33aca8 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md @@ -64,6 +64,6 @@ public load() : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-ProductCode.md b/docs/classes/YooKassa-Helpers-ProductCode.md index 980f3422..4a9a94aa 100644 --- a/docs/classes/YooKassa-Helpers-ProductCode.md +++ b/docs/classes/YooKassa-Helpers-ProductCode.md @@ -344,6 +344,6 @@ public validate() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Random.md b/docs/classes/YooKassa-Helpers-Random.md index d45d1b52..91a015e1 100644 --- a/docs/classes/YooKassa-Helpers-Random.md +++ b/docs/classes/YooKassa-Helpers-Random.md @@ -243,6 +243,6 @@ Static public value(array $values, bool $useBest = true) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-RawHeadersParser.md b/docs/classes/YooKassa-Helpers-RawHeadersParser.md index e0e50db5..0d6b822c 100644 --- a/docs/classes/YooKassa-Helpers-RawHeadersParser.md +++ b/docs/classes/YooKassa-Helpers-RawHeadersParser.md @@ -57,6 +57,6 @@ Static public parse(mixed $rawHeaders) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-StringObject.md b/docs/classes/YooKassa-Helpers-StringObject.md index 7d0f7af2..33ded408 100644 --- a/docs/classes/YooKassa-Helpers-StringObject.md +++ b/docs/classes/YooKassa-Helpers-StringObject.md @@ -83,6 +83,6 @@ public __toString() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-TypeCast.md b/docs/classes/YooKassa-Helpers-TypeCast.md index 42fe7be0..ef0ade4c 100644 --- a/docs/classes/YooKassa-Helpers-TypeCast.md +++ b/docs/classes/YooKassa-Helpers-TypeCast.md @@ -162,6 +162,6 @@ Static public castToDateTime(string|int|\DateTime $value) : \DateTime|null --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-UUID.md b/docs/classes/YooKassa-Helpers-UUID.md index afcea2d2..6ee2a419 100644 --- a/docs/classes/YooKassa-Helpers-UUID.md +++ b/docs/classes/YooKassa-Helpers-UUID.md @@ -57,6 +57,6 @@ Static public v4() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Airline.md b/docs/classes/YooKassa-Model-Airline.md index 5a886038..ae64d30f 100644 --- a/docs/classes/YooKassa-Model-Airline.md +++ b/docs/classes/YooKassa-Model-Airline.md @@ -666,6 +666,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AirlineInterface.md b/docs/classes/YooKassa-Model-AirlineInterface.md index 5ad43603..a773444f 100644 --- a/docs/classes/YooKassa-Model-AirlineInterface.md +++ b/docs/classes/YooKassa-Model-AirlineInterface.md @@ -108,6 +108,6 @@ public getLegs() : \YooKassa\Model\LegInterface[] --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AmountInterface.md b/docs/classes/YooKassa-Model-AmountInterface.md index c629b635..ba1934c9 100644 --- a/docs/classes/YooKassa-Model-AmountInterface.md +++ b/docs/classes/YooKassa-Model-AmountInterface.md @@ -147,6 +147,6 @@ public setCurrency(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AuthorizationDetails.md b/docs/classes/YooKassa-Model-AuthorizationDetails.md index c1bbb34e..46724c97 100644 --- a/docs/classes/YooKassa-Model-AuthorizationDetails.md +++ b/docs/classes/YooKassa-Model-AuthorizationDetails.md @@ -448,6 +448,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AuthorizationDetailsInterface.md b/docs/classes/YooKassa-Model-AuthorizationDetailsInterface.md index d11fea73..e21800e1 100644 --- a/docs/classes/YooKassa-Model-AuthorizationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-AuthorizationDetailsInterface.md @@ -83,6 +83,6 @@ public getAuthCode() : string|null --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-BaseDeal.md b/docs/classes/YooKassa-Model-BaseDeal.md index 1288485c..4ddceb47 100644 --- a/docs/classes/YooKassa-Model-BaseDeal.md +++ b/docs/classes/YooKassa-Model-BaseDeal.md @@ -371,6 +371,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetails.md b/docs/classes/YooKassa-Model-CancellationDetails.md index 9a2aba8f..74975684 100644 --- a/docs/classes/YooKassa-Model-CancellationDetails.md +++ b/docs/classes/YooKassa-Model-CancellationDetails.md @@ -449,6 +449,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md index 31c7cf33..1241c1a0 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md @@ -83,6 +83,6 @@ public getReason() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-CancellationDetailsPartyCode.md index 126ae045..d2dd56c3 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsPartyCode.md @@ -153,6 +153,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-CancellationDetailsReasonCode.md index 7c7aba14..e7d1de60 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsReasonCode.md @@ -330,6 +330,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-AbstractConfirmation.md b/docs/classes/YooKassa-Model-Confirmation-AbstractConfirmation.md index ac78a7e8..83a7018f 100644 --- a/docs/classes/YooKassa-Model-Confirmation-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Model-Confirmation-AbstractConfirmation.md @@ -442,6 +442,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationCodeVerification.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationCodeVerification.md index 32d19abd..c78ce55d 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationCodeVerification.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationCodeVerification.md @@ -435,6 +435,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationEmbedded.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationEmbedded.md index 204acc74..3b36a14e 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationEmbedded.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationEmbedded.md @@ -481,6 +481,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationExternal.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationExternal.md index d9c87d36..bb53e69c 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationExternal.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationExternal.md @@ -436,6 +436,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationFactory.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationFactory.md index f55f0ca6..682c80ac 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationFactory.md @@ -89,6 +89,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationMobileApplication.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationMobileApplication.md index 273a4296..4110aed1 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationMobileApplication.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationMobileApplication.md @@ -559,6 +559,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationQr.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationQr.md index f16f3ca4..c334afe9 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationQr.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationQr.md @@ -494,6 +494,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Confirmation-ConfirmationRedirect.md b/docs/classes/YooKassa-Model-Confirmation-ConfirmationRedirect.md index 1de3c26b..1c582ccc 100644 --- a/docs/classes/YooKassa-Model-Confirmation-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-Confirmation-ConfirmationRedirect.md @@ -602,6 +602,6 @@ protected setType(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-AbstractConfirmationAttributes.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-AbstractConfirmationAttributes.md index 2181e05d..6c08d721 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-AbstractConfirmationAttributes.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-AbstractConfirmationAttributes.md @@ -413,6 +413,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesCodeVerification.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesCodeVerification.md index 550ef2c1..4c9ab8d8 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesCodeVerification.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesCodeVerification.md @@ -406,6 +406,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesEmbedded.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesEmbedded.md index 77409e87..3d1c2910 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesEmbedded.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesEmbedded.md @@ -406,6 +406,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesExternal.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesExternal.md index acbb4345..178bdd99 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesExternal.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesExternal.md @@ -407,6 +407,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesFactory.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesFactory.md index 15ed8b36..87838b9d 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesFactory.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesFactory.md @@ -81,6 +81,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md index 8e5c6e0c..28af9e72 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md @@ -470,6 +470,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesQr.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesQr.md index c3c843ec..ae1ba1a4 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesQr.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesQr.md @@ -406,6 +406,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesRedirect.md b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesRedirect.md index 01a9ec56..05484e65 100644 --- a/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesRedirect.md +++ b/docs/classes/YooKassa-Model-ConfirmationAttributes-ConfirmationAttributesRedirect.md @@ -513,6 +513,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ConfirmationType.md b/docs/classes/YooKassa-Model-ConfirmationType.md index 7d623b9e..5120b102 100644 --- a/docs/classes/YooKassa-Model-ConfirmationType.md +++ b/docs/classes/YooKassa-Model-ConfirmationType.md @@ -179,6 +179,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CurrencyCode.md b/docs/classes/YooKassa-Model-CurrencyCode.md index c8c6e8a1..88e1aa40 100644 --- a/docs/classes/YooKassa-Model-CurrencyCode.md +++ b/docs/classes/YooKassa-Model-CurrencyCode.md @@ -193,6 +193,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 a0d5135d..0543384a 100644 --- a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md +++ b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md @@ -415,6 +415,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 f534e65b..30068f1b 100644 --- a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md +++ b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md @@ -481,6 +481,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 e0a8ddaa..64e56c94 100644 --- a/docs/classes/YooKassa-Model-Deal-DealStatus.md +++ b/docs/classes/YooKassa-Model-Deal-DealStatus.md @@ -144,6 +144,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4d4769a5..6913e615 100644 --- a/docs/classes/YooKassa-Model-Deal-DealType.md +++ b/docs/classes/YooKassa-Model-Deal-DealType.md @@ -133,6 +133,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 feb3dc28..52c89e80 100644 --- a/docs/classes/YooKassa-Model-Deal-FeeMoment.md +++ b/docs/classes/YooKassa-Model-Deal-FeeMoment.md @@ -143,6 +143,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 0c8074c7..c673843a 100644 --- a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md @@ -469,6 +469,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 be70ed26..a13a74fa 100644 --- a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md @@ -392,6 +392,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 007d7f36..995f2ca2 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealData.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealData.md @@ -428,6 +428,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4f4ead32..304c4173 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md @@ -482,6 +482,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 692e209a..7835d922 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md @@ -448,6 +448,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 f7189d57..96d3c029 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md @@ -131,6 +131,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 fd7d9b2f..8f20a32f 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md @@ -452,6 +452,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-DealInterface.md b/docs/classes/YooKassa-Model-DealInterface.md index 004c5b10..b17fcb0c 100644 --- a/docs/classes/YooKassa-Model-DealInterface.md +++ b/docs/classes/YooKassa-Model-DealInterface.md @@ -258,6 +258,6 @@ public getTest() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Leg.md b/docs/classes/YooKassa-Model-Leg.md index 8c77b652..392e85b3 100644 --- a/docs/classes/YooKassa-Model-Leg.md +++ b/docs/classes/YooKassa-Model-Leg.md @@ -584,6 +584,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-LegInterface.md b/docs/classes/YooKassa-Model-LegInterface.md index 6c95f335..e7e5127d 100644 --- a/docs/classes/YooKassa-Model-LegInterface.md +++ b/docs/classes/YooKassa-Model-LegInterface.md @@ -159,6 +159,6 @@ public setDepartureDate(\DateTime|string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Locale.md b/docs/classes/YooKassa-Model-Locale.md index 37314c4e..eb3af85b 100644 --- a/docs/classes/YooKassa-Model-Locale.md +++ b/docs/classes/YooKassa-Model-Locale.md @@ -143,6 +143,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Metadata.md b/docs/classes/YooKassa-Model-Metadata.md index 9821bf58..ea547efd 100644 --- a/docs/classes/YooKassa-Model-Metadata.md +++ b/docs/classes/YooKassa-Model-Metadata.md @@ -377,6 +377,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-MonetaryAmount.md b/docs/classes/YooKassa-Model-MonetaryAmount.md index 3b665618..2df62a70 100644 --- a/docs/classes/YooKassa-Model-MonetaryAmount.md +++ b/docs/classes/YooKassa-Model-MonetaryAmount.md @@ -541,6 +541,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d098f812..2699c744 100644 --- a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md +++ b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md @@ -567,6 +567,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4a533f2e..ded85588 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md @@ -592,6 +592,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 new file mode 100644 index 00000000..1eb5b5c7 --- /dev/null +++ b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md @@ -0,0 +1,597 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Notification\NotificationDealClosed +### Namespace: [\YooKassa\Model\Notification](../namespaces/yookassa-model-notification.md) +--- +**Summary:** + +Класс объекта, присылаемого API при изменении статуса сделки на "closed" + + +--- +### Examples +Пример скрипта обработки уведомления + +```php +require_once '../vendor/autoload.php'; + +try { + $source = file_get_contents('php://input'); + $data = json_decode($source, true); + + $factory = new \YooKassa\Model\Notification\NotificationFactory(); + $notificationObject = $factory->factory($data); + $responseObject = $notificationObject->getObject(); + + if ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_SUCCEEDED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_WAITING_FOR_CAPTURE) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_CANCELED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::REFUND_SUCCEEDED) { + $someData = array( + 'refundId' => $responseObject->getId(), + 'refundStatus' => $responseObject->getStatus(), + 'paymentId' => $responseObject->getPaymentId(), + ); + // ... + // Специфичная логика + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + + // Специфичная логика + // ... + + $client = new \YooKassa\Client(); + $client->setAuth('xxxxxx', 'test_XXXXXXX'); + + // Получим актуальную информацию о платеже + if ($paymentInfo = $client->getPaymentInfo($someData['paymentId'])) { + $paymentStatus = $paymentInfo->getStatus(); + // Специфичная логика + // ... + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + +} catch (Exception $e) { + header('HTTP/1.1 400 Something went wrong'); + exit(); +} + + +``` + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$event](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_event) | | Тип события | +| public | [$object](../classes/YooKassa-Model-Notification-NotificationDealClosed.md#property_object) | | Объект с информацией о сделке | +| public | [$type](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_type) | | Тип уведомления в виде строки | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-Notification-NotificationDealClosed.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 | [getEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getEvent) | | Возвращает тип события | +| public | [getObject()](../classes/YooKassa-Model-Notification-NotificationDealClosed.md#method_getObject) | | Возвращает объект с информацией о сделке, уведомление о которой хранится в текущем объекте | +| public | [getType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getType) | | Возвращает тип уведомления | +| 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 | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | +| protected | [_setEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setEvent) | | Устанавливает тип события | +| protected | [_setType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setType) | | Устанавливает тип уведомления | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | + +--- +### Details +* File: [lib/Model/Notification/NotificationDealClosed.php](../../lib/Model/Notification/NotificationDealClosed.php) +* Package: YooKassa +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + * \YooKassa\Model\Notification\NotificationDealClosed + +--- +## Properties + +#### public $event : string +--- +***Description*** + +Тип события + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +#### public $object : \YooKassa\Model\DealInterface +--- +***Description*** + +Объект с информацией о сделке + +**Type:** DealInterface + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Тип уведомления в виде строки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array $source) : mixed +``` + +**Summary** + +Конструктор объекта нотификации + +**Description** + +Инициализирует текущий объект из ассоциативного массива, который просто путём JSON десериализации получен из +тела пришедшего запроса. При конструировании проверяется валидность типа передаваемого уведомления, если +передать уведомление не того типа, будет сгенерировано исключение типа {@link} + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationDealClosed](../classes/YooKassa-Model-Notification-NotificationDealClosed.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | source | Ассоциативный массив с информацией об уведомлении | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException|\Exception | Генерируется если значение типа нотификации или события не равны "notification" и "deal.closed" соответственно, что может говорить о том, что переданные в конструктор данные не являются уведомлением нужного типа. | + +**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() : mixed + +```php +public __set(string $propertyName, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public __unset() : mixed + +```php +public __unset(string $propertyName) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### public fromArray() : mixed + +```php +public fromArray(array|\Traversable $sourceArray) : mixed +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** mixed - + + + +#### public getEvent() : string + +```php +public getEvent() : string +``` + +**Summary** + +Возвращает тип события + +**Description** + +Тип события - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип события + + + +#### public getObject() : \YooKassa\Model\DealInterface + +```php +public getObject() : \YooKassa\Model\DealInterface +``` + +**Summary** + +Возвращает объект с информацией о сделке, уведомление о которой хранится в текущем объекте + +**Description** + +Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет +получена на сайте, то опираться на статус пришедшей сделки не стоит, лучше запросить текущую информацию о +сделке у API. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationDealClosed](../classes/YooKassa-Model-Notification-NotificationDealClosed.md) + +**Returns:** \YooKassa\Model\DealInterface - Объект с информацией о сделке + + + +#### public getType() : string + +```php +public getType() : string +``` + +**Summary** + +Возвращает тип уведомления + +**Description** + +Тип уведомления - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип уведомления в виде строки + + + +#### 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() : mixed + +```php +public offsetSet(string $offset, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public offsetUnset() : mixed + +```php +public offsetUnset(string $offset) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### 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 _setEvent() : mixed + +```php +protected _setEvent(string $value) : mixed +``` + +**Summary** + +Устанавливает тип события + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип события | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов событий | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected _setType() : mixed + +```php +protected _setType(string $value) : mixed +``` + +**Summary** + +Устанавливает тип уведомления + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип уведомления | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов нотификаций | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 13](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) + +© 2021 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 18e96584..07444c09 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md @@ -134,6 +134,6 @@ public factory(array $data) : \YooKassa\Model\Notification\AbstractNotification --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 b3668e5d..00242749 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md @@ -104,6 +104,6 @@ public getObject() : \YooKassa\Model\PaymentInterface|\YooKassa\Model\RefundInte --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 new file mode 100644 index 00000000..fb23d5de --- /dev/null +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md @@ -0,0 +1,597 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Notification\NotificationPayoutCanceled +### Namespace: [\YooKassa\Model\Notification](../namespaces/yookassa-model-notification.md) +--- +**Summary:** + +Класс объекта, присылаемого API при изменении статуса выплаты на "canceled" + + +--- +### Examples +Пример скрипта обработки уведомления + +```php +require_once '../vendor/autoload.php'; + +try { + $source = file_get_contents('php://input'); + $data = json_decode($source, true); + + $factory = new \YooKassa\Model\Notification\NotificationFactory(); + $notificationObject = $factory->factory($data); + $responseObject = $notificationObject->getObject(); + + if ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_SUCCEEDED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_WAITING_FOR_CAPTURE) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_CANCELED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::REFUND_SUCCEEDED) { + $someData = array( + 'refundId' => $responseObject->getId(), + 'refundStatus' => $responseObject->getStatus(), + 'paymentId' => $responseObject->getPaymentId(), + ); + // ... + // Специфичная логика + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + + // Специфичная логика + // ... + + $client = new \YooKassa\Client(); + $client->setAuth('xxxxxx', 'test_XXXXXXX'); + + // Получим актуальную информацию о платеже + if ($paymentInfo = $client->getPaymentInfo($someData['paymentId'])) { + $paymentStatus = $paymentInfo->getStatus(); + // Специфичная логика + // ... + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + +} catch (Exception $e) { + header('HTTP/1.1 400 Something went wrong'); + exit(); +} + + +``` + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$event](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_event) | | Тип события | +| public | [$object](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md#property_object) | | Объект с информацией о выплате | +| public | [$type](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_type) | | Тип уведомления в виде строки | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.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 | [getEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getEvent) | | Возвращает тип события | +| public | [getObject()](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md#method_getObject) | | Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте | +| public | [getType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getType) | | Возвращает тип уведомления | +| 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 | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | +| protected | [_setEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setEvent) | | Устанавливает тип события | +| protected | [_setType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setType) | | Устанавливает тип уведомления | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | + +--- +### Details +* File: [lib/Model/Notification/NotificationPayoutCanceled.php](../../lib/Model/Notification/NotificationPayoutCanceled.php) +* Package: YooKassa +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + * \YooKassa\Model\Notification\NotificationPayoutCanceled + +--- +## Properties + +#### public $event : string +--- +***Description*** + +Тип события + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +#### public $object : \YooKassa\Model\PayoutInterface +--- +***Description*** + +Объект с информацией о выплате + +**Type:** PayoutInterface + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Тип уведомления в виде строки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array $source) : mixed +``` + +**Summary** + +Конструктор объекта нотификации + +**Description** + +Инициализирует текущий объект из ассоциативного массива, который просто путём JSON десериализации получен из +тела пришедшего запроса. При конструировании проверяется валидность типа передаваемого уведомления, если +передать уведомление не того типа, будет сгенерировано исключение типа {@link} + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationPayoutCanceled](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | source | Ассоциативный массив с информацией об уведомлении | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException|\Exception | Генерируется если значение типа нотификации или события не равны "notification" и "payout.canceled" соответственно, что может говорить о том, что переданные в конструктор данные не являются уведомлением нужного типа. | + +**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() : mixed + +```php +public __set(string $propertyName, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public __unset() : mixed + +```php +public __unset(string $propertyName) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### public fromArray() : mixed + +```php +public fromArray(array|\Traversable $sourceArray) : mixed +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** mixed - + + + +#### public getEvent() : string + +```php +public getEvent() : string +``` + +**Summary** + +Возвращает тип события + +**Description** + +Тип события - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип события + + + +#### public getObject() : \YooKassa\Model\PayoutInterface + +```php +public getObject() : \YooKassa\Model\PayoutInterface +``` + +**Summary** + +Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте + +**Description** + +Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет +получена на сайте, то опираться на статус пришедшей выплаты не стоит, лучше запросить текущую информацию о +выплате у API. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationPayoutCanceled](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md) + +**Returns:** \YooKassa\Model\PayoutInterface - Объект с информацией о выплате + + + +#### public getType() : string + +```php +public getType() : string +``` + +**Summary** + +Возвращает тип уведомления + +**Description** + +Тип уведомления - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип уведомления в виде строки + + + +#### 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() : mixed + +```php +public offsetSet(string $offset, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public offsetUnset() : mixed + +```php +public offsetUnset(string $offset) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### 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 _setEvent() : mixed + +```php +protected _setEvent(string $value) : mixed +``` + +**Summary** + +Устанавливает тип события + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип события | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов событий | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected _setType() : mixed + +```php +protected _setType(string $value) : mixed +``` + +**Summary** + +Устанавливает тип уведомления + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип уведомления | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов нотификаций | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 13](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) + +© 2021 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 new file mode 100644 index 00000000..3210fc7a --- /dev/null +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md @@ -0,0 +1,597 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Notification\NotificationPayoutSucceeded +### Namespace: [\YooKassa\Model\Notification](../namespaces/yookassa-model-notification.md) +--- +**Summary:** + +Класс объекта, присылаемого API при изменении статуса выплаты на "succeeded" + + +--- +### Examples +Пример скрипта обработки уведомления + +```php +require_once '../vendor/autoload.php'; + +try { + $source = file_get_contents('php://input'); + $data = json_decode($source, true); + + $factory = new \YooKassa\Model\Notification\NotificationFactory(); + $notificationObject = $factory->factory($data); + $responseObject = $notificationObject->getObject(); + + if ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_SUCCEEDED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_WAITING_FOR_CAPTURE) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::PAYMENT_CANCELED) { + $someData = array( + 'paymentId' => $responseObject->getId(), + 'paymentStatus' => $responseObject->getStatus(), + ); + // Специфичная логика + // ... + } elseif ($notificationObject->getEvent() === \YooKassa\Model\NotificationEventType::REFUND_SUCCEEDED) { + $someData = array( + 'refundId' => $responseObject->getId(), + 'refundStatus' => $responseObject->getStatus(), + 'paymentId' => $responseObject->getPaymentId(), + ); + // ... + // Специфичная логика + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + + // Специфичная логика + // ... + + $client = new \YooKassa\Client(); + $client->setAuth('xxxxxx', 'test_XXXXXXX'); + + // Получим актуальную информацию о платеже + if ($paymentInfo = $client->getPaymentInfo($someData['paymentId'])) { + $paymentStatus = $paymentInfo->getStatus(); + // Специфичная логика + // ... + } else { + header('HTTP/1.1 400 Something went wrong'); + exit(); + } + +} catch (Exception $e) { + header('HTTP/1.1 400 Something went wrong'); + exit(); +} + + +``` + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$event](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_event) | | Тип события | +| public | [$object](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md#property_object) | | Объект с информацией о выплате | +| public | [$type](../classes/YooKassa-Model-Notification-AbstractNotification.md#property_type) | | Тип уведомления в виде строки | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.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 | [getEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getEvent) | | Возвращает тип события | +| public | [getObject()](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md#method_getObject) | | Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте | +| public | [getType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method_getType) | | Возвращает тип уведомления | +| 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 | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | +| protected | [_setEvent()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setEvent) | | Устанавливает тип события | +| protected | [_setType()](../classes/YooKassa-Model-Notification-AbstractNotification.md#method__setType) | | Устанавливает тип уведомления | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | + +--- +### Details +* File: [lib/Model/Notification/NotificationPayoutSucceeded.php](../../lib/Model/Notification/NotificationPayoutSucceeded.php) +* Package: YooKassa +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + * \YooKassa\Model\Notification\NotificationPayoutSucceeded + +--- +## Properties + +#### public $event : string +--- +***Description*** + +Тип события + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +#### public $object : \YooKassa\Model\PayoutInterface +--- +***Description*** + +Объект с информацией о выплате + +**Type:** PayoutInterface + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Тип уведомления в виде строки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array $source) : mixed +``` + +**Summary** + +Конструктор объекта нотификации + +**Description** + +Инициализирует текущий объект из ассоциативного массива, который просто путём JSON десериализации получен из +тела пришедшего запроса. При конструировании проверяется валидность типа передаваемого уведомления, если +передать уведомление не того типа, будет сгенерировано исключение типа {@link} + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationPayoutSucceeded](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | source | Ассоциативный массив с информацией об уведомлении | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException|\Exception | Генерируется если значение типа нотификации или события не равны "notification" и "payout.succeeded" соответственно, что может говорить о том, что переданные в конструктор данные не являются уведомлением нужного типа. | + +**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() : mixed + +```php +public __set(string $propertyName, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public __unset() : mixed + +```php +public __unset(string $propertyName) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### public fromArray() : mixed + +```php +public fromArray(array|\Traversable $sourceArray) : mixed +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** mixed - + + + +#### public getEvent() : string + +```php +public getEvent() : string +``` + +**Summary** + +Возвращает тип события + +**Description** + +Тип события - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип события + + + +#### public getObject() : \YooKassa\Model\PayoutInterface + +```php +public getObject() : \YooKassa\Model\PayoutInterface +``` + +**Summary** + +Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте + +**Description** + +Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет +получена на сайте, то опираться на статус пришедшей выплаты не стоит, лучше запросить текущую информацию о +выплате у API. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\NotificationPayoutSucceeded](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md) + +**Returns:** \YooKassa\Model\PayoutInterface - Объект с информацией о выплате + + + +#### public getType() : string + +```php +public getType() : string +``` + +**Summary** + +Возвращает тип уведомления + +**Description** + +Тип уведомления - одна из констант, указанных в перечислении {@link}. + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +**Returns:** string - Тип уведомления в виде строки + + + +#### 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() : mixed + +```php +public offsetSet(string $offset, mixed $value) : mixed +``` + +**Summary** + +Устанавливает значение свойства + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** mixed - + + + +#### public offsetUnset() : mixed + +```php +public offsetUnset(string $offset) : mixed +``` + +**Summary** + +Удаляет свойство + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** mixed - + + + +#### 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 _setEvent() : mixed + +```php +protected _setEvent(string $value) : mixed +``` + +**Summary** + +Устанавливает тип события + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип события | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов событий | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected _setType() : mixed + +```php +protected _setType(string $value) : mixed +``` + +**Summary** + +Устанавливает тип уведомления + +**Details:** +* Inherited From: [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Тип уведомления | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\EmptyPropertyValueException | Выбрасывается если в качестве значения было передано пустое значение | +| \YooKassa\Common\Exceptions\InvalidPropertyValueException | Выбрасывается если переданное значение не найдено в перечислении типов нотификаций | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | Выбрасывается если переданное значение не является строкой | + +**Returns:** mixed - + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 13](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) + +© 2021 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 e6bb40f1..4e26e149 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md @@ -592,6 +592,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 82ddeb81..74ff5325 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md @@ -592,6 +592,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 9cabf0c8..19a7d26f 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md @@ -597,6 +597,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-NotificationEventType.md b/docs/classes/YooKassa-Model-NotificationEventType.md index b183237a..138c01ee 100644 --- a/docs/classes/YooKassa-Model-NotificationEventType.md +++ b/docs/classes/YooKassa-Model-NotificationEventType.md @@ -12,6 +12,9 @@ NotificationEventType - Тип уведомления |payment.succeeded|Успешно оплачен и подтвержден магазином| |payment.canceled|Неуспех оплаты или отменен магазином| |refund.succeeded|Успешный возврат| +|deal.closed|Сделка перешла в статус closed| +|payout.canceled|Выплата перешла в статус canceled| +|payout.succeeded|Выплата перешла в статус succeeded| --- @@ -22,6 +25,9 @@ NotificationEventType - Тип уведомления | public | [PAYMENT_SUCCEEDED](../classes/YooKassa-Model-NotificationEventType.md#constant_PAYMENT_SUCCEEDED) | | Успешно оплачен и подтвержден магазином | | public | [PAYMENT_CANCELED](../classes/YooKassa-Model-NotificationEventType.md#constant_PAYMENT_CANCELED) | | Неуспех оплаты или отменен магазином | | public | [REFUND_SUCCEEDED](../classes/YooKassa-Model-NotificationEventType.md#constant_REFUND_SUCCEEDED) | | Успешный возврат | +| public | [DEAL_CLOSED](../classes/YooKassa-Model-NotificationEventType.md#constant_DEAL_CLOSED) | | Сделка перешла в статус closed | +| public | [PAYOUT_CANCELED](../classes/YooKassa-Model-NotificationEventType.md#constant_PAYOUT_CANCELED) | | Выплата перешла в статус canceled | +| public | [PAYOUT_SUCCEEDED](../classes/YooKassa-Model-NotificationEventType.md#constant_PAYOUT_SUCCEEDED) | | Выплата перешла в статус succeeded | --- ### Properties @@ -83,6 +89,33 @@ REFUND_SUCCEEDED = 'refund.succeeded' ``` + +###### DEAL_CLOSED +Сделка перешла в статус closed + +```php +DEAL_CLOSED = 'deal.closed' +``` + + + +###### PAYOUT_CANCELED +Выплата перешла в статус canceled + +```php +PAYOUT_CANCELED = 'payout.canceled' +``` + + + +###### PAYOUT_SUCCEEDED +Выплата перешла в статус succeeded + +```php +PAYOUT_SUCCEEDED = 'payout.succeeded' +``` + + --- ## Properties @@ -169,6 +202,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-NotificationType.md b/docs/classes/YooKassa-Model-NotificationType.md index 40a05a3b..fd04725b 100644 --- a/docs/classes/YooKassa-Model-NotificationType.md +++ b/docs/classes/YooKassa-Model-NotificationType.md @@ -131,6 +131,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Passenger.md b/docs/classes/YooKassa-Model-Passenger.md index 49cf636d..0fc8d992 100644 --- a/docs/classes/YooKassa-Model-Passenger.md +++ b/docs/classes/YooKassa-Model-Passenger.md @@ -490,6 +490,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PassengerInterface.md b/docs/classes/YooKassa-Model-PassengerInterface.md index 64e5f3ff..a301c23e 100644 --- a/docs/classes/YooKassa-Model-PassengerInterface.md +++ b/docs/classes/YooKassa-Model-PassengerInterface.md @@ -118,6 +118,6 @@ public setLastName(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment.md b/docs/classes/YooKassa-Model-Payment.md index 17295c7a..1610f8dc 100644 --- a/docs/classes/YooKassa-Model-Payment.md +++ b/docs/classes/YooKassa-Model-Payment.md @@ -1808,6 +1808,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-AbstractPaymentData.md b/docs/classes/YooKassa-Model-PaymentData-AbstractPaymentData.md index 511959ed..351fede7 100644 --- a/docs/classes/YooKassa-Model-PaymentData-AbstractPaymentData.md +++ b/docs/classes/YooKassa-Model-PaymentData-AbstractPaymentData.md @@ -392,6 +392,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatData.md b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatData.md index 5cc06ee8..990c21da 100644 --- a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatData.md +++ b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatData.md @@ -516,6 +516,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataInterface.md b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataInterface.md index 38ddb68b..c6c04866 100644 --- a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataInterface.md +++ b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataInterface.md @@ -102,6 +102,6 @@ public getAmount() : \YooKassa\Model\AmountInterface --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataRate.md b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataRate.md index 166bbd90..83930468 100644 --- a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataRate.md +++ b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataRate.md @@ -169,6 +169,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataType.md b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataType.md index 2d0576bc..3089ee51 100644 --- a/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataType.md +++ b/docs/classes/YooKassa-Model-PaymentData-B2b-Sberbank-VatDataType.md @@ -158,6 +158,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataAlfabank.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataAlfabank.md index 71822024..e8236f6c 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataAlfabank.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataAlfabank.md @@ -440,6 +440,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataApplePay.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataApplePay.md index 0f160062..cfd38dcc 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataApplePay.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataApplePay.md @@ -466,6 +466,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataB2bSberbank.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataB2bSberbank.md index 942c8f07..68d98c62 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataB2bSberbank.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataB2bSberbank.md @@ -494,6 +494,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCard.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCard.md index f65212a6..079269bf 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCard.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCard.md @@ -440,6 +440,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCardCard.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCardCard.md index 6de3ab57..83f92e38 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCardCard.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataBankCardCard.md @@ -635,6 +635,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataCash.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataCash.md index 78041573..3ee9e9d0 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataCash.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataCash.md @@ -440,6 +440,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataFactory.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataFactory.md index 5f9a377f..3afeb6b4 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataFactory.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataFactory.md @@ -89,6 +89,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataGooglePay.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataGooglePay.md index b3ee83e2..143c5c86 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataGooglePay.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataGooglePay.md @@ -494,6 +494,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataInstallments.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataInstallments.md index 61b7300e..60bf7765 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataInstallments.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataInstallments.md @@ -385,6 +385,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataMobileBalance.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataMobileBalance.md index fc252b55..85ac6e1d 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataMobileBalance.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataMobileBalance.md @@ -436,6 +436,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataQiwi.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataQiwi.md index f1032f9f..0bde6012 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataQiwi.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataQiwi.md @@ -427,6 +427,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataSberbank.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataSberbank.md index 8418ca47..f46628ac 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataSberbank.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataSberbank.md @@ -436,6 +436,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataTinkoffBank.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataTinkoffBank.md index a0a6e165..125d8f71 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataTinkoffBank.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataTinkoffBank.md @@ -385,6 +385,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataWebmoney.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataWebmoney.md index 69825509..aa7736b2 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataWebmoney.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataWebmoney.md @@ -386,6 +386,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataWechat.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataWechat.md index 00e4656a..8530f220 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataWechat.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataWechat.md @@ -391,6 +391,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentData-PaymentDataYooMoney.md b/docs/classes/YooKassa-Model-PaymentData-PaymentDataYooMoney.md index a186b336..af992856 100644 --- a/docs/classes/YooKassa-Model-PaymentData-PaymentDataYooMoney.md +++ b/docs/classes/YooKassa-Model-PaymentData-PaymentDataYooMoney.md @@ -385,6 +385,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentInterface.md b/docs/classes/YooKassa-Model-PaymentInterface.md index c67bd33c..13d97ebb 100644 --- a/docs/classes/YooKassa-Model-PaymentInterface.md +++ b/docs/classes/YooKassa-Model-PaymentInterface.md @@ -428,6 +428,6 @@ public getDeal() : \YooKassa\Model\Deal\PaymentDealInfo --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-AbstractPaymentMethod.md b/docs/classes/YooKassa-Model-PaymentMethod-AbstractPaymentMethod.md index 760bcc49..e540605c 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-AbstractPaymentMethod.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-AbstractPaymentMethod.md @@ -541,6 +541,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetails.md b/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetails.md index 0997a754..c254c3de 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetails.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetails.md @@ -826,6 +826,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md b/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md index 7b8d8c72..e2d57fd2 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md @@ -216,6 +216,6 @@ public getAccount() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-BankCardSource.md b/docs/classes/YooKassa-Model-PaymentMethod-BankCardSource.md index d0aa7973..31f99259 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-BankCardSource.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-BankCardSource.md @@ -143,6 +143,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodAlfaBank.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodAlfaBank.md index 2e3b30ff..ee34fc55 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodAlfaBank.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodAlfaBank.md @@ -603,6 +603,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodApplePay.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodApplePay.md index 0d6a55be..15d15315 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodApplePay.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodApplePay.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodB2bSberbank.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodB2bSberbank.md index 1891fefb..4db44415 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodB2bSberbank.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodB2bSberbank.md @@ -724,6 +724,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodBankCard.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodBankCard.md index c31fd71f..7e93a4fc 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodBankCard.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodBankCard.md @@ -1066,6 +1066,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCardType.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCardType.md index 6aa242a8..548be81c 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCardType.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCardType.md @@ -195,6 +195,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCash.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCash.md index 6b2bfc59..a9811d03 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCash.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodCash.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodFactory.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodFactory.md index caa7bed8..02a7e368 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodFactory.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodFactory.md @@ -89,6 +89,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodGooglePay.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodGooglePay.md index 7c019275..03dc0da0 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodGooglePay.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodGooglePay.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodInstallments.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodInstallments.md index c1c9eb7d..91c9bc0c 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodInstallments.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodInstallments.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodMobileBalance.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodMobileBalance.md index 13cee9a0..cc2bde07 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodMobileBalance.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodMobileBalance.md @@ -603,6 +603,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodPsb.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodPsb.md index cfa5271a..da9425f4 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodPsb.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodPsb.md @@ -536,6 +536,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodQiwi.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodQiwi.md index 61e31db0..6b44d6a5 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodQiwi.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodQiwi.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodSberbank.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodSberbank.md index 154817ef..582744ef 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodSberbank.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodSberbank.md @@ -603,6 +603,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodTinkoffBank.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodTinkoffBank.md index 3c4cd0aa..96033bfa 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodTinkoffBank.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodTinkoffBank.md @@ -536,6 +536,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWebmoney.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWebmoney.md index 9fac5de4..b8872b9b 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWebmoney.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWebmoney.md @@ -549,6 +549,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWechat.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWechat.md index 20ba7268..553bb22d 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWechat.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodWechat.md @@ -542,6 +542,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodYooMoney.md b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodYooMoney.md index 027bdd85..dd9677b5 100644 --- a/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodYooMoney.md +++ b/docs/classes/YooKassa-Model-PaymentMethod-PaymentMethodYooMoney.md @@ -616,6 +616,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentMethodType.md b/docs/classes/YooKassa-Model-PaymentMethodType.md index b66502a5..0a3543ea 100644 --- a/docs/classes/YooKassa-Model-PaymentMethodType.md +++ b/docs/classes/YooKassa-Model-PaymentMethodType.md @@ -292,6 +292,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PaymentStatus.md b/docs/classes/YooKassa-Model-PaymentStatus.md index 368a6f3b..1ba34c86 100644 --- a/docs/classes/YooKassa-Model-PaymentStatus.md +++ b/docs/classes/YooKassa-Model-PaymentStatus.md @@ -169,6 +169,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 68b67056..337c2bf8 100644 --- a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md +++ b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md @@ -392,6 +392,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 6e2a15cd..05555544 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md @@ -29,8 +29,8 @@ PayoutCancellationDetails - Комментарий к отмене выплат | 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 | [getParty()](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md#method_getParty) | | Возвращает участника процесса платежа, который принял решение об отмене транзакции | -| public | [getReason()](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md#method_getReason) | | Возвращает причину отмены платежа | +| public | [getParty()](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md#method_getParty) | | Возвращает участника процесса выплаты, который принял решение об отмене транзакции | +| public | [getReason()](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md#method_getReason) | | Возвращает причину отмены выплаты | | 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) | | Возвращает значение свойства | @@ -222,12 +222,12 @@ public getParty() : string **Summary** -Возвращает участника процесса платежа, который принял решение об отмене транзакции +Возвращает участника процесса выплаты, который принял решение об отмене транзакции **Details:** * Inherited From: [\YooKassa\Model\Payout\PayoutCancellationDetails](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md) -**Returns:** string - Инициатор отмены платежа +**Returns:** string - Инициатор отмены выплаты @@ -239,12 +239,12 @@ public getReason() : string **Summary** -Возвращает причину отмены платежа +Возвращает причину отмены выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout\PayoutCancellationDetails](../classes/YooKassa-Model-Payout-PayoutCancellationDetails.md) -**Returns:** string - Причина отмены платежа +**Returns:** string - Причина отмены выплаты @@ -448,6 +448,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 477c1c99..b87c66d6 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md @@ -153,6 +153,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 8caa373a..07a85a5e 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md @@ -173,6 +173,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 b451cf84..110cd1e1 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md @@ -440,6 +440,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d2b0c087..8dab9c81 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md @@ -668,6 +668,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 5c5cbf71..7b5d9030 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md @@ -89,6 +89,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 37262903..ce774213 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md @@ -8,8 +8,8 @@ PayoutDestinationType - Виды выплат |Код|Описание| --- | --- -|yoo_money|Платеж из кошелька ЮMoney| -|bank_card|Платеж с произвольной банковской карты| +|yoo_money|Выплата в кошелек ЮMoney| +|bank_card|Выплата на произвольную банковскую карту| --- @@ -123,6 +123,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 29d2980d..9da60bfe 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md @@ -465,6 +465,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout.md b/docs/classes/YooKassa-Model-Payout.md index 1e7014db..10618d5e 100644 --- a/docs/classes/YooKassa-Model-Payout.md +++ b/docs/classes/YooKassa-Model-Payout.md @@ -26,7 +26,7 @@ Payout - Данные о выплате | public | [$deal](../classes/YooKassa-Model-Payout.md#property_deal) | | Сделка, в рамках которой нужно провести выплату | | public | [$description](../classes/YooKassa-Model-Payout.md#property_description) | | Описание транзакции | | public | [$id](../classes/YooKassa-Model-Payout.md#property_id) | | Идентификатор выплаты | -| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные платежа указанные мерчантом | +| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные выплаты указанные мерчантом | | public | [$payout_destination](../classes/YooKassa-Model-Payout.md#property_payout_destination) | | Способ проведения выплаты | | public | [$payoutDestination](../classes/YooKassa-Model-Payout.md#property_payoutDestination) | | Способ проведения выплаты | | public | [$status](../classes/YooKassa-Model-Payout.md#property_status) | | Текущее состояние выплаты | @@ -48,9 +48,9 @@ Payout - Данные о выплате | public | [getDeal()](../classes/YooKassa-Model-Payout.md#method_getDeal) | | Возвращает сделку, в рамках которой нужно провести выплату | | public | [getDescription()](../classes/YooKassa-Model-Payout.md#method_getDescription) | | Возвращает описание транзакции | | public | [getId()](../classes/YooKassa-Model-Payout.md#method_getId) | | Возвращает идентификатор выплаты | -| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные платежа установленные мерчантом | -| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения платежа | -| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние платежа | +| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные выплаты установленные мерчантом | +| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения выплаты | +| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние выплаты | | public | [getTest()](../classes/YooKassa-Model-Payout.md#method_getTest) | | Возвращает признак тестовой операции | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства | @@ -63,9 +63,9 @@ Payout - Данные о выплате | public | [setDeal()](../classes/YooKassa-Model-Payout.md#method_setDeal) | | Устанавливает сделку, в рамках которой нужно провести выплату | | public | [setDescription()](../classes/YooKassa-Model-Payout.md#method_setDescription) | | Устанавливает описание транзакции | | public | [setId()](../classes/YooKassa-Model-Payout.md#method_setId) | | Устанавливает идентификатор выплаты | -| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные платежа | -| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения платежа | -| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус платежа | +| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные выплаты | +| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения выплаты | +| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус выплаты | | public | [setTest()](../classes/YooKassa-Model-Payout.md#method_setTest) | | Устанавливает признак тестовой операции | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | | protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | @@ -195,7 +195,7 @@ MAX_LENGTH_DESCRIPTION = 128 --- ***Description*** -Метаданные платежа указанные мерчантом +Метаданные выплаты указанные мерчантом **Type:** Metadata @@ -501,12 +501,12 @@ public getMetadata() : \YooKassa\Model\Metadata **Summary** -Возвращает метаданные платежа установленные мерчантом +Возвращает метаданные выплаты установленные мерчантом **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\Metadata - Метаданные платежа указанные мерчантом +**Returns:** \YooKassa\Model\Metadata - Метаданные выплаты указанные мерчантом @@ -518,12 +518,12 @@ public getPayoutDestination() : \YooKassa\Model\PaymentMethod\AbstractPaymentMet **Summary** -Возвращает используемый способ проведения платежа +Возвращает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения платежа +**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения выплаты @@ -535,12 +535,12 @@ public getStatus() : string **Summary** -Возвращает состояние платежа +Возвращает состояние выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** string - Текущее состояние платежа +**Returns:** string - Текущее состояние выплаты @@ -826,7 +826,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed **Summary** -Устанавливает метаданные платежа +Устанавливает метаданные выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -834,7 +834,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Metadata OR array | value | Метаданные платежа указанные мерчантом | +| \YooKassa\Model\Metadata OR array | value | Метаданные выплаты указанные мерчантом | **Returns:** mixed - @@ -848,7 +848,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr **Summary** -Устанавливает используемый способ проведения платежа +Устанавливает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -856,7 +856,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения платежа | +| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения выплаты | **Returns:** mixed - @@ -870,7 +870,7 @@ public setStatus(string $value) : mixed **Summary** -Устанавливает статус платежа +Устанавливает статус выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -878,7 +878,7 @@ public setStatus(string $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string | value | Статус платежа | +| string | value | Статус выплаты | ##### Throws: | Type | Description | @@ -962,6 +962,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PayoutInterface.md b/docs/classes/YooKassa-Model-PayoutInterface.md index cf288a1a..2d943d79 100644 --- a/docs/classes/YooKassa-Model-PayoutInterface.md +++ b/docs/classes/YooKassa-Model-PayoutInterface.md @@ -238,6 +238,6 @@ public getTest() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PayoutStatus.md b/docs/classes/YooKassa-Model-PayoutStatus.md index 8ca81234..a5e19d49 100644 --- a/docs/classes/YooKassa-Model-PayoutStatus.md +++ b/docs/classes/YooKassa-Model-PayoutStatus.md @@ -158,6 +158,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 469b8f17..575d7542 100644 --- a/docs/classes/YooKassa-Model-Receipt-AgentType.md +++ b/docs/classes/YooKassa-Model-Receipt-AgentType.md @@ -179,6 +179,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 1d093267..b1a021f9 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md @@ -179,6 +179,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 554503dc..f0041e9a 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md @@ -267,6 +267,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d0197f36..d458b271 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md @@ -538,6 +538,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 1c0ca4c1..8fc3e3b2 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementType.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementType.md @@ -155,6 +155,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt.md b/docs/classes/YooKassa-Model-Receipt.md index 7e9fda76..5427ee88 100644 --- a/docs/classes/YooKassa-Model-Receipt.md +++ b/docs/classes/YooKassa-Model-Receipt.md @@ -834,6 +834,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptCustomer.md b/docs/classes/YooKassa-Model-ReceiptCustomer.md index be1f3988..69ef5bd4 100644 --- a/docs/classes/YooKassa-Model-ReceiptCustomer.md +++ b/docs/classes/YooKassa-Model-ReceiptCustomer.md @@ -608,6 +608,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptCustomerInterface.md b/docs/classes/YooKassa-Model-ReceiptCustomerInterface.md index 309b0f55..580c1169 100644 --- a/docs/classes/YooKassa-Model-ReceiptCustomerInterface.md +++ b/docs/classes/YooKassa-Model-ReceiptCustomerInterface.md @@ -140,6 +140,6 @@ public jsonSerialize() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptInterface.md b/docs/classes/YooKassa-Model-ReceiptInterface.md index ac02ecc0..b7173fce 100644 --- a/docs/classes/YooKassa-Model-ReceiptInterface.md +++ b/docs/classes/YooKassa-Model-ReceiptInterface.md @@ -181,6 +181,6 @@ public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShippin --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptItem.md b/docs/classes/YooKassa-Model-ReceiptItem.md index 71da49c3..0a373046 100644 --- a/docs/classes/YooKassa-Model-ReceiptItem.md +++ b/docs/classes/YooKassa-Model-ReceiptItem.md @@ -1272,6 +1272,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptItemInterface.md b/docs/classes/YooKassa-Model-ReceiptItemInterface.md index c61bcc70..7e03d6ad 100644 --- a/docs/classes/YooKassa-Model-ReceiptItemInterface.md +++ b/docs/classes/YooKassa-Model-ReceiptItemInterface.md @@ -310,6 +310,6 @@ public isShipping() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptRegistrationStatus.md b/docs/classes/YooKassa-Model-ReceiptRegistrationStatus.md index 82e7fe43..66a39202 100644 --- a/docs/classes/YooKassa-Model-ReceiptRegistrationStatus.md +++ b/docs/classes/YooKassa-Model-ReceiptRegistrationStatus.md @@ -155,6 +155,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-ReceiptType.md b/docs/classes/YooKassa-Model-ReceiptType.md index 811810b6..0ba63bba 100644 --- a/docs/classes/YooKassa-Model-ReceiptType.md +++ b/docs/classes/YooKassa-Model-ReceiptType.md @@ -154,6 +154,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Recipient.md b/docs/classes/YooKassa-Model-Recipient.md index 55707ee2..90d5d100 100644 --- a/docs/classes/YooKassa-Model-Recipient.md +++ b/docs/classes/YooKassa-Model-Recipient.md @@ -494,6 +494,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-RecipientInterface.md b/docs/classes/YooKassa-Model-RecipientInterface.md index ca66311c..3141036d 100644 --- a/docs/classes/YooKassa-Model-RecipientInterface.md +++ b/docs/classes/YooKassa-Model-RecipientInterface.md @@ -94,6 +94,6 @@ public getGatewayId() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund.md b/docs/classes/YooKassa-Model-Refund.md index cffee0d7..1f534703 100644 --- a/docs/classes/YooKassa-Model-Refund.md +++ b/docs/classes/YooKassa-Model-Refund.md @@ -944,6 +944,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-RefundInterface.md b/docs/classes/YooKassa-Model-RefundInterface.md index 68dab259..15cbf2e2 100644 --- a/docs/classes/YooKassa-Model-RefundInterface.md +++ b/docs/classes/YooKassa-Model-RefundInterface.md @@ -218,6 +218,6 @@ public getDeal() : \YooKassa\Model\Deal\RefundDealInfo --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-RefundStatus.md b/docs/classes/YooKassa-Model-RefundStatus.md index eb00c132..95baa789 100644 --- a/docs/classes/YooKassa-Model-RefundStatus.md +++ b/docs/classes/YooKassa-Model-RefundStatus.md @@ -152,6 +152,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Requestor.md b/docs/classes/YooKassa-Model-Requestor.md index 09b15a72..ed107c35 100644 --- a/docs/classes/YooKassa-Model-Requestor.md +++ b/docs/classes/YooKassa-Model-Requestor.md @@ -637,6 +637,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-RequestorInterface.md b/docs/classes/YooKassa-Model-RequestorInterface.md index 4fa2bb79..be9fe366 100644 --- a/docs/classes/YooKassa-Model-RequestorInterface.md +++ b/docs/classes/YooKassa-Model-RequestorInterface.md @@ -217,6 +217,6 @@ public setClientName(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SafeDeal.md b/docs/classes/YooKassa-Model-SafeDeal.md index 5d21a585..76a80d64 100644 --- a/docs/classes/YooKassa-Model-SafeDeal.md +++ b/docs/classes/YooKassa-Model-SafeDeal.md @@ -858,6 +858,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settlement.md b/docs/classes/YooKassa-Model-Settlement.md index 3315bffe..d39d1c54 100644 --- a/docs/classes/YooKassa-Model-Settlement.md +++ b/docs/classes/YooKassa-Model-Settlement.md @@ -448,6 +448,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SettlementInterface.md b/docs/classes/YooKassa-Model-SettlementInterface.md index bbd9ed23..ebaa12e5 100644 --- a/docs/classes/YooKassa-Model-SettlementInterface.md +++ b/docs/classes/YooKassa-Model-SettlementInterface.md @@ -83,6 +83,6 @@ public getAmount() : \YooKassa\Model\AmountInterface --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Source.md b/docs/classes/YooKassa-Model-Source.md index 8d74de9d..f9452eee 100644 --- a/docs/classes/YooKassa-Model-Source.md +++ b/docs/classes/YooKassa-Model-Source.md @@ -570,6 +570,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SourceInterface.md b/docs/classes/YooKassa-Model-SourceInterface.md index 3556db31..6ec84717 100644 --- a/docs/classes/YooKassa-Model-SourceInterface.md +++ b/docs/classes/YooKassa-Model-SourceInterface.md @@ -207,6 +207,6 @@ public setPlatformFeeAmount(\YooKassa\Model\AmountInterface|array $value) : mixe --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Supplier.md b/docs/classes/YooKassa-Model-Supplier.md index c381629e..dc98ecab 100644 --- a/docs/classes/YooKassa-Model-Supplier.md +++ b/docs/classes/YooKassa-Model-Supplier.md @@ -505,6 +505,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SupplierInterface.md b/docs/classes/YooKassa-Model-SupplierInterface.md index df9bdd40..4d07a5e0 100644 --- a/docs/classes/YooKassa-Model-SupplierInterface.md +++ b/docs/classes/YooKassa-Model-SupplierInterface.md @@ -177,6 +177,6 @@ public setInn($value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Transfer.md b/docs/classes/YooKassa-Model-Transfer.md index 5fb4afcd..0e30c76b 100644 --- a/docs/classes/YooKassa-Model-Transfer.md +++ b/docs/classes/YooKassa-Model-Transfer.md @@ -716,6 +716,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-TransferInterface.md b/docs/classes/YooKassa-Model-TransferInterface.md index d52980ae..642ce52b 100644 --- a/docs/classes/YooKassa-Model-TransferInterface.md +++ b/docs/classes/YooKassa-Model-TransferInterface.md @@ -314,6 +314,6 @@ public hasMetadata() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-TransferStatus.md b/docs/classes/YooKassa-Model-TransferStatus.md index 8e3343a5..5aff54df 100644 --- a/docs/classes/YooKassa-Model-TransferStatus.md +++ b/docs/classes/YooKassa-Model-TransferStatus.md @@ -161,6 +161,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 b419ae31..36be3991 100644 --- a/docs/classes/YooKassa-Model-Webhook-Webhook.md +++ b/docs/classes/YooKassa-Model-Webhook-Webhook.md @@ -500,6 +500,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 a1a57749..636e4df9 100644 --- a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md @@ -861,6 +861,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 e6170482..e4389875 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md @@ -766,6 +766,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 eb49970d..c323109d 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md @@ -273,6 +273,6 @@ protected initCurrentObject() : \YooKassa\Request\Deals\CreateDealRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4caed89e..e85bcf40 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md @@ -286,6 +286,6 @@ public setMetadata(\YooKassa\Model\Metadata|array|null $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 5374bf3f..0b1d70ae 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Deals\CreateDealRequestInterface|\YooKassa\Co --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 7a7327d2..d33bf526 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md @@ -860,6 +860,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 f7085941..6502a706 100644 --- a/docs/classes/YooKassa-Request-Deals-DealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealResponse.md @@ -860,6 +860,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 d72b0897..8062bdb2 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequest.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequest.md @@ -1394,6 +1394,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 9ee31324..47fe0904 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md @@ -498,6 +498,6 @@ protected initCurrentObject() : \YooKassa\Request\Deals\DealsRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2453f952..079d8e01 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md @@ -765,6 +765,6 @@ public setFullTextSearch(string $value) : void --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 85fc06a3..1aa89466 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Deals\DealsRequest|\YooKassa\Request\Deals\De --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 52b361a5..66261cbc 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealsResponse.md @@ -389,6 +389,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 9c3ea4d2..45dac5ce 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md @@ -1850,6 +1850,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 5d2d5577..5ca2efce 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md @@ -1866,6 +1866,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 fe1dd91c..27e2eda7 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md @@ -1007,6 +1007,6 @@ protected initCurrentObject() : \YooKassa\Request\Payments\CreatePaymentRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 ead41a2b..097e83f3 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md @@ -955,6 +955,6 @@ public setMerchantCustomerId(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 95b703d6..c57f87ce 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Payments\CreatePaymentRequestInterface $reque --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 fee027db..cffc2eb5 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md @@ -1844,6 +1844,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CancelResponse.md b/docs/classes/YooKassa-Request-Payments-Payment-CancelResponse.md index e737149e..c2b407eb 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CancelResponse.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CancelResponse.md @@ -1844,6 +1844,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequest.md b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequest.md index 6f35a320..d13ed05b 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequest.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequest.md @@ -787,6 +787,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestBuilder.md index 6d666e44..4668efe0 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestBuilder.md @@ -465,6 +465,6 @@ protected initCurrentObject() : \YooKassa\Request\Payments\Payment\CreateCapture --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestInterface.md b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestInterface.md index ae1ec68d..557b9a9c 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestInterface.md @@ -296,6 +296,6 @@ public setDeal(\YooKassa\Model\Deal\PaymentDealInfo|array|null $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestSerializer.md index 75eecc11..06869e1f 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Payments\Payment\CreateCaptureRequestInterfac --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureResponse.md b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureResponse.md index 2348e411..1ec728fd 100644 --- a/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureResponse.md +++ b/docs/classes/YooKassa-Request-Payments-Payment-CreateCaptureResponse.md @@ -1844,6 +1844,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 17ce6e2a..fdb6fd86 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md @@ -1844,6 +1844,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 6c1cf34e..c8f07983 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md @@ -1384,6 +1384,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 59884624..7fb05cc4 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md @@ -498,6 +498,6 @@ protected initCurrentObject() : \YooKassa\Request\Payments\PaymentsRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 7e7967b9..45ba918f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md @@ -765,6 +765,6 @@ public setPaymentMethod(string $value) : void --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 1089222a..5c300751 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Payments\PaymentsRequestInterface $request) : --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 84c23954..32bb3469 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md @@ -389,6 +389,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 57b2064a..6286d16a 100644 --- a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md @@ -26,7 +26,7 @@ | public | [$deal](../classes/YooKassa-Model-Payout.md#property_deal) | | Сделка, в рамках которой нужно провести выплату | | public | [$description](../classes/YooKassa-Model-Payout.md#property_description) | | Описание транзакции | | public | [$id](../classes/YooKassa-Model-Payout.md#property_id) | | Идентификатор выплаты | -| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные платежа указанные мерчантом | +| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные выплаты указанные мерчантом | | public | [$payout_destination](../classes/YooKassa-Model-Payout.md#property_payout_destination) | | Способ проведения выплаты | | public | [$payoutDestination](../classes/YooKassa-Model-Payout.md#property_payoutDestination) | | Способ проведения выплаты | | public | [$status](../classes/YooKassa-Model-Payout.md#property_status) | | Текущее состояние выплаты | @@ -48,9 +48,9 @@ | public | [getDeal()](../classes/YooKassa-Model-Payout.md#method_getDeal) | | Возвращает сделку, в рамках которой нужно провести выплату | | public | [getDescription()](../classes/YooKassa-Model-Payout.md#method_getDescription) | | Возвращает описание транзакции | | public | [getId()](../classes/YooKassa-Model-Payout.md#method_getId) | | Возвращает идентификатор выплаты | -| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные платежа установленные мерчантом | -| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения платежа | -| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние платежа | +| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные выплаты установленные мерчантом | +| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения выплаты | +| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние выплаты | | public | [getTest()](../classes/YooKassa-Model-Payout.md#method_getTest) | | Возвращает признак тестовой операции | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства | @@ -63,9 +63,9 @@ | public | [setDeal()](../classes/YooKassa-Model-Payout.md#method_setDeal) | | Устанавливает сделку, в рамках которой нужно провести выплату | | public | [setDescription()](../classes/YooKassa-Model-Payout.md#method_setDescription) | | Устанавливает описание транзакции | | public | [setId()](../classes/YooKassa-Model-Payout.md#method_setId) | | Устанавливает идентификатор выплаты | -| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные платежа | -| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения платежа | -| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус платежа | +| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные выплаты | +| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения выплаты | +| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус выплаты | | public | [setTest()](../classes/YooKassa-Model-Payout.md#method_setTest) | | Устанавливает признак тестовой операции | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | | protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | @@ -206,7 +206,7 @@ MAX_LENGTH_DESCRIPTION = 128 --- ***Description*** -Метаданные платежа указанные мерчантом +Метаданные выплаты указанные мерчантом **Type:** Metadata @@ -517,12 +517,12 @@ public getMetadata() : \YooKassa\Model\Metadata **Summary** -Возвращает метаданные платежа установленные мерчантом +Возвращает метаданные выплаты установленные мерчантом **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\Metadata - Метаданные платежа указанные мерчантом +**Returns:** \YooKassa\Model\Metadata - Метаданные выплаты указанные мерчантом @@ -534,12 +534,12 @@ public getPayoutDestination() : \YooKassa\Model\PaymentMethod\AbstractPaymentMet **Summary** -Возвращает используемый способ проведения платежа +Возвращает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения платежа +**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения выплаты @@ -551,12 +551,12 @@ public getStatus() : string **Summary** -Возвращает состояние платежа +Возвращает состояние выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** string - Текущее состояние платежа +**Returns:** string - Текущее состояние выплаты @@ -842,7 +842,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed **Summary** -Устанавливает метаданные платежа +Устанавливает метаданные выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -850,7 +850,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Metadata OR array | value | Метаданные платежа указанные мерчантом | +| \YooKassa\Model\Metadata OR array | value | Метаданные выплаты указанные мерчантом | **Returns:** mixed - @@ -864,7 +864,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr **Summary** -Устанавливает используемый способ проведения платежа +Устанавливает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -872,7 +872,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения платежа | +| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения выплаты | **Returns:** mixed - @@ -886,7 +886,7 @@ public setStatus(string $value) : mixed **Summary** -Устанавливает статус платежа +Устанавливает статус выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -894,7 +894,7 @@ public setStatus(string $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string | value | Статус платежа | +| string | value | Статус выплаты | ##### Throws: | Type | Description | @@ -978,6 +978,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 83d5c9b2..7070571a 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md @@ -926,6 +926,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 0e8e444d..aa43a8f4 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md @@ -327,6 +327,6 @@ protected initCurrentObject() : \YooKassa\Request\Payouts\CreatePayoutRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 accf825a..5f249698 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md @@ -407,6 +407,6 @@ public setMetadata(\YooKassa\Model\Metadata|array|null $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 c92ca2ad..0493c17f 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Payouts\CreatePayoutRequestInterface $request --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2bf710aa..13a1ccb7 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md @@ -26,7 +26,7 @@ | public | [$deal](../classes/YooKassa-Model-Payout.md#property_deal) | | Сделка, в рамках которой нужно провести выплату | | public | [$description](../classes/YooKassa-Model-Payout.md#property_description) | | Описание транзакции | | public | [$id](../classes/YooKassa-Model-Payout.md#property_id) | | Идентификатор выплаты | -| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные платежа указанные мерчантом | +| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные выплаты указанные мерчантом | | public | [$payout_destination](../classes/YooKassa-Model-Payout.md#property_payout_destination) | | Способ проведения выплаты | | public | [$payoutDestination](../classes/YooKassa-Model-Payout.md#property_payoutDestination) | | Способ проведения выплаты | | public | [$status](../classes/YooKassa-Model-Payout.md#property_status) | | Текущее состояние выплаты | @@ -48,9 +48,9 @@ | public | [getDeal()](../classes/YooKassa-Model-Payout.md#method_getDeal) | | Возвращает сделку, в рамках которой нужно провести выплату | | public | [getDescription()](../classes/YooKassa-Model-Payout.md#method_getDescription) | | Возвращает описание транзакции | | public | [getId()](../classes/YooKassa-Model-Payout.md#method_getId) | | Возвращает идентификатор выплаты | -| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные платежа установленные мерчантом | -| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения платежа | -| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние платежа | +| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные выплаты установленные мерчантом | +| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения выплаты | +| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние выплаты | | public | [getTest()](../classes/YooKassa-Model-Payout.md#method_getTest) | | Возвращает признак тестовой операции | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства | @@ -63,9 +63,9 @@ | public | [setDeal()](../classes/YooKassa-Model-Payout.md#method_setDeal) | | Устанавливает сделку, в рамках которой нужно провести выплату | | public | [setDescription()](../classes/YooKassa-Model-Payout.md#method_setDescription) | | Устанавливает описание транзакции | | public | [setId()](../classes/YooKassa-Model-Payout.md#method_setId) | | Устанавливает идентификатор выплаты | -| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные платежа | -| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения платежа | -| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус платежа | +| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные выплаты | +| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения выплаты | +| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус выплаты | | public | [setTest()](../classes/YooKassa-Model-Payout.md#method_setTest) | | Устанавливает признак тестовой операции | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | | protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | @@ -205,7 +205,7 @@ MAX_LENGTH_DESCRIPTION = 128 --- ***Description*** -Метаданные платежа указанные мерчантом +Метаданные выплаты указанные мерчантом **Type:** Metadata @@ -516,12 +516,12 @@ public getMetadata() : \YooKassa\Model\Metadata **Summary** -Возвращает метаданные платежа установленные мерчантом +Возвращает метаданные выплаты установленные мерчантом **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\Metadata - Метаданные платежа указанные мерчантом +**Returns:** \YooKassa\Model\Metadata - Метаданные выплаты указанные мерчантом @@ -533,12 +533,12 @@ public getPayoutDestination() : \YooKassa\Model\PaymentMethod\AbstractPaymentMet **Summary** -Возвращает используемый способ проведения платежа +Возвращает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения платежа +**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения выплаты @@ -550,12 +550,12 @@ public getStatus() : string **Summary** -Возвращает состояние платежа +Возвращает состояние выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** string - Текущее состояние платежа +**Returns:** string - Текущее состояние выплаты @@ -841,7 +841,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed **Summary** -Устанавливает метаданные платежа +Устанавливает метаданные выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -849,7 +849,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Metadata OR array | value | Метаданные платежа указанные мерчантом | +| \YooKassa\Model\Metadata OR array | value | Метаданные выплаты указанные мерчантом | **Returns:** mixed - @@ -863,7 +863,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr **Summary** -Устанавливает используемый способ проведения платежа +Устанавливает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -871,7 +871,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения платежа | +| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения выплаты | **Returns:** mixed - @@ -885,7 +885,7 @@ public setStatus(string $value) : mixed **Summary** -Устанавливает статус платежа +Устанавливает статус выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -893,7 +893,7 @@ public setStatus(string $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string | value | Статус платежа | +| string | value | Статус выплаты | ##### Throws: | Type | Description | @@ -977,6 +977,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 ffc7e940..5dea39cd 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md @@ -407,6 +407,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 7116b89e..972679c6 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md @@ -455,6 +455,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 6be65888..450803a0 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md @@ -395,6 +395,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 eaa6eecc..5bbf900c 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md @@ -92,6 +92,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 52f2dfa7..cc6e36b9 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md @@ -483,6 +483,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 142bec38..c8886fb3 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md @@ -26,7 +26,7 @@ | public | [$deal](../classes/YooKassa-Model-Payout.md#property_deal) | | Сделка, в рамках которой нужно провести выплату | | public | [$description](../classes/YooKassa-Model-Payout.md#property_description) | | Описание транзакции | | public | [$id](../classes/YooKassa-Model-Payout.md#property_id) | | Идентификатор выплаты | -| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные платежа указанные мерчантом | +| public | [$metadata](../classes/YooKassa-Model-Payout.md#property_metadata) | | Метаданные выплаты указанные мерчантом | | public | [$payout_destination](../classes/YooKassa-Model-Payout.md#property_payout_destination) | | Способ проведения выплаты | | public | [$payoutDestination](../classes/YooKassa-Model-Payout.md#property_payoutDestination) | | Способ проведения выплаты | | public | [$status](../classes/YooKassa-Model-Payout.md#property_status) | | Текущее состояние выплаты | @@ -48,9 +48,9 @@ | public | [getDeal()](../classes/YooKassa-Model-Payout.md#method_getDeal) | | Возвращает сделку, в рамках которой нужно провести выплату | | public | [getDescription()](../classes/YooKassa-Model-Payout.md#method_getDescription) | | Возвращает описание транзакции | | public | [getId()](../classes/YooKassa-Model-Payout.md#method_getId) | | Возвращает идентификатор выплаты | -| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные платежа установленные мерчантом | -| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения платежа | -| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние платежа | +| public | [getMetadata()](../classes/YooKassa-Model-Payout.md#method_getMetadata) | | Возвращает метаданные выплаты установленные мерчантом | +| public | [getPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_getPayoutDestination) | | Возвращает используемый способ проведения выплаты | +| public | [getStatus()](../classes/YooKassa-Model-Payout.md#method_getStatus) | | Возвращает состояние выплаты | | public | [getTest()](../classes/YooKassa-Model-Payout.md#method_getTest) | | Возвращает признак тестовой операции | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства | @@ -63,9 +63,9 @@ | public | [setDeal()](../classes/YooKassa-Model-Payout.md#method_setDeal) | | Устанавливает сделку, в рамках которой нужно провести выплату | | public | [setDescription()](../classes/YooKassa-Model-Payout.md#method_setDescription) | | Устанавливает описание транзакции | | public | [setId()](../classes/YooKassa-Model-Payout.md#method_setId) | | Устанавливает идентификатор выплаты | -| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные платежа | -| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения платежа | -| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус платежа | +| public | [setMetadata()](../classes/YooKassa-Model-Payout.md#method_setMetadata) | | Устанавливает метаданные выплаты | +| public | [setPayoutDestination()](../classes/YooKassa-Model-Payout.md#method_setPayoutDestination) | | Устанавливает используемый способ проведения выплаты | +| public | [setStatus()](../classes/YooKassa-Model-Payout.md#method_setStatus) | | Устанавливает статус выплаты | | public | [setTest()](../classes/YooKassa-Model-Payout.md#method_setTest) | | Устанавливает признак тестовой операции | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize() | | protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта | @@ -205,7 +205,7 @@ MAX_LENGTH_DESCRIPTION = 128 --- ***Description*** -Метаданные платежа указанные мерчантом +Метаданные выплаты указанные мерчантом **Type:** Metadata @@ -516,12 +516,12 @@ public getMetadata() : \YooKassa\Model\Metadata **Summary** -Возвращает метаданные платежа установленные мерчантом +Возвращает метаданные выплаты установленные мерчантом **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\Metadata - Метаданные платежа указанные мерчантом +**Returns:** \YooKassa\Model\Metadata - Метаданные выплаты указанные мерчантом @@ -533,12 +533,12 @@ public getPayoutDestination() : \YooKassa\Model\PaymentMethod\AbstractPaymentMet **Summary** -Возвращает используемый способ проведения платежа +Возвращает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения платежа +**Returns:** \YooKassa\Model\PaymentMethod\AbstractPaymentMethod - Способ проведения выплаты @@ -550,12 +550,12 @@ public getStatus() : string **Summary** -Возвращает состояние платежа +Возвращает состояние выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) -**Returns:** string - Текущее состояние платежа +**Returns:** string - Текущее состояние выплаты @@ -841,7 +841,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed **Summary** -Устанавливает метаданные платежа +Устанавливает метаданные выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -849,7 +849,7 @@ public setMetadata(\YooKassa\Model\Metadata|array $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Metadata OR array | value | Метаданные платежа указанные мерчантом | +| \YooKassa\Model\Metadata OR array | value | Метаданные выплаты указанные мерчантом | **Returns:** mixed - @@ -863,7 +863,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr **Summary** -Устанавливает используемый способ проведения платежа +Устанавливает используемый способ проведения выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -871,7 +871,7 @@ public setPayoutDestination(\YooKassa\Model\Payout\AbstractPayoutDestination|arr ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения платежа | +| \YooKassa\Model\Payout\AbstractPayoutDestination OR array | value | Способ проведения выплаты | **Returns:** mixed - @@ -885,7 +885,7 @@ public setStatus(string $value) : mixed **Summary** -Устанавливает статус платежа +Устанавливает статус выплаты **Details:** * Inherited From: [\YooKassa\Model\Payout](../classes/YooKassa-Model-Payout.md) @@ -893,7 +893,7 @@ public setStatus(string $value) : mixed ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string | value | Статус платежа | +| string | value | Статус выплаты | ##### Throws: | Type | Description | @@ -977,6 +977,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 97998224..0e1b69cc 100644 --- a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md @@ -1317,6 +1317,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 f6b20452..4394ff76 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md @@ -930,6 +930,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4d82a160..7fcc6336 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md @@ -505,6 +505,6 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\CreatePostReceiptRequ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 0336c2c6..b3a9276f 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md @@ -445,6 +445,6 @@ public notEmpty() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 6347e342..8ccf9bfd 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Receipts\CreatePostReceiptRequestInterface $r --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 66543a2f..8de27447 100644 --- a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md @@ -1417,6 +1417,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 8085135e..1c82d9f1 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md @@ -65,6 +65,6 @@ public factory(array $data) : \YooKassa\Request\Receipts\AbstractReceiptResponse --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 06417ccf..ac2466d4 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md @@ -214,6 +214,6 @@ public notEmpty() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 eace0937..08a44807 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md @@ -804,6 +804,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 73d72e29..8df4ea8b 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md @@ -159,6 +159,6 @@ public getSupplier() : \YooKassa\Model\SupplierInterface --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 962fc401..9b450861 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md @@ -1144,6 +1144,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 87f6d455..97e3733d 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md @@ -411,6 +411,6 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\ReceiptsRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2f19df9f..05113039 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md @@ -378,6 +378,6 @@ public hasLimit() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 3a14728c..20eed3f3 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Receipts\ReceiptsRequestInterface $request) : --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4beb62d4..f65a4173 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md @@ -142,6 +142,6 @@ public hasNextCursor() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 f7b96c10..3f4a0916 100644 --- a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md @@ -1417,6 +1417,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 eaca36d4..a54ea144 100644 --- a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md @@ -1334,6 +1334,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 098de100..c6eea4b8 100644 --- a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md @@ -959,6 +959,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 63fd39eb..ee5faace 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md @@ -980,6 +980,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 14b5794f..fd597d69 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md @@ -606,6 +606,6 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\CreateRefundRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 897e7c46..20f5488a 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md @@ -339,6 +339,6 @@ public hasDeal() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 45c08a1b..0bbb5e41 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Refunds\CreateRefundRequestInterface $request --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 8b726e0f..95651dc9 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md @@ -955,6 +955,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 2bf87648..65c5a27b 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md @@ -955,6 +955,6 @@ protected getUnknownProperties() : array --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 4f7df474..64f2a2be 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md @@ -1072,6 +1072,6 @@ protected setValidationError(string $value) : mixed --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 328137d6..0da4fdce 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md @@ -382,6 +382,6 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\RefundsRequest --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 dbb99154..6c95b91d 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md @@ -305,6 +305,6 @@ public hasCursor() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 ee174d2f..8b7b9898 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Refunds\RefundsRequestInterface $request) : a --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 431fc46c..6c2f7495 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md @@ -124,6 +124,6 @@ public hasNextCursor() : bool --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 104c0e9b..1f81a66b 100644 --- a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md +++ b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md @@ -101,6 +101,6 @@ public getType() : string --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/default.md b/docs/namespaces/default.md index 31caeafe..f1265117 100644 --- a/docs/namespaces/default.md +++ b/docs/namespaces/default.md @@ -52,6 +52,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-client.md b/docs/namespaces/yookassa-client.md index 307b744f..43d8e74d 100644 --- a/docs/namespaces/yookassa-client.md +++ b/docs/namespaces/yookassa-client.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common-exceptions.md b/docs/namespaces/yookassa-common-exceptions.md index da7e1733..defb1c41 100644 --- a/docs/namespaces/yookassa-common-exceptions.md +++ b/docs/namespaces/yookassa-common-exceptions.md @@ -41,6 +41,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common.md b/docs/namespaces/yookassa-common.md index 240b4432..7c0dee99 100644 --- a/docs/namespaces/yookassa-common.md +++ b/docs/namespaces/yookassa-common.md @@ -38,6 +38,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers-config.md b/docs/namespaces/yookassa-helpers-config.md index aa1467b8..08cf8c30 100644 --- a/docs/namespaces/yookassa-helpers-config.md +++ b/docs/namespaces/yookassa-helpers-config.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers.md b/docs/namespaces/yookassa-helpers.md index f3656d2c..b9fba2fe 100644 --- a/docs/namespaces/yookassa-helpers.md +++ b/docs/namespaces/yookassa-helpers.md @@ -34,6 +34,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-confirmation.md b/docs/namespaces/yookassa-model-confirmation.md index 0997e6bb..b54cbb2f 100644 --- a/docs/namespaces/yookassa-model-confirmation.md +++ b/docs/namespaces/yookassa-model-confirmation.md @@ -32,6 +32,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-confirmationattributes.md b/docs/namespaces/yookassa-model-confirmationattributes.md index 87d6a61a..ae407149 100644 --- a/docs/namespaces/yookassa-model-confirmationattributes.md +++ b/docs/namespaces/yookassa-model-confirmationattributes.md @@ -32,6 +32,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-deal.md b/docs/namespaces/yookassa-model-deal.md index 40d4043c..0352711d 100644 --- a/docs/namespaces/yookassa-model-deal.md +++ b/docs/namespaces/yookassa-model-deal.md @@ -36,6 +36,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-notification.md b/docs/namespaces/yookassa-model-notification.md index 26ba32e2..1fa6bf02 100644 --- a/docs/namespaces/yookassa-model-notification.md +++ b/docs/namespaces/yookassa-model-notification.md @@ -16,7 +16,10 @@ | ---- | ------- | | [\YooKassa\Model\Notification\AbstractNotification](../classes/YooKassa-Model-Notification-AbstractNotification.md) | Базовый класс уведомлений | | [\YooKassa\Model\Notification\NotificationCanceled](../classes/YooKassa-Model-Notification-NotificationCanceled.md) | Класс объекта, присылаемого API при изменении статуса платежа на "canceled" | +| [\YooKassa\Model\Notification\NotificationDealClosed](../classes/YooKassa-Model-Notification-NotificationDealClosed.md) | Класс объекта, присылаемого API при изменении статуса сделки на "closed" | | [\YooKassa\Model\Notification\NotificationFactory](../classes/YooKassa-Model-Notification-NotificationFactory.md) | Фабрика для получения конкретного объекта уведомления. | +| [\YooKassa\Model\Notification\NotificationPayoutCanceled](../classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md) | Класс объекта, присылаемого API при изменении статуса выплаты на "canceled" | +| [\YooKassa\Model\Notification\NotificationPayoutSucceeded](../classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md) | Класс объекта, присылаемого API при изменении статуса выплаты на "succeeded" | | [\YooKassa\Model\Notification\NotificationRefundSucceeded](../classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md) | Класс объекта, присылаемого API при изменении статуса возврата на "succeeded" | | [\YooKassa\Model\Notification\NotificationSucceeded](../classes/YooKassa-Model-Notification-NotificationSucceeded.md) | Класс объекта, присылаемого API при изменении статуса платежа на "succeeded" | | [\YooKassa\Model\Notification\NotificationWaitingForCapture](../classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md) | Класс объекта, присылаемого API при изменении статуса платежа на "waiting_for_capture" | @@ -36,6 +39,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentdata-b2b-sberbank.md b/docs/namespaces/yookassa-model-paymentdata-b2b-sberbank.md index e073ca12..3d156e7e 100644 --- a/docs/namespaces/yookassa-model-paymentdata-b2b-sberbank.md +++ b/docs/namespaces/yookassa-model-paymentdata-b2b-sberbank.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentdata-b2b.md b/docs/namespaces/yookassa-model-paymentdata-b2b.md index bd7b491e..577b3138 100644 --- a/docs/namespaces/yookassa-model-paymentdata-b2b.md +++ b/docs/namespaces/yookassa-model-paymentdata-b2b.md @@ -23,6 +23,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentdata.md b/docs/namespaces/yookassa-model-paymentdata.md index 02105699..54eda7dc 100644 --- a/docs/namespaces/yookassa-model-paymentdata.md +++ b/docs/namespaces/yookassa-model-paymentdata.md @@ -45,6 +45,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentmethod-b2b-sberbank.md b/docs/namespaces/yookassa-model-paymentmethod-b2b-sberbank.md index 5ef5eb5f..2fe7a195 100644 --- a/docs/namespaces/yookassa-model-paymentmethod-b2b-sberbank.md +++ b/docs/namespaces/yookassa-model-paymentmethod-b2b-sberbank.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentmethod-b2b.md b/docs/namespaces/yookassa-model-paymentmethod-b2b.md index 8d5b632c..b46a3100 100644 --- a/docs/namespaces/yookassa-model-paymentmethod-b2b.md +++ b/docs/namespaces/yookassa-model-paymentmethod-b2b.md @@ -23,6 +23,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-paymentmethod.md b/docs/namespaces/yookassa-model-paymentmethod.md index 82a1b787..7ec580fb 100644 --- a/docs/namespaces/yookassa-model-paymentmethod.md +++ b/docs/namespaces/yookassa-model-paymentmethod.md @@ -47,6 +47,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payout.md b/docs/namespaces/yookassa-model-payout.md index c5c1d758..e51376b8 100644 --- a/docs/namespaces/yookassa-model-payout.md +++ b/docs/namespaces/yookassa-model-payout.md @@ -15,7 +15,7 @@ | [\YooKassa\Model\Payout\PayoutDestinationBankCard](../classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md) | PaymentDataBankCard Платежные данные для проведения оплаты при помощи банковской карты | | [\YooKassa\Model\Payout\PayoutDestinationBankCardCard](../classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md) | Данные банковской карты Необходим при оплате PCI-DSS данными. | | [\YooKassa\Model\Payout\PayoutDestinationFactory](../classes/YooKassa-Model-Payout-PayoutDestinationFactory.md) | Фабрика создания объекта платежных методов из массива | -| [\YooKassa\Model\Payout\PayoutDestinationType](../classes/YooKassa-Model-Payout-PayoutDestinationType.md) | PayoutDestinationType - Виды выплат |Код|Описание| --- | --- |yoo_money|Платеж из кошелька ЮMoney| |bank_card|Платеж с произвольной банковской карты| | +| [\YooKassa\Model\Payout\PayoutDestinationType](../classes/YooKassa-Model-Payout-PayoutDestinationType.md) | PayoutDestinationType - Виды выплат |Код|Описание| --- | --- |yoo_money|Выплата в кошелек ЮMoney| |bank_card|Выплата на произвольную банковскую карту| | | [\YooKassa\Model\Payout\PayoutDestinationYooMoney](../classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md) | Класс, описывающий метод оплаты, при оплате через ЮMoney | --- @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-receipt.md b/docs/namespaces/yookassa-model-receipt.md index 72191d07..c5eb36f0 100644 --- a/docs/namespaces/yookassa-model-receipt.md +++ b/docs/namespaces/yookassa-model-receipt.md @@ -29,6 +29,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-webhook.md b/docs/namespaces/yookassa-model-webhook.md index d786cbce..54dfd8f9 100644 --- a/docs/namespaces/yookassa-model-webhook.md +++ b/docs/namespaces/yookassa-model-webhook.md @@ -25,6 +25,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model.md b/docs/namespaces/yookassa-model.md index 21f206e1..14dcc27d 100644 --- a/docs/namespaces/yookassa-model.md +++ b/docs/namespaces/yookassa-model.md @@ -56,7 +56,7 @@ | [\YooKassa\Model\Locale](../classes/YooKassa-Model-Locale.md) | Locale - Язык интерфейса, писем и смс, которые будет видеть или получать пользователь |Код|Описание| --- | --- |ru_RU|Русский| |en_US|English| | | [\YooKassa\Model\Metadata](../classes/YooKassa-Model-Metadata.md) | Metadata - Метаданные платежа указанные мерчантом. | | [\YooKassa\Model\MonetaryAmount](../classes/YooKassa-Model-MonetaryAmount.md) | MonetaryAmount - Сумма определенная в валюте | -| [\YooKassa\Model\NotificationEventType](../classes/YooKassa-Model-NotificationEventType.md) | NotificationEventType - Тип уведомления |Код|Описание| --- | --- |payment.waiting_for_capture|Успешно оплачен покупателем, ожидает подтверждения магазином (capture или aviso)| |payment.succeeded|Успешно оплачен и подтвержден магазином| |payment.canceled|Неуспех оплаты или отменен магазином| |refund.succeeded|Успешный возврат| | +| [\YooKassa\Model\NotificationEventType](../classes/YooKassa-Model-NotificationEventType.md) | NotificationEventType - Тип уведомления |Код|Описание| --- | --- |payment.waiting_for_capture|Успешно оплачен покупателем, ожидает подтверждения магазином (capture или aviso)| |payment.succeeded|Успешно оплачен и подтвержден магазином| |payment.canceled|Неуспех оплаты или отменен магазином| |refund.succeeded|Успешный возврат| |deal.closed|Сделка перешла в статус closed| |payout.canceled|Выплата перешла в статус canceled| |payout.succeeded|Выплата перешла в статус succeeded| | | [\YooKassa\Model\NotificationType](../classes/YooKassa-Model-NotificationType.md) | Базовый класс генерируемых enum'ов | | [\YooKassa\Model\Passenger](../classes/YooKassa-Model-Passenger.md) | Класс описывающий данные пассажира | | [\YooKassa\Model\Payment](../classes/YooKassa-Model-Payment.md) | Payment - Данные о платеже | @@ -95,6 +95,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-deals.md b/docs/namespaces/yookassa-request-deals.md index 732e1445..f4d1a572 100644 --- a/docs/namespaces/yookassa-request-deals.md +++ b/docs/namespaces/yookassa-request-deals.md @@ -41,6 +41,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-payment.md b/docs/namespaces/yookassa-request-payments-payment.md index e9f771f5..ec201cdd 100644 --- a/docs/namespaces/yookassa-request-payments-payment.md +++ b/docs/namespaces/yookassa-request-payments-payment.md @@ -35,6 +35,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments.md b/docs/namespaces/yookassa-request-payments.md index 6563fa2a..2c9e7891 100644 --- a/docs/namespaces/yookassa-request-payments.md +++ b/docs/namespaces/yookassa-request-payments.md @@ -45,6 +45,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 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 bd10524e..9fd74a4f 100644 --- a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md +++ b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md @@ -29,6 +29,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts.md b/docs/namespaces/yookassa-request-payouts.md index 7cbd3fe1..a237da02 100644 --- a/docs/namespaces/yookassa-request-payouts.md +++ b/docs/namespaces/yookassa-request-payouts.md @@ -40,6 +40,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-receipts.md b/docs/namespaces/yookassa-request-receipts.md index 7b93230f..d8e5ab98 100644 --- a/docs/namespaces/yookassa-request-receipts.md +++ b/docs/namespaces/yookassa-request-receipts.md @@ -46,6 +46,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds.md b/docs/namespaces/yookassa-request-refunds.md index 54c88c32..f695fb6a 100644 --- a/docs/namespaces/yookassa-request-refunds.md +++ b/docs/namespaces/yookassa-request-refunds.md @@ -41,6 +41,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-webhook.md b/docs/namespaces/yookassa-request-webhook.md index 6f096306..436685e7 100644 --- a/docs/namespaces/yookassa-request-webhook.md +++ b/docs/namespaces/yookassa-request-webhook.md @@ -25,6 +25,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request.md b/docs/namespaces/yookassa-request.md index 23a1291d..73b71f73 100644 --- a/docs/namespaces/yookassa-request.md +++ b/docs/namespaces/yookassa-request.md @@ -28,6 +28,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa.md b/docs/namespaces/yookassa.md index 5493f420..460a7630 100644 --- a/docs/namespaces/yookassa.md +++ b/docs/namespaces/yookassa.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/readme.md b/docs/readme.md index e111c116..15114f6f 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -52,6 +52,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/reports/deprecated.md b/docs/reports/deprecated.md index 94f284f9..25a1b737 100644 --- a/docs/reports/deprecated.md +++ b/docs/reports/deprecated.md @@ -72,6 +72,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/reports/errors.md b/docs/reports/errors.md index 61404966..046aa7cb 100644 --- a/docs/reports/errors.md +++ b/docs/reports/errors.md @@ -18,6 +18,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/docs/reports/markers.md b/docs/reports/markers.md index 56ec4b92..b476723a 100644 --- a/docs/reports/markers.md +++ b/docs/reports/markers.md @@ -18,6 +18,6 @@ --- -This document was automatically generated from source code comments on 2021-11-09 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2021-11-16 using [phpDocumentor](http://www.phpdoc.org/) © 2021 YooMoney \ No newline at end of file diff --git a/lib/Client.php b/lib/Client.php index bfecf896..82231537 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -112,7 +112,7 @@ class Client extends BaseClient /** * Текущая версия библиотеки */ - const SDK_VERSION = '2.2.1'; + const SDK_VERSION = '2.2.2'; /** * Получить список платежей магазина diff --git a/lib/Model/Notification/NotificationCanceled.php b/lib/Model/Notification/NotificationCanceled.php index 448f8b0e..4378ddb7 100644 --- a/lib/Model/Notification/NotificationCanceled.php +++ b/lib/Model/Notification/NotificationCanceled.php @@ -87,7 +87,7 @@ class NotificationCanceled extends AbstractNotification } } if (empty($source['object'])) { - throw new EmptyPropertyValueException('Parameter object in NotificationSucceeded is empty'); + throw new EmptyPropertyValueException('Parameter object in NotificationCanceled is empty'); } $this->_object = new PaymentResponse($source['object']); } diff --git a/lib/Model/Notification/NotificationDealClosed.php b/lib/Model/Notification/NotificationDealClosed.php new file mode 100644 index 00000000..802a2a5f --- /dev/null +++ b/lib/Model/Notification/NotificationDealClosed.php @@ -0,0 +1,107 @@ +_setType(NotificationType::NOTIFICATION); + $this->_setEvent(NotificationEventType::DEAL_CLOSED); + if (!empty($source['type'])) { + if ($this->getType() !== $source['type']) { + throw new InvalidPropertyValueException( + 'Invalid value for "type" parameter in Notification', 0, 'notification.type', $source['type'] + ); + } + } + if (!empty($source['event'])) { + if ($this->getEvent() !== $source['event']) { + throw new InvalidPropertyValueException( + 'Invalid value for "event" parameter in Notification', 0, 'notification.event', $source['event'] + ); + } + } + if (empty($source['object'])) { + throw new EmptyPropertyValueException('Parameter object in NotificationDealClosed is empty'); + } + $this->_object = new DealResponse($source['object']); + } + + /** + * Возвращает объект с информацией о сделке, уведомление о которой хранится в текущем объекте + * + * Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет + * получена на сайте, то опираться на статус пришедшей сделки не стоит, лучше запросить текущую информацию о + * сделке у API. + * + * @return DealInterface Объект с информацией о сделке + */ + public function getObject() + { + return $this->_object; + } +} \ No newline at end of file diff --git a/lib/Model/Notification/NotificationFactory.php b/lib/Model/Notification/NotificationFactory.php index 4e8bf859..3fb6084a 100644 --- a/lib/Model/Notification/NotificationFactory.php +++ b/lib/Model/Notification/NotificationFactory.php @@ -43,6 +43,10 @@ class NotificationFactory NotificationEventType::REFUND_SUCCEEDED => 'NotificationRefundSucceeded', NotificationEventType::PAYMENT_SUCCEEDED => 'NotificationSucceeded', NotificationEventType::PAYMENT_WAITING_FOR_CAPTURE => 'NotificationWaitingForCapture', + + NotificationEventType::DEAL_CLOSED => 'NotificationDealClosed', + NotificationEventType::PAYOUT_CANCELED => 'NotificationPayoutCanceled', + NotificationEventType::PAYOUT_SUCCEEDED => 'NotificationPayoutSucceeded', ); /** diff --git a/lib/Model/Notification/NotificationPayoutCanceled.php b/lib/Model/Notification/NotificationPayoutCanceled.php new file mode 100644 index 00000000..057d9152 --- /dev/null +++ b/lib/Model/Notification/NotificationPayoutCanceled.php @@ -0,0 +1,107 @@ +_setType(NotificationType::NOTIFICATION); + $this->_setEvent(NotificationEventType::PAYOUT_CANCELED); + if (!empty($source['type'])) { + if ($this->getType() !== $source['type']) { + throw new InvalidPropertyValueException( + 'Invalid value for "type" parameter in Notification', 0, 'notification.type', $source['type'] + ); + } + } + if (!empty($source['event'])) { + if ($this->getEvent() !== $source['event']) { + throw new InvalidPropertyValueException( + 'Invalid value for "event" parameter in Notification', 0, 'notification.event', $source['event'] + ); + } + } + if (empty($source['object'])) { + throw new EmptyPropertyValueException('Parameter object in NotificationPayoutCanceled is empty'); + } + $this->_object = new PayoutResponse($source['object']); + } + + /** + * Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте + * + * Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет + * получена на сайте, то опираться на статус пришедшей выплаты не стоит, лучше запросить текущую информацию о + * выплате у API. + * + * @return PayoutInterface Объект с информацией о выплате + */ + public function getObject() + { + return $this->_object; + } +} \ No newline at end of file diff --git a/lib/Model/Notification/NotificationPayoutSucceeded.php b/lib/Model/Notification/NotificationPayoutSucceeded.php new file mode 100644 index 00000000..d36eb23b --- /dev/null +++ b/lib/Model/Notification/NotificationPayoutSucceeded.php @@ -0,0 +1,107 @@ +_setType(NotificationType::NOTIFICATION); + $this->_setEvent(NotificationEventType::PAYOUT_SUCCEEDED); + if (!empty($source['type'])) { + if ($this->getType() !== $source['type']) { + throw new InvalidPropertyValueException( + 'Invalid value for "type" parameter in Notification', 0, 'notification.type', $source['type'] + ); + } + } + if (!empty($source['event'])) { + if ($this->getEvent() !== $source['event']) { + throw new InvalidPropertyValueException( + 'Invalid value for "event" parameter in Notification', 0, 'notification.event', $source['event'] + ); + } + } + if (empty($source['object'])) { + throw new EmptyPropertyValueException('Parameter object in NotificationPayoutSucceeded is empty'); + } + $this->_object = new PayoutResponse($source['object']); + } + + /** + * Возвращает объект с информацией о выплате, уведомление о которой хранится в текущем объекте + * + * Так как нотификация может быть сгенерирована и поставлена в очередь на отправку гораздо раньше, чем она будет + * получена на сайте, то опираться на статус пришедшей выплаты не стоит, лучше запросить текущую информацию о + * выплате у API. + * + * @return PayoutInterface Объект с информацией о выплате + */ + public function getObject() + { + return $this->_object; + } +} \ No newline at end of file diff --git a/lib/Model/Notification/NotificationRefundSucceeded.php b/lib/Model/Notification/NotificationRefundSucceeded.php index f93bacc7..c218f56d 100644 --- a/lib/Model/Notification/NotificationRefundSucceeded.php +++ b/lib/Model/Notification/NotificationRefundSucceeded.php @@ -86,7 +86,7 @@ class NotificationRefundSucceeded extends AbstractNotification } } if (empty($source['object'])) { - throw new EmptyPropertyValueException('Parameter object in NotificationSucceeded is empty'); + throw new EmptyPropertyValueException('Parameter object in NotificationRefundSucceeded is empty'); } $this->_object = new RefundResponse($source['object']); } diff --git a/lib/Model/NotificationEventType.php b/lib/Model/NotificationEventType.php index bbd35ef7..ee2e5a60 100644 --- a/lib/Model/NotificationEventType.php +++ b/lib/Model/NotificationEventType.php @@ -36,6 +36,9 @@ use YooKassa\Common\AbstractEnum; * |payment.succeeded|Успешно оплачен и подтвержден магазином| * |payment.canceled|Неуспех оплаты или отменен магазином| * |refund.succeeded|Успешный возврат| + * |deal.closed|Сделка перешла в статус closed| + * |payout.canceled|Выплата перешла в статус canceled| + * |payout.succeeded|Выплата перешла в статус succeeded| * * @package YooKassa */ @@ -49,11 +52,20 @@ class NotificationEventType extends AbstractEnum const PAYMENT_CANCELED = 'payment.canceled'; /** Успешный возврат */ const REFUND_SUCCEEDED = 'refund.succeeded'; + /** Сделка перешла в статус closed */ + const DEAL_CLOSED = 'deal.closed'; + /** Выплата перешла в статус canceled */ + const PAYOUT_CANCELED = 'payout.canceled'; + /** Выплата перешла в статус succeeded */ + const PAYOUT_SUCCEEDED = 'payout.succeeded'; protected static $validValues = array( self::PAYMENT_WAITING_FOR_CAPTURE => true, self::PAYMENT_SUCCEEDED => true, self::PAYMENT_CANCELED => true, self::REFUND_SUCCEEDED => true, + self::DEAL_CLOSED => true, + self::PAYOUT_CANCELED => true, + self::PAYOUT_SUCCEEDED => true, ); } \ No newline at end of file diff --git a/lib/Model/Payout.php b/lib/Model/Payout.php index aee7f3c2..274f8c78 100644 --- a/lib/Model/Payout.php +++ b/lib/Model/Payout.php @@ -52,7 +52,7 @@ use YooKassa\Model\Payout\PayoutDestinationFactory; * @property PayoutDealInfo $deal Сделка, в рамках которой нужно провести выплату * @property CancellationDetailsInterface $cancellationDetails Комментарий к отмене выплаты * @property CancellationDetailsInterface $cancellation_details Комментарий к отмене выплаты - * @property Metadata $metadata Метаданные платежа указанные мерчантом + * @property Metadata $metadata Метаданные выплаты указанные мерчантом * @property bool $test Признак тестовой операции */ class Payout extends AbstractObject implements PayoutInterface @@ -61,7 +61,7 @@ class Payout extends AbstractObject implements PayoutInterface const MAX_LENGTH_DESCRIPTION = 128; /** - * @var string Идентификатор платежа + * @var string Идентификатор выплаты */ private $_id; @@ -71,7 +71,7 @@ class Payout extends AbstractObject implements PayoutInterface private $_amount; /** - * @var string Текущее состояние платежа + * @var string Текущее состояние выплаты */ private $_status; @@ -168,8 +168,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Возвращает состояние платежа - * @return string Текущее состояние платежа + * Возвращает состояние выплаты + * @return string Текущее состояние выплаты */ public function getStatus() { @@ -177,8 +177,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Устанавливает статус платежа - * @param string $value Статус платежа + * Устанавливает статус выплаты + * @param string $value Статус выплаты * * @throws InvalidPropertyValueException Выбрасывается если переданная строка не является валидным статусом * @throws InvalidPropertyValueTypeException Выбрасывается если в метод была передана не строка @@ -236,8 +236,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Возвращает используемый способ проведения платежа - * @return AbstractPaymentMethod Способ проведения платежа + * Возвращает используемый способ проведения выплаты + * @return AbstractPaymentMethod Способ проведения выплаты */ public function getPayoutDestination() { @@ -245,8 +245,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Устанавливает используемый способ проведения платежа - * @param AbstractPayoutDestination|array $value Способ проведения платежа + * Устанавливает используемый способ проведения выплаты + * @param AbstractPayoutDestination|array $value Способ проведения выплаты */ public function setPayoutDestination($value) { @@ -298,8 +298,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Возвращает метаданные платежа установленные мерчантом - * @return Metadata Метаданные платежа указанные мерчантом + * Возвращает метаданные выплаты установленные мерчантом + * @return Metadata Метаданные выплаты указанные мерчантом */ public function getMetadata() { @@ -307,8 +307,8 @@ class Payout extends AbstractObject implements PayoutInterface } /** - * Устанавливает метаданные платежа - * @param Metadata|array $value Метаданные платежа указанные мерчантом + * Устанавливает метаданные выплаты + * @param Metadata|array $value Метаданные выплаты указанные мерчантом */ public function setMetadata($value) { diff --git a/lib/Model/Payout/PayoutCancellationDetails.php b/lib/Model/Payout/PayoutCancellationDetails.php index 6faebd07..bb943a3d 100644 --- a/lib/Model/Payout/PayoutCancellationDetails.php +++ b/lib/Model/Payout/PayoutCancellationDetails.php @@ -51,9 +51,9 @@ class PayoutCancellationDetails extends AbstractObject implements CancellationDe private $_reason = ''; /** - * Возвращает участника процесса платежа, который принял решение об отмене транзакции + * Возвращает участника процесса выплаты, который принял решение об отмене транзакции * - * @return string Инициатор отмены платежа + * @return string Инициатор отмены выплаты */ public function getParty() { @@ -61,9 +61,9 @@ class PayoutCancellationDetails extends AbstractObject implements CancellationDe } /** - * Возвращает причину отмены платежа + * Возвращает причину отмены выплаты * - * @return string Причина отмены платежа + * @return string Причина отмены выплаты */ public function getReason() { diff --git a/lib/Model/Payout/PayoutDestinationType.php b/lib/Model/Payout/PayoutDestinationType.php index 0fa63db1..1b4ba55f 100644 --- a/lib/Model/Payout/PayoutDestinationType.php +++ b/lib/Model/Payout/PayoutDestinationType.php @@ -33,8 +33,8 @@ use YooKassa\Model\PaymentMethodType; * PayoutDestinationType - Виды выплат * |Код|Описание| * --- | --- - * |yoo_money|Платеж из кошелька ЮMoney| - * |bank_card|Платеж с произвольной банковской карты| + * |yoo_money|Выплата в кошелек ЮMoney| + * |bank_card|Выплата на произвольную банковскую карту| */ class PayoutDestinationType extends AbstractEnum { diff --git a/phpdoc.xml b/phpdoc.xml index 051427d2..7d752f0c 100644 --- a/phpdoc.xml +++ b/phpdoc.xml @@ -9,7 +9,7 @@ .phpdoc - + latest diff --git a/tests/Model/Notification/AbstractNotificationTest.php b/tests/Model/Notification/AbstractNotificationTest.php index b6a01a68..d384763d 100644 --- a/tests/Model/Notification/AbstractNotificationTest.php +++ b/tests/Model/Notification/AbstractNotificationTest.php @@ -1,6 +1,6 @@ getTestInstance($value); + self::assertTrue($instance->getObject() instanceof DealInterface); + self::assertEquals($value['object']['id'], $instance->getObject()->getId()); + } + + /** + * @return array + * @throws \Exception + */ + public function validDataProvider() + { + $result = array(); + $statuses = DealStatus::getValidValues(); + $types = DealType::getValidValues(); + + for ($i = 0; $i < 10; $i++) { + $deal = array( + 'id' => Random::str(36), + 'type' => Random::value($types), + 'status' => Random::value($statuses), + 'description' => Random::str(128), + 'balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getEnabledValues()), + ), + 'payout_balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ), + 'created_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'expires_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'fee_moment' => Random::value(FeeMoment::getEnabledValues()), + 'test' => (bool)($i % 2), + 'metadata' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::str(1, 256), + ), + ); + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => $deal, + ), + ); + } + + $trueFalse = Random::bool(); + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => array( + 'id' => Random::str(36), + 'type' => Random::value($types), + 'status' => Random::value($statuses), + 'description' => Random::str(128), + 'balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ), + 'payout_balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ), + 'created_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'expires_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'fee_moment' => Random::value(FeeMoment::getEnabledValues()), + 'test' => $trueFalse, + 'metadata' => array(), + ), + ), + ); + + return $result; + } + +} \ No newline at end of file diff --git a/tests/Model/Notification/NotificationFactoryTest.php b/tests/Model/Notification/NotificationFactoryTest.php index b803a286..3c438589 100644 --- a/tests/Model/Notification/NotificationFactoryTest.php +++ b/tests/Model/Notification/NotificationFactoryTest.php @@ -1,20 +1,29 @@ getRefundNotification(); break; + case NotificationEventType::DEAL_CLOSED: + $notification = $this->getDealNotification(); + break; + case NotificationEventType::PAYOUT_SUCCEEDED: + case NotificationEventType::PAYOUT_CANCELED: + $notification = $this->getPayoutNotification($eventType); + break; default: $notification = $this->getPaymentNotification($eventType); } @@ -178,6 +194,83 @@ class NotificationFactoryTest extends TestCase ); } + private function getPayoutNotification($type) + { + $cancellationDetailsParties = PayoutCancellationDetailsPartyCode::getValidValues(); + $cancellationDetailsReasons = PayoutCancellationDetailsReasonCode::getValidValues(); + $payoutDestinations = array( + PaymentMethodType::YOO_MONEY => array( + 'type' => PaymentMethodType::YOO_MONEY, + 'account_number' => Random::str(11, 33, '1234567890') + ), + PaymentMethodType::BANK_CARD => array( + 'type' => PaymentMethodType::BANK_CARD, + 'card' => array( + 'number' => Random::str(16, 18, '1234567890') + ) + ), + ); + + $payout = array( + 'id' => Random::str(36, 50), + 'status' => Random::value(PayoutStatus::getValidValues()), + 'amount' => array('value' => Random::int(1, 10000), 'currency' => 'RUB'), + 'description' => Random::str(1, Payout::MAX_LENGTH_DESCRIPTION), + 'payout_destination' => $payoutDestinations[Random::value(array(PaymentMethodType::YOO_MONEY,PaymentMethodType::BANK_CARD))], + 'created_at' => date(YOOKASSA_DATE, mt_rand(111111111, time())), + 'test' => true, + 'deal' => array('id' => Random::str(36, 50)), + 'metadata' => array('order_id' => '37'), + 'cancellation_details' => array( + 'party' => Random::value($cancellationDetailsParties), + 'reason' => Random::value($cancellationDetailsReasons) + ), + ); + + return array( + array( + 'type' => $this->getExpectedType(), + 'event' => $type, + 'object' => $payout, + ), + ); + } + + private function getDealNotification() + { + $statuses = DealStatus::getValidValues(); + $types = DealType::getValidValues(); + + $trueFalse = Random::bool(); + $deal = array( + 'id' => Random::str(36), + 'type' => Random::value($types), + 'status' => Random::value($statuses), + 'description' => Random::str(128), + 'balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ), + 'payout_balance' => array( + 'value' => Random::float(0.01, 1000000.0), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ), + 'created_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'expires_at' => date(YOOKASSA_DATE, Random::int(1, time())), + 'fee_moment' => Random::value(FeeMoment::getEnabledValues()), + 'test' => $trueFalse, + 'metadata' => array(), + ); + + return array( + array( + 'type' => $this->getExpectedType(), + 'event' => NotificationEventType::DEAL_CLOSED, + 'object' => $deal, + ), + ); + } + /** * @return string */ @@ -195,6 +288,9 @@ class NotificationFactoryTest extends TestCase return Random::value(NotificationEventType::getEnabledValues()); } + /** + * @throws \Exception + */ private function assertObject($event, $object, $value) { self::assertNotNull($object); @@ -209,6 +305,15 @@ class NotificationFactoryTest extends TestCase self::assertTrue($object instanceof PaymentResponse); self::assertEquals($object, new PaymentResponse($value)); break; + case NotificationEventType::PAYOUT_SUCCEEDED: + case NotificationEventType::PAYOUT_CANCELED: + self::assertTrue($object instanceof PayoutResponse); + self::assertEquals($object, new PayoutResponse($value)); + break; + case NotificationEventType::DEAL_CLOSED: + self::assertTrue($object instanceof DealResponse); + self::assertEquals($object, new DealResponse($value)); + break; } } diff --git a/tests/Model/Notification/NotificationPayoutCanceledTest.php b/tests/Model/Notification/NotificationPayoutCanceledTest.php new file mode 100644 index 00000000..4eea8813 --- /dev/null +++ b/tests/Model/Notification/NotificationPayoutCanceledTest.php @@ -0,0 +1,127 @@ +getTestInstance($value); + self::assertTrue($instance->getObject() instanceof PayoutInterface); + self::assertEquals($value['object']['id'], $instance->getObject()->getId()); + } + + /** + * @return array + * @throws \Exception + */ + public function validDataProvider() + { + $result = array(); + $cancellationDetailsParties = PayoutCancellationDetailsPartyCode::getValidValues(); + $countCancellationDetailsParties = count($cancellationDetailsParties); + $cancellationDetailsReasons = PayoutCancellationDetailsReasonCode::getValidValues(); + $countCancellationDetailsReasons = count($cancellationDetailsReasons); + $payoutDestinations = array( + PaymentMethodType::YOO_MONEY => array( + 'type' => PaymentMethodType::YOO_MONEY, + 'account_number' => Random::str(11, 33, '1234567890') + ), + PaymentMethodType::BANK_CARD => array( + 'type' => PaymentMethodType::BANK_CARD, + 'card' => array( + 'number' => Random::str(16, 18, '1234567890') + ) + ), + ); + + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => array( + 'id' => Random::str(36, 50), + 'status' => Random::value(PayoutStatus::getValidValues()), + 'amount' => array('value' => Random::int(1, 10000), 'currency' => 'RUB'), + 'description' => Random::str(1, Payout::MAX_LENGTH_DESCRIPTION), + 'payout_destination' => $payoutDestinations[Random::value(array(PaymentMethodType::YOO_MONEY,PaymentMethodType::BANK_CARD))], + 'created_at' => date(YOOKASSA_DATE, mt_rand(111111111, time())), + 'test' => true, + 'deal' => array('id' => Random::str(36, 50)), + 'metadata' => array('order_id' => '37'), + 'cancellation_details' => array( + 'party' => Random::value($cancellationDetailsParties), + 'reason' => Random::value($cancellationDetailsReasons) + ), + ), + ), + ); + + for ($i = 0; $i < 20; $i++) { + $object = array( + 'id' => Random::str(36, 50), + 'status' => Random::value(PayoutStatus::getValidValues()), + 'amount' => array('value' => Random::int(1, 10000), 'currency' => 'RUB'), + 'description' => ($i == 0 ? null : ($i == 1 ? '' : ($i == 2 ? Random::str(Payout::MAX_LENGTH_DESCRIPTION) + : Random::str(1, Payout::MAX_LENGTH_DESCRIPTION)))), + 'payout_destination' => $payoutDestinations[Random::value(array(PaymentMethodType::YOO_MONEY,PaymentMethodType::BANK_CARD))], + 'created_at' => date(YOOKASSA_DATE, mt_rand(1, time())), + 'test' => (bool)($i % 2), + 'metadata' => array(Random::str(3, 128, 'abcdefghijklmnopqrstuvwxyz') => Random::str(1, 512)), + 'cancellation_details' => array( + 'party' => $cancellationDetailsParties[$i % $countCancellationDetailsParties], + 'reason' => $cancellationDetailsReasons[$i % $countCancellationDetailsReasons] + ), + ); + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => $object, + ), + ); + } + return $result; + } +} \ No newline at end of file diff --git a/tests/Model/Notification/NotificationPayoutSucceededTest.php b/tests/Model/Notification/NotificationPayoutSucceededTest.php new file mode 100644 index 00000000..62137758 --- /dev/null +++ b/tests/Model/Notification/NotificationPayoutSucceededTest.php @@ -0,0 +1,113 @@ +getTestInstance($value); + self::assertTrue($instance->getObject() instanceof PayoutInterface); + self::assertEquals($value['object']['id'], $instance->getObject()->getId()); + } + + /** + * @return array + * @throws \Exception + */ + public function validDataProvider() + { + $result = array(); + $payoutDestinations = array( + PaymentMethodType::YOO_MONEY => array( + 'type' => PaymentMethodType::YOO_MONEY, + 'account_number' => Random::str(11, 33, '1234567890') + ), + PaymentMethodType::BANK_CARD => array( + 'type' => PaymentMethodType::BANK_CARD, + 'card' => array( + 'number' => Random::str(16, 18, '1234567890') + ) + ), + ); + + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => array( + 'id' => Random::str(36, 50), + 'status' => Random::value(PayoutStatus::getValidValues()), + 'amount' => array('value' => Random::int(1, 10000), 'currency' => 'RUB'), + 'description' => Random::str(1, Payout::MAX_LENGTH_DESCRIPTION), + 'payout_destination' => $payoutDestinations[Random::value(array(PaymentMethodType::YOO_MONEY,PaymentMethodType::BANK_CARD))], + 'created_at' => date(YOOKASSA_DATE, mt_rand(111111111, time())), + 'test' => true, + 'deal' => array('id' => Random::str(36, 50)), + 'metadata' => array('order_id' => '37'), + ), + ), + ); + + for ($i = 0; $i < 20; $i++) { + $object = array( + 'id' => Random::str(36, 50), + 'status' => Random::value(PayoutStatus::getValidValues()), + 'amount' => array('value' => Random::int(1, 10000), 'currency' => 'RUB'), + 'description' => ($i == 0 ? null : ($i == 1 ? '' : ($i == 2 ? Random::str(Payout::MAX_LENGTH_DESCRIPTION) + : Random::str(1, Payout::MAX_LENGTH_DESCRIPTION)))), + 'payout_destination' => $payoutDestinations[Random::value(array(PaymentMethodType::YOO_MONEY,PaymentMethodType::BANK_CARD))], + 'created_at' => date(YOOKASSA_DATE, mt_rand(1, time())), + 'test' => (bool)($i % 2), + 'metadata' => array(Random::str(3, 128, 'abcdefghijklmnopqrstuvwxyz') => Random::str(1, 512)), + ); + $result[] = array( + array( + 'type' => $this->getExpectedType(), + 'event' => $this->getExpectedEvent(), + 'object' => $object, + ), + ); + } + return $result; + } +} \ No newline at end of file diff --git a/tests/Model/Notification/NotificationRefundSucceededTest.php b/tests/Model/Notification/NotificationRefundSucceededTest.php index 18883551..42f020b2 100644 --- a/tests/Model/Notification/NotificationRefundSucceededTest.php +++ b/tests/Model/Notification/NotificationRefundSucceededTest.php @@ -1,7 +1,7 @@ Random::str($i < 5 ? mt_rand(1, 35) : mt_rand(37, 64)), 'status' => $invalidData[$i], @@ -566,7 +563,7 @@ class SafeDealTest extends TestCase 'payout_balance' => $invalidData[$i], 'test' => $invalidData[$i], 'created_at' => $invalidData[$i], - 'expires_at' => $invalidData[$i], + 'expires_at' => $invalidData[$i] ); $result[] = array($payment); }