From 96afe1717b246dc3675f1341dae4c330a0198996 Mon Sep 17 00:00:00 2001
From: flashwave
Date: Thu, 3 Dec 2015 20:40:01 +0100
Subject: [PATCH] redid directory structure and no longer include the composer
libs
---
.gitignore | 12 +-
README.md | 18 -
_sakura/vendor/autoload.php | 7 -
_sakura/vendor/composer/ClassLoader.php | 413 --
_sakura/vendor/composer/LICENSE | 21 -
_sakura/vendor/composer/autoload_classmap.php | 17 -
.../vendor/composer/autoload_namespaces.php | 13 -
_sakura/vendor/composer/autoload_psr4.php | 9 -
_sakura/vendor/composer/autoload_real.php | 45 -
_sakura/vendor/composer/installed.json | 267 --
_sakura/vendor/erusev/parsedown/.travis.yml | 16 -
_sakura/vendor/erusev/parsedown/LICENSE.txt | 20 -
_sakura/vendor/erusev/parsedown/Parsedown.php | 1528 -------
_sakura/vendor/erusev/parsedown/README.md | 57 -
_sakura/vendor/erusev/parsedown/composer.json | 18 -
.../vendor/erusev/parsedown/phpunit.xml.dist | 8 -
.../erusev/parsedown/test/CommonMarkTest.php | 74 -
.../erusev/parsedown/test/ParsedownTest.php | 159 -
.../erusev/parsedown/test/TestParsedown.php | 5 -
.../erusev/parsedown/test/bootstrap.php | 3 -
.../parsedown/test/data/aesthetic_table.html | 18 -
.../parsedown/test/data/aesthetic_table.md | 4 -
.../parsedown/test/data/aligned_table.html | 21 -
.../parsedown/test/data/aligned_table.md | 4 -
.../parsedown/test/data/atx_heading.html | 9 -
.../erusev/parsedown/test/data/atx_heading.md | 17 -
.../parsedown/test/data/automatic_link.html | 1 -
.../parsedown/test/data/automatic_link.md | 1 -
.../parsedown/test/data/block-level_html.html | 12 -
.../parsedown/test/data/block-level_html.md | 16 -
.../parsedown/test/data/code_block.html | 8 -
.../erusev/parsedown/test/data/code_block.md | 10 -
.../erusev/parsedown/test/data/code_span.html | 6 -
.../erusev/parsedown/test/data/code_span.md | 11 -
.../test/data/compound_blockquote.html | 9 -
.../test/data/compound_blockquote.md | 10 -
.../test/data/compound_emphasis.html | 2 -
.../parsedown/test/data/compound_emphasis.md | 4 -
.../parsedown/test/data/compound_list.html | 12 -
.../parsedown/test/data/compound_list.md | 7 -
.../test/data/deeply_nested_list.html | 12 -
.../parsedown/test/data/deeply_nested_list.md | 6 -
.../erusev/parsedown/test/data/em_strong.html | 8 -
.../erusev/parsedown/test/data/em_strong.md | 15 -
.../erusev/parsedown/test/data/email.html | 1 -
.../erusev/parsedown/test/data/email.md | 1 -
.../erusev/parsedown/test/data/emphasis.html | 8 -
.../erusev/parsedown/test/data/emphasis.md | 13 -
.../erusev/parsedown/test/data/escaping.html | 6 -
.../erusev/parsedown/test/data/escaping.md | 11 -
.../test/data/fenced_code_block.html | 6 -
.../parsedown/test/data/fenced_code_block.md | 14 -
.../parsedown/test/data/horizontal_rule.html | 5 -
.../parsedown/test/data/horizontal_rule.md | 9 -
.../parsedown/test/data/html_comment.html | 5 -
.../parsedown/test/data/html_comment.md | 8 -
.../parsedown/test/data/html_entity.html | 1 -
.../erusev/parsedown/test/data/html_entity.md | 1 -
.../parsedown/test/data/image_reference.html | 2 -
.../parsedown/test/data/image_reference.md | 5 -
.../parsedown/test/data/image_title.html | 2 -
.../erusev/parsedown/test/data/image_title.md | 3 -
.../test/data/implicit_reference.html | 4 -
.../parsedown/test/data/implicit_reference.md | 13 -
.../parsedown/test/data/inline_link.html | 6 -
.../erusev/parsedown/test/data/inline_link.md | 11 -
.../test/data/inline_link_title.html | 6 -
.../parsedown/test/data/inline_link_title.md | 11 -
.../parsedown/test/data/inline_title.html | 1 -
.../parsedown/test/data/inline_title.md | 1 -
.../parsedown/test/data/lazy_blockquote.html | 6 -
.../parsedown/test/data/lazy_blockquote.md | 5 -
.../erusev/parsedown/test/data/lazy_list.html | 4 -
.../erusev/parsedown/test/data/lazy_list.md | 2 -
.../parsedown/test/data/line_break.html | 2 -
.../erusev/parsedown/test/data/line_break.md | 2 -
.../test/data/multiline_list_paragraph.html | 7 -
.../test/data/multiline_list_paragraph.md | 4 -
.../test/data/nested_block-level_html.html | 10 -
.../test/data/nested_block-level_html.md | 11 -
.../parsedown/test/data/ordered_list.html | 13 -
.../parsedown/test/data/ordered_list.md | 11 -
.../parsedown/test/data/paragraph_list.html | 12 -
.../parsedown/test/data/paragraph_list.md | 9 -
.../parsedown/test/data/reference_title.html | 2 -
.../parsedown/test/data/reference_title.md | 6 -
.../test/data/self-closing_html.html | 12 -
.../parsedown/test/data/self-closing_html.md | 12 -
.../test/data/separated_nested_list.html | 9 -
.../test/data/separated_nested_list.md | 4 -
.../parsedown/test/data/setext_header.html | 5 -
.../parsedown/test/data/setext_header.md | 12 -
.../test/data/simple_blockquote.html | 11 -
.../parsedown/test/data/simple_blockquote.md | 7 -
.../parsedown/test/data/simple_table.html | 37 -
.../parsedown/test/data/simple_table.md | 11 -
.../parsedown/test/data/span-level_html.html | 5 -
.../parsedown/test/data/span-level_html.md | 8 -
.../test/data/sparse_dense_list.html | 7 -
.../parsedown/test/data/sparse_dense_list.md | 4 -
.../parsedown/test/data/sparse_html.html | 8 -
.../erusev/parsedown/test/data/sparse_html.md | 8 -
.../parsedown/test/data/sparse_list.html | 15 -
.../erusev/parsedown/test/data/sparse_list.md | 9 -
.../test/data/special_characters.html | 6 -
.../parsedown/test/data/special_characters.md | 13 -
.../parsedown/test/data/strikethrough.html | 3 -
.../parsedown/test/data/strikethrough.md | 5 -
.../erusev/parsedown/test/data/strong_em.html | 6 -
.../erusev/parsedown/test/data/strong_em.md | 11 -
.../test/data/tab-indented_code_block.html | 6 -
.../test/data/tab-indented_code_block.md | 6 -
.../test/data/table_inline_markdown.html | 22 -
.../test/data/table_inline_markdown.md | 5 -
.../parsedown/test/data/text_reference.html | 8 -
.../parsedown/test/data/text_reference.md | 21 -
.../parsedown/test/data/unordered_list.html | 10 -
.../parsedown/test/data/unordered_list.md | 8 -
.../parsedown/test/data/untidy_table.html | 18 -
.../parsedown/test/data/untidy_table.md | 4 -
.../parsedown/test/data/url_autolinking.html | 3 -
.../parsedown/test/data/url_autolinking.md | 5 -
.../parsedown/test/data/whitespace.html | 1 -
.../erusev/parsedown/test/data/whitespace.md | 5 -
_sakura/vendor/jbbcode/jbbcode/.gitignore | 2 -
.../jbbcode/JBBCode/CodeDefinition.php | 328 --
.../jbbcode/JBBCode/CodeDefinitionBuilder.php | 160 -
.../jbbcode/JBBCode/CodeDefinitionSet.php | 22 -
.../JBBCode/DefaultCodeDefinitionSet.php | 75 -
.../jbbcode/JBBCode/DocumentElement.php | 67 -
.../jbbcode/jbbcode/JBBCode/ElementNode.php | 241 -
.../jbbcode/JBBCode/InputValidator.php | 20 -
.../vendor/jbbcode/jbbcode/JBBCode/Node.php | 109 -
.../jbbcode/jbbcode/JBBCode/NodeVisitor.php | 20 -
.../vendor/jbbcode/jbbcode/JBBCode/Parser.php | 662 ---
.../jbbcode/JBBCode/ParserException.php | 7 -
.../jbbcode/jbbcode/JBBCode/TextNode.php | 102 -
.../jbbcode/jbbcode/JBBCode/Tokenizer.php | 105 -
.../JBBCode/examples/1-GettingStarted.php | 12 -
.../examples/2-ClosingUnclosedTags.php | 10 -
.../JBBCode/examples/3-MarkuplessText.php | 11 -
.../JBBCode/examples/4-CreatingNewCodes.php | 7 -
.../JBBCode/examples/SmileyVisitorTest.php | 22 -
.../examples/TagCountingVisitorTest.php | 23 -
.../JBBCode/tests/BBCodeToBBCodeTest.php | 85 -
.../JBBCode/tests/BBCodeToTextTest.php | 78 -
.../JBBCode/tests/DefaultCodesTest.php | 54 -
.../jbbcode/JBBCode/tests/HTMLSafeTest.php | 77 -
.../jbbcode/JBBCode/tests/NestLimitTest.php | 46 -
.../JBBCode/tests/ParseContentTest.php | 97 -
.../JBBCode/tests/ParsingEdgeCaseTest.php | 130 -
.../JBBCode/tests/SimpleEvaluationTest.php | 131 -
.../jbbcode/JBBCode/tests/TokenizerTest.php | 74 -
.../jbbcode/JBBCode/tests/ValidatorTest.php | 151 -
.../JBBCode/validators/CssColorValidator.php | 30 -
.../JBBCode/validators/UrlValidator.php | 27 -
.../JBBCode/visitors/HTMLSafeVisitor.php | 52 -
.../JBBCode/visitors/NestLimitVisitor.php | 65 -
.../JBBCode/visitors/SmileyVisitor.php | 42 -
.../JBBCode/visitors/TagCountingVisitor.php | 60 -
_sakura/vendor/jbbcode/jbbcode/README.md | 78 -
_sakura/vendor/jbbcode/jbbcode/composer.json | 31 -
.../paypal/rest-api-sdk-php/.coveralls.yml | 6 -
.../paypal/rest-api-sdk-php/.editorconfig | 11 -
.../vendor/paypal/rest-api-sdk-php/.gitignore | 21 -
.../paypal/rest-api-sdk-php/.travis.yml | 31 -
.../paypal/rest-api-sdk-php/LICENSE.txt | 41 -
.../vendor/paypal/rest-api-sdk-php/README.md | 47 -
.../paypal/rest-api-sdk-php/composer.json | 27 -
.../paypal/rest-api-sdk-php/docs/cover.css | 122 -
.../paypal/rest-api-sdk-php/docs/index.html | 132 -
.../paypal/rest-api-sdk-php/generate-api.sh | 30 -
.../lib/PayPal/Api/Address.php | 39 -
.../lib/PayPal/Api/Agreement.php | 647 ---
.../lib/PayPal/Api/AgreementDetails.php | 209 -
.../PayPal/Api/AgreementStateDescriptor.php | 65 -
.../lib/PayPal/Api/AgreementTransaction.php | 257 --
.../lib/PayPal/Api/AgreementTransactions.php | 71 -
.../lib/PayPal/Api/AlternatePayment.php | 89 -
.../lib/PayPal/Api/Amount.php | 93 -
.../lib/PayPal/Api/Authorization.php | 459 --
.../lib/PayPal/Api/BankAccount.php | 630 ---
.../lib/PayPal/Api/BankAccountsList.php | 119 -
.../lib/PayPal/Api/BankToken.php | 89 -
.../lib/PayPal/Api/BaseAddress.php | 211 -
.../lib/PayPal/Api/Billing.php | 41 -
.../lib/PayPal/Api/BillingAgreementToken.php | 17 -
.../lib/PayPal/Api/BillingInfo.php | 235 -
.../lib/PayPal/Api/CancelNotification.php | 113 -
.../lib/PayPal/Api/Capture.php | 264 --
.../lib/PayPal/Api/CarrierAccount.php | 138 -
.../lib/PayPal/Api/CarrierAccountToken.php | 65 -
.../lib/PayPal/Api/CartBase.php | 391 --
.../lib/PayPal/Api/ChargeModel.php | 89 -
.../rest-api-sdk-php/lib/PayPal/Api/Cost.php | 69 -
.../lib/PayPal/Api/CountryCode.php | 41 -
.../lib/PayPal/Api/CreateProfileResponse.php | 40 -
.../lib/PayPal/Api/Credit.php | 66 -
.../lib/PayPal/Api/CreditCard.php | 559 ---
.../lib/PayPal/Api/CreditCardHistory.php | 91 -
.../lib/PayPal/Api/CreditCardList.php | 120 -
.../lib/PayPal/Api/CreditCardToken.php | 161 -
.../lib/PayPal/Api/CreditFinancingOffered.php | 161 -
.../lib/PayPal/Api/Currency.php | 69 -
.../lib/PayPal/Api/CurrencyConversion.php | 268 --
.../lib/PayPal/Api/CustomAmount.php | 65 -
.../lib/PayPal/Api/Details.php | 227 -
.../rest-api-sdk-php/lib/PayPal/Api/Error.php | 321 --
.../lib/PayPal/Api/ErrorDetails.php | 115 -
.../lib/PayPal/Api/ExtendedBankAccount.php | 40 -
.../lib/PayPal/Api/ExternalFunding.php | 137 -
.../lib/PayPal/Api/FlowConfig.php | 69 -
.../lib/PayPal/Api/FmfDetails.php | 115 -
.../lib/PayPal/Api/FundingDetail.php | 114 -
.../lib/PayPal/Api/FundingInstrument.php | 339 --
.../lib/PayPal/Api/FundingOption.php | 221 -
.../lib/PayPal/Api/FundingSource.php | 289 --
.../lib/PayPal/Api/FuturePayment.php | 75 -
.../lib/PayPal/Api/HyperSchema.php | 191 -
.../rest-api-sdk-php/lib/PayPal/Api/Image.php | 56 -
.../lib/PayPal/Api/Incentive.php | 236 -
.../lib/PayPal/Api/InputFields.php | 92 -
.../lib/PayPal/Api/InstallmentInfo.php | 144 -
.../lib/PayPal/Api/InstallmentOption.php | 113 -
.../lib/PayPal/Api/Invoice.php | 1020 -----
.../lib/PayPal/Api/InvoiceAddress.php | 39 -
.../lib/PayPal/Api/InvoiceItem.php | 189 -
.../lib/PayPal/Api/InvoiceSearchResponse.php | 95 -
.../rest-api-sdk-php/lib/PayPal/Api/Item.php | 456 --
.../lib/PayPal/Api/ItemList.php | 143 -
.../rest-api-sdk-php/lib/PayPal/Api/Links.php | 161 -
.../lib/PayPal/Api/Measurement.php | 65 -
.../lib/PayPal/Api/MerchantInfo.php | 257 --
.../lib/PayPal/Api/MerchantPreferences.php | 261 --
.../lib/PayPal/Api/Metadata.php | 259 --
.../lib/PayPal/Api/NameValuePair.php | 65 -
.../lib/PayPal/Api/Notification.php | 89 -
.../lib/PayPal/Api/OpenIdAddress.php | 133 -
.../lib/PayPal/Api/OpenIdError.php | 85 -
.../lib/PayPal/Api/OpenIdSession.php | 107 -
.../lib/PayPal/Api/OpenIdTokeninfo.php | 253 --
.../lib/PayPal/Api/OpenIdUserinfo.php | 538 ---
.../rest-api-sdk-php/lib/PayPal/Api/Order.php | 438 --
.../lib/PayPal/Api/OverrideChargeModel.php | 65 -
.../rest-api-sdk-php/lib/PayPal/Api/Patch.php | 114 -
.../lib/PayPal/Api/PatchRequest.php | 86 -
.../rest-api-sdk-php/lib/PayPal/Api/Payee.php | 165 -
.../rest-api-sdk-php/lib/PayPal/Api/Payer.php | 270 --
.../lib/PayPal/Api/PayerInfo.php | 428 --
.../lib/PayPal/Api/Payment.php | 693 ---
.../lib/PayPal/Api/PaymentCard.php | 457 --
.../lib/PayPal/Api/PaymentCardToken.php | 162 -
.../lib/PayPal/Api/PaymentDefinition.php | 239 -
.../lib/PayPal/Api/PaymentDetail.php | 164 -
.../lib/PayPal/Api/PaymentExecution.php | 119 -
.../lib/PayPal/Api/PaymentHistory.php | 119 -
.../lib/PayPal/Api/PaymentInstruction.php | 190 -
.../lib/PayPal/Api/PaymentOptions.php | 92 -
.../lib/PayPal/Api/PaymentTerm.php | 66 -
.../lib/PayPal/Api/Payout.php | 166 -
.../lib/PayPal/Api/PayoutBatch.php | 120 -
.../lib/PayPal/Api/PayoutBatchHeader.php | 263 --
.../lib/PayPal/Api/PayoutItem.php | 190 -
.../lib/PayPal/Api/PayoutItemDetails.php | 287 --
.../PayPal/Api/PayoutSenderBatchHeader.php | 89 -
.../rest-api-sdk-php/lib/PayPal/Api/Phone.php | 89 -
.../rest-api-sdk-php/lib/PayPal/Api/Plan.php | 445 --
.../lib/PayPal/Api/PlanList.php | 173 -
.../lib/PayPal/Api/PotentialPayerInfo.php | 112 -
.../lib/PayPal/Api/Presentation.php | 92 -
.../lib/PayPal/Api/PrivateLabelCard.php | 137 -
.../lib/PayPal/Api/ProcessorResponse.php | 162 -
.../Api/RecipientBankingInstruction.php | 161 -
.../lib/PayPal/Api/RedirectUrls.php | 68 -
.../lib/PayPal/Api/Refund.php | 286 --
.../lib/PayPal/Api/RefundDetail.php | 90 -
.../lib/PayPal/Api/RelatedResources.php | 137 -
.../rest-api-sdk-php/lib/PayPal/Api/Sale.php | 611 ---
.../lib/PayPal/Api/Search.php | 474 --
.../lib/PayPal/Api/ShippingAddress.php | 111 -
.../lib/PayPal/Api/ShippingCost.php | 65 -
.../lib/PayPal/Api/ShippingInfo.php | 158 -
.../rest-api-sdk-php/lib/PayPal/Api/Tax.php | 117 -
.../rest-api-sdk-php/lib/PayPal/Api/Terms.php | 161 -
.../lib/PayPal/Api/Transaction.php | 62 -
.../lib/PayPal/Api/TransactionBase.php | 40 -
.../lib/PayPal/Api/Transactions.php | 42 -
.../lib/PayPal/Api/WebProfile.php | 286 --
.../lib/PayPal/Api/Webhook.php | 241 -
.../lib/PayPal/Api/WebhookEvent.php | 282 --
.../lib/PayPal/Api/WebhookEventList.php | 149 -
.../lib/PayPal/Api/WebhookEventType.php | 116 -
.../lib/PayPal/Api/WebhookEventTypeList.php | 71 -
.../lib/PayPal/Api/WebhookList.php | 71 -
.../lib/PayPal/Auth/OAuthTokenCredential.php | 313 --
.../lib/PayPal/Cache/AuthorizationCache.php | 121 -
.../lib/PayPal/Common/ArrayUtil.php | 27 -
.../lib/PayPal/Common/PayPalModel.php | 307 --
.../lib/PayPal/Common/PayPalResourceModel.php | 105 -
.../lib/PayPal/Common/PayPalUserAgent.php | 58 -
.../lib/PayPal/Common/ReflectionUtil.php | 154 -
.../lib/PayPal/Converter/FormatConverter.php | 62 -
.../lib/PayPal/Core/PayPalConfigManager.php | 163 -
.../lib/PayPal/Core/PayPalConstants.php | 27 -
.../PayPal/Core/PayPalCredentialManager.php | 168 -
.../lib/PayPal/Core/PayPalHttpConfig.php | 302 --
.../lib/PayPal/Core/PayPalHttpConnection.php | 197 -
.../lib/PayPal/Core/PayPalLoggingLevel.php | 26 -
.../lib/PayPal/Core/PayPalLoggingManager.php | 166 -
.../lib/PayPal/Core/cacert.pem | 171 -
.../PayPalConfigurationException.php | 23 -
.../Exception/PayPalConnectionException.php | 68 -
.../PayPalInvalidCredentialException.php | 36 -
.../PayPalMissingCredentialException.php | 37 -
.../lib/PayPal/Handler/IPayPalHandler.php | 20 -
.../lib/PayPal/Handler/OauthHandler.php | 103 -
.../lib/PayPal/Handler/RestHandler.php | 122 -
.../lib/PayPal/Rest/ApiContext.php | 165 -
.../lib/PayPal/Rest/IResource.php | 12 -
.../lib/PayPal/Security/Cipher.php | 57 -
.../lib/PayPal/Transport/PayPalRestCall.php | 79 -
.../PayPal/Validation/ArgumentValidator.php | 32 -
.../lib/PayPal/Validation/JsonValidator.php | 32 -
.../PayPal/Validation/NumericValidator.php | 28 -
.../lib/PayPal/Validation/UrlValidator.php | 26 -
.../rest-api-sdk-php/phpunit.integration.xml | 36 -
.../paypal/rest-api-sdk-php/phpunit.xml | 36 -
.../paypal/rest-api-sdk-php/release_notes.md | 220 -
.../paypal/rest-api-sdk-php/sample/.htaccess | 7 -
.../paypal/rest-api-sdk-php/sample/README.md | 71 -
.../CreateBillingAgreementWithCreditCard.php | 112 -
.../CreateBillingAgreementWithPayPal.php | 87 -
.../sample/billing/CreatePlan.php | 76 -
.../sample/billing/DeletePlan.php | 26 -
.../sample/billing/ExecuteAgreement.php | 43 -
.../sample/billing/GetBillingAgreement.php | 26 -
.../sample/billing/GetPlan.php | 26 -
.../sample/billing/ListPlans.php | 31 -
.../billing/ReactivateBillingAgreement.php | 36 -
.../billing/SearchBillingTransactions.php | 32 -
.../billing/SuspendBillingAgreement.php | 36 -
.../sample/billing/UpdateBillingAgreement.php | 48 -
.../sample/billing/UpdatePlan.php | 47 -
.../billing/UpdatePlanPaymentDefinitions.php | 53 -
.../rest-api-sdk-php/sample/bootstrap.php | 90 -
.../paypal/rest-api-sdk-php/sample/common.php | 192 -
.../sample/doc/assets/behavior.js | 2059 ---------
.../sample/doc/assets/style.css | 1 -
.../CreateBillingAgreementWithCreditCard.html | 81 -
.../CreateBillingAgreementWithPayPal.html | 56 -
.../sample/doc/billing/CreatePlan.html | 43 -
.../sample/doc/billing/DeletePlan.html | 15 -
.../sample/doc/billing/ExecuteAgreement.html | 20 -
.../doc/billing/GetBillingAgreement.html | 15 -
.../sample/doc/billing/GetPlan.html | 15 -
.../sample/doc/billing/ListPlans.html | 18 -
.../billing/ReactivateBillingAgreement.html | 22 -
.../billing/SearchBillingTransactions.html | 15 -
.../doc/billing/SuspendBillingAgreement.html | 22 -
.../doc/billing/UpdateBillingAgreement.html | 34 -
.../sample/doc/billing/UpdatePlan.html | 34 -
.../billing/UpdatePlanPaymentDefinitions.html | 40 -
.../sample/doc/invoice/CancelInvoice.html | 25 -
.../sample/doc/invoice/CreateInvoice.html | 116 -
.../sample/doc/invoice/DeleteInvoice.html | 16 -
.../sample/doc/invoice/GetInvoice.html | 18 -
.../sample/doc/invoice/ListInvoice.html | 14 -
.../sample/doc/invoice/RecordPayment.html | 36 -
.../sample/doc/invoice/RecordRefund.html | 35 -
.../sample/doc/invoice/RemindInvoice.html | 35 -
.../sample/doc/invoice/RetrieveQRCode.html | 23 -
.../sample/doc/invoice/SearchInvoices.html | 25 -
.../sample/doc/invoice/SendInvoice.html | 24 -
.../sample/doc/invoice/UpdateInvoice.html | 29 -
.../GenerateAccessTokenFromRefreshToken.html | 11 -
.../sample/doc/lipp/GetUserInfo.html | 21 -
.../sample/doc/lipp/ObtainUserConsent.html | 17 -
.../sample/doc/lipp/UserConsentRedirect.html | 19 -
.../doc/notifications/CreateWebhook.html | 52 -
.../doc/notifications/DeleteAllWebhooks.html | 12 -
.../doc/notifications/DeleteWebhook.html | 11 -
.../sample/doc/notifications/GetWebhook.html | 14 -
.../ListSubscribedWebhookEventTypes.html | 13 -
.../doc/notifications/ListWebhooks.html | 13 -
.../notifications/SearchWebhookEvents.html | 18 -
.../doc/notifications/UpdateWebhook.html | 40 -
.../notifications/ValidateWebhookEvent.html | 19 -
.../notifications/WebhookEventTypesList.html | 10 -
.../payment-experience/CreateWebProfile.html | 13 -
.../payment-experience/DeleteWebProfile.html | 13 -
.../doc/payment-experience/GetWebProfile.html | 14 -
.../payment-experience/ListWebProfiles.html | 16 -
.../PartiallyUpdateWebProfile.html | 22 -
.../payment-experience/UpdateWebProfile.html | 12 -
.../doc/payments/AuthorizationCapture.html | 26 -
.../sample/doc/payments/AuthorizePayment.html | 63 -
.../payments/AuthorizePaymentUsingPayPal.html | 77 -
.../doc/payments/CreateFuturePayment.html | 54 -
.../sample/doc/payments/CreatePayment.html | 84 -
.../payments/CreatePaymentUsingPayPal.html | 77 -
.../payments/CreatePaymentUsingSavedCard.html | 75 -
.../sample/doc/payments/ExecutePayment.html | 59 -
.../sample/doc/payments/GetAuthorization.html | 16 -
.../sample/doc/payments/GetCapture.html | 13 -
.../sample/doc/payments/GetPayment.html | 23 -
.../sample/doc/payments/ListPayments.html | 22 -
.../sample/doc/payments/OrderAuthorize.html | 33 -
.../sample/doc/payments/OrderCapture.html | 34 -
.../payments/OrderCreateForAuthorization.html | 74 -
.../doc/payments/OrderCreateForCapture.html | 74 -
.../doc/payments/OrderCreateForVoid.html | 74 -
.../doc/payments/OrderCreateUsingPayPal.html | 74 -
.../sample/doc/payments/OrderDoVoid.html | 23 -
.../sample/doc/payments/OrderGet.html | 23 -
.../sample/doc/payments/Reauthorization.html | 20 -
.../sample/doc/payments/RefundCapture.html | 19 -
.../sample/doc/payments/UpdatePayment.html | 89 -
.../doc/payments/VoidAuthorization.html | 14 -
.../sample/doc/payouts/CancelPayoutItem.html | 20 -
.../sample/doc/payouts/CreateBatchPayout.html | 90 -
.../doc/payouts/CreateSinglePayout.html | 45 -
.../doc/payouts/GetPayoutBatchStatus.html | 12 -
.../doc/payouts/GetPayoutItemStatus.html | 14 -
.../sample/doc/sale/GetSale.html | 21 -
.../sample/doc/sale/RefundSale.html | 29 -
.../sample/doc/tls/TlsCheck.html | 48 -
.../sample/doc/vault/CreateBankAccount.html | 65 -
.../sample/doc/vault/CreateCreditCard.html | 34 -
.../sample/doc/vault/DeleteBankAccount.html | 13 -
.../sample/doc/vault/DeleteCreditCard.html | 14 -
.../sample/doc/vault/GetBankAccount.html | 14 -
.../sample/doc/vault/GetCreditCard.html | 18 -
.../sample/doc/vault/ListCreditCards.html | 21 -
.../sample/doc/vault/UpdateCreditCard.html | 36 -
.../rest-api-sdk-php/sample/header.html | 147 -
.../sample/images/favicon.ico | Bin 5430 -> 0 bytes
.../sample/images/pp_v_rgb.png | Bin 7715 -> 0 bytes
.../sample/images/sample_console.png | Bin 190744 -> 0 bytes
.../sample/images/sample_web.png | Bin 138009 -> 0 bytes
.../paypal/rest-api-sdk-php/sample/index.php | 1433 ------
.../sample/invoice/CancelInvoice.php | 41 -
.../sample/invoice/CreateInvoice.php | 165 -
.../sample/invoice/DeleteInvoice.php | 28 -
.../sample/invoice/GetInvoice.php | 30 -
.../sample/invoice/ListInvoice.php | 24 -
.../sample/invoice/RecordPayment.php | 58 -
.../sample/invoice/RecordRefund.php | 57 -
.../sample/invoice/RemindInvoice.php | 58 -
.../sample/invoice/RetrieveQRCode.php | 42 -
.../sample/invoice/SearchInvoices.php | 38 -
.../sample/invoice/SendInvoice.php | 44 -
.../sample/invoice/UpdateInvoice.php | 57 -
.../sample/invoice/images/sample.png | Bin 1679 -> 0 bytes
.../GenerateAccessTokenFromRefreshToken.php | 23 -
.../sample/lipp/GetUserInfo.php | 38 -
.../sample/lipp/ObtainUserConsent.php | 24 -
.../sample/lipp/UserConsentRedirect.php | 29 -
.../sample/notifications/CreateWebhook.php | 86 -
.../notifications/DeleteAllWebhooks.php | 26 -
.../sample/notifications/DeleteWebhook.php | 27 -
.../sample/notifications/GetWebhook.php | 28 -
.../ListSubscribedWebhookEventTypes.php | 28 -
.../sample/notifications/ListWebhooks.php | 29 -
.../notifications/SearchWebhookEvents.php | 34 -
.../sample/notifications/UpdateWebhook.php | 57 -
.../notifications/ValidateWebhookEvent.php | 36 -
.../notifications/WebhookEventTypesList.php | 23 -
.../payment-experience/CreateWebProfile.php | 63 -
.../payment-experience/DeleteWebProfile.php | 28 -
.../payment-experience/GetWebProfile.php | 26 -
.../payment-experience/ListWebProfiles.php | 26 -
.../PartiallyUpdateWebProfile.php | 46 -
.../payment-experience/UpdateWebProfile.php | 30 -
.../sample/payments/AuthorizationCapture.php | 41 -
.../sample/payments/AuthorizePayment.php | 83 -
.../payments/AuthorizePaymentUsingPayPal.php | 117 -
.../sample/payments/CreateFuturePayment.php | 97 -
.../sample/payments/CreatePayment.php | 124 -
.../payments/CreatePaymentUsingPayPal.php | 117 -
.../payments/CreatePaymentUsingSavedCard.php | 115 -
.../sample/payments/ExecutePayment.php | 91 -
.../sample/payments/GetAuthorization.php | 30 -
.../sample/payments/GetCapture.php | 24 -
.../sample/payments/GetPayment.php | 34 -
.../sample/payments/ListPayments.php | 35 -
.../sample/payments/OrderAuthorize.php | 53 -
.../sample/payments/OrderCapture.php | 54 -
.../payments/OrderCreateForAuthorization.php | 114 -
.../sample/payments/OrderCreateForCapture.php | 114 -
.../sample/payments/OrderCreateForVoid.php | 114 -
.../payments/OrderCreateUsingPayPal.php | 114 -
.../sample/payments/OrderDoVoid.php | 40 -
.../sample/payments/OrderGet.php | 35 -
.../sample/payments/Reauthorization.php | 36 -
.../sample/payments/RefundCapture.php | 32 -
.../sample/payments/UpdatePayment.php | 116 -
.../sample/payments/VoidAuthorization.php | 34 -
.../sample/payouts/CancelPayoutItem.php | 37 -
.../sample/payouts/CreateBatchPayout.php | 126 -
.../sample/payouts/CreateSinglePayout.php | 75 -
.../sample/payouts/GetPayoutBatchStatus.php | 27 -
.../sample/payouts/GetPayoutItemStatus.php | 29 -
.../rest-api-sdk-php/sample/sale/GetSale.php | 35 -
.../sample/sale/RefundSale.php | 52 -
.../rest-api-sdk-php/sample/sdk_config.ini | 62 -
.../rest-api-sdk-php/sample/tls/TlsCheck.php | 65 -
.../sample/vault/CreateBankAccount.php | 83 -
.../sample/vault/CreateCreditCard.php | 56 -
.../sample/vault/DeleteBankAccount.php | 23 -
.../sample/vault/DeleteCreditCard.php | 24 -
.../sample/vault/GetBankAccount.php | 27 -
.../sample/vault/GetCreditCard.php | 28 -
.../sample/vault/ListCreditCards.php | 36 -
.../sample/vault/UpdateCreditCard.php | 53 -
.../tests/PayPal/Test/Api/AddressTest.php | 75 -
.../Test/Api/AgreementStateDescriptorTest.php | 57 -
.../tests/PayPal/Test/Api/AgreementTest.php | 287 --
.../Test/Api/AgreementTransactionTest.php | 73 -
.../Test/Api/AgreementTransactionsTest.php | 55 -
.../PayPal/Test/Api/AlternatePaymentTest.php | 61 -
.../tests/PayPal/Test/Api/AmountTest.php | 63 -
.../PayPal/Test/Api/AuthorizationTest.php | 177 -
.../tests/PayPal/Test/Api/BankAccountTest.php | 105 -
.../PayPal/Test/Api/BankAccountsListTest.php | 59 -
.../tests/PayPal/Test/Api/BankTokenTest.php | 63 -
.../tests/PayPal/Test/Api/BillingInfoTest.php | 71 -
.../tests/PayPal/Test/Api/BillingTest.php | 57 -
.../Test/Api/CancelNotificationTest.php | 61 -
.../tests/PayPal/Test/Api/CaptureTest.php | 127 -
.../PayPal/Test/Api/CarrierAccountTest.php | 65 -
.../Test/Api/CarrierAccountTokenTest.php | 61 -
.../tests/PayPal/Test/Api/CartBaseTest.php | 104 -
.../tests/PayPal/Test/Api/ChargeModelTest.php | 59 -
.../tests/PayPal/Test/Api/CostTest.php | 57 -
.../tests/PayPal/Test/Api/CountryCodeTest.php | 57 -
.../Test/Api/CreateProfileResponseTest.php | 55 -
.../PayPal/Test/Api/CreditCardHistoryTest.php | 73 -
.../PayPal/Test/Api/CreditCardListTest.php | 61 -
.../tests/PayPal/Test/Api/CreditCardTest.php | 83 -
.../PayPal/Test/Api/CreditCardTokenTest.php | 69 -
.../Test/Api/CreditFinancingOfferedTest.php | 67 -
.../tests/PayPal/Test/Api/CreditTest.php | 61 -
.../Test/Api/CurrencyConversionTest.php | 91 -
.../tests/PayPal/Test/Api/CurrencyTest.php | 61 -
.../PayPal/Test/Api/CustomAmountTest.php | 57 -
.../tests/PayPal/Test/Api/DetailsTest.php | 73 -
.../PayPal/Test/Api/ErrorDetailsTest.php | 65 -
.../tests/PayPal/Test/Api/ErrorTest.php | 77 -
.../Test/Api/ExtendedBankAccountTest.php | 59 -
.../PayPal/Test/Api/ExternalFundingTest.php | 65 -
.../tests/PayPal/Test/Api/FlowConfigTest.php | 67 -
.../tests/PayPal/Test/Api/FmfDetailsTest.php | 65 -
.../PayPal/Test/Api/FundingDetailTest.php | 65 -
.../PayPal/Test/Api/FundingInstrumentTest.php | 83 -
.../PayPal/Test/Api/FundingOptionTest.php | 69 -
.../PayPal/Test/Api/FundingSourceTest.php | 75 -
.../tests/PayPal/Test/Api/HyperSchemaTest.php | 65 -
.../tests/PayPal/Test/Api/ImageTest.php | 55 -
.../tests/PayPal/Test/Api/IncentiveTest.php | 84 -
.../tests/PayPal/Test/Api/InputFieldsTest.php | 59 -
.../PayPal/Test/Api/InstallmentInfoTest.php | 65 -
.../PayPal/Test/Api/InstallmentOptionTest.php | 65 -
.../PayPal/Test/Api/InvoiceAddressTest.php | 67 -
.../tests/PayPal/Test/Api/InvoiceItemTest.php | 67 -
.../Test/Api/InvoiceSearchResponseTest.php | 57 -
.../tests/PayPal/Test/Api/InvoiceTest.php | 356 --
.../tests/PayPal/Test/Api/ItemListTest.php | 65 -
.../tests/PayPal/Test/Api/ItemTest.php | 96 -
.../tests/PayPal/Test/Api/LinksTest.php | 65 -
.../tests/PayPal/Test/Api/MeasurementTest.php | 61 -
.../PayPal/Test/Api/MerchantInfoTest.php | 73 -
.../Test/Api/MerchantPreferencesTest.php | 120 -
.../tests/PayPal/Test/Api/MetadataTest.php | 90 -
.../PayPal/Test/Api/NameValuePairTest.php | 61 -
.../PayPal/Test/Api/NotificationTest.php | 60 -
.../PayPal/Test/Api/OpenIdAddressTest.php | 52 -
.../tests/PayPal/Test/Api/OpenIdErrorTest.php | 47 -
.../PayPal/Test/Api/OpenIdSessionTest.php | 96 -
.../PayPal/Test/Api/OpenIdTokeninfoTest.php | 78 -
.../PayPal/Test/Api/OpenIdUserinfoTest.php | 63 -
.../tests/PayPal/Test/Api/OrderTest.php | 178 -
.../Test/Api/OverrideChargeModelTest.php | 57 -
.../PayPal/Test/Api/PatchRequestTest.php | 54 -
.../tests/PayPal/Test/Api/PatchTest.php | 65 -
.../tests/PayPal/Test/Api/PayeeTest.php | 69 -
.../tests/PayPal/Test/Api/PayerInfoTest.php | 91 -
.../tests/PayPal/Test/Api/PayerTest.php | 75 -
.../tests/PayPal/Test/Api/PaymentCardTest.php | 91 -
.../PayPal/Test/Api/PaymentCardTokenTest.php | 65 -
.../PayPal/Test/Api/PaymentDefinitionTest.php | 69 -
.../PayPal/Test/Api/PaymentDetailTest.php | 65 -
.../PayPal/Test/Api/PaymentExecutionTest.php | 63 -
.../PayPal/Test/Api/PaymentHistoryTest.php | 63 -
.../Test/Api/PaymentInstructionTest.php | 99 -
.../PayPal/Test/Api/PaymentOptionsTest.php | 63 -
.../tests/PayPal/Test/Api/PaymentTermTest.php | 57 -
.../tests/PayPal/Test/Api/PaymentTest.php | 209 -
.../PayPal/Test/Api/PayoutBatchHeaderTest.php | 71 -
.../tests/PayPal/Test/Api/PayoutBatchTest.php | 57 -
.../PayPal/Test/Api/PayoutItemDetailsTest.php | 73 -
.../tests/PayPal/Test/Api/PayoutItemTest.php | 116 -
.../Test/Api/PayoutSenderBatchHeaderTest.php | 59 -
.../tests/PayPal/Test/Api/PayoutTest.php | 110 -
.../tests/PayPal/Test/Api/PhoneTest.php | 63 -
.../tests/PayPal/Test/Api/PlanListTest.php | 61 -
.../tests/PayPal/Test/Api/PlanTest.php | 165 -
.../Test/Api/PotentialPayerInfoTest.php | 63 -
.../PayPal/Test/Api/PresentationTest.php | 59 -
.../PayPal/Test/Api/PrivateLabelCardTest.php | 65 -
.../PayPal/Test/Api/ProcessorResponseTest.php | 67 -
.../Api/RecipientBankingInstructionTest.php | 69 -
.../PayPal/Test/Api/RedirectUrlsTest.php | 80 -
.../PayPal/Test/Api/RefundDetailTest.php | 59 -
.../tests/PayPal/Test/Api/RefundTest.php | 109 -
.../PayPal/Test/Api/RelatedResourcesTest.php | 67 -
.../tests/PayPal/Test/Api/SaleTest.php | 152 -
.../tests/PayPal/Test/Api/SearchTest.php | 91 -
.../PayPal/Test/Api/ShippingAddressTest.php | 63 -
.../PayPal/Test/Api/ShippingCostTest.php | 57 -
.../PayPal/Test/Api/ShippingInfoTest.php | 61 -
.../tests/PayPal/Test/Api/TaxTest.php | 61 -
.../tests/PayPal/Test/Api/TermsTest.php | 65 -
.../tests/PayPal/Test/Api/TransactionTest.php | 57 -
.../tests/PayPal/Test/Api/WebProfileTest.php | 190 -
.../PayPal/Test/Api/WebhookEventListTest.php | 59 -
.../PayPal/Test/Api/WebhookEventTest.php | 223 -
.../Test/Api/WebhookEventTypeListTest.php | 55 -
.../PayPal/Test/Api/WebhookEventTypeTest.php | 107 -
.../tests/PayPal/Test/Api/WebhookListTest.php | 55 -
.../tests/PayPal/Test/Api/WebhookTest.php | 179 -
.../Test/Auth/OAuthTokenCredentialTest.php | 143 -
.../Test/Cache/AuthorizationCacheTest.php | 107 -
.../tests/PayPal/Test/Common/ArrayClass.php | 44 -
.../PayPal/Test/Common/ArrayUtilTest.php | 24 -
.../tests/PayPal/Test/Common/ChildClass.php | 7 -
.../Test/Common/FormatConverterTest.php | 148 -
.../tests/PayPal/Test/Common/ModelTest.php | 227 -
.../tests/PayPal/Test/Common/NestedClass.php | 36 -
.../PayPal/Test/Common/PayPalModelTest.php | 359 --
.../tests/PayPal/Test/Common/SimpleClass.php | 28 -
.../PayPal/Test/Common/UserAgentTest.php | 27 -
.../tests/PayPal/Test/Constants.php | 8 -
.../Test/Core/PPConfigManagerTest.php.skipped | 120 -
.../Test/Core/PayPalCredentialManagerTest.php | 148 -
.../PayPal/Test/Core/PayPalHttpConfigTest.php | 139 -
.../Test/Core/PayPalLoggingManagerTest.php | 66 -
.../PayPalConfigurationExceptionTest.php | 38 -
.../PayPalConnectionExceptionTest.php | 50 -
.../PayPalInvalidCredentialExceptionTest.php | 42 -
.../PayPalMissingCredentialExceptionTest.php | 42 -
.../Api/BillingAgreementsFunctionalTest.php | 232 -
.../Api/BillingPlansFunctionalTest.php | 201 -
.../Functional/Api/InvoiceFunctionalTest.php | 240 -
.../Functional/Api/PaymentsFunctionalTest.php | 122 -
.../Functional/Api/PayoutsFunctionalTest.php | 124 -
.../Api/WebProfileFunctionalTest.php | 149 -
.../Functional/Api/WebhookFunctionalTest.php | 184 -
.../tests/PayPal/Test/Functional/Setup.php | 48 -
.../testBillBalance.json | 34 -
.../testCancel.json | 30 -
.../testCreateCCAgreement.json | 69 -
.../testCreatePayPalAgreement.json | 141 -
.../testCreateWithOverride.json | 170 -
.../testExecute.json | 37 -
.../testGet.json | 140 -
.../testGetCancelled.json | 140 -
.../testGetSuspended.json | 140 -
.../testGetTransactions.json | 67 -
.../testReactivate.json | 30 -
.../testSetBalance.json | 31 -
.../testSuspend.json | 30 -
.../testUpdate.json | 46 -
.../testCreate.json | 186 -
.../testCreateWithNOChargeModel.json | 91 -
.../BillingPlansFunctionalTest/testGet.json | 115 -
.../testGetList.json | 86 -
...testUpdateChangingMerchantPreferences.json | 39 -
.../testUpdateChangingPD.json | 40 -
.../testUpdateChangingState.json | 38 -
.../InvoiceFunctionalTest/testCancel.json | 35 -
.../InvoiceFunctionalTest/testCreate.json | 150 -
.../InvoiceFunctionalTest/testDelete.json | 31 -
.../InvoiceFunctionalTest/testGet.json | 98 -
.../InvoiceFunctionalTest/testGetAll.json | 148 -
.../InvoiceFunctionalTest/testQRCode.json | 33 -
.../testRecordPayment.json | 21 -
.../testRecordRefund.json | 20 -
.../InvoiceFunctionalTest/testRemind.json | 35 -
.../InvoiceFunctionalTest/testSearch.json | 67 -
.../InvoiceFunctionalTest/testSend.json | 31 -
.../InvoiceFunctionalTest/testUpdate.json | 148 -
.../PaymentsFunctionalTest/testCreate.json | 148 -
.../testCreateWallet.json | 177 -
.../PaymentsFunctionalTest/testExecute.json | 98 -
.../PaymentsFunctionalTest/testGet.json | 109 -
.../testGetPending.json | 100 -
.../PaymentsFunctionalTest/testGetSale.json | 60 -
.../testRefundSale.json | 62 -
.../PayoutsFunctionalTest/testCancel.json | 76 -
.../PayoutsFunctionalTest/testCreate.json | 106 -
.../PayoutsFunctionalTest/testGet.json | 223 -
.../PayoutsFunctionalTest/testGetItem.json | 65 -
.../WebProfileFunctionalTest/testCreate.json | 50 -
.../WebProfileFunctionalTest/testDelete.json | 30 -
.../WebProfileFunctionalTest/testGet.json | 46 -
.../WebProfileFunctionalTest/testGetList.json | 77 -
.../testPartialUpdate.json | 45 -
.../WebProfileFunctionalTest/testUpdate.json | 46 -
.../WebhookFunctionalTest/testCreate.json | 75 -
.../WebhookFunctionalTest/testDelete.json | 33 -
.../testEventResend.json | 89 -
.../testEventSearch.json | 162 -
.../WebhookFunctionalTest/testGet.json | 64 -
.../WebhookFunctionalTest/testGetAll.json | 99 -
.../WebhookFunctionalTest/testGetEvent.json | 89 -
.../testGetSubscribedEventTypes.json | 45 -
.../WebhookFunctionalTest/testUpdate.json | 76 -
.../webhook_get_available_event_types.json | 56 -
.../PayPal/Test/Handler/OauthHandlerTest.php | 72 -
.../tests/PayPal/Test/Rest/ApiContextTest.php | 37 -
.../Test/Validation/ArgumentValidatorTest.php | 51 -
.../Test/Validation/JsonValidatorTest.php | 57 -
.../Test/Validation/NumericValidatorTest.php | 62 -
.../Test/Validation/UrlValidatorTest.php | 55 -
.../rest-api-sdk-php/tests/bootstrap.php | 14 -
.../rest-api-sdk-php/tests/sdk_config.ini | 47 -
_sakura/vendor/phpmailer/phpmailer/.gitignore | 7 -
.../phpmailer/phpmailer/.scrutinizer.yml | 132 -
.../vendor/phpmailer/phpmailer/.travis.yml | 32 -
_sakura/vendor/phpmailer/phpmailer/LICENSE | 504 ---
.../phpmailer/phpmailer/PHPMailerAutoload.php | 49 -
_sakura/vendor/phpmailer/phpmailer/README.md | 184 -
_sakura/vendor/phpmailer/phpmailer/VERSION | 1 -
.../vendor/phpmailer/phpmailer/changelog.md | 620 ---
.../phpmailer/phpmailer/class.phpmailer.php | 3883 -----------------
.../phpmailer/class.phpmaileroauth.php | 196 -
.../phpmailer/class.phpmaileroauthgoogle.php | 76 -
.../vendor/phpmailer/phpmailer/class.pop3.php | 407 --
.../vendor/phpmailer/phpmailer/class.smtp.php | 1181 -----
.../vendor/phpmailer/phpmailer/composer.json | 45 -
.../vendor/phpmailer/phpmailer/composer.lock | 3458 ---------------
.../docs/Callback_function_notes.txt | 17 -
.../phpmailer/docs/DomainKeys_notes.txt | 55 -
.../docs/Note_for_SMTP_debugging.txt | 17 -
.../phpmailer/phpmailer/docs/extending.html | 128 -
.../vendor/phpmailer/phpmailer/docs/faq.html | 28 -
.../phpmailer/phpmailer/docs/generatedocs.sh | 8 -
.../phpmailer/phpmailer/docs/pop3_article.txt | 50 -
.../phpmailer/examples/code_generator.phps | 597 ---
.../phpmailer/examples/contents.html | 17 -
.../phpmailer/examples/contentsutf8.html | 20 -
.../phpmailer/examples/exceptions.phps | 35 -
.../phpmailer/phpmailer/examples/gmail.phps | 75 -
.../phpmailer/examples/gmail_xoauth.phps | 85 -
.../phpmailer/examples/images/phpmailer.png | Bin 5831 -> 0 bytes
.../examples/images/phpmailer_mini.png | Bin 1842 -> 0 bytes
.../phpmailer/phpmailer/examples/index.html | 48 -
.../phpmailer/phpmailer/examples/mail.phps | 31 -
.../phpmailer/examples/mailing_list.phps | 59 -
.../phpmailer/examples/pop_before_smtp.phps | 54 -
.../phpmailer/examples/scripts/XRegExp.js | 664 ---
.../examples/scripts/shAutoloader.js | 122 -
.../phpmailer/examples/scripts/shBrushPhp.js | 72 -
.../phpmailer/examples/scripts/shCore.js | 1 -
.../phpmailer/examples/scripts/shLegacy.js | 141 -
.../phpmailer/examples/send_file_upload.phps | 49 -
.../phpmailer/examples/sendmail.phps | 33 -
.../phpmailer/examples/signed-mail.phps | 89 -
.../phpmailer/phpmailer/examples/smtp.phps | 54 -
.../phpmailer/examples/smtp_check.phps | 40 -
.../phpmailer/examples/smtp_no_auth.phps | 50 -
.../phpmailer/examples/ssl_options.phps | 74 -
.../phpmailer/examples/styles/shCore.css | 46 -
.../examples/styles/shCoreDefault.css | 77 -
.../examples/styles/shCoreDjango.css | 78 -
.../examples/styles/shCoreEclipse.css | 80 -
.../phpmailer/examples/styles/shCoreEmacs.css | 76 -
.../examples/styles/shCoreFadeToGrey.css | 77 -
.../examples/styles/shCoreMDUltra.css | 76 -
.../examples/styles/shCoreMidnight.css | 76 -
.../phpmailer/examples/styles/shCoreRDark.css | 76 -
.../examples/styles/shThemeAppleScript.css | 21 -
.../examples/styles/shThemeDefault.css | 31 -
.../examples/styles/shThemeDjango.css | 32 -
.../examples/styles/shThemeEclipse.css | 34 -
.../examples/styles/shThemeEmacs.css | 30 -
.../examples/styles/shThemeFadeToGrey.css | 31 -
.../examples/styles/shThemeMDUltra.css | 30 -
.../examples/styles/shThemeMidnight.css | 30 -
.../examples/styles/shThemeRDark.css | 30 -
.../examples/styles/shThemeVisualStudio.css | 31 -
.../phpmailer/examples/styles/wrapping.png | Bin 631 -> 0 bytes
.../phpmailer/extras/EasyPeasyICS.php | 148 -
.../phpmailer/phpmailer/extras/README.md | 17 -
.../phpmailer/phpmailer/extras/htmlfilter.php | 1166 -----
.../phpmailer/extras/ntlm_sasl_client.php | 185 -
.../phpmailer/phpmailer/get_oauth_token.php | 60 -
.../phpmailer/language/phpmailer.lang-am.php | 26 -
.../phpmailer/language/phpmailer.lang-ar.php | 27 -
.../phpmailer/language/phpmailer.lang-az.php | 26 -
.../phpmailer/language/phpmailer.lang-be.php | 26 -
.../phpmailer/language/phpmailer.lang-bg.php | 26 -
.../phpmailer/language/phpmailer.lang-br.php | 28 -
.../phpmailer/language/phpmailer.lang-ca.php | 26 -
.../phpmailer/language/phpmailer.lang-ch.php | 26 -
.../phpmailer/language/phpmailer.lang-cz.php | 25 -
.../phpmailer/language/phpmailer.lang-de.php | 25 -
.../phpmailer/language/phpmailer.lang-dk.php | 26 -
.../phpmailer/language/phpmailer.lang-el.php | 25 -
.../phpmailer/language/phpmailer.lang-eo.php | 25 -
.../phpmailer/language/phpmailer.lang-es.php | 26 -
.../phpmailer/language/phpmailer.lang-et.php | 27 -
.../phpmailer/language/phpmailer.lang-fa.php | 27 -
.../phpmailer/language/phpmailer.lang-fi.php | 27 -
.../phpmailer/language/phpmailer.lang-fo.php | 26 -
.../phpmailer/language/phpmailer.lang-fr.php | 29 -
.../phpmailer/language/phpmailer.lang-gl.php | 26 -
.../phpmailer/language/phpmailer.lang-he.php | 26 -
.../phpmailer/language/phpmailer.lang-hr.php | 26 -
.../phpmailer/language/phpmailer.lang-hu.php | 26 -
.../phpmailer/language/phpmailer.lang-id.php | 26 -
.../phpmailer/language/phpmailer.lang-it.php | 27 -
.../phpmailer/language/phpmailer.lang-ja.php | 27 -
.../phpmailer/language/phpmailer.lang-ka.php | 26 -
.../phpmailer/language/phpmailer.lang-ko.php | 26 -
.../phpmailer/language/phpmailer.lang-lt.php | 26 -
.../phpmailer/language/phpmailer.lang-lv.php | 26 -
.../phpmailer/language/phpmailer.lang-ms.php | 26 -
.../phpmailer/language/phpmailer.lang-nl.php | 26 -
.../phpmailer/language/phpmailer.lang-no.php | 25 -
.../phpmailer/language/phpmailer.lang-pl.php | 26 -
.../phpmailer/language/phpmailer.lang-pt.php | 26 -
.../phpmailer/language/phpmailer.lang-ro.php | 26 -
.../phpmailer/language/phpmailer.lang-ru.php | 27 -
.../phpmailer/language/phpmailer.lang-se.php | 26 -
.../phpmailer/language/phpmailer.lang-sk.php | 26 -
.../phpmailer/language/phpmailer.lang-sl.php | 26 -
.../phpmailer/language/phpmailer.lang-sr.php | 26 -
.../phpmailer/language/phpmailer.lang-tr.php | 29 -
.../phpmailer/language/phpmailer.lang-uk.php | 27 -
.../phpmailer/language/phpmailer.lang-vi.php | 26 -
.../phpmailer/language/phpmailer.lang-zh.php | 28 -
.../language/phpmailer.lang-zh_cn.php | 27 -
.../phpmailer/phpmailer/test/bootstrap.php | 5 -
.../phpmailer/phpmailer/test/fakepopserver.sh | 125 -
.../phpmailer/phpmailer/test/fakesendmail.sh | 22 -
.../phpmailer/test/phpmailerLangTest.php | 76 -
.../phpmailer/test/phpmailerTest.php | 2077 ---------
.../phpmailer/test/runfakepopserver.sh | 10 -
.../phpmailer/test/test_callback.php | 81 -
.../phpmailer/test/testbootstrap-dist.php | 7 -
.../phpmailer/travis.phpunit.xml.dist | 34 -
_sakura/vendor/twig/twig/.editorconfig | 18 -
_sakura/vendor/twig/twig/.gitignore | 5 -
_sakura/vendor/twig/twig/.travis.yml | 39 -
_sakura/vendor/twig/twig/CHANGELOG | 811 ----
_sakura/vendor/twig/twig/LICENSE | 31 -
_sakura/vendor/twig/twig/README.rst | 15 -
_sakura/vendor/twig/twig/composer.json | 46 -
_sakura/vendor/twig/twig/doc/advanced.rst | 872 ----
.../vendor/twig/twig/doc/advanced_legacy.rst | 887 ----
_sakura/vendor/twig/twig/doc/api.rst | 552 ---
.../vendor/twig/twig/doc/coding_standards.rst | 101 -
_sakura/vendor/twig/twig/doc/deprecated.rst | 160 -
_sakura/vendor/twig/twig/doc/filters/abs.rst | 18 -
.../vendor/twig/twig/doc/filters/batch.rst | 51 -
.../twig/twig/doc/filters/capitalize.rst | 11 -
.../twig/doc/filters/convert_encoding.rst | 28 -
_sakura/vendor/twig/twig/doc/filters/date.rst | 94 -
.../twig/twig/doc/filters/date_modify.rst | 23 -
.../vendor/twig/twig/doc/filters/default.rst | 33 -
.../vendor/twig/twig/doc/filters/escape.rst | 116 -
.../vendor/twig/twig/doc/filters/first.rst | 25 -
.../vendor/twig/twig/doc/filters/format.rst | 16 -
.../vendor/twig/twig/doc/filters/index.rst | 37 -
_sakura/vendor/twig/twig/doc/filters/join.rst | 23 -
.../twig/twig/doc/filters/json_encode.rst | 21 -
_sakura/vendor/twig/twig/doc/filters/keys.rst | 11 -
_sakura/vendor/twig/twig/doc/filters/last.rst | 25 -
.../vendor/twig/twig/doc/filters/length.rst | 11 -
.../vendor/twig/twig/doc/filters/lower.rst | 10 -
.../vendor/twig/twig/doc/filters/merge.rst | 48 -
.../vendor/twig/twig/doc/filters/nl2br.rst | 22 -
.../twig/twig/doc/filters/number_format.rst | 45 -
_sakura/vendor/twig/twig/doc/filters/raw.rst | 36 -
.../vendor/twig/twig/doc/filters/replace.rst | 19 -
.../vendor/twig/twig/doc/filters/reverse.rst | 47 -
.../vendor/twig/twig/doc/filters/round.rst | 37 -
.../vendor/twig/twig/doc/filters/slice.rst | 71 -
_sakura/vendor/twig/twig/doc/filters/sort.rst | 18 -
.../vendor/twig/twig/doc/filters/split.rst | 53 -
.../twig/twig/doc/filters/striptags.rst | 15 -
.../vendor/twig/twig/doc/filters/title.rst | 11 -
_sakura/vendor/twig/twig/doc/filters/trim.rst | 29 -
.../vendor/twig/twig/doc/filters/upper.rst | 10 -
.../twig/twig/doc/filters/url_encode.rst | 34 -
.../twig/twig/doc/functions/attribute.rst | 26 -
.../vendor/twig/twig/doc/functions/block.rst | 15 -
.../twig/twig/doc/functions/constant.rst | 18 -
.../vendor/twig/twig/doc/functions/cycle.rst | 28 -
.../vendor/twig/twig/doc/functions/date.rst | 52 -
.../vendor/twig/twig/doc/functions/dump.rst | 69 -
.../twig/twig/doc/functions/include.rst | 80 -
.../vendor/twig/twig/doc/functions/index.rst | 20 -
.../vendor/twig/twig/doc/functions/max.rst | 20 -
.../vendor/twig/twig/doc/functions/min.rst | 20 -
.../vendor/twig/twig/doc/functions/parent.rst | 20 -
.../vendor/twig/twig/doc/functions/random.rst | 29 -
.../vendor/twig/twig/doc/functions/range.rst | 45 -
.../vendor/twig/twig/doc/functions/source.rst | 32 -
.../doc/functions/template_from_string.rst | 32 -
_sakura/vendor/twig/twig/doc/index.rst | 19 -
_sakura/vendor/twig/twig/doc/installation.rst | 116 -
_sakura/vendor/twig/twig/doc/internals.rst | 138 -
_sakura/vendor/twig/twig/doc/intro.rst | 85 -
_sakura/vendor/twig/twig/doc/recipes.rst | 518 ---
.../vendor/twig/twig/doc/tags/autoescape.rst | 83 -
_sakura/vendor/twig/twig/doc/tags/block.rst | 11 -
_sakura/vendor/twig/twig/doc/tags/do.rst | 12 -
_sakura/vendor/twig/twig/doc/tags/embed.rst | 178 -
_sakura/vendor/twig/twig/doc/tags/extends.rst | 268 --
_sakura/vendor/twig/twig/doc/tags/filter.rst | 21 -
_sakura/vendor/twig/twig/doc/tags/flush.rst | 17 -
_sakura/vendor/twig/twig/doc/tags/for.rst | 172 -
_sakura/vendor/twig/twig/doc/tags/from.rst | 8 -
_sakura/vendor/twig/twig/doc/tags/if.rst | 76 -
_sakura/vendor/twig/twig/doc/tags/import.rst | 57 -
_sakura/vendor/twig/twig/doc/tags/include.rst | 86 -
_sakura/vendor/twig/twig/doc/tags/index.rst | 24 -
_sakura/vendor/twig/twig/doc/tags/macro.rst | 86 -
_sakura/vendor/twig/twig/doc/tags/sandbox.rst | 30 -
_sakura/vendor/twig/twig/doc/tags/set.rst | 78 -
.../vendor/twig/twig/doc/tags/spaceless.rst | 37 -
_sakura/vendor/twig/twig/doc/tags/use.rst | 124 -
.../vendor/twig/twig/doc/tags/verbatim.rst | 24 -
_sakura/vendor/twig/twig/doc/templates.rst | 900 ----
.../vendor/twig/twig/doc/tests/constant.rst | 22 -
.../vendor/twig/twig/doc/tests/defined.rst | 30 -
.../twig/twig/doc/tests/divisibleby.rst | 14 -
_sakura/vendor/twig/twig/doc/tests/empty.rst | 11 -
_sakura/vendor/twig/twig/doc/tests/even.rst | 10 -
_sakura/vendor/twig/twig/doc/tests/index.rst | 15 -
.../vendor/twig/twig/doc/tests/iterable.rst | 19 -
_sakura/vendor/twig/twig/doc/tests/null.rst | 12 -
_sakura/vendor/twig/twig/doc/tests/odd.rst | 10 -
_sakura/vendor/twig/twig/doc/tests/sameas.rst | 14 -
_sakura/vendor/twig/twig/ext/twig/.gitignore | 30 -
_sakura/vendor/twig/twig/ext/twig/config.m4 | 8 -
_sakura/vendor/twig/twig/ext/twig/config.w32 | 8 -
_sakura/vendor/twig/twig/ext/twig/php_twig.h | 35 -
_sakura/vendor/twig/twig/ext/twig/twig.c | 1127 -----
.../vendor/twig/twig/lib/Twig/Autoloader.php | 54 -
.../twig/twig/lib/Twig/BaseNodeVisitor.php | 62 -
.../twig/twig/lib/Twig/Cache/Filesystem.php | 96 -
.../vendor/twig/twig/lib/Twig/Cache/Null.php | 48 -
.../twig/twig/lib/Twig/CacheInterface.php | 56 -
.../vendor/twig/twig/lib/Twig/Compiler.php | 277 --
.../twig/twig/lib/Twig/CompilerInterface.php | 36 -
.../vendor/twig/twig/lib/Twig/Environment.php | 1381 ------
_sakura/vendor/twig/twig/lib/Twig/Error.php | 272 --
.../twig/twig/lib/Twig/Error/Loader.php | 31 -
.../twig/twig/lib/Twig/Error/Runtime.php | 20 -
.../twig/twig/lib/Twig/Error/Syntax.php | 53 -
.../twig/lib/Twig/ExistsLoaderInterface.php | 29 -
.../twig/twig/lib/Twig/ExpressionParser.php | 641 ---
.../vendor/twig/twig/lib/Twig/Extension.php | 79 -
.../twig/twig/lib/Twig/Extension/Core.php | 1544 -------
.../twig/twig/lib/Twig/Extension/Debug.php | 61 -
.../twig/twig/lib/Twig/Extension/Escaper.php | 102 -
.../lib/Twig/Extension/GlobalsInterface.php | 22 -
.../Twig/Extension/InitRuntimeInterface.php | 22 -
.../twig/lib/Twig/Extension/Optimizer.php | 29 -
.../twig/twig/lib/Twig/Extension/Profiler.php | 46 -
.../twig/twig/lib/Twig/Extension/Sandbox.php | 97 -
.../twig/twig/lib/Twig/Extension/Staging.php | 94 -
.../twig/lib/Twig/Extension/StringLoader.php | 41 -
.../twig/twig/lib/Twig/ExtensionInterface.php | 87 -
.../Twig/FileExtensionEscapingStrategy.php | 58 -
_sakura/vendor/twig/twig/lib/Twig/Filter.php | 84 -
.../twig/twig/lib/Twig/Filter/Function.php | 40 -
.../twig/twig/lib/Twig/Filter/Method.php | 42 -
.../vendor/twig/twig/lib/Twig/Filter/Node.php | 42 -
.../twig/lib/Twig/FilterCallableInterface.php | 24 -
.../twig/twig/lib/Twig/FilterInterface.php | 43 -
.../vendor/twig/twig/lib/Twig/Function.php | 74 -
.../twig/twig/lib/Twig/Function/Function.php | 41 -
.../twig/twig/lib/Twig/Function/Method.php | 43 -
.../twig/twig/lib/Twig/Function/Node.php | 42 -
.../lib/Twig/FunctionCallableInterface.php | 24 -
.../twig/twig/lib/Twig/FunctionInterface.php | 40 -
_sakura/vendor/twig/twig/lib/Twig/Lexer.php | 411 --
.../twig/twig/lib/Twig/LexerInterface.php | 32 -
.../twig/twig/lib/Twig/Loader/Array.php | 95 -
.../twig/twig/lib/Twig/Loader/Chain.php | 138 -
.../twig/twig/lib/Twig/Loader/Filesystem.php | 260 --
.../twig/twig/lib/Twig/Loader/String.php | 63 -
.../twig/twig/lib/Twig/LoaderInterface.php | 53 -
_sakura/vendor/twig/twig/lib/Twig/Markup.php | 37 -
_sakura/vendor/twig/twig/lib/Twig/Node.php | 231 -
.../twig/twig/lib/Twig/Node/AutoEscape.php | 34 -
.../vendor/twig/twig/lib/Twig/Node/Block.php | 39 -
.../twig/lib/Twig/Node/BlockReference.php | 32 -
.../vendor/twig/twig/lib/Twig/Node/Body.php | 19 -
.../twig/twig/lib/Twig/Node/CheckSecurity.php | 78 -
_sakura/vendor/twig/twig/lib/Twig/Node/Do.php | 33 -
.../vendor/twig/twig/lib/Twig/Node/Embed.php | 42 -
.../twig/twig/lib/Twig/Node/Expression.php | 20 -
.../twig/lib/Twig/Node/Expression/Array.php | 81 -
.../lib/Twig/Node/Expression/AssignName.php | 23 -
.../twig/lib/Twig/Node/Expression/Binary.php | 35 -
.../lib/Twig/Node/Expression/Binary/Add.php | 18 -
.../lib/Twig/Node/Expression/Binary/And.php | 18 -
.../Node/Expression/Binary/BitwiseAnd.php | 18 -
.../Twig/Node/Expression/Binary/BitwiseOr.php | 18 -
.../Node/Expression/Binary/BitwiseXor.php | 18 -
.../Twig/Node/Expression/Binary/Concat.php | 18 -
.../lib/Twig/Node/Expression/Binary/Div.php | 18 -
.../Twig/Node/Expression/Binary/EndsWith.php | 30 -
.../lib/Twig/Node/Expression/Binary/Equal.php | 17 -
.../Twig/Node/Expression/Binary/FloorDiv.php | 24 -
.../Twig/Node/Expression/Binary/Greater.php | 17 -
.../Node/Expression/Binary/GreaterEqual.php | 17 -
.../lib/Twig/Node/Expression/Binary/In.php | 28 -
.../lib/Twig/Node/Expression/Binary/Less.php | 17 -
.../Twig/Node/Expression/Binary/LessEqual.php | 17 -
.../Twig/Node/Expression/Binary/Matches.php | 28 -
.../lib/Twig/Node/Expression/Binary/Mod.php | 18 -
.../lib/Twig/Node/Expression/Binary/Mul.php | 18 -
.../Twig/Node/Expression/Binary/NotEqual.php | 17 -
.../lib/Twig/Node/Expression/Binary/NotIn.php | 28 -
.../lib/Twig/Node/Expression/Binary/Or.php | 18 -
.../lib/Twig/Node/Expression/Binary/Power.php | 28 -
.../lib/Twig/Node/Expression/Binary/Range.php | 28 -
.../Node/Expression/Binary/StartsWith.php | 30 -
.../lib/Twig/Node/Expression/Binary/Sub.php | 18 -
.../Twig/Node/Expression/BlockReference.php | 46 -
.../twig/lib/Twig/Node/Expression/Call.php | 247 --
.../lib/Twig/Node/Expression/Conditional.php | 31 -
.../lib/Twig/Node/Expression/Constant.php | 23 -
.../Node/Expression/ExtensionReference.php | 28 -
.../twig/lib/Twig/Node/Expression/Filter.php | 39 -
.../Twig/Node/Expression/Filter/Default.php | 43 -
.../lib/Twig/Node/Expression/Function.php | 38 -
.../twig/lib/Twig/Node/Expression/GetAttr.php | 63 -
.../lib/Twig/Node/Expression/MethodCall.php | 41 -
.../twig/lib/Twig/Node/Expression/Name.php | 98 -
.../twig/lib/Twig/Node/Expression/Parent.php | 42 -
.../lib/Twig/Node/Expression/TempName.php | 26 -
.../twig/lib/Twig/Node/Expression/Test.php | 35 -
.../Twig/Node/Expression/Test/Constant.php | 46 -
.../lib/Twig/Node/Expression/Test/Defined.php | 54 -
.../Twig/Node/Expression/Test/Divisibleby.php | 33 -
.../lib/Twig/Node/Expression/Test/Even.php | 32 -
.../lib/Twig/Node/Expression/Test/Null.php | 31 -
.../lib/Twig/Node/Expression/Test/Odd.php | 32 -
.../lib/Twig/Node/Expression/Test/Sameas.php | 29 -
.../twig/lib/Twig/Node/Expression/Unary.php | 27 -
.../lib/Twig/Node/Expression/Unary/Neg.php | 18 -
.../lib/Twig/Node/Expression/Unary/Not.php | 18 -
.../lib/Twig/Node/Expression/Unary/Pos.php | 18 -
.../vendor/twig/twig/lib/Twig/Node/Flush.php | 31 -
.../vendor/twig/twig/lib/Twig/Node/For.php | 106 -
.../twig/twig/lib/Twig/Node/ForLoop.php | 50 -
_sakura/vendor/twig/twig/lib/Twig/Node/If.php | 61 -
.../vendor/twig/twig/lib/Twig/Node/Import.php | 49 -
.../twig/twig/lib/Twig/Node/Include.php | 83 -
.../vendor/twig/twig/lib/Twig/Node/Macro.php | 118 -
.../vendor/twig/twig/lib/Twig/Node/Module.php | 403 --
.../vendor/twig/twig/lib/Twig/Node/Print.php | 34 -
.../twig/twig/lib/Twig/Node/Sandbox.php | 42 -
.../twig/lib/Twig/Node/SandboxedPrint.php | 51 -
.../vendor/twig/twig/lib/Twig/Node/Set.php | 96 -
.../twig/twig/lib/Twig/Node/SetTemp.php | 35 -
.../twig/twig/lib/Twig/Node/Spaceless.php | 35 -
.../vendor/twig/twig/lib/Twig/Node/Text.php | 34 -
.../twig/twig/lib/Twig/NodeInterface.php | 31 -
.../twig/lib/Twig/NodeOutputInterface.php | 19 -
.../twig/twig/lib/Twig/NodeTraverser.php | 89 -
.../twig/lib/Twig/NodeVisitor/Escaper.php | 157 -
.../twig/lib/Twig/NodeVisitor/Optimizer.php | 271 --
.../lib/Twig/NodeVisitor/SafeAnalysis.php | 154 -
.../twig/lib/Twig/NodeVisitor/Sandbox.php | 82 -
.../twig/lib/Twig/NodeVisitorInterface.php | 47 -
_sakura/vendor/twig/twig/lib/Twig/Parser.php | 394 --
.../twig/twig/lib/Twig/ParserInterface.php | 31 -
.../lib/Twig/Profiler/Dumper/Blackfire.php | 68 -
.../twig/lib/Twig/Profiler/Dumper/Html.php | 43 -
.../twig/lib/Twig/Profiler/Dumper/Text.php | 68 -
.../lib/Twig/Profiler/Node/EnterProfile.php | 40 -
.../lib/Twig/Profiler/Node/LeaveProfile.php | 34 -
.../Twig/Profiler/NodeVisitor/Profiler.php | 72 -
.../twig/twig/lib/Twig/Profiler/Profile.php | 160 -
.../twig/lib/Twig/Sandbox/SecurityError.php | 19 -
.../Sandbox/SecurityNotAllowedFilterError.php | 31 -
.../SecurityNotAllowedFunctionError.php | 31 -
.../Sandbox/SecurityNotAllowedTagError.php | 31 -
.../twig/lib/Twig/Sandbox/SecurityPolicy.php | 119 -
.../Twig/Sandbox/SecurityPolicyInterface.php | 24 -
.../twig/twig/lib/Twig/SimpleFilter.php | 112 -
.../twig/twig/lib/Twig/SimpleFunction.php | 102 -
.../vendor/twig/twig/lib/Twig/SimpleTest.php | 64 -
.../vendor/twig/twig/lib/Twig/Template.php | 614 ---
.../twig/twig/lib/Twig/TemplateInterface.php | 48 -
_sakura/vendor/twig/twig/lib/Twig/Test.php | 37 -
.../twig/twig/lib/Twig/Test/Function.php | 38 -
.../lib/Twig/Test/IntegrationTestCase.php | 232 -
.../vendor/twig/twig/lib/Twig/Test/Method.php | 40 -
.../vendor/twig/twig/lib/Twig/Test/Node.php | 40 -
.../twig/twig/lib/Twig/Test/NodeTestCase.php | 64 -
.../twig/lib/Twig/TestCallableInterface.php | 22 -
.../twig/twig/lib/Twig/TestInterface.php | 27 -
_sakura/vendor/twig/twig/lib/Twig/Token.php | 216 -
.../vendor/twig/twig/lib/Twig/TokenParser.php | 33 -
.../twig/lib/Twig/TokenParser/AutoEscape.php | 79 -
.../twig/twig/lib/Twig/TokenParser/Block.php | 69 -
.../twig/twig/lib/Twig/TokenParser/Do.php | 30 -
.../twig/twig/lib/Twig/TokenParser/Embed.php | 54 -
.../twig/lib/Twig/TokenParser/Extends.php | 40 -
.../twig/twig/lib/Twig/TokenParser/Filter.php | 49 -
.../twig/twig/lib/Twig/TokenParser/Flush.php | 30 -
.../twig/twig/lib/Twig/TokenParser/For.php | 123 -
.../twig/twig/lib/Twig/TokenParser/From.php | 62 -
.../twig/twig/lib/Twig/TokenParser/If.php | 82 -
.../twig/twig/lib/Twig/TokenParser/Import.php | 37 -
.../twig/lib/Twig/TokenParser/Include.php | 63 -
.../twig/twig/lib/Twig/TokenParser/Macro.php | 56 -
.../twig/lib/Twig/TokenParser/Sandbox.php | 56 -
.../twig/twig/lib/Twig/TokenParser/Set.php | 71 -
.../twig/lib/Twig/TokenParser/Spaceless.php | 47 -
.../twig/twig/lib/Twig/TokenParser/Use.php | 64 -
.../twig/twig/lib/Twig/TokenParserBroker.php | 142 -
.../lib/Twig/TokenParserBrokerInterface.php | 46 -
.../twig/lib/Twig/TokenParserInterface.php | 43 -
.../vendor/twig/twig/lib/Twig/TokenStream.php | 155 -
.../lib/Twig/Util/DeprecationCollector.php | 82 -
.../lib/Twig/Util/TemplateDirIterator.php | 26 -
_sakura/vendor/twig/twig/phpunit.xml.dist | 25 -
.../twig/test/Twig/Tests/AutoloaderTest.php | 24 -
.../test/Twig/Tests/Cache/FilesystemTest.php | 169 -
.../twig/test/Twig/Tests/CompilerTest.php | 33 -
.../twig/test/Twig/Tests/EnvironmentTest.php | 528 ---
.../twig/twig/test/Twig/Tests/ErrorTest.php | 144 -
.../test/Twig/Tests/ExpressionParserTest.php | 368 --
.../test/Twig/Tests/Extension/CoreTest.php | 158 -
.../test/Twig/Tests/Extension/SandboxTest.php | 220 -
.../twig/test/Twig/Tests/FileCachingTest.php | 85 -
.../FileExtensionEscapingStrategyTest.php | 51 -
.../Tests/Fixtures/autoescape/filename.test | 18 -
.../test/Twig/Tests/Fixtures/errors/base.html | 1 -
.../Twig/Tests/Fixtures/errors/index.html | 7 -
...ltiline_array_with_undefined_variable.test | 18 -
...e_array_with_undefined_variable_again.test | 18 -
...line_function_with_undefined_variable.test | 12 -
...tiline_function_with_unknown_argument.test | 9 -
...multiline_tag_with_undefined_variable.test | 12 -
.../syntax_error_in_reused_template.test | 10 -
.../Fixtures/exceptions/unclosed_tag.test | 20 -
.../Fixtures/exceptions/undefined_parent.test | 8 -
.../undefined_template_in_child_template.test | 15 -
.../Fixtures/exceptions/undefined_trait.test | 9 -
.../Tests/Fixtures/expressions/array.test | 61 -
.../Fixtures/expressions/array_call.test | 14 -
.../Tests/Fixtures/expressions/binary.test | 46 -
.../Tests/Fixtures/expressions/bitwise.test | 14 -
.../Fixtures/expressions/comparison.test | 14 -
.../Fixtures/expressions/divisibleby.test | 17 -
.../Tests/Fixtures/expressions/dotdot.test | 20 -
.../Tests/Fixtures/expressions/ends_with.test | 26 -
.../Tests/Fixtures/expressions/grouping.test | 8 -
.../Tests/Fixtures/expressions/literals.test | 22 -
.../Fixtures/expressions/magic_call.test | 27 -
.../Tests/Fixtures/expressions/matches.test | 12 -
.../Fixtures/expressions/method_call.test | 28 -
.../expressions/negative_numbers.test | 18 -
.../expressions/operators_as_variables.test | 16 -
.../Tests/Fixtures/expressions/postfix.test | 22 -
.../Tests/Fixtures/expressions/sameas.test | 21 -
.../Fixtures/expressions/starts_with.test | 27 -
.../Tests/Fixtures/expressions/strings.test | 10 -
.../expressions/ternary_operator.test | 18 -
.../expressions/ternary_operator_noelse.test | 10 -
.../expressions/ternary_operator_nothen.test | 10 -
.../two_word_operators_as_variables.test | 8 -
.../Tests/Fixtures/expressions/unary.test | 12 -
.../expressions/unary_macro_arguments.test | 22 -
.../expressions/unary_precedence.test | 14 -
.../test/Twig/Tests/Fixtures/filters/abs.test | 30 -
.../Twig/Tests/Fixtures/filters/batch.test | 31 -
.../Tests/Fixtures/filters/batch_float.test | 29 -
.../filters/batch_with_empty_fill.test | 37 -
.../filters/batch_with_exact_elements.test | 33 -
.../Fixtures/filters/batch_with_fill.test | 37 -
.../Fixtures/filters/batch_with_keys.test | 10 -
.../filters/batch_with_zero_elements.test | 10 -
.../Fixtures/filters/convert_encoding.test | 10 -
.../Twig/Tests/Fixtures/filters/date.test | 90 -
.../Fixtures/filters/date_default_format.test | 14 -
.../filters/date_default_format_interval.test | 16 -
.../Fixtures/filters/date_immutable.test | 37 -
.../Tests/Fixtures/filters/date_interval.test | 19 -
.../Tests/Fixtures/filters/date_modify.test | 14 -
.../Fixtures/filters/date_namedargs.test | 13 -
.../Twig/Tests/Fixtures/filters/default.test | 150 -
.../Fixtures/filters/dynamic_filter.test | 10 -
.../Twig/Tests/Fixtures/filters/escape.test | 8 -
.../Fixtures/filters/escape_html_attr.test | 8 -
.../filters/escape_non_supported_charset.test | 8 -
.../Twig/Tests/Fixtures/filters/first.test | 17 -
.../Tests/Fixtures/filters/force_escape.test | 18 -
.../Twig/Tests/Fixtures/filters/format.test | 8 -
.../Twig/Tests/Fixtures/filters/join.test | 12 -
.../Tests/Fixtures/filters/json_encode.test | 12 -
.../Twig/Tests/Fixtures/filters/last.test | 17 -
.../Twig/Tests/Fixtures/filters/length.test | 14 -
.../Tests/Fixtures/filters/length_utf8.test | 12 -
.../Twig/Tests/Fixtures/filters/merge.test | 18 -
.../Twig/Tests/Fixtures/filters/nl2br.test | 14 -
.../Tests/Fixtures/filters/number_format.test | 18 -
.../filters/number_format_default.test | 21 -
.../Twig/Tests/Fixtures/filters/replace.test | 12 -
.../Fixtures/filters/replace_invalid_arg.test | 8 -
.../Twig/Tests/Fixtures/filters/reverse.test | 18 -
.../Twig/Tests/Fixtures/filters/round.test | 22 -
.../Twig/Tests/Fixtures/filters/slice.test | 54 -
.../Twig/Tests/Fixtures/filters/sort.test | 12 -
.../Tests/Fixtures/filters/special_chars.test | 8 -
.../Twig/Tests/Fixtures/filters/split.test | 20 -
.../Tests/Fixtures/filters/split_utf8.test | 24 -
.../Twig/Tests/Fixtures/filters/trim.test | 12 -
.../Tests/Fixtures/filters/urlencode.test | 16 -
.../filters/urlencode_deprecated.test | 16 -
.../Tests/Fixtures/functions/attribute.test | 18 -
.../Twig/Tests/Fixtures/functions/block.test | 12 -
.../Tests/Fixtures/functions/constant.test | 10 -
.../Twig/Tests/Fixtures/functions/cycle.test | 16 -
.../Twig/Tests/Fixtures/functions/date.test | 25 -
.../Fixtures/functions/date_namedargs.test | 11 -
.../Twig/Tests/Fixtures/functions/dump.test | 16 -
.../Tests/Fixtures/functions/dump_array.test | 19 -
.../Fixtures/functions/dynamic_function.test | 10 -
.../functions/include/assignment.test | 13 -
.../functions/include/autoescaping.test | 10 -
.../Fixtures/functions/include/basic.test | 17 -
.../functions/include/expression.test | 17 -
.../functions/include/ignore_missing.test | 10 -
.../Fixtures/functions/include/missing.test | 8 -
.../functions/include/missing_nested.test | 16 -
.../Fixtures/functions/include/sandbox.test | 13 -
.../functions/include/sandbox_disabling.test | 16 -
.../sandbox_disabling_ignore_missing.test | 13 -
.../functions/include/template_instance.test | 10 -
.../functions/include/templates_as_array.test | 12 -
.../functions/include/with_context.test | 16 -
.../functions/include/with_variables.test | 12 -
.../Twig/Tests/Fixtures/functions/max.test | 12 -
.../Twig/Tests/Fixtures/functions/min.test | 12 -
.../Twig/Tests/Fixtures/functions/range.test | 8 -
.../recursive_block_with_inheritance.test | 21 -
.../Twig/Tests/Fixtures/functions/source.test | 17 -
.../Fixtures/functions/special_chars.test | 8 -
.../functions/template_from_string.test | 15 -
.../Tests/Fixtures/macros/default_values.test | 16 -
.../Tests/Fixtures/macros/nested_calls.test | 18 -
.../Fixtures/macros/reserved_variables.test | 14 -
.../Twig/Tests/Fixtures/macros/simple.test | 22 -
.../Twig/Tests/Fixtures/macros/varargs.test | 21 -
.../Fixtures/macros/varargs_argument.test | 8 -
.../Tests/Fixtures/macros/with_filters.test | 14 -
.../regression/combined_debug_info.test | 15 -
.../Fixtures/regression/empty_token.test | 8 -
.../Tests/Fixtures/regression/issue_1143.test | 23 -
.../Fixtures/regression/multi_word_tests.test | 10 -
.../regression/simple_xml_element.test | 19 -
.../regression/strings_like_numbers.test | 8 -
.../Tests/Fixtures/tags/autoescape/basic.test | 26 -
.../Fixtures/tags/autoescape/blocks.test | 12 -
.../tags/autoescape/double_escaping.test | 10 -
.../Fixtures/tags/autoescape/functions.test | 83 -
.../Fixtures/tags/autoescape/literal.test | 45 -
.../Fixtures/tags/autoescape/nested.test | 26 -
.../Fixtures/tags/autoescape/objects.test | 26 -
.../Tests/Fixtures/tags/autoescape/raw.test | 10 -
.../tags/autoescape/strategy.legacy.test | 11 -
.../Fixtures/tags/autoescape/strategy.test | 11 -
.../Tests/Fixtures/tags/autoescape/type.test | 69 -
.../tags/autoescape/with_filters.test | 131 -
.../autoescape/with_filters_arguments.test | 23 -
.../autoescape/with_pre_escape_filters.test | 68 -
.../with_preserves_safety_filters.test | 50 -
.../Twig/Tests/Fixtures/tags/block/basic.test | 11 -
.../tags/block/block_unique_name.test | 11 -
.../Fixtures/tags/block/special_chars.test | 10 -
.../Twig/Tests/Fixtures/tags/embed/basic.test | 35 -
.../Tests/Fixtures/tags/embed/error_line.test | 16 -
.../Tests/Fixtures/tags/embed/multiple.test | 50 -
.../Tests/Fixtures/tags/embed/nested.test | 42 -
.../Fixtures/tags/embed/with_extends.test | 57 -
.../Tests/Fixtures/tags/filter/basic.test | 10 -
.../Fixtures/tags/filter/json_encode.test | 8 -
.../Tests/Fixtures/tags/filter/multiple.test | 10 -
.../Tests/Fixtures/tags/filter/nested.test | 16 -
.../Fixtures/tags/filter/with_for_tag.test | 13 -
.../Fixtures/tags/filter/with_if_tag.test | 29 -
.../Tests/Fixtures/tags/for/condition.test | 14 -
.../Twig/Tests/Fixtures/tags/for/context.test | 18 -
.../Twig/Tests/Fixtures/tags/for/else.test | 23 -
.../Fixtures/tags/for/inner_variables.test | 17 -
.../Twig/Tests/Fixtures/tags/for/keys.test | 11 -
.../Fixtures/tags/for/keys_and_values.test | 11 -
.../Tests/Fixtures/tags/for/loop_context.test | 19 -
.../Fixtures/tags/for/loop_context_local.test | 10 -
.../Fixtures/tags/for/loop_not_defined.test | 10 -
.../tags/for/loop_not_defined_cond.test | 9 -
.../Tests/Fixtures/tags/for/nested_else.test | 17 -
.../Twig/Tests/Fixtures/tags/for/objects.test | 43 -
.../Fixtures/tags/for/objects_countable.test | 47 -
.../Tests/Fixtures/tags/for/recursive.test | 18 -
.../Twig/Tests/Fixtures/tags/for/values.test | 11 -
.../test/Twig/Tests/Fixtures/tags/from.test | 14 -
.../Twig/Tests/Fixtures/tags/if/basic.test | 22 -
.../Tests/Fixtures/tags/if/expression.test | 22 -
.../Tests/Fixtures/tags/include/basic.test | 16 -
.../Fixtures/tags/include/expression.test | 16 -
.../Fixtures/tags/include/ignore_missing.test | 10 -
.../Tests/Fixtures/tags/include/missing.test | 8 -
.../Fixtures/tags/include/missing_nested.test | 16 -
.../Tests/Fixtures/tags/include/only.test | 16 -
.../tags/include/template_instance.test | 10 -
.../tags/include/templates_as_array.test | 12 -
.../Fixtures/tags/include/with_variables.test | 12 -
.../Fixtures/tags/inheritance/basic.test | 14 -
.../Fixtures/tags/inheritance/block_expr.test | 32 -
.../tags/inheritance/block_expr2.test | 34 -
.../tags/inheritance/conditional.test | 14 -
.../Fixtures/tags/inheritance/dynamic.test | 14 -
.../Fixtures/tags/inheritance/empty.test | 10 -
.../tags/inheritance/extends_as_array.test | 12 -
.../extends_as_array_with_empty_name.test | 12 -
.../extends_as_array_with_null_name.test | 12 -
.../Fixtures/tags/inheritance/multiple.test | 12 -
.../tags/inheritance/multiple_dynamic.test | 22 -
.../tags/inheritance/nested_blocks.test | 22 -
.../nested_blocks_parent_only.test | 15 -
.../tags/inheritance/nested_inheritance.test | 16 -
.../Fixtures/tags/inheritance/parent.test | 12 -
.../tags/inheritance/parent_change.test | 16 -
.../tags/inheritance/parent_in_a_block.test | 8 -
.../tags/inheritance/parent_isolation.test | 20 -
.../tags/inheritance/parent_nested.test | 28 -
.../inheritance/parent_without_extends.test | 8 -
.../parent_without_extends_but_traits.test | 14 -
.../tags/inheritance/template_instance.test | 14 -
.../Tests/Fixtures/tags/inheritance/use.test | 44 -
.../Twig/Tests/Fixtures/tags/macro/basic.test | 17 -
.../Fixtures/tags/macro/endmacro_name.test | 16 -
.../Tests/Fixtures/tags/macro/external.test | 17 -
.../Twig/Tests/Fixtures/tags/macro/from.test | 18 -
.../tags/macro/from_with_reserved_name.test | 9 -
.../Tests/Fixtures/tags/macro/global.test | 14 -
.../tags/macro/import_with_reserved_nam.test | 11 -
.../Fixtures/tags/macro/reserved_name.test | 10 -
.../Fixtures/tags/macro/self_import.test | 17 -
.../Fixtures/tags/macro/special_chars.test | 14 -
.../Fixtures/tags/macro/super_globals.test | 14 -
.../Tests/Fixtures/tags/raw/basic.legacy.test | 10 -
.../tags/raw/mixed_usage_with_raw.legacy.test | 10 -
.../tags/raw/whitespace_control.legacy.test | 56 -
.../Fixtures/tags/sandbox/not_valid1.test | 11 -
.../Fixtures/tags/sandbox/not_valid2.test | 14 -
.../Tests/Fixtures/tags/sandbox/simple.test | 22 -
.../Twig/Tests/Fixtures/tags/set/basic.test | 20 -
.../Fixtures/tags/set/capture-empty.test | 9 -
.../Twig/Tests/Fixtures/tags/set/capture.test | 10 -
.../Tests/Fixtures/tags/set/expression.test | 12 -
.../Tests/Fixtures/tags/spaceless/simple.test | 12 -
.../Tests/Fixtures/tags/special_chars.test | 8 -
.../Twig/Tests/Fixtures/tags/trim_block.test | 74 -
.../Twig/Tests/Fixtures/tags/use/aliases.test | 12 -
.../Twig/Tests/Fixtures/tags/use/basic.test | 12 -
.../Twig/Tests/Fixtures/tags/use/deep.test | 22 -
.../Tests/Fixtures/tags/use/deep_empty.test | 10 -
.../Tests/Fixtures/tags/use/inheritance.test | 25 -
.../Tests/Fixtures/tags/use/inheritance2.test | 24 -
.../Tests/Fixtures/tags/use/multiple.test | 21 -
.../Fixtures/tags/use/multiple_aliases.test | 23 -
.../Tests/Fixtures/tags/use/parent_block.test | 24 -
.../Fixtures/tags/use/parent_block2.test | 24 -
.../Fixtures/tags/use/parent_block3.test | 38 -
.../Tests/Fixtures/tags/verbatim/basic.test | 10 -
.../tags/verbatim/mixed_usage_with_raw.test | 10 -
.../tags/verbatim/whitespace_control.test | 56 -
.../test/Twig/Tests/Fixtures/tests/array.test | 24 -
.../Twig/Tests/Fixtures/tests/constant.test | 14 -
.../Twig/Tests/Fixtures/tests/defined.test | 108 -
.../test/Twig/Tests/Fixtures/tests/empty.test | 45 -
.../test/Twig/Tests/Fixtures/tests/even.test | 14 -
.../test/Twig/Tests/Fixtures/tests/in.test | 128 -
.../Tests/Fixtures/tests/in_with_objects.test | 19 -
.../Twig/Tests/Fixtures/tests/iterable.test | 19 -
.../test/Twig/Tests/Fixtures/tests/odd.test | 10 -
.../twig/test/Twig/Tests/IntegrationTest.php | 229 -
.../Tests/LegacyFixtures/test.legacy.test | 8 -
.../test/Twig/Tests/LegacyIntegrationTest.php | 54 -
.../twig/twig/test/Twig/Tests/LexerTest.php | 300 --
.../twig/test/Twig/Tests/Loader/ArrayTest.php | 97 -
.../twig/test/Twig/Tests/Loader/ChainTest.php | 79 -
.../test/Twig/Tests/Loader/FilesystemTest.php | 175 -
.../array_inheritance_empty_parent.html.twig | 3 -
...y_inheritance_nonexistent_parent.html.twig | 3 -
.../array_inheritance_null_parent.html.twig | 3 -
.../array_inheritance_valid_parent.html.twig | 3 -
.../Fixtures/inheritance/parent.html.twig | 1 -
.../inheritance/spare_parent.html.twig | 1 -
.../Tests/Loader/Fixtures/named/index.html | 1 -
.../Loader/Fixtures/named_bis/index.html | 1 -
.../Loader/Fixtures/named_final/index.html | 1 -
.../Fixtures/named_quater/named_absolute.html | 1 -
.../Loader/Fixtures/named_ter/index.html | 1 -
.../Tests/Loader/Fixtures/normal/index.html | 1 -
.../Loader/Fixtures/normal_bis/index.html | 1 -
.../Loader/Fixtures/normal_final/index.html | 1 -
.../Loader/Fixtures/normal_ter/index.html | 1 -
.../Fixtures/themes/theme1/blocks.html.twig | 3 -
.../Fixtures/themes/theme2/blocks.html.twig | 3 -
.../test/Twig/Tests/NativeExtensionTest.php | 33 -
.../test/Twig/Tests/Node/AutoEscapeTest.php | 32 -
.../Twig/Tests/Node/BlockReferenceTest.php | 31 -
.../twig/test/Twig/Tests/Node/BlockTest.php | 39 -
.../twig/twig/test/Twig/Tests/Node/DoTest.php | 32 -
.../Twig/Tests/Node/Expression/ArrayTest.php | 37 -
.../Tests/Node/Expression/AssignNameTest.php | 29 -
.../Tests/Node/Expression/Binary/AddTest.php | 34 -
.../Tests/Node/Expression/Binary/AndTest.php | 34 -
.../Node/Expression/Binary/ConcatTest.php | 34 -
.../Tests/Node/Expression/Binary/DivTest.php | 34 -
.../Node/Expression/Binary/FloorDivTest.php | 34 -
.../Tests/Node/Expression/Binary/ModTest.php | 34 -
.../Tests/Node/Expression/Binary/MulTest.php | 34 -
.../Tests/Node/Expression/Binary/OrTest.php | 34 -
.../Tests/Node/Expression/Binary/SubTest.php | 34 -
.../Twig/Tests/Node/Expression/CallTest.php | 116 -
.../Tests/Node/Expression/ConditionalTest.php | 38 -
.../Tests/Node/Expression/ConstantTest.php | 30 -
.../Twig/Tests/Node/Expression/FilterTest.php | 154 -
.../Tests/Node/Expression/FunctionTest.php | 110 -
.../Tests/Node/Expression/GetAttrTest.php | 50 -
.../Twig/Tests/Node/Expression/NameTest.php | 35 -
.../Node/Expression/PHP53/FilterInclude.php | 6 -
.../Node/Expression/PHP53/FunctionInclude.php | 6 -
.../Node/Expression/PHP53/TestInclude.php | 6 -
.../Twig/Tests/Node/Expression/ParentTest.php | 28 -
.../Twig/Tests/Node/Expression/TestTest.php | 82 -
.../Tests/Node/Expression/Unary/NegTest.php | 32 -
.../Tests/Node/Expression/Unary/NotTest.php | 31 -
.../Tests/Node/Expression/Unary/PosTest.php | 31 -
.../twig/test/Twig/Tests/Node/ForTest.php | 191 -
.../twig/twig/test/Twig/Tests/Node/IfTest.php | 88 -
.../twig/test/Twig/Tests/Node/ImportTest.php | 40 -
.../twig/test/Twig/Tests/Node/IncludeTest.php | 83 -
.../twig/test/Twig/Tests/Node/MacroTest.php | 70 -
.../twig/test/Twig/Tests/Node/ModuleTest.php | 183 -
.../twig/test/Twig/Tests/Node/PrintTest.php | 29 -
.../twig/test/Twig/Tests/Node/SandboxTest.php | 44 -
.../Twig/Tests/Node/SandboxedPrintTest.php | 33 -
.../twig/test/Twig/Tests/Node/SetTest.php | 69 -
.../test/Twig/Tests/Node/SpacelessTest.php | 37 -
.../twig/test/Twig/Tests/Node/TextTest.php | 28 -
.../Twig/Tests/NodeVisitor/OptimizerTest.php | 124 -
.../twig/twig/test/Twig/Tests/ParserTest.php | 196 -
.../Tests/Profiler/Dumper/AbstractTest.php | 101 -
.../Tests/Profiler/Dumper/BlackfireTest.php | 32 -
.../Twig/Tests/Profiler/Dumper/HtmlTest.php | 30 -
.../Twig/Tests/Profiler/Dumper/TextTest.php | 30 -
.../test/Twig/Tests/Profiler/ProfileTest.php | 100 -
.../twig/test/Twig/Tests/TemplateTest.php | 693 ---
.../twig/test/Twig/Tests/TokenStreamTest.php | 70 -
.../twig/test/Twig/Tests/escapingTest.php | 320 --
_sakura/vendor/twig/twig/test/bootstrap.php | 13 -
api/favicon.ico | Bin 1150 -> 0 bytes
_sakura/composer.json => composer.json | 0
_sakura/composer.lock => composer.lock | 0
{_sakura/config => config}/cloudflare.ipv4 | 0
{_sakura/config => config}/cloudflare.ipv6 | 0
{_sakura/config => config}/config.example.ini | 4 +-
{_sakura/config => config}/iso3166.json | 0
{_sakura/config => config}/whois.json | 0
_sakura/cron.php => cron.php | 0
integrations/SockChat.php | 2 +-
{_sakura/components => libraries}/Action.php | 0
{_sakura/components => libraries}/BBcode.php | 4 +-
.../BBcodeDefinitions/Align.php | 0
.../BBcodeDefinitions/Code.php | 0
.../BBcodeDefinitions/Lists.php | 0
.../BBcodeDefinitions/Size.php | 0
.../BBcodeDefinitions/YouTube.php | 0
{_sakura/components => libraries}/Bans.php | 0
.../components => libraries}/Comments.php | 0
{_sakura/components => libraries}/Config.php | 0
.../DBWrapper/mysql.php | 0
.../components => libraries}/Database.php | 0
{_sakura/components => libraries}/File.php | 0
.../components => libraries}/Forum/Forum.php | 0
.../components => libraries}/Forum/Forums.php | 0
.../components => libraries}/Forum/Post.php | 0
.../Forum/Posting.php | 0
.../components => libraries}/Forum/Thread.php | 0
{_sakura/components => libraries}/Hashing.php | 0
{_sakura/components => libraries}/Main.php | 6 +-
{_sakura/components => libraries}/Manage.php | 0
{_sakura/components => libraries}/News.php | 0
.../components => libraries}/Payments.php | 0
.../components => libraries}/Permissions.php | 0
{_sakura/components => libraries}/Rank.php | 0
{_sakura/components => libraries}/Session.php | 0
.../components => libraries}/Template.php | 4 +-
{_sakura/components => libraries}/Trick.php | 0
{_sakura/components => libraries}/Urls.php | 0
{_sakura/components => libraries}/User.php | 0
{_sakura/components => libraries}/Users.php | 0
{_sakura/components => libraries}/Whois.php | 0
public/404.php | 2 +-
{api => public/api}/.htaccess | 0
{api => public/api}/api.php | 2 +-
public/authenticate.php | 2 +-
public/faq.php | 2 +-
public/group.php | 2 +-
public/imageserve.php | 2 +-
public/index.php | 2 +-
public/manage.php | 2 +-
public/members.php | 2 +-
public/news.php | 2 +-
public/posting.php | 2 +-
public/profile.php | 2 +-
public/report.php | 2 +-
public/search.php | 2 +-
public/settings.php | 2 +-
public/support.php | 2 +-
public/viewforum.php | 2 +-
public/viewtopic.php | 2 +-
_sakura/sakura.php => sakura.php | 64 +-
.../broomcloset/global/master.tpl | 0
.../broomcloset/global/restricted.tpl | 0
.../pages/general.configuration.tpl | 0
.../broomcloset/pages/index.dashboard.tpl | 0
.../broomcloset/pages/index.error.tpl | 0
.../broomcloset/template.ini | 0
.../templates => templates}/htmlEmail.tpl | 0
.../mio/elements/newsPost.tpl | 0
.../mio/global/footer.tpl | 0
.../mio/global/header.tpl | 0
.../mio/main/index.tpl | 0
.../templates => templates}/mio/template.ini | 0
.../misaki/elements/newsPost.tpl | 0
.../misaki/elements/settingsNavigation.tpl | 0
.../misaki/elements/statsHeader.tpl | 0
.../misaki/forum/forum.tpl | 0
.../misaki/forum/forumEntry.tpl | 0
.../misaki/forum/index.tpl | 0
.../misaki/forum/posting.tpl | 0
.../misaki/forum/topicEntry.tpl | 0
.../misaki/forum/viewforum.tpl | 0
.../misaki/forum/viewtopic.tpl | 0
.../misaki/global/information.tpl | 0
.../misaki/global/master.tpl | 0
.../misaki/global/notfound.tpl | 0
.../misaki/global/restricted.tpl | 0
.../misaki/group/index.tpl | 0
.../misaki/main/authenticate.tpl | 0
.../misaki/main/banned.tpl | 0
.../misaki/main/faq.tpl | 0
.../misaki/main/forgotpassword.tpl | 0
.../misaki/main/index.tpl | 0
.../misaki/main/infopage.tpl | 0
.../misaki/main/memberlist.tpl | 0
.../misaki/main/news.tpl | 0
.../misaki/main/premiumcomplete.tpl | 0
.../misaki/main/profile.tpl | 0
.../misaki/main/report.tpl | 0
.../misaki/main/search.tpl | 0
.../misaki/main/settings.tpl | 0
.../misaki/main/support.tpl | 0
.../misaki/main/supporttracker.tpl | 0
.../misaki/profile/comments.tpl | 0
.../misaki/profile/friends.tpl | 0
.../misaki/profile/groups.tpl | 0
.../misaki/profile/hidden.tpl | 0
.../misaki/profile/index.tpl | 0
.../misaki/profile/posts.tpl | 0
.../misaki/profile/threads.tpl | 0
.../misaki/settings/general.home.tpl | 0
.../misaki/settings/general.options.tpl | 0
.../misaki/template.ini | 0
.../yuuno/elements/captcha.tpl | 0
.../yuuno/elements/comment.tpl | 0
.../yuuno/elements/comments.tpl | 0
.../yuuno/elements/indexPanel.tpl | 0
.../yuuno/elements/newsPost.tpl | 0
.../yuuno/elements/pagination.tpl | 0
.../yuuno/elements/settingsNav.tpl | 0
.../yuuno/forum/forum.tpl | 0
.../yuuno/forum/forumBtns.tpl | 0
.../yuuno/forum/forumEntry.tpl | 0
.../yuuno/forum/index.tpl | 0
.../yuuno/forum/posting.tpl | 0
.../yuuno/forum/topicEntry.tpl | 0
.../yuuno/forum/viewforum.tpl | 0
.../yuuno/forum/viewtopic.tpl | 0
.../yuuno/global/chat.tpl | 0
.../yuuno/global/confirm.tpl | 0
.../yuuno/global/information.tpl | 0
.../yuuno/global/master.tpl | 0
.../yuuno/global/notfound.tpl | 0
.../yuuno/global/restricted.tpl | 0
.../yuuno/group/index.tpl | 0
.../yuuno/main/authenticate.tpl | 0
.../yuuno/main/banned.tpl | 0
.../yuuno/main/faq.tpl | 0
.../yuuno/main/forgotpassword.tpl | 0
.../yuuno/main/index.tpl | 0
.../yuuno/main/infopage.tpl | 0
.../yuuno/main/memberlist.tpl | 0
.../yuuno/main/news.tpl | 0
.../yuuno/main/premiumcomplete.tpl | 0
.../yuuno/main/profile.tpl | 0
.../yuuno/main/report.tpl | 0
.../yuuno/main/search.tpl | 0
.../yuuno/main/settings.tpl | 0
.../yuuno/main/support.tpl | 0
.../yuuno/main/supporttracker.tpl | 0
.../yuuno/profile/comments.tpl | 0
.../yuuno/profile/friends.tpl | 0
.../yuuno/profile/groups.tpl | 0
.../yuuno/profile/index.tpl | 0
.../yuuno/profile/posts.tpl | 0
.../yuuno/profile/threads.tpl | 0
.../yuuno/settings/account.email.tpl | 0
.../yuuno/settings/account.password.tpl | 0
.../yuuno/settings/account.ranks.tpl | 0
.../yuuno/settings/account.username.tpl | 0
.../yuuno/settings/account.usertitle.tpl | 0
.../yuuno/settings/advanced.deactivate.tpl | 0
.../settings/advanced.registrationkeys.tpl | 0
.../yuuno/settings/advanced.sessions.tpl | 0
.../yuuno/settings/appearance.avatar.tpl | 0
.../yuuno/settings/appearance.background.tpl | 0
.../yuuno/settings/appearance.signature.tpl | 0
.../yuuno/settings/appearance.userpage.tpl | 0
.../yuuno/settings/friends.listing.tpl | 0
.../yuuno/settings/friends.requests.tpl | 0
.../yuuno/settings/general.home.tpl | 0
.../yuuno/settings/general.options.tpl | 0
.../yuuno/settings/general.profile.tpl | 0
.../yuuno/settings/messages.compose.tpl | 0
.../yuuno/settings/messages.inbox.tpl | 0
.../yuuno/settings/messages.read.tpl | 0
.../yuuno/settings/messages.sent.tpl | 0
.../yuuno/settings/notifications.history.tpl | 0
.../yuuno/template.ini | 0
1658 files changed, 68 insertions(+), 120207 deletions(-)
delete mode 100644 _sakura/vendor/autoload.php
delete mode 100644 _sakura/vendor/composer/ClassLoader.php
delete mode 100644 _sakura/vendor/composer/LICENSE
delete mode 100644 _sakura/vendor/composer/autoload_classmap.php
delete mode 100644 _sakura/vendor/composer/autoload_namespaces.php
delete mode 100644 _sakura/vendor/composer/autoload_psr4.php
delete mode 100644 _sakura/vendor/composer/autoload_real.php
delete mode 100644 _sakura/vendor/composer/installed.json
delete mode 100644 _sakura/vendor/erusev/parsedown/.travis.yml
delete mode 100644 _sakura/vendor/erusev/parsedown/LICENSE.txt
delete mode 100644 _sakura/vendor/erusev/parsedown/Parsedown.php
delete mode 100644 _sakura/vendor/erusev/parsedown/README.md
delete mode 100644 _sakura/vendor/erusev/parsedown/composer.json
delete mode 100644 _sakura/vendor/erusev/parsedown/phpunit.xml.dist
delete mode 100644 _sakura/vendor/erusev/parsedown/test/CommonMarkTest.php
delete mode 100644 _sakura/vendor/erusev/parsedown/test/ParsedownTest.php
delete mode 100644 _sakura/vendor/erusev/parsedown/test/TestParsedown.php
delete mode 100644 _sakura/vendor/erusev/parsedown/test/bootstrap.php
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/aesthetic_table.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/aesthetic_table.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/aligned_table.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/aligned_table.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/atx_heading.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/atx_heading.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/automatic_link.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/automatic_link.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/block-level_html.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/block-level_html.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/code_block.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/code_block.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/code_span.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/code_span.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_blockquote.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_blockquote.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_emphasis.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_emphasis.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/compound_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/em_strong.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/em_strong.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/email.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/email.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/emphasis.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/emphasis.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/escaping.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/escaping.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/fenced_code_block.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/fenced_code_block.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/horizontal_rule.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/horizontal_rule.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/html_comment.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/html_comment.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/html_entity.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/html_entity.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/image_reference.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/image_reference.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/image_title.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/image_title.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/implicit_reference.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/implicit_reference.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_link.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_link.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_link_title.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_link_title.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_title.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/inline_title.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/lazy_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/lazy_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/line_break.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/line_break.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/ordered_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/ordered_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/paragraph_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/paragraph_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/reference_title.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/reference_title.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/self-closing_html.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/self-closing_html.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/separated_nested_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/separated_nested_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/setext_header.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/setext_header.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/simple_blockquote.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/simple_blockquote.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/simple_table.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/simple_table.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/span-level_html.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/span-level_html.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_html.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_html.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/sparse_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/special_characters.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/special_characters.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/strikethrough.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/strikethrough.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/strong_em.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/strong_em.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/table_inline_markdown.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/table_inline_markdown.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/text_reference.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/text_reference.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/unordered_list.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/unordered_list.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/untidy_table.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/untidy_table.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/url_autolinking.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/url_autolinking.md
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/whitespace.html
delete mode 100644 _sakura/vendor/erusev/parsedown/test/data/whitespace.md
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/.gitignore
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinition.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionBuilder.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionSet.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/DefaultCodeDefinitionSet.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/DocumentElement.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/ElementNode.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/InputValidator.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/Node.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/NodeVisitor.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/Parser.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/ParserException.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/TextNode.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/Tokenizer.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/1-GettingStarted.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/2-ClosingUnclosedTags.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/3-MarkuplessText.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/4-CreatingNewCodes.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/SmileyVisitorTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/examples/TagCountingVisitorTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToBBCodeTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToTextTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/DefaultCodesTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/HTMLSafeTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/NestLimitTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParseContentTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParsingEdgeCaseTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/SimpleEvaluationTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/TokenizerTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ValidatorTest.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/validators/CssColorValidator.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/validators/UrlValidator.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/HTMLSafeVisitor.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/NestLimitVisitor.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/SmileyVisitor.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/TagCountingVisitor.php
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/README.md
delete mode 100644 _sakura/vendor/jbbcode/jbbcode/composer.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/.coveralls.yml
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/.editorconfig
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/.gitignore
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/.travis.yml
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/LICENSE.txt
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/README.md
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/composer.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/docs/cover.css
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/docs/index.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/generate-api.sh
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Agreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementDetails.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementStateDescriptor.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransaction.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransactions.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AlternatePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Amount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Authorization.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccountsList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BaseAddress.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Billing.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BillingAgreementToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BillingInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CancelNotification.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Capture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccountToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CartBase.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ChargeModel.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Cost.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CountryCode.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreateProfileResponse.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Credit.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardHistory.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditFinancingOffered.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Currency.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CurrencyConversion.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CustomAmount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Details.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Error.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ErrorDetails.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExtendedBankAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExternalFunding.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FlowConfig.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FmfDetails.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingDetail.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingInstrument.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingOption.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingSource.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FuturePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/HyperSchema.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Image.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Incentive.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InputFields.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentOption.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Invoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceAddress.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceItem.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceSearchResponse.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Item.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ItemList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Links.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Measurement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantPreferences.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Metadata.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/NameValuePair.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Notification.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdAddress.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdError.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdSession.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdTokeninfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdUserinfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Order.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OverrideChargeModel.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Patch.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PatchRequest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payee.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payer.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayerInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCardToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDefinition.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDetail.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentExecution.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentHistory.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentInstruction.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentOptions.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentTerm.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payout.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatch.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatchHeader.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItem.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItemDetails.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutSenderBatchHeader.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Phone.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PlanList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PotentialPayerInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Presentation.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PrivateLabelCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ProcessorResponse.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RecipientBankingInstruction.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RedirectUrls.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Refund.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RefundDetail.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RelatedResources.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Sale.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Search.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingAddress.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingCost.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Tax.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Terms.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transaction.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/TransactionBase.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transactions.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Webhook.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEvent.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventType.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventTypeList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Auth/OAuthTokenCredential.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Cache/AuthorizationCache.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/ArrayUtil.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/ReflectionUtil.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Converter/FormatConverter.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConfigManager.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConstants.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalCredentialManager.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalLoggingLevel.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalLoggingManager.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/cacert.pem
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalConfigurationException.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalConnectionException.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalInvalidCredentialException.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalMissingCredentialException.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/IPayPalHandler.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/OauthHandler.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/ApiContext.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/IResource.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Security/Cipher.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/JsonValidator.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/NumericValidator.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/UrlValidator.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/phpunit.integration.xml
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/phpunit.xml
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/release_notes.md
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/.htaccess
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/README.md
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/CreateBillingAgreementWithCreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/CreateBillingAgreementWithPayPal.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/CreatePlan.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/DeletePlan.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/ExecuteAgreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/GetBillingAgreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/GetPlan.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/ListPlans.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/ReactivateBillingAgreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/SearchBillingTransactions.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/SuspendBillingAgreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/UpdateBillingAgreement.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/UpdatePlan.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/billing/UpdatePlanPaymentDefinitions.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/bootstrap.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/common.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/assets/behavior.js
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/assets/style.css
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/CreateBillingAgreementWithCreditCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/CreateBillingAgreementWithPayPal.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/CreatePlan.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/DeletePlan.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/ExecuteAgreement.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/GetBillingAgreement.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/GetPlan.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/ListPlans.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/ReactivateBillingAgreement.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/SearchBillingTransactions.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/SuspendBillingAgreement.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/UpdateBillingAgreement.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/UpdatePlan.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/billing/UpdatePlanPaymentDefinitions.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/CancelInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/CreateInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/DeleteInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/GetInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/ListInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/RecordPayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/RecordRefund.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/RemindInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/RetrieveQRCode.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/SearchInvoices.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/SendInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/invoice/UpdateInvoice.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/lipp/GenerateAccessTokenFromRefreshToken.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/lipp/GetUserInfo.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/lipp/ObtainUserConsent.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/lipp/UserConsentRedirect.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/CreateWebhook.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/DeleteAllWebhooks.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/DeleteWebhook.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/GetWebhook.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/ListSubscribedWebhookEventTypes.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/ListWebhooks.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/SearchWebhookEvents.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/UpdateWebhook.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/ValidateWebhookEvent.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/notifications/WebhookEventTypesList.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/CreateWebProfile.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/DeleteWebProfile.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/GetWebProfile.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/ListWebProfiles.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/PartiallyUpdateWebProfile.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payment-experience/UpdateWebProfile.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/AuthorizationCapture.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/AuthorizePayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/AuthorizePaymentUsingPayPal.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/CreateFuturePayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/CreatePayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/CreatePaymentUsingPayPal.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/CreatePaymentUsingSavedCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/ExecutePayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/GetAuthorization.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/GetCapture.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/GetPayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/ListPayments.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderAuthorize.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderCapture.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderCreateForAuthorization.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderCreateForCapture.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderCreateForVoid.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderCreateUsingPayPal.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderDoVoid.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/OrderGet.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/Reauthorization.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/RefundCapture.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/UpdatePayment.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payments/VoidAuthorization.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payouts/CancelPayoutItem.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payouts/CreateBatchPayout.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payouts/CreateSinglePayout.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payouts/GetPayoutBatchStatus.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/payouts/GetPayoutItemStatus.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/sale/GetSale.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/sale/RefundSale.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/tls/TlsCheck.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/CreateBankAccount.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/CreateCreditCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/DeleteBankAccount.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/DeleteCreditCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/GetBankAccount.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/GetCreditCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/ListCreditCards.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/doc/vault/UpdateCreditCard.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/header.html
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/images/favicon.ico
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/images/pp_v_rgb.png
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/images/sample_console.png
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/images/sample_web.png
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/index.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/CancelInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/CreateInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/DeleteInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/GetInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/ListInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/RecordPayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/RecordRefund.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/RemindInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/RetrieveQRCode.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/SearchInvoices.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/SendInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/UpdateInvoice.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/invoice/images/sample.png
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/lipp/GenerateAccessTokenFromRefreshToken.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/lipp/GetUserInfo.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/lipp/ObtainUserConsent.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/lipp/UserConsentRedirect.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/CreateWebhook.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/DeleteAllWebhooks.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/DeleteWebhook.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/GetWebhook.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/ListSubscribedWebhookEventTypes.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/ListWebhooks.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/SearchWebhookEvents.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/UpdateWebhook.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/ValidateWebhookEvent.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/notifications/WebhookEventTypesList.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/CreateWebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/DeleteWebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/GetWebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/ListWebProfiles.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/PartiallyUpdateWebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payment-experience/UpdateWebProfile.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/AuthorizationCapture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/AuthorizePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/AuthorizePaymentUsingPayPal.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/CreateFuturePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/CreatePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/CreatePaymentUsingPayPal.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/CreatePaymentUsingSavedCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/ExecutePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/GetAuthorization.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/GetCapture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/GetPayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/ListPayments.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderAuthorize.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderCapture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderCreateForAuthorization.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderCreateForCapture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderCreateForVoid.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderCreateUsingPayPal.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderDoVoid.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/OrderGet.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/Reauthorization.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/RefundCapture.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/UpdatePayment.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payments/VoidAuthorization.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payouts/CancelPayoutItem.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payouts/CreateBatchPayout.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payouts/CreateSinglePayout.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payouts/GetPayoutBatchStatus.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/payouts/GetPayoutItemStatus.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/sale/GetSale.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/sale/RefundSale.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/sdk_config.ini
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/tls/TlsCheck.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/CreateBankAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/CreateCreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/DeleteBankAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/DeleteCreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/GetBankAccount.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/GetCreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/ListCreditCards.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/sample/vault/UpdateCreditCard.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AddressTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AgreementStateDescriptorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AgreementTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AgreementTransactionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AgreementTransactionsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AlternatePaymentTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AmountTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/AuthorizationTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/BankAccountTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/BankAccountsListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/BankTokenTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/BillingInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/BillingTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CancelNotificationTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CaptureTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CarrierAccountTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CarrierAccountTokenTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CartBaseTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ChargeModelTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CostTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CountryCodeTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreateProfileResponseTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditCardHistoryTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditCardListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditCardTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditCardTokenTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditFinancingOfferedTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CreditTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CurrencyConversionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CurrencyTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/CustomAmountTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/DetailsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ErrorDetailsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ErrorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ExtendedBankAccountTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ExternalFundingTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FlowConfigTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FmfDetailsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FundingDetailTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FundingInstrumentTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FundingOptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/FundingSourceTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/HyperSchemaTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ImageTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/IncentiveTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InputFieldsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InstallmentInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InstallmentOptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InvoiceAddressTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InvoiceItemTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InvoiceSearchResponseTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/InvoiceTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ItemListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ItemTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/LinksTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/MeasurementTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/MerchantInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/MerchantPreferencesTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/MetadataTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/NameValuePairTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/NotificationTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OpenIdAddressTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OpenIdErrorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OpenIdSessionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OpenIdTokeninfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OpenIdUserinfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OrderTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/OverrideChargeModelTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PatchRequestTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PatchTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayeeTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayerInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayerTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentCardTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentCardTokenTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentDefinitionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentDetailTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentExecutionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentHistoryTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentInstructionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentOptionsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentTermTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PaymentTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutBatchHeaderTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutBatchTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutItemDetailsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutItemTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PayoutTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PhoneTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PlanListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PlanTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PotentialPayerInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PresentationTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/PrivateLabelCardTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ProcessorResponseTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/RecipientBankingInstructionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/RedirectUrlsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/RefundDetailTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/RefundTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/RelatedResourcesTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/SaleTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/SearchTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ShippingAddressTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ShippingCostTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ShippingInfoTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/TaxTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/TermsTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/TransactionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebProfileTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookEventListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookEventTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookEventTypeListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookEventTypeTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookListTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/WebhookTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Cache/AuthorizationCacheTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/ArrayClass.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/ArrayUtilTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/ChildClass.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/FormatConverterTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/ModelTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/NestedClass.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/PayPalModelTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/SimpleClass.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Common/UserAgentTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Constants.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Core/PPConfigManagerTest.php.skipped
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Core/PayPalCredentialManagerTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Core/PayPalHttpConfigTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Core/PayPalLoggingManagerTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Exception/PayPalConfigurationExceptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Exception/PayPalConnectionExceptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Exception/PayPalInvalidCredentialExceptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Exception/PayPalMissingCredentialExceptionTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/BillingAgreementsFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/BillingPlansFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/InvoiceFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/PaymentsFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/PayoutsFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/WebProfileFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Api/WebhookFunctionalTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/Setup.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testBillBalance.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testCancel.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testCreateCCAgreement.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testCreatePayPalAgreement.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testCreateWithOverride.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testExecute.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testGetCancelled.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testGetSuspended.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testGetTransactions.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testReactivate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testSetBalance.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testSuspend.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingAgreementsFunctionalTest/testUpdate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testCreateWithNOChargeModel.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testGetList.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testUpdateChangingMerchantPreferences.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testUpdateChangingPD.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testUpdateChangingState.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testCancel.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testDelete.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testGetAll.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testQRCode.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testRecordPayment.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testRecordRefund.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testRemind.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testSearch.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testSend.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/InvoiceFunctionalTest/testUpdate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testCreateWallet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testExecute.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testGetPending.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testGetSale.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PaymentsFunctionalTest/testRefundSale.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCancel.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/PayoutsFunctionalTest/testGetItem.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testDelete.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testGetList.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testPartialUpdate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebProfileFunctionalTest/testUpdate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testCreate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testDelete.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testEventResend.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testEventSearch.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testGet.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testGetAll.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testGetEvent.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testGetSubscribedEventTypes.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/testUpdate.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Functional/resources/WebhookFunctionalTest/webhook_get_available_event_types.json
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Handler/OauthHandlerTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Rest/ApiContextTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Validation/ArgumentValidatorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Validation/JsonValidatorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Validation/NumericValidatorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/PayPal/Test/Validation/UrlValidatorTest.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/bootstrap.php
delete mode 100644 _sakura/vendor/paypal/rest-api-sdk-php/tests/sdk_config.ini
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/.gitignore
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/.scrutinizer.yml
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/.travis.yml
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/LICENSE
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/PHPMailerAutoload.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/README.md
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/VERSION
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/changelog.md
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/class.phpmailer.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/class.phpmaileroauth.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/class.phpmaileroauthgoogle.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/class.pop3.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/class.smtp.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/composer.json
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/composer.lock
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/extending.html
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/faq.html
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/generatedocs.sh
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/docs/pop3_article.txt
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/code_generator.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/contents.html
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/contentsutf8.html
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/exceptions.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/gmail.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/gmail_xoauth.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/images/phpmailer.png
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.png
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/index.html
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/mail.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/mailing_list.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/pop_before_smtp.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/scripts/XRegExp.js
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/scripts/shAutoloader.js
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/scripts/shBrushPhp.js
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/scripts/shCore.js
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/scripts/shLegacy.js
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/send_file_upload.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/sendmail.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/signed-mail.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/smtp.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/smtp_check.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/smtp_no_auth.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/ssl_options.phps
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCore.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreDefault.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreDjango.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreEclipse.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreEmacs.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreFadeToGrey.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreMDUltra.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreMidnight.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shCoreRDark.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeAppleScript.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeDefault.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeDjango.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeEclipse.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeEmacs.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeFadeToGrey.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeMDUltra.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeMidnight.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeRDark.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/shThemeVisualStudio.css
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/examples/styles/wrapping.png
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/extras/EasyPeasyICS.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/extras/README.md
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/extras/htmlfilter.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/get_oauth_token.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-am.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/bootstrap.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/fakepopserver.sh
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/fakesendmail.sh
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/phpmailerLangTest.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/phpmailerTest.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/runfakepopserver.sh
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/test_callback.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/test/testbootstrap-dist.php
delete mode 100644 _sakura/vendor/phpmailer/phpmailer/travis.phpunit.xml.dist
delete mode 100644 _sakura/vendor/twig/twig/.editorconfig
delete mode 100644 _sakura/vendor/twig/twig/.gitignore
delete mode 100644 _sakura/vendor/twig/twig/.travis.yml
delete mode 100644 _sakura/vendor/twig/twig/CHANGELOG
delete mode 100644 _sakura/vendor/twig/twig/LICENSE
delete mode 100644 _sakura/vendor/twig/twig/README.rst
delete mode 100644 _sakura/vendor/twig/twig/composer.json
delete mode 100644 _sakura/vendor/twig/twig/doc/advanced.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/advanced_legacy.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/api.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/coding_standards.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/deprecated.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/abs.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/batch.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/capitalize.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/convert_encoding.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/date.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/date_modify.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/default.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/escape.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/first.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/format.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/index.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/join.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/json_encode.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/keys.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/last.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/length.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/lower.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/merge.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/nl2br.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/number_format.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/raw.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/replace.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/reverse.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/round.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/slice.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/sort.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/split.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/striptags.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/title.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/trim.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/upper.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/filters/url_encode.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/attribute.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/block.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/constant.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/cycle.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/date.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/dump.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/include.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/index.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/max.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/min.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/parent.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/random.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/range.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/source.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/functions/template_from_string.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/index.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/installation.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/internals.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/intro.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/recipes.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/autoescape.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/block.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/do.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/embed.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/extends.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/filter.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/flush.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/for.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/from.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/if.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/import.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/include.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/index.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/macro.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/sandbox.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/set.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/spaceless.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/use.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tags/verbatim.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/templates.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/constant.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/defined.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/divisibleby.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/empty.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/even.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/index.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/iterable.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/null.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/odd.rst
delete mode 100644 _sakura/vendor/twig/twig/doc/tests/sameas.rst
delete mode 100644 _sakura/vendor/twig/twig/ext/twig/.gitignore
delete mode 100644 _sakura/vendor/twig/twig/ext/twig/config.m4
delete mode 100644 _sakura/vendor/twig/twig/ext/twig/config.w32
delete mode 100644 _sakura/vendor/twig/twig/ext/twig/php_twig.h
delete mode 100644 _sakura/vendor/twig/twig/ext/twig/twig.c
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Autoloader.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/BaseNodeVisitor.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Cache/Filesystem.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Cache/Null.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/CacheInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Compiler.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/CompilerInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Environment.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Error.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Error/Loader.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Error/Runtime.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Error/Syntax.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/ExpressionParser.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Core.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Debug.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Escaper.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/GlobalsInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/InitRuntimeInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Optimizer.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Profiler.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Sandbox.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/Staging.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Extension/StringLoader.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/ExtensionInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/FileExtensionEscapingStrategy.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Filter.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Filter/Function.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Filter/Method.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Filter/Node.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/FilterCallableInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/FilterInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Function.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Function/Function.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Function/Method.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Function/Node.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/FunctionCallableInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/FunctionInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Lexer.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/LexerInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Loader/Array.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Loader/Chain.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Loader/Filesystem.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Loader/String.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/LoaderInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Markup.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/AutoEscape.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Block.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/BlockReference.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Body.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/CheckSecurity.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Do.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Embed.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Array.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/AssignName.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Add.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/And.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Div.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/EndsWith.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/FloorDiv.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/In.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Less.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/LessEqual.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Matches.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotIn.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Power.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Range.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/StartsWith.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/BlockReference.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Call.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Conditional.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Constant.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/ExtensionReference.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Filter/Default.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Function.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/GetAttr.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/MethodCall.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Name.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Parent.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/TempName.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Constant.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Defined.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Divisibleby.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Even.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Null.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Odd.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Test/Sameas.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Unary.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Unary/Neg.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Unary/Not.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Expression/Unary/Pos.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Flush.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/For.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/ForLoop.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/If.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Import.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Include.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Macro.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Module.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Print.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Sandbox.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/SandboxedPrint.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Set.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/SetTemp.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Spaceless.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Node/Text.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeOutputInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeTraverser.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/NodeVisitorInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Parser.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/ParserInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Node/EnterProfile.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Node/LeaveProfile.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Profiler/Profile.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityError.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFilterError.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedTagError.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicy.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/SimpleFilter.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/SimpleFunction.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/SimpleTest.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Template.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TemplateInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test/Function.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test/IntegrationTestCase.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test/Method.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test/Node.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Test/NodeTestCase.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TestCallableInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TestInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Token.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Block.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Do.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Embed.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Extends.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Filter.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Flush.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/For.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/From.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/If.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Import.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Include.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Macro.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Sandbox.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Set.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParser/Use.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParserBroker.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenParserInterface.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/TokenStream.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Util/DeprecationCollector.php
delete mode 100644 _sakura/vendor/twig/twig/lib/Twig/Util/TemplateDirIterator.php
delete mode 100644 _sakura/vendor/twig/twig/phpunit.xml.dist
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Cache/FilesystemTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/CompilerTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/ErrorTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/ExpressionParserTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Extension/SandboxTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/FileCachingTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/FileExtensionEscapingStrategyTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/autoescape/filename.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/errors/base.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/errors/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/multiline_array_with_undefined_variable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/multiline_array_with_undefined_variable_again.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/multiline_function_with_undefined_variable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/multiline_function_with_unknown_argument.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/multiline_tag_with_undefined_variable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/syntax_error_in_reused_template.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/unclosed_tag.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_parent.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_template_in_child_template.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/undefined_trait.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/array_call.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/binary.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/bitwise.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/comparison.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/divisibleby.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/dotdot.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ends_with.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/grouping.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/literals.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/magic_call.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/matches.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/method_call.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/negative_numbers.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/operators_as_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/postfix.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/sameas.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/starts_with.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/strings.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ternary_operator.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ternary_operator_noelse.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ternary_operator_nothen.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/two_word_operators_as_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/unary.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/unary_macro_arguments.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/unary_precedence.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/abs.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_float.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_with_empty_fill.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_with_exact_elements.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_with_fill.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_with_keys.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/batch_with_zero_elements.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/convert_encoding.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_default_format.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_default_format_interval.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_immutable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_interval.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_modify.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/date_namedargs.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/default.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/dynamic_filter.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape_html_attr.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape_non_supported_charset.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/first.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/force_escape.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/format.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/join.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/json_encode.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/last.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/length.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/length_utf8.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/merge.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/nl2br.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/number_format.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/number_format_default.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/replace.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/replace_invalid_arg.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/reverse.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/round.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/slice.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/sort.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/special_chars.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/split.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/split_utf8.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/trim.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/urlencode.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/urlencode_deprecated.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/attribute.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/block.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/constant.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/cycle.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/date.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/date_namedargs.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dump.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dump_array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/assignment.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/autoescaping.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/expression.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/ignore_missing.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/missing.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/missing_nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/sandbox.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/sandbox_disabling.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/sandbox_disabling_ignore_missing.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/template_instance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/templates_as_array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/with_context.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/with_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/max.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/min.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/range.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/recursive_block_with_inheritance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/source.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/special_chars.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/template_from_string.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/default_values.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/nested_calls.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/reserved_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/simple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/varargs.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/varargs_argument.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/macros/with_filters.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/combined_debug_info.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/empty_token.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/issue_1143.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/multi_word_tests.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/simple_xml_element.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/regression/strings_like_numbers.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/blocks.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/functions.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/literal.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/objects.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/raw.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/strategy.legacy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/strategy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/type.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/with_filters.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/with_filters_arguments.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/with_pre_escape_filters.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/with_preserves_safety_filters.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/block/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/block/block_unique_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/block/special_chars.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/error_line.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/multiple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/with_extends.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/json_encode.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/multiple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/with_for_tag.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/filter/with_if_tag.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/context.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/else.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/inner_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/keys.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/keys_and_values.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/loop_context.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/loop_context_local.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/loop_not_defined.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/loop_not_defined_cond.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/nested_else.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/objects.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/objects_countable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/recursive.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/values.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/from.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/if/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/if/expression.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/expression.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/ignore_missing.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/missing.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/missing_nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/only.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/template_instance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/templates_as_array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/with_variables.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/block_expr.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/block_expr2.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/conditional.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/dynamic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/empty.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/extends_as_array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/extends_as_array_with_empty_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/extends_as_array_with_null_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/multiple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/multiple_dynamic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/nested_blocks.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/nested_blocks_parent_only.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/nested_inheritance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_change.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_in_a_block.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_isolation.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_nested.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_without_extends.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/parent_without_extends_but_traits.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/template_instance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/use.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/endmacro_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/external.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/from.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/from_with_reserved_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/global.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/import_with_reserved_nam.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/reserved_name.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/self_import.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/special_chars.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/super_globals.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/raw/basic.legacy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/raw/mixed_usage_with_raw.legacy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/raw/whitespace_control.legacy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/not_valid1.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/not_valid2.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/capture-empty.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/capture.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/spaceless/simple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/special_chars.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/trim_block.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/aliases.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/deep.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/deep_empty.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/inheritance.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/inheritance2.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/multiple.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/multiple_aliases.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/parent_block.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/parent_block2.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/parent_block3.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/verbatim/basic.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/verbatim/mixed_usage_with_raw.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/verbatim/whitespace_control.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/array.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/constant.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/defined.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/empty.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/even.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/in.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/in_with_objects.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/iterable.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/odd.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/IntegrationTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/LegacyFixtures/test.legacy.test
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/LegacyIntegrationTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/LexerTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/ArrayTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/ChainTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/FilesystemTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/array_inheritance_empty_parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/array_inheritance_nonexistent_parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/array_inheritance_null_parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/array_inheritance_valid_parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/inheritance/spare_parent.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/named/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/named_bis/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/named_final/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/named_quater/named_absolute.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/named_ter/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/normal/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/normal_bis/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/normal_final/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/normal_ter/index.html
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/themes/theme1/blocks.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/themes/theme2/blocks.html.twig
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/NativeExtensionTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/AutoEscapeTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/BlockReferenceTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/BlockTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/DoTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/ArrayTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/AssignNameTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/AddTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/AndTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/ConcatTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/DivTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/FloorDivTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/ModTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/MulTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/OrTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/SubTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/CallTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/ConditionalTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/ConstantTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/FilterTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/GetAttrTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/NameTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/FilterInclude.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/FunctionInclude.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/TestInclude.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/ParentTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/TestTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/NegTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/NotTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/PosTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/ForTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/IfTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/ImportTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/IncludeTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/MacroTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/ModuleTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/PrintTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/SandboxTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/SandboxedPrintTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/SetTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/SpacelessTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Node/TextTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/NodeVisitor/OptimizerTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/ParserTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Profiler/Dumper/AbstractTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Profiler/Dumper/BlackfireTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Profiler/Dumper/HtmlTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Profiler/Dumper/TextTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/Profiler/ProfileTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/TemplateTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/TokenStreamTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/Twig/Tests/escapingTest.php
delete mode 100644 _sakura/vendor/twig/twig/test/bootstrap.php
delete mode 100644 api/favicon.ico
rename _sakura/composer.json => composer.json (100%)
rename _sakura/composer.lock => composer.lock (100%)
rename {_sakura/config => config}/cloudflare.ipv4 (100%)
rename {_sakura/config => config}/cloudflare.ipv6 (100%)
rename {_sakura/config => config}/config.example.ini (90%)
rename {_sakura/config => config}/iso3166.json (100%)
rename {_sakura/config => config}/whois.json (100%)
rename _sakura/cron.php => cron.php (100%)
rename {_sakura/components => libraries}/Action.php (100%)
rename {_sakura/components => libraries}/BBcode.php (96%)
rename {_sakura/components => libraries}/BBcodeDefinitions/Align.php (100%)
rename {_sakura/components => libraries}/BBcodeDefinitions/Code.php (100%)
rename {_sakura/components => libraries}/BBcodeDefinitions/Lists.php (100%)
rename {_sakura/components => libraries}/BBcodeDefinitions/Size.php (100%)
rename {_sakura/components => libraries}/BBcodeDefinitions/YouTube.php (100%)
rename {_sakura/components => libraries}/Bans.php (100%)
rename {_sakura/components => libraries}/Comments.php (100%)
rename {_sakura/components => libraries}/Config.php (100%)
rename {_sakura/components => libraries}/DBWrapper/mysql.php (100%)
rename {_sakura/components => libraries}/Database.php (100%)
rename {_sakura/components => libraries}/File.php (100%)
rename {_sakura/components => libraries}/Forum/Forum.php (100%)
rename {_sakura/components => libraries}/Forum/Forums.php (100%)
rename {_sakura/components => libraries}/Forum/Post.php (100%)
rename {_sakura/components => libraries}/Forum/Posting.php (100%)
rename {_sakura/components => libraries}/Forum/Thread.php (100%)
rename {_sakura/components => libraries}/Hashing.php (100%)
rename {_sakura/components => libraries}/Main.php (98%)
rename {_sakura/components => libraries}/Manage.php (100%)
rename {_sakura/components => libraries}/News.php (100%)
rename {_sakura/components => libraries}/Payments.php (100%)
rename {_sakura/components => libraries}/Permissions.php (100%)
rename {_sakura/components => libraries}/Rank.php (100%)
rename {_sakura/components => libraries}/Session.php (100%)
rename {_sakura/components => libraries}/Template.php (92%)
rename {_sakura/components => libraries}/Trick.php (100%)
rename {_sakura/components => libraries}/Urls.php (100%)
rename {_sakura/components => libraries}/User.php (100%)
rename {_sakura/components => libraries}/Users.php (100%)
rename {_sakura/components => libraries}/Whois.php (100%)
rename {api => public/api}/.htaccess (100%)
rename {api => public/api}/api.php (95%)
rename _sakura/sakura.php => sakura.php (77%)
rename {_sakura/templates => templates}/broomcloset/global/master.tpl (100%)
rename {_sakura/templates => templates}/broomcloset/global/restricted.tpl (100%)
rename {_sakura/templates => templates}/broomcloset/pages/general.configuration.tpl (100%)
rename {_sakura/templates => templates}/broomcloset/pages/index.dashboard.tpl (100%)
rename {_sakura/templates => templates}/broomcloset/pages/index.error.tpl (100%)
rename {_sakura/templates => templates}/broomcloset/template.ini (100%)
rename {_sakura/templates => templates}/htmlEmail.tpl (100%)
rename {_sakura/templates => templates}/mio/elements/newsPost.tpl (100%)
rename {_sakura/templates => templates}/mio/global/footer.tpl (100%)
rename {_sakura/templates => templates}/mio/global/header.tpl (100%)
rename {_sakura/templates => templates}/mio/main/index.tpl (100%)
rename {_sakura/templates => templates}/mio/template.ini (100%)
rename {_sakura/templates => templates}/misaki/elements/newsPost.tpl (100%)
rename {_sakura/templates => templates}/misaki/elements/settingsNavigation.tpl (100%)
rename {_sakura/templates => templates}/misaki/elements/statsHeader.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/forum.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/forumEntry.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/index.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/posting.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/topicEntry.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/viewforum.tpl (100%)
rename {_sakura/templates => templates}/misaki/forum/viewtopic.tpl (100%)
rename {_sakura/templates => templates}/misaki/global/information.tpl (100%)
rename {_sakura/templates => templates}/misaki/global/master.tpl (100%)
rename {_sakura/templates => templates}/misaki/global/notfound.tpl (100%)
rename {_sakura/templates => templates}/misaki/global/restricted.tpl (100%)
rename {_sakura/templates => templates}/misaki/group/index.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/authenticate.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/banned.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/faq.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/forgotpassword.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/index.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/infopage.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/memberlist.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/news.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/premiumcomplete.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/profile.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/report.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/search.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/settings.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/support.tpl (100%)
rename {_sakura/templates => templates}/misaki/main/supporttracker.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/comments.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/friends.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/groups.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/hidden.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/index.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/posts.tpl (100%)
rename {_sakura/templates => templates}/misaki/profile/threads.tpl (100%)
rename {_sakura/templates => templates}/misaki/settings/general.home.tpl (100%)
rename {_sakura/templates => templates}/misaki/settings/general.options.tpl (100%)
rename {_sakura/templates => templates}/misaki/template.ini (100%)
rename {_sakura/templates => templates}/yuuno/elements/captcha.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/comment.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/comments.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/indexPanel.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/newsPost.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/pagination.tpl (100%)
rename {_sakura/templates => templates}/yuuno/elements/settingsNav.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/forum.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/forumBtns.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/forumEntry.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/index.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/posting.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/topicEntry.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/viewforum.tpl (100%)
rename {_sakura/templates => templates}/yuuno/forum/viewtopic.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/chat.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/confirm.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/information.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/master.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/notfound.tpl (100%)
rename {_sakura/templates => templates}/yuuno/global/restricted.tpl (100%)
rename {_sakura/templates => templates}/yuuno/group/index.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/authenticate.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/banned.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/faq.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/forgotpassword.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/index.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/infopage.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/memberlist.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/news.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/premiumcomplete.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/profile.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/report.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/search.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/settings.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/support.tpl (100%)
rename {_sakura/templates => templates}/yuuno/main/supporttracker.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/comments.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/friends.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/groups.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/index.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/posts.tpl (100%)
rename {_sakura/templates => templates}/yuuno/profile/threads.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/account.email.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/account.password.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/account.ranks.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/account.username.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/account.usertitle.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/advanced.deactivate.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/advanced.registrationkeys.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/advanced.sessions.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/appearance.avatar.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/appearance.background.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/appearance.signature.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/appearance.userpage.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/friends.listing.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/friends.requests.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/general.home.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/general.options.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/general.profile.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/messages.compose.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/messages.inbox.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/messages.read.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/messages.sent.tpl (100%)
rename {_sakura/templates => templates}/yuuno/settings/notifications.history.tpl (100%)
rename {_sakura/templates => templates}/yuuno/template.ini (100%)
diff --git a/.gitignore b/.gitignore
index 5d46ea4..2fd1586 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1,15 @@
.idea/
.vs/
errors.log
-_sakura/config/config.ini
BingSiteAuth.xml
google*.html
-cache/*
-!cache/.sakura
-uploads/*
-!uploads/.sakura
+/config/config.ini
+/cache/*
+!/cache/.sakura
+/uploads/*
+!/uploads/.sakura
+/vendor
+!/vendor/.sakura
[Tt]humbs.db
ehthumbs.db
Desktop.ini
diff --git a/README.md b/README.md
index d67b1d9..8b25856 100644
--- a/README.md
+++ b/README.md
@@ -3,21 +3,3 @@
_A backend that doesn't suck_
I'll write a more descriptive readme once it's in a stable state.
-
-## Apache 2.x Virtualhosts
-
-```
-
- DocumentRoot [local path]/main
- ServerName [site url]
- ServerAlias www.[site url]
-
-
-
- DocumentRoot [local path]/api
- ServerName api.[site url]
-
- Header unset Cookie
- Header unset Set-Cookie
-
-```
diff --git a/_sakura/vendor/autoload.php b/_sakura/vendor/autoload.php
deleted file mode 100644
index a649c47..0000000
--- a/_sakura/vendor/autoload.php
+++ /dev/null
@@ -1,7 +0,0 @@
-
- * Jordi Boggiano
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Composer\Autoload;
-
-/**
- * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
- *
- * $loader = new \Composer\Autoload\ClassLoader();
- *
- * // register classes with namespaces
- * $loader->add('Symfony\Component', __DIR__.'/component');
- * $loader->add('Symfony', __DIR__.'/framework');
- *
- * // activate the autoloader
- * $loader->register();
- *
- * // to enable searching the include path (eg. for PEAR packages)
- * $loader->setUseIncludePath(true);
- *
- * In this example, if you try to use a class in the Symfony\Component
- * namespace or one of its children (Symfony\Component\Console for instance),
- * the autoloader will first look for the class under the component/
- * directory, and it will then fallback to the framework/ directory if not
- * found before giving up.
- *
- * This class is loosely based on the Symfony UniversalClassLoader.
- *
- * @author Fabien Potencier
- * @author Jordi Boggiano
- * @see http://www.php-fig.org/psr/psr-0/
- * @see http://www.php-fig.org/psr/psr-4/
- */
-class ClassLoader
-{
- // PSR-4
- private $prefixLengthsPsr4 = array();
- private $prefixDirsPsr4 = array();
- private $fallbackDirsPsr4 = array();
-
- // PSR-0
- private $prefixesPsr0 = array();
- private $fallbackDirsPsr0 = array();
-
- private $useIncludePath = false;
- private $classMap = array();
-
- private $classMapAuthoritative = false;
-
- public function getPrefixes()
- {
- if (!empty($this->prefixesPsr0)) {
- return call_user_func_array('array_merge', $this->prefixesPsr0);
- }
-
- return array();
- }
-
- public function getPrefixesPsr4()
- {
- return $this->prefixDirsPsr4;
- }
-
- public function getFallbackDirs()
- {
- return $this->fallbackDirsPsr0;
- }
-
- public function getFallbackDirsPsr4()
- {
- return $this->fallbackDirsPsr4;
- }
-
- public function getClassMap()
- {
- return $this->classMap;
- }
-
- /**
- * @param array $classMap Class to filename map
- */
- public function addClassMap(array $classMap)
- {
- if ($this->classMap) {
- $this->classMap = array_merge($this->classMap, $classMap);
- } else {
- $this->classMap = $classMap;
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix, either
- * appending or prepending to the ones previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 root directories
- * @param bool $prepend Whether to prepend the directories
- */
- public function add($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- if ($prepend) {
- $this->fallbackDirsPsr0 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr0
- );
- } else {
- $this->fallbackDirsPsr0 = array_merge(
- $this->fallbackDirsPsr0,
- (array) $paths
- );
- }
-
- return;
- }
-
- $first = $prefix[0];
- if (!isset($this->prefixesPsr0[$first][$prefix])) {
- $this->prefixesPsr0[$first][$prefix] = (array) $paths;
-
- return;
- }
- if ($prepend) {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- (array) $paths,
- $this->prefixesPsr0[$first][$prefix]
- );
- } else {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- $this->prefixesPsr0[$first][$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace, either
- * appending or prepending to the ones previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-0 base directories
- * @param bool $prepend Whether to prepend the directories
- *
- * @throws \InvalidArgumentException
- */
- public function addPsr4($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- // Register directories for the root namespace.
- if ($prepend) {
- $this->fallbackDirsPsr4 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr4
- );
- } else {
- $this->fallbackDirsPsr4 = array_merge(
- $this->fallbackDirsPsr4,
- (array) $paths
- );
- }
- } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
- // Register directories for a new namespace.
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- } elseif ($prepend) {
- // Prepend directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- (array) $paths,
- $this->prefixDirsPsr4[$prefix]
- );
- } else {
- // Append directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- $this->prefixDirsPsr4[$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix,
- * replacing any others previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 base directories
- */
- public function set($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr0 = (array) $paths;
- } else {
- $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace,
- * replacing any others previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-4 base directories
- *
- * @throws \InvalidArgumentException
- */
- public function setPsr4($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr4 = (array) $paths;
- } else {
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- }
- }
-
- /**
- * Turns on searching the include path for class files.
- *
- * @param bool $useIncludePath
- */
- public function setUseIncludePath($useIncludePath)
- {
- $this->useIncludePath = $useIncludePath;
- }
-
- /**
- * Can be used to check if the autoloader uses the include path to check
- * for classes.
- *
- * @return bool
- */
- public function getUseIncludePath()
- {
- return $this->useIncludePath;
- }
-
- /**
- * Turns off searching the prefix and fallback directories for classes
- * that have not been registered with the class map.
- *
- * @param bool $classMapAuthoritative
- */
- public function setClassMapAuthoritative($classMapAuthoritative)
- {
- $this->classMapAuthoritative = $classMapAuthoritative;
- }
-
- /**
- * Should class lookup fail if not found in the current class map?
- *
- * @return bool
- */
- public function isClassMapAuthoritative()
- {
- return $this->classMapAuthoritative;
- }
-
- /**
- * Registers this instance as an autoloader.
- *
- * @param bool $prepend Whether to prepend the autoloader or not
- */
- public function register($prepend = false)
- {
- spl_autoload_register(array($this, 'loadClass'), true, $prepend);
- }
-
- /**
- * Unregisters this instance as an autoloader.
- */
- public function unregister()
- {
- spl_autoload_unregister(array($this, 'loadClass'));
- }
-
- /**
- * Loads the given class or interface.
- *
- * @param string $class The name of the class
- * @return bool|null True if loaded, null otherwise
- */
- public function loadClass($class)
- {
- if ($file = $this->findFile($class)) {
- includeFile($file);
-
- return true;
- }
- }
-
- /**
- * Finds the path to the file where the class is defined.
- *
- * @param string $class The name of the class
- *
- * @return string|false The path if found, false otherwise
- */
- public function findFile($class)
- {
- // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
- if ('\\' == $class[0]) {
- $class = substr($class, 1);
- }
-
- // class map lookup
- if (isset($this->classMap[$class])) {
- return $this->classMap[$class];
- }
- if ($this->classMapAuthoritative) {
- return false;
- }
-
- $file = $this->findFileWithExtension($class, '.php');
-
- // Search for Hack files if we are running on HHVM
- if ($file === null && defined('HHVM_VERSION')) {
- $file = $this->findFileWithExtension($class, '.hh');
- }
-
- if ($file === null) {
- // Remember that this class does not exist.
- return $this->classMap[$class] = false;
- }
-
- return $file;
- }
-
- private function findFileWithExtension($class, $ext)
- {
- // PSR-4 lookup
- $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
-
- $first = $class[0];
- if (isset($this->prefixLengthsPsr4[$first])) {
- foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
- if (0 === strpos($class, $prefix)) {
- foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-4 fallback dirs
- foreach ($this->fallbackDirsPsr4 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
- return $file;
- }
- }
-
- // PSR-0 lookup
- if (false !== $pos = strrpos($class, '\\')) {
- // namespaced class name
- $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
- . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
- } else {
- // PEAR-like class name
- $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
- }
-
- if (isset($this->prefixesPsr0[$first])) {
- foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
- if (0 === strpos($class, $prefix)) {
- foreach ($dirs as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-0 fallback dirs
- foreach ($this->fallbackDirsPsr0 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
-
- // PSR-0 include paths.
- if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
- return $file;
- }
- }
-}
-
-/**
- * Scope isolated include.
- *
- * Prevents access to $this/self from included files.
- */
-function includeFile($file)
-{
- include $file;
-}
diff --git a/_sakura/vendor/composer/LICENSE b/_sakura/vendor/composer/LICENSE
deleted file mode 100644
index c8d57af..0000000
--- a/_sakura/vendor/composer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-
-Copyright (c) 2015 Nils Adermann, Jordi Boggiano
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
diff --git a/_sakura/vendor/composer/autoload_classmap.php b/_sakura/vendor/composer/autoload_classmap.php
deleted file mode 100644
index c692e9a..0000000
--- a/_sakura/vendor/composer/autoload_classmap.php
+++ /dev/null
@@ -1,17 +0,0 @@
- $vendorDir . '/phpmailer/phpmailer/extras/EasyPeasyICS.php',
- 'PHPMailer' => $vendorDir . '/phpmailer/phpmailer/class.phpmailer.php',
- 'PHPMailerOAuth' => $vendorDir . '/phpmailer/phpmailer/class.phpmaileroauth.php',
- 'PHPMailerOAuthGoogle' => $vendorDir . '/phpmailer/phpmailer/class.phpmaileroauthgoogle.php',
- 'POP3' => $vendorDir . '/phpmailer/phpmailer/class.pop3.php',
- 'SMTP' => $vendorDir . '/phpmailer/phpmailer/class.smtp.php',
- 'ntlm_sasl_client_class' => $vendorDir . '/phpmailer/phpmailer/extras/ntlm_sasl_client.php',
- 'phpmailerException' => $vendorDir . '/phpmailer/phpmailer/class.phpmailer.php',
-);
diff --git a/_sakura/vendor/composer/autoload_namespaces.php b/_sakura/vendor/composer/autoload_namespaces.php
deleted file mode 100644
index 954dfee..0000000
--- a/_sakura/vendor/composer/autoload_namespaces.php
+++ /dev/null
@@ -1,13 +0,0 @@
- array($vendorDir . '/twig/twig/lib'),
- 'PayPal' => array($vendorDir . '/paypal/rest-api-sdk-php/lib'),
- 'Parsedown' => array($vendorDir . '/erusev/parsedown'),
- 'JBBCode' => array($vendorDir . '/jbbcode/jbbcode'),
-);
diff --git a/_sakura/vendor/composer/autoload_psr4.php b/_sakura/vendor/composer/autoload_psr4.php
deleted file mode 100644
index b265c64..0000000
--- a/_sakura/vendor/composer/autoload_psr4.php
+++ /dev/null
@@ -1,9 +0,0 @@
- $path) {
- $loader->set($namespace, $path);
- }
-
- $map = require __DIR__ . '/autoload_psr4.php';
- foreach ($map as $namespace => $path) {
- $loader->setPsr4($namespace, $path);
- }
-
- $classMap = require __DIR__ . '/autoload_classmap.php';
- if ($classMap) {
- $loader->addClassMap($classMap);
- }
-
- $loader->register(true);
-
- return $loader;
- }
-}
diff --git a/_sakura/vendor/composer/installed.json b/_sakura/vendor/composer/installed.json
deleted file mode 100644
index 90db05c..0000000
--- a/_sakura/vendor/composer/installed.json
+++ /dev/null
@@ -1,267 +0,0 @@
-[
- {
- "name": "twig/twig",
- "version": "v1.23.1",
- "version_normalized": "1.23.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/twigphp/Twig.git",
- "reference": "d9b6333ae8dd2c8e3fd256e127548def0bc614c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/d9b6333ae8dd2c8e3fd256e127548def0bc614c6",
- "reference": "d9b6333ae8dd2c8e3fd256e127548def0bc614c6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.7"
- },
- "require-dev": {
- "symfony/debug": "~2.7",
- "symfony/phpunit-bridge": "~2.7"
- },
- "time": "2015-11-05 12:49:06",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.23-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Twig_": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com",
- "homepage": "http://fabien.potencier.org",
- "role": "Lead Developer"
- },
- {
- "name": "Armin Ronacher",
- "email": "armin.ronacher@active-4.com",
- "role": "Project Founder"
- },
- {
- "name": "Twig Team",
- "homepage": "http://twig.sensiolabs.org/contributors",
- "role": "Contributors"
- }
- ],
- "description": "Twig, the flexible, fast, and secure template language for PHP",
- "homepage": "http://twig.sensiolabs.org",
- "keywords": [
- "templating"
- ]
- },
- {
- "name": "phpmailer/phpmailer",
- "version": "v5.2.14",
- "version_normalized": "5.2.14.0",
- "source": {
- "type": "git",
- "url": "https://github.com/PHPMailer/PHPMailer.git",
- "reference": "e774bc9152de85547336e22b8926189e582ece95"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/e774bc9152de85547336e22b8926189e582ece95",
- "reference": "e774bc9152de85547336e22b8926189e582ece95",
- "shasum": ""
- },
- "require": {
- "php": ">=5.0.0"
- },
- "require-dev": {
- "phpdocumentor/phpdocumentor": "*",
- "phpunit/phpunit": "4.7.*"
- },
- "suggest": {
- "league/oauth2-client": "Needed for XOAUTH2 authentication",
- "league/oauth2-google": "Needed for Gmail XOAUTH2"
- },
- "time": "2015-11-01 10:15:28",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "class.phpmailer.php",
- "class.phpmaileroauth.php",
- "class.phpmaileroauthgoogle.php",
- "class.smtp.php",
- "class.pop3.php",
- "extras/EasyPeasyICS.php",
- "extras/ntlm_sasl_client.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "LGPL-2.1"
- ],
- "authors": [
- {
- "name": "Jim Jagielski",
- "email": "jimjag@gmail.com"
- },
- {
- "name": "Marcus Bointon",
- "email": "phpmailer@synchromedia.co.uk"
- },
- {
- "name": "Andy Prevost",
- "email": "codeworxtech@users.sourceforge.net"
- },
- {
- "name": "Brent R. Matzelle"
- }
- ],
- "description": "PHPMailer is a full-featured email creation and transfer class for PHP"
- },
- {
- "name": "erusev/parsedown",
- "version": "1.6.0",
- "version_normalized": "1.6.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/erusev/parsedown.git",
- "reference": "3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/erusev/parsedown/zipball/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7",
- "reference": "3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7",
- "shasum": ""
- },
- "time": "2015-10-04 16:44:32",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "Parsedown": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Emanuil Rusev",
- "email": "hello@erusev.com",
- "homepage": "http://erusev.com"
- }
- ],
- "description": "Parser for Markdown.",
- "homepage": "http://parsedown.org",
- "keywords": [
- "markdown",
- "parser"
- ]
- },
- {
- "name": "paypal/rest-api-sdk-php",
- "version": "v1.6.2",
- "version_normalized": "1.6.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/paypal/PayPal-PHP-SDK.git",
- "reference": "7493e7aa5e384e897636d6073493ef0a865695ea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paypal/PayPal-PHP-SDK/zipball/7493e7aa5e384e897636d6073493ef0a865695ea",
- "reference": "7493e7aa5e384e897636d6073493ef0a865695ea",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "ext-json": "*",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "3.7.*"
- },
- "time": "2015-11-16 19:40:00",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "PayPal": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache2"
- ],
- "authors": [
- {
- "name": "PayPal",
- "homepage": "https://github.com/paypal/rest-api-sdk-php/contributors"
- }
- ],
- "description": "PayPal's PHP SDK for REST APIs",
- "homepage": "http://paypal.github.io/PayPal-PHP-SDK/",
- "keywords": [
- "payments",
- "paypal",
- "rest",
- "sdk"
- ]
- },
- {
- "name": "jbbcode/jbbcode",
- "version": "v1.3.0",
- "version_normalized": "1.3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/jbowens/jBBCode.git",
- "reference": "645b6a1c0afa92b7d029d3417ebd8b60a5c578b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/jbowens/jBBCode/zipball/645b6a1c0afa92b7d029d3417ebd8b60a5c578b3",
- "reference": "645b6a1c0afa92b7d029d3417ebd8b60a5c578b3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "3.7.*"
- },
- "time": "2014-07-06 05:48:20",
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-0": {
- "JBBCode": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jackson Owens",
- "email": "jackson_owens@alumni.brown.edu",
- "homepage": "http://jbowens.org/",
- "role": "Developer"
- }
- ],
- "description": "A lightweight but extensible BBCode parser written in PHP 5.3.",
- "homepage": "http://jbbcode.com/",
- "keywords": [
- "BB",
- "bbcode"
- ]
- }
-]
diff --git a/_sakura/vendor/erusev/parsedown/.travis.yml b/_sakura/vendor/erusev/parsedown/.travis.yml
deleted file mode 100644
index 5df49dc..0000000
--- a/_sakura/vendor/erusev/parsedown/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-language: php
-
-php:
- - 7.0
- - 5.6
- - 5.5
- - 5.4
- - 5.3
- - hhvm
- - hhvm-nightly
-
-matrix:
- fast_finish: true
- allow_failures:
- - php: 7.0
- - php: hhvm-nightly
diff --git a/_sakura/vendor/erusev/parsedown/LICENSE.txt b/_sakura/vendor/erusev/parsedown/LICENSE.txt
deleted file mode 100644
index baca86f..0000000
--- a/_sakura/vendor/erusev/parsedown/LICENSE.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013 Emanuil Rusev, erusev.com
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/Parsedown.php b/_sakura/vendor/erusev/parsedown/Parsedown.php
deleted file mode 100644
index c8c92a3..0000000
--- a/_sakura/vendor/erusev/parsedown/Parsedown.php
+++ /dev/null
@@ -1,1528 +0,0 @@
-DefinitionData = array();
-
- # standardize line breaks
- $text = str_replace(array("\r\n", "\r"), "\n", $text);
-
- # remove surrounding line breaks
- $text = trim($text, "\n");
-
- # split text into lines
- $lines = explode("\n", $text);
-
- # iterate through lines to identify blocks
- $markup = $this->lines($lines);
-
- # trim line breaks
- $markup = trim($markup, "\n");
-
- return $markup;
- }
-
- #
- # Setters
- #
-
- function setBreaksEnabled($breaksEnabled)
- {
- $this->breaksEnabled = $breaksEnabled;
-
- return $this;
- }
-
- protected $breaksEnabled;
-
- function setMarkupEscaped($markupEscaped)
- {
- $this->markupEscaped = $markupEscaped;
-
- return $this;
- }
-
- protected $markupEscaped;
-
- function setUrlsLinked($urlsLinked)
- {
- $this->urlsLinked = $urlsLinked;
-
- return $this;
- }
-
- protected $urlsLinked = true;
-
- #
- # Lines
- #
-
- protected $BlockTypes = array(
- '#' => array('Header'),
- '*' => array('Rule', 'List'),
- '+' => array('List'),
- '-' => array('SetextHeader', 'Table', 'Rule', 'List'),
- '0' => array('List'),
- '1' => array('List'),
- '2' => array('List'),
- '3' => array('List'),
- '4' => array('List'),
- '5' => array('List'),
- '6' => array('List'),
- '7' => array('List'),
- '8' => array('List'),
- '9' => array('List'),
- ':' => array('Table'),
- '<' => array('Comment', 'Markup'),
- '=' => array('SetextHeader'),
- '>' => array('Quote'),
- '[' => array('Reference'),
- '_' => array('Rule'),
- '`' => array('FencedCode'),
- '|' => array('Table'),
- '~' => array('FencedCode'),
- );
-
- # ~
-
- protected $unmarkedBlockTypes = array(
- 'Code',
- );
-
- #
- # Blocks
- #
-
- private function lines(array $lines)
- {
- $CurrentBlock = null;
-
- foreach ($lines as $line)
- {
- if (chop($line) === '')
- {
- if (isset($CurrentBlock))
- {
- $CurrentBlock['interrupted'] = true;
- }
-
- continue;
- }
-
- if (strpos($line, "\t") !== false)
- {
- $parts = explode("\t", $line);
-
- $line = $parts[0];
-
- unset($parts[0]);
-
- foreach ($parts as $part)
- {
- $shortage = 4 - mb_strlen($line, 'utf-8') % 4;
-
- $line .= str_repeat(' ', $shortage);
- $line .= $part;
- }
- }
-
- $indent = 0;
-
- while (isset($line[$indent]) and $line[$indent] === ' ')
- {
- $indent ++;
- }
-
- $text = $indent > 0 ? substr($line, $indent) : $line;
-
- # ~
-
- $Line = array('body' => $line, 'indent' => $indent, 'text' => $text);
-
- # ~
-
- if (isset($CurrentBlock['continuable']))
- {
- $Block = $this->{'block'.$CurrentBlock['type'].'Continue'}($Line, $CurrentBlock);
-
- if (isset($Block))
- {
- $CurrentBlock = $Block;
-
- continue;
- }
- else
- {
- if (method_exists($this, 'block'.$CurrentBlock['type'].'Complete'))
- {
- $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
- }
- }
- }
-
- # ~
-
- $marker = $text[0];
-
- # ~
-
- $blockTypes = $this->unmarkedBlockTypes;
-
- if (isset($this->BlockTypes[$marker]))
- {
- foreach ($this->BlockTypes[$marker] as $blockType)
- {
- $blockTypes []= $blockType;
- }
- }
-
- #
- # ~
-
- foreach ($blockTypes as $blockType)
- {
- $Block = $this->{'block'.$blockType}($Line, $CurrentBlock);
-
- if (isset($Block))
- {
- $Block['type'] = $blockType;
-
- if ( ! isset($Block['identified']))
- {
- $Blocks []= $CurrentBlock;
-
- $Block['identified'] = true;
- }
-
- if (method_exists($this, 'block'.$blockType.'Continue'))
- {
- $Block['continuable'] = true;
- }
-
- $CurrentBlock = $Block;
-
- continue 2;
- }
- }
-
- # ~
-
- if (isset($CurrentBlock) and ! isset($CurrentBlock['type']) and ! isset($CurrentBlock['interrupted']))
- {
- $CurrentBlock['element']['text'] .= "\n".$text;
- }
- else
- {
- $Blocks []= $CurrentBlock;
-
- $CurrentBlock = $this->paragraph($Line);
-
- $CurrentBlock['identified'] = true;
- }
- }
-
- # ~
-
- if (isset($CurrentBlock['continuable']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete'))
- {
- $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
- }
-
- # ~
-
- $Blocks []= $CurrentBlock;
-
- unset($Blocks[0]);
-
- # ~
-
- $markup = '';
-
- foreach ($Blocks as $Block)
- {
- if (isset($Block['hidden']))
- {
- continue;
- }
-
- $markup .= "\n";
- $markup .= isset($Block['markup']) ? $Block['markup'] : $this->element($Block['element']);
- }
-
- $markup .= "\n";
-
- # ~
-
- return $markup;
- }
-
- #
- # Code
-
- protected function blockCode($Line, $Block = null)
- {
- if (isset($Block) and ! isset($Block['type']) and ! isset($Block['interrupted']))
- {
- return;
- }
-
- if ($Line['indent'] >= 4)
- {
- $text = substr($Line['body'], 4);
-
- $Block = array(
- 'element' => array(
- 'name' => 'pre',
- 'handler' => 'element',
- 'text' => array(
- 'name' => 'code',
- 'text' => $text,
- ),
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockCodeContinue($Line, $Block)
- {
- if ($Line['indent'] >= 4)
- {
- if (isset($Block['interrupted']))
- {
- $Block['element']['text']['text'] .= "\n";
-
- unset($Block['interrupted']);
- }
-
- $Block['element']['text']['text'] .= "\n";
-
- $text = substr($Line['body'], 4);
-
- $Block['element']['text']['text'] .= $text;
-
- return $Block;
- }
- }
-
- protected function blockCodeComplete($Block)
- {
- $text = $Block['element']['text']['text'];
-
- $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8');
-
- $Block['element']['text']['text'] = $text;
-
- return $Block;
- }
-
- #
- # Comment
-
- protected function blockComment($Line)
- {
- if ($this->markupEscaped)
- {
- return;
- }
-
- if (isset($Line['text'][3]) and $Line['text'][3] === '-' and $Line['text'][2] === '-' and $Line['text'][1] === '!')
- {
- $Block = array(
- 'markup' => $Line['body'],
- );
-
- if (preg_match('/-->$/', $Line['text']))
- {
- $Block['closed'] = true;
- }
-
- return $Block;
- }
- }
-
- protected function blockCommentContinue($Line, array $Block)
- {
- if (isset($Block['closed']))
- {
- return;
- }
-
- $Block['markup'] .= "\n" . $Line['body'];
-
- if (preg_match('/-->$/', $Line['text']))
- {
- $Block['closed'] = true;
- }
-
- return $Block;
- }
-
- #
- # Fenced Code
-
- protected function blockFencedCode($Line)
- {
- if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([\w-]+)?[ ]*$/', $Line['text'], $matches))
- {
- $Element = array(
- 'name' => 'code',
- 'text' => '',
- );
-
- if (isset($matches[1]))
- {
- $class = 'language-'.$matches[1];
-
- $Element['attributes'] = array(
- 'class' => $class,
- );
- }
-
- $Block = array(
- 'char' => $Line['text'][0],
- 'element' => array(
- 'name' => 'pre',
- 'handler' => 'element',
- 'text' => $Element,
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockFencedCodeContinue($Line, $Block)
- {
- if (isset($Block['complete']))
- {
- return;
- }
-
- if (isset($Block['interrupted']))
- {
- $Block['element']['text']['text'] .= "\n";
-
- unset($Block['interrupted']);
- }
-
- if (preg_match('/^'.$Block['char'].'{3,}[ ]*$/', $Line['text']))
- {
- $Block['element']['text']['text'] = substr($Block['element']['text']['text'], 1);
-
- $Block['complete'] = true;
-
- return $Block;
- }
-
- $Block['element']['text']['text'] .= "\n".$Line['body'];;
-
- return $Block;
- }
-
- protected function blockFencedCodeComplete($Block)
- {
- $text = $Block['element']['text']['text'];
-
- $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8');
-
- $Block['element']['text']['text'] = $text;
-
- return $Block;
- }
-
- #
- # Header
-
- protected function blockHeader($Line)
- {
- if (isset($Line['text'][1]))
- {
- $level = 1;
-
- while (isset($Line['text'][$level]) and $Line['text'][$level] === '#')
- {
- $level ++;
- }
-
- if ($level > 6)
- {
- return;
- }
-
- $text = trim($Line['text'], '# ');
-
- $Block = array(
- 'element' => array(
- 'name' => 'h' . min(6, $level),
- 'text' => $text,
- 'handler' => 'line',
- ),
- );
-
- return $Block;
- }
- }
-
- #
- # List
-
- protected function blockList($Line)
- {
- list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '[*+-]') : array('ol', '[0-9]+[.]');
-
- if (preg_match('/^('.$pattern.'[ ]+)(.*)/', $Line['text'], $matches))
- {
- $Block = array(
- 'indent' => $Line['indent'],
- 'pattern' => $pattern,
- 'element' => array(
- 'name' => $name,
- 'handler' => 'elements',
- ),
- );
-
- $Block['li'] = array(
- 'name' => 'li',
- 'handler' => 'li',
- 'text' => array(
- $matches[2],
- ),
- );
-
- $Block['element']['text'] []= & $Block['li'];
-
- return $Block;
- }
- }
-
- protected function blockListContinue($Line, array $Block)
- {
- if ($Block['indent'] === $Line['indent'] and preg_match('/^'.$Block['pattern'].'(?:[ ]+(.*)|$)/', $Line['text'], $matches))
- {
- if (isset($Block['interrupted']))
- {
- $Block['li']['text'] []= '';
-
- unset($Block['interrupted']);
- }
-
- unset($Block['li']);
-
- $text = isset($matches[1]) ? $matches[1] : '';
-
- $Block['li'] = array(
- 'name' => 'li',
- 'handler' => 'li',
- 'text' => array(
- $text,
- ),
- );
-
- $Block['element']['text'] []= & $Block['li'];
-
- return $Block;
- }
-
- if ($Line['text'][0] === '[' and $this->blockReference($Line))
- {
- return $Block;
- }
-
- if ( ! isset($Block['interrupted']))
- {
- $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']);
-
- $Block['li']['text'] []= $text;
-
- return $Block;
- }
-
- if ($Line['indent'] > 0)
- {
- $Block['li']['text'] []= '';
-
- $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']);
-
- $Block['li']['text'] []= $text;
-
- unset($Block['interrupted']);
-
- return $Block;
- }
- }
-
- #
- # Quote
-
- protected function blockQuote($Line)
- {
- if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches))
- {
- $Block = array(
- 'element' => array(
- 'name' => 'blockquote',
- 'handler' => 'lines',
- 'text' => (array) $matches[1],
- ),
- );
-
- return $Block;
- }
- }
-
- protected function blockQuoteContinue($Line, array $Block)
- {
- if ($Line['text'][0] === '>' and preg_match('/^>[ ]?(.*)/', $Line['text'], $matches))
- {
- if (isset($Block['interrupted']))
- {
- $Block['element']['text'] []= '';
-
- unset($Block['interrupted']);
- }
-
- $Block['element']['text'] []= $matches[1];
-
- return $Block;
- }
-
- if ( ! isset($Block['interrupted']))
- {
- $Block['element']['text'] []= $Line['text'];
-
- return $Block;
- }
- }
-
- #
- # Rule
-
- protected function blockRule($Line)
- {
- if (preg_match('/^(['.$Line['text'][0].'])([ ]*\1){2,}[ ]*$/', $Line['text']))
- {
- $Block = array(
- 'element' => array(
- 'name' => 'hr'
- ),
- );
-
- return $Block;
- }
- }
-
- #
- # Setext
-
- protected function blockSetextHeader($Line, array $Block = null)
- {
- if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted']))
- {
- return;
- }
-
- if (chop($Line['text'], $Line['text'][0]) === '')
- {
- $Block['element']['name'] = $Line['text'][0] === '=' ? 'h1' : 'h2';
-
- return $Block;
- }
- }
-
- #
- # Markup
-
- protected function blockMarkup($Line)
- {
- if ($this->markupEscaped)
- {
- return;
- }
-
- if (preg_match('/^<(\w*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches))
- {
- $element = strtolower($matches[1]);
-
- if (in_array($element, $this->textLevelElements))
- {
- return;
- }
-
- $Block = array(
- 'name' => $matches[1],
- 'depth' => 0,
- 'markup' => $Line['text'],
- );
-
- $length = strlen($matches[0]);
-
- $remainder = substr($Line['text'], $length);
-
- if (trim($remainder) === '')
- {
- if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
- {
- $Block['closed'] = true;
-
- $Block['void'] = true;
- }
- }
- else
- {
- if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
- {
- return;
- }
-
- if (preg_match('/<\/'.$matches[1].'>[ ]*$/i', $remainder))
- {
- $Block['closed'] = true;
- }
- }
-
- return $Block;
- }
- }
-
- protected function blockMarkupContinue($Line, array $Block)
- {
- if (isset($Block['closed']))
- {
- return;
- }
-
- if (preg_match('/^<'.$Block['name'].'(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*>/i', $Line['text'])) # open
- {
- $Block['depth'] ++;
- }
-
- if (preg_match('/(.*?)<\/'.$Block['name'].'>[ ]*$/i', $Line['text'], $matches)) # close
- {
- if ($Block['depth'] > 0)
- {
- $Block['depth'] --;
- }
- else
- {
- $Block['closed'] = true;
- }
- }
-
- if (isset($Block['interrupted']))
- {
- $Block['markup'] .= "\n";
-
- unset($Block['interrupted']);
- }
-
- $Block['markup'] .= "\n".$Line['body'];
-
- return $Block;
- }
-
- #
- # Reference
-
- protected function blockReference($Line)
- {
- if (preg_match('/^\[(.+?)\]:[ ]*(\S+?)>?(?:[ ]+["\'(](.+)["\')])?[ ]*$/', $Line['text'], $matches))
- {
- $id = strtolower($matches[1]);
-
- $Data = array(
- 'url' => $matches[2],
- 'title' => null,
- );
-
- if (isset($matches[3]))
- {
- $Data['title'] = $matches[3];
- }
-
- $this->DefinitionData['Reference'][$id] = $Data;
-
- $Block = array(
- 'hidden' => true,
- );
-
- return $Block;
- }
- }
-
- #
- # Table
-
- protected function blockTable($Line, array $Block = null)
- {
- if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted']))
- {
- return;
- }
-
- if (strpos($Block['element']['text'], '|') !== false and chop($Line['text'], ' -:|') === '')
- {
- $alignments = array();
-
- $divider = $Line['text'];
-
- $divider = trim($divider);
- $divider = trim($divider, '|');
-
- $dividerCells = explode('|', $divider);
-
- foreach ($dividerCells as $dividerCell)
- {
- $dividerCell = trim($dividerCell);
-
- if ($dividerCell === '')
- {
- continue;
- }
-
- $alignment = null;
-
- if ($dividerCell[0] === ':')
- {
- $alignment = 'left';
- }
-
- if (substr($dividerCell, - 1) === ':')
- {
- $alignment = $alignment === 'left' ? 'center' : 'right';
- }
-
- $alignments []= $alignment;
- }
-
- # ~
-
- $HeaderElements = array();
-
- $header = $Block['element']['text'];
-
- $header = trim($header);
- $header = trim($header, '|');
-
- $headerCells = explode('|', $header);
-
- foreach ($headerCells as $index => $headerCell)
- {
- $headerCell = trim($headerCell);
-
- $HeaderElement = array(
- 'name' => 'th',
- 'text' => $headerCell,
- 'handler' => 'line',
- );
-
- if (isset($alignments[$index]))
- {
- $alignment = $alignments[$index];
-
- $HeaderElement['attributes'] = array(
- 'style' => 'text-align: '.$alignment.';',
- );
- }
-
- $HeaderElements []= $HeaderElement;
- }
-
- # ~
-
- $Block = array(
- 'alignments' => $alignments,
- 'identified' => true,
- 'element' => array(
- 'name' => 'table',
- 'handler' => 'elements',
- ),
- );
-
- $Block['element']['text'] []= array(
- 'name' => 'thead',
- 'handler' => 'elements',
- );
-
- $Block['element']['text'] []= array(
- 'name' => 'tbody',
- 'handler' => 'elements',
- 'text' => array(),
- );
-
- $Block['element']['text'][0]['text'] []= array(
- 'name' => 'tr',
- 'handler' => 'elements',
- 'text' => $HeaderElements,
- );
-
- return $Block;
- }
- }
-
- protected function blockTableContinue($Line, array $Block)
- {
- if (isset($Block['interrupted']))
- {
- return;
- }
-
- if ($Line['text'][0] === '|' or strpos($Line['text'], '|'))
- {
- $Elements = array();
-
- $row = $Line['text'];
-
- $row = trim($row);
- $row = trim($row, '|');
-
- preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]+`|`)+/', $row, $matches);
-
- foreach ($matches[0] as $index => $cell)
- {
- $cell = trim($cell);
-
- $Element = array(
- 'name' => 'td',
- 'handler' => 'line',
- 'text' => $cell,
- );
-
- if (isset($Block['alignments'][$index]))
- {
- $Element['attributes'] = array(
- 'style' => 'text-align: '.$Block['alignments'][$index].';',
- );
- }
-
- $Elements []= $Element;
- }
-
- $Element = array(
- 'name' => 'tr',
- 'handler' => 'elements',
- 'text' => $Elements,
- );
-
- $Block['element']['text'][1]['text'] []= $Element;
-
- return $Block;
- }
- }
-
- #
- # ~
- #
-
- protected function paragraph($Line)
- {
- $Block = array(
- 'element' => array(
- 'name' => 'p',
- 'text' => $Line['text'],
- 'handler' => 'line',
- ),
- );
-
- return $Block;
- }
-
- #
- # Inline Elements
- #
-
- protected $InlineTypes = array(
- '"' => array('SpecialCharacter'),
- '!' => array('Image'),
- '&' => array('SpecialCharacter'),
- '*' => array('Emphasis'),
- ':' => array('Url'),
- '<' => array('UrlTag', 'EmailTag', 'Markup', 'SpecialCharacter'),
- '>' => array('SpecialCharacter'),
- '[' => array('Link'),
- '_' => array('Emphasis'),
- '`' => array('Code'),
- '~' => array('Strikethrough'),
- '\\' => array('EscapeSequence'),
- );
-
- # ~
-
- protected $inlineMarkerList = '!"*_&[:<>`~\\';
-
- #
- # ~
- #
-
- public function line($text)
- {
- $markup = '';
-
- # $excerpt is based on the first occurrence of a marker
-
- while ($excerpt = strpbrk($text, $this->inlineMarkerList))
- {
- $marker = $excerpt[0];
-
- $markerPosition = strpos($text, $marker);
-
- $Excerpt = array('text' => $excerpt, 'context' => $text);
-
- foreach ($this->InlineTypes[$marker] as $inlineType)
- {
- $Inline = $this->{'inline'.$inlineType}($Excerpt);
-
- if ( ! isset($Inline))
- {
- continue;
- }
-
- # makes sure that the inline belongs to "our" marker
-
- if (isset($Inline['position']) and $Inline['position'] > $markerPosition)
- {
- continue;
- }
-
- # sets a default inline position
-
- if ( ! isset($Inline['position']))
- {
- $Inline['position'] = $markerPosition;
- }
-
- # the text that comes before the inline
- $unmarkedText = substr($text, 0, $Inline['position']);
-
- # compile the unmarked text
- $markup .= $this->unmarkedText($unmarkedText);
-
- # compile the inline
- $markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']);
-
- # remove the examined text
- $text = substr($text, $Inline['position'] + $Inline['extent']);
-
- continue 2;
- }
-
- # the marker does not belong to an inline
-
- $unmarkedText = substr($text, 0, $markerPosition + 1);
-
- $markup .= $this->unmarkedText($unmarkedText);
-
- $text = substr($text, $markerPosition + 1);
- }
-
- $markup .= $this->unmarkedText($text);
-
- return $markup;
- }
-
- #
- # ~
- #
-
- protected function inlineCode($Excerpt)
- {
- $marker = $Excerpt['text'][0];
-
- if (preg_match('/^('.$marker.'+)[ ]*(.+?)[ ]*(? strlen($matches[0]),
- 'element' => array(
- 'name' => 'code',
- 'text' => $text,
- ),
- );
- }
- }
-
- protected function inlineEmailTag($Excerpt)
- {
- if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<((mailto:)?\S+?@\S+?)>/i', $Excerpt['text'], $matches))
- {
- $url = $matches[1];
-
- if ( ! isset($matches[2]))
- {
- $url = 'mailto:' . $url;
- }
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'a',
- 'text' => $matches[1],
- 'attributes' => array(
- 'href' => $url,
- ),
- ),
- );
- }
- }
-
- protected function inlineEmphasis($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]))
- {
- return;
- }
-
- $marker = $Excerpt['text'][0];
-
- if ($Excerpt['text'][1] === $marker and preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches))
- {
- $emphasis = 'strong';
- }
- elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches))
- {
- $emphasis = 'em';
- }
- else
- {
- return;
- }
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => $emphasis,
- 'handler' => 'line',
- 'text' => $matches[1],
- ),
- );
- }
-
- protected function inlineEscapeSequence($Excerpt)
- {
- if (isset($Excerpt['text'][1]) and in_array($Excerpt['text'][1], $this->specialCharacters))
- {
- return array(
- 'markup' => $Excerpt['text'][1],
- 'extent' => 2,
- );
- }
- }
-
- protected function inlineImage($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]) or $Excerpt['text'][1] !== '[')
- {
- return;
- }
-
- $Excerpt['text']= substr($Excerpt['text'], 1);
-
- $Link = $this->inlineLink($Excerpt);
-
- if ($Link === null)
- {
- return;
- }
-
- $Inline = array(
- 'extent' => $Link['extent'] + 1,
- 'element' => array(
- 'name' => 'img',
- 'attributes' => array(
- 'src' => $Link['element']['attributes']['href'],
- 'alt' => $Link['element']['text'],
- ),
- ),
- );
-
- $Inline['element']['attributes'] += $Link['element']['attributes'];
-
- unset($Inline['element']['attributes']['href']);
-
- return $Inline;
- }
-
- protected function inlineLink($Excerpt)
- {
- $Element = array(
- 'name' => 'a',
- 'handler' => 'line',
- 'text' => null,
- 'attributes' => array(
- 'href' => null,
- 'title' => null,
- ),
- );
-
- $extent = 0;
-
- $remainder = $Excerpt['text'];
-
- if (preg_match('/\[((?:[^][]|(?R))*)\]/', $remainder, $matches))
- {
- $Element['text'] = $matches[1];
-
- $extent += strlen($matches[0]);
-
- $remainder = substr($remainder, $extent);
- }
- else
- {
- return;
- }
-
- if (preg_match('/^[(]((?:[^ ()]|[(][^ )]+[)])+)(?:[ ]+("[^"]*"|\'[^\']*\'))?[)]/', $remainder, $matches))
- {
- $Element['attributes']['href'] = $matches[1];
-
- if (isset($matches[2]))
- {
- $Element['attributes']['title'] = substr($matches[2], 1, - 1);
- }
-
- $extent += strlen($matches[0]);
- }
- else
- {
- if (preg_match('/^\s*\[(.*?)\]/', $remainder, $matches))
- {
- $definition = strlen($matches[1]) ? $matches[1] : $Element['text'];
- $definition = strtolower($definition);
-
- $extent += strlen($matches[0]);
- }
- else
- {
- $definition = strtolower($Element['text']);
- }
-
- if ( ! isset($this->DefinitionData['Reference'][$definition]))
- {
- return;
- }
-
- $Definition = $this->DefinitionData['Reference'][$definition];
-
- $Element['attributes']['href'] = $Definition['url'];
- $Element['attributes']['title'] = $Definition['title'];
- }
-
- $Element['attributes']['href'] = str_replace(array('&', '<'), array('&', '<'), $Element['attributes']['href']);
-
- return array(
- 'extent' => $extent,
- 'element' => $Element,
- );
- }
-
- protected function inlineMarkup($Excerpt)
- {
- if ($this->markupEscaped or strpos($Excerpt['text'], '>') === false)
- {
- return;
- }
-
- if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w*[ ]*>/s', $Excerpt['text'], $matches))
- {
- return array(
- 'markup' => $matches[0],
- 'extent' => strlen($matches[0]),
- );
- }
-
- if ($Excerpt['text'][1] === '!' and preg_match('/^/s', $Excerpt['text'], $matches))
- {
- return array(
- 'markup' => $matches[0],
- 'extent' => strlen($matches[0]),
- );
- }
-
- if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w*(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches))
- {
- return array(
- 'markup' => $matches[0],
- 'extent' => strlen($matches[0]),
- );
- }
- }
-
- protected function inlineSpecialCharacter($Excerpt)
- {
- if ($Excerpt['text'][0] === '&' and ! preg_match('/^?\w+;/', $Excerpt['text']))
- {
- return array(
- 'markup' => '&',
- 'extent' => 1,
- );
- }
-
- $SpecialCharacter = array('>' => 'gt', '<' => 'lt', '"' => 'quot');
-
- if (isset($SpecialCharacter[$Excerpt['text'][0]]))
- {
- return array(
- 'markup' => '&'.$SpecialCharacter[$Excerpt['text'][0]].';',
- 'extent' => 1,
- );
- }
- }
-
- protected function inlineStrikethrough($Excerpt)
- {
- if ( ! isset($Excerpt['text'][1]))
- {
- return;
- }
-
- if ($Excerpt['text'][1] === '~' and preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches))
- {
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'del',
- 'text' => $matches[1],
- 'handler' => 'line',
- ),
- );
- }
- }
-
- protected function inlineUrl($Excerpt)
- {
- if ($this->urlsLinked !== true or ! isset($Excerpt['text'][2]) or $Excerpt['text'][2] !== '/')
- {
- return;
- }
-
- if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE))
- {
- $Inline = array(
- 'extent' => strlen($matches[0][0]),
- 'position' => $matches[0][1],
- 'element' => array(
- 'name' => 'a',
- 'text' => $matches[0][0],
- 'attributes' => array(
- 'href' => $matches[0][0],
- ),
- ),
- );
-
- return $Inline;
- }
- }
-
- protected function inlineUrlTag($Excerpt)
- {
- if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches))
- {
- $url = str_replace(array('&', '<'), array('&', '<'), $matches[1]);
-
- return array(
- 'extent' => strlen($matches[0]),
- 'element' => array(
- 'name' => 'a',
- 'text' => $url,
- 'attributes' => array(
- 'href' => $url,
- ),
- ),
- );
- }
- }
-
- # ~
-
- protected function unmarkedText($text)
- {
- if ($this->breaksEnabled)
- {
- $text = preg_replace('/[ ]*\n/', " \n", $text);
- }
- else
- {
- $text = preg_replace('/(?:[ ][ ]+|[ ]*\\\\)\n/', " \n", $text);
- $text = str_replace(" \n", "\n", $text);
- }
-
- return $text;
- }
-
- #
- # Handlers
- #
-
- protected function element(array $Element)
- {
- $markup = '<'.$Element['name'];
-
- if (isset($Element['attributes']))
- {
- foreach ($Element['attributes'] as $name => $value)
- {
- if ($value === null)
- {
- continue;
- }
-
- $markup .= ' '.$name.'="'.$value.'"';
- }
- }
-
- if (isset($Element['text']))
- {
- $markup .= '>';
-
- if (isset($Element['handler']))
- {
- $markup .= $this->{$Element['handler']}($Element['text']);
- }
- else
- {
- $markup .= $Element['text'];
- }
-
- $markup .= ''.$Element['name'].'>';
- }
- else
- {
- $markup .= ' />';
- }
-
- return $markup;
- }
-
- protected function elements(array $Elements)
- {
- $markup = '';
-
- foreach ($Elements as $Element)
- {
- $markup .= "\n" . $this->element($Element);
- }
-
- $markup .= "\n";
-
- return $markup;
- }
-
- # ~
-
- protected function li($lines)
- {
- $markup = $this->lines($lines);
-
- $trimmedMarkup = trim($markup);
-
- if ( ! in_array('', $lines) and substr($trimmedMarkup, 0, 3) === '')
- {
- $markup = $trimmedMarkup;
- $markup = substr($markup, 3);
-
- $position = strpos($markup, "
");
-
- $markup = substr_replace($markup, '', $position, 4);
- }
-
- return $markup;
- }
-
- #
- # Deprecated Methods
- #
-
- function parse($text)
- {
- $markup = $this->text($text);
-
- return $markup;
- }
-
- #
- # Static Methods
- #
-
- static function instance($name = 'default')
- {
- if (isset(self::$instances[$name]))
- {
- return self::$instances[$name];
- }
-
- $instance = new static();
-
- self::$instances[$name] = $instance;
-
- return $instance;
- }
-
- private static $instances = array();
-
- #
- # Fields
- #
-
- protected $DefinitionData;
-
- #
- # Read-Only
-
- protected $specialCharacters = array(
- '\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|',
- );
-
- protected $StrongRegex = array(
- '*' => '/^[*]{2}((?:\\\\\*|[^*]|[*][^*]*[*])+?)[*]{2}(?![*])/s',
- '_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us',
- );
-
- protected $EmRegex = array(
- '*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s',
- '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\b/us',
- );
-
- protected $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*(?:\s*=\s*(?:[^"\'=<>`\s]+|"[^"]*"|\'[^\']*\'))?';
-
- protected $voidElements = array(
- 'area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source',
- );
-
- protected $textLevelElements = array(
- 'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont',
- 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing',
- 'i', 'rp', 'del', 'code', 'strike', 'marquee',
- 'q', 'rt', 'ins', 'font', 'strong',
- 's', 'tt', 'sub', 'mark',
- 'u', 'xm', 'sup', 'nobr',
- 'var', 'ruby',
- 'wbr', 'span',
- 'time',
- );
-}
diff --git a/_sakura/vendor/erusev/parsedown/README.md b/_sakura/vendor/erusev/parsedown/README.md
deleted file mode 100644
index 6f9f649..0000000
--- a/_sakura/vendor/erusev/parsedown/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-## Parsedown
-
-[](https://travis-ci.org/erusev/parsedown)
-
-
-Better Markdown Parser in PHP
-
-[Demo](http://parsedown.org/demo) |
-[Benchmarks](http://parsedown.org/speed) |
-[Tests](http://parsedown.org/tests/) |
-[Documentation](https://github.com/erusev/parsedown/wiki/)
-
-### Features
-
-* Super Fast
-* [GitHub flavored](https://help.github.com/articles/github-flavored-markdown)
-* Extensible
-* Tested in 5.3 to 5.6
-* [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
-
-### Installation
-
-Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
-
-### Example
-
-``` php
-$Parsedown = new Parsedown();
-
-echo $Parsedown->text('Hello _Parsedown_!'); # prints: Hello Parsedown !
-```
-
-More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).
-
-### Questions
-
-**How does Parsedown work?**
-
-It tries to read Markdown like a human. First, it looks at the lines. It’s interested in how the lines start. This helps it recognise blocks. It knows, for example, that if a line start with a `-` then it perhaps belong to a list. Once it recognises the blocks, it continues to the content. As it reads, it watches out for special characters. This helps it recognise inline elements (or inlines).
-
-We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
-
-**Is it compliant with CommonMark?**
-
-It passes most of the CommonMark tests. Most of the tests that don't pass deal with cases that are quite uncommon. Still, as CommonMark matures, compliance should improve.
-
-**Who uses it?**
-
-[phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [RaspberryPi.org](http://www.raspberrypi.org/) and [more](https://www.versioneye.com/php/erusev:parsedown/references).
-
-**How can I help?**
-
-Use it, star it, share it and if you feel generous, [donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2).
-
----
-
-You might also like [Caret](http://caret.io) - our Markdown editor for the desktop.
diff --git a/_sakura/vendor/erusev/parsedown/composer.json b/_sakura/vendor/erusev/parsedown/composer.json
deleted file mode 100644
index 1439b82..0000000
--- a/_sakura/vendor/erusev/parsedown/composer.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "erusev/parsedown",
- "description": "Parser for Markdown.",
- "keywords": ["markdown", "parser"],
- "homepage": "http://parsedown.org",
- "type": "library",
- "license": "MIT",
- "authors": [
- {
- "name": "Emanuil Rusev",
- "email": "hello@erusev.com",
- "homepage": "http://erusev.com"
- }
- ],
- "autoload": {
- "psr-0": {"Parsedown": ""}
- }
-}
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/phpunit.xml.dist b/_sakura/vendor/erusev/parsedown/phpunit.xml.dist
deleted file mode 100644
index b2d5e9d..0000000
--- a/_sakura/vendor/erusev/parsedown/phpunit.xml.dist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- test/ParsedownTest.php
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/CommonMarkTest.php b/_sakura/vendor/erusev/parsedown/test/CommonMarkTest.php
deleted file mode 100644
index 9b8d116..0000000
--- a/_sakura/vendor/erusev/parsedown/test/CommonMarkTest.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setUrlsLinked(false);
-
- $actualHtml = $Parsedown->text($markdown);
- $actualHtml = $this->normalizeMarkup($actualHtml);
-
- $this->assertEquals($expectedHtml, $actualHtml);
- }
-
- function data()
- {
- $spec = file_get_contents(self::SPEC_URL);
- $spec = strstr($spec, '', true);
-
- $tests = array();
- $currentSection = '';
-
- preg_replace_callback(
- '/^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$/m',
- function($matches) use ( & $tests, & $currentSection, & $testCount) {
- if (isset($matches[3]) and $matches[3]) {
- $currentSection = $matches[3];
- } else {
- $testCount++;
- $markdown = $matches[1];
- $markdown = preg_replace('/→/', "\t", $markdown);
- $expectedHtml = $matches[2];
- $expectedHtml = $this->normalizeMarkup($expectedHtml);
- $tests []= array(
- $currentSection, # section
- $markdown, # markdown
- $expectedHtml, # html
- );
- }
- },
- $spec
- );
-
- return $tests;
- }
-
- private function normalizeMarkup($markup)
- {
- $markup = preg_replace("/\n+/", "\n", $markup);
- $markup = preg_replace('/^\s+/m', '', $markup);
- $markup = preg_replace('/^((?:<[\w]+>)+)\n/m', '$1', $markup);
- $markup = preg_replace('/\n((?:<\/[\w]+>)+)$/m', '$1', $markup);
- $markup = trim($markup);
-
- return $markup;
- }
-}
diff --git a/_sakura/vendor/erusev/parsedown/test/ParsedownTest.php b/_sakura/vendor/erusev/parsedown/test/ParsedownTest.php
deleted file mode 100644
index c922ab1..0000000
--- a/_sakura/vendor/erusev/parsedown/test/ParsedownTest.php
+++ /dev/null
@@ -1,159 +0,0 @@
-dirs = $this->initDirs();
- $this->Parsedown = $this->initParsedown();
-
- parent::__construct($name, $data, $dataName);
- }
-
- private $dirs, $Parsedown;
-
- /**
- * @return array
- */
- protected function initDirs()
- {
- $dirs []= dirname(__FILE__).'/data/';
-
- return $dirs;
- }
-
- /**
- * @return Parsedown
- */
- protected function initParsedown()
- {
- $Parsedown = new Parsedown();
-
- return $Parsedown;
- }
-
- /**
- * @dataProvider data
- * @param $test
- * @param $dir
- */
- function test_($test, $dir)
- {
- $markdown = file_get_contents($dir . $test . '.md');
-
- $expectedMarkup = file_get_contents($dir . $test . '.html');
-
- $expectedMarkup = str_replace("\r\n", "\n", $expectedMarkup);
- $expectedMarkup = str_replace("\r", "\n", $expectedMarkup);
-
- $actualMarkup = $this->Parsedown->text($markdown);
-
- $this->assertEquals($expectedMarkup, $actualMarkup);
- }
-
- function data()
- {
- $data = array();
-
- foreach ($this->dirs as $dir)
- {
- $Folder = new DirectoryIterator($dir);
-
- foreach ($Folder as $File)
- {
- /** @var $File DirectoryIterator */
-
- if ( ! $File->isFile())
- {
- continue;
- }
-
- $filename = $File->getFilename();
-
- $extension = pathinfo($filename, PATHINFO_EXTENSION);
-
- if ($extension !== 'md')
- {
- continue;
- }
-
- $basename = $File->getBasename('.md');
-
- if (file_exists($dir . $basename . '.html'))
- {
- $data []= array($basename, $dir);
- }
- }
- }
-
- return $data;
- }
-
- public function test_no_markup()
- {
- $markdownWithHtml = <<_content_
-
-sparse:
-
-
-
-paragraph
-
-
-
-comment
-
-
-MARKDOWN_WITH_MARKUP;
-
- $expectedHtml = <<<div>content </div>
-sparse:
-<div>
-<div class="inner">
-content
-</div>
-</div>
-paragraph
-<style type="text/css">
-p {
-color: red;
-}
-</style>
-comment
-<!-- html comment -->
-EXPECTED_HTML;
- $parsedownWithNoMarkup = new Parsedown();
- $parsedownWithNoMarkup->setMarkupEscaped(true);
- $this->assertEquals($expectedHtml, $parsedownWithNoMarkup->text($markdownWithHtml));
- }
-
- public function testLateStaticBinding()
- {
- include 'test/TestParsedown.php';
-
- $parsedown = Parsedown::instance();
- $this->assertInstanceOf('Parsedown', $parsedown);
-
- // After instance is already called on Parsedown
- // subsequent calls with the same arguments return the same instance
- $sameParsedown = TestParsedown::instance();
- $this->assertInstanceOf('Parsedown', $sameParsedown);
- $this->assertSame($parsedown, $sameParsedown);
-
- $testParsedown = TestParsedown::instance('test late static binding');
- $this->assertInstanceOf('TestParsedown', $testParsedown);
-
- $sameInstanceAgain = TestParsedown::instance('test late static binding');
- $this->assertSame($testParsedown, $sameInstanceAgain);
- }
-}
diff --git a/_sakura/vendor/erusev/parsedown/test/TestParsedown.php b/_sakura/vendor/erusev/parsedown/test/TestParsedown.php
deleted file mode 100644
index 7024dfb..0000000
--- a/_sakura/vendor/erusev/parsedown/test/TestParsedown.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-header 1
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-
-
-cell 2.1
-cell 2.2
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/aesthetic_table.md b/_sakura/vendor/erusev/parsedown/test/data/aesthetic_table.md
deleted file mode 100644
index 5245e6c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/aesthetic_table.md
+++ /dev/null
@@ -1,4 +0,0 @@
-| header 1 | header 2 |
-| -------- | -------- |
-| cell 1.1 | cell 1.2 |
-| cell 2.1 | cell 2.2 |
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/aligned_table.html b/_sakura/vendor/erusev/parsedown/test/data/aligned_table.html
deleted file mode 100644
index c4acfcb..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/aligned_table.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-header 1
-header 2
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-cell 1.3
-
-
-cell 2.1
-cell 2.2
-cell 2.3
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/aligned_table.md b/_sakura/vendor/erusev/parsedown/test/data/aligned_table.md
deleted file mode 100644
index 69a45f9..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/aligned_table.md
+++ /dev/null
@@ -1,4 +0,0 @@
-| header 1 | header 2 | header 2 |
-| :------- | :------: | -------: |
-| cell 1.1 | cell 1.2 | cell 1.3 |
-| cell 2.1 | cell 2.2 | cell 2.3 |
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/atx_heading.html b/_sakura/vendor/erusev/parsedown/test/data/atx_heading.html
deleted file mode 100644
index 751f873..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/atx_heading.html
+++ /dev/null
@@ -1,9 +0,0 @@
-h1
-h2
-h3
-h4
-h5
-h6
-####### not a heading
-closed h1
-#
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/atx_heading.md b/_sakura/vendor/erusev/parsedown/test/data/atx_heading.md
deleted file mode 100644
index ad97b44..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/atx_heading.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# h1
-
-## h2
-
-### h3
-
-#### h4
-
-##### h5
-
-###### h6
-
-####### not a heading
-
-# closed h1 #
-
-#
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/automatic_link.html b/_sakura/vendor/erusev/parsedown/test/data/automatic_link.html
deleted file mode 100644
index 50a94ba..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/automatic_link.html
+++ /dev/null
@@ -1 +0,0 @@
-http://example.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/automatic_link.md b/_sakura/vendor/erusev/parsedown/test/data/automatic_link.md
deleted file mode 100644
index 08d3bf4..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/automatic_link.md
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/block-level_html.html b/_sakura/vendor/erusev/parsedown/test/data/block-level_html.html
deleted file mode 100644
index 6443a4a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/block-level_html.html
+++ /dev/null
@@ -1,12 +0,0 @@
-_content_
-paragraph
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/block-level_html.md b/_sakura/vendor/erusev/parsedown/test/data/block-level_html.md
deleted file mode 100644
index 17cbc22..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/block-level_html.md
+++ /dev/null
@@ -1,16 +0,0 @@
-_content_
-
-paragraph
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/code_block.html b/_sakura/vendor/erusev/parsedown/test/data/code_block.html
deleted file mode 100644
index 889b02d..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/code_block.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
-$message = 'Hello World!';
-echo $message;
-
-> not a quote
-- not a list item
-[not a reference]: http://foo.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/code_block.md b/_sakura/vendor/erusev/parsedown/test/data/code_block.md
deleted file mode 100644
index 2cfc953..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/code_block.md
+++ /dev/null
@@ -1,10 +0,0 @@
- not a quote
- - not a list item
- [not a reference]: http://foo.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/code_span.html b/_sakura/vendor/erusev/parsedown/test/data/code_span.html
deleted file mode 100644
index 5c4c231..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/code_span.html
+++ /dev/null
@@ -1,6 +0,0 @@
-a code span
-this is also a codespan
trailing text
-and look at this one!
-single backtick in a code span: `
-backtick-delimited string in a code span: `foo`
-sth `` sth
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/code_span.md b/_sakura/vendor/erusev/parsedown/test/data/code_span.md
deleted file mode 100644
index c2f1a74..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/code_span.md
+++ /dev/null
@@ -1,11 +0,0 @@
-a `code span`
-
-`this is also a codespan` trailing text
-
-`and look at this one!`
-
-single backtick in a code span: `` ` ``
-
-backtick-delimited string in a code span: `` `foo` ``
-
-`sth `` sth`
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.html b/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.html
deleted file mode 100644
index 37afb57..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-header
-paragraph
-
-
-paragraph
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.md b/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.md
deleted file mode 100644
index 80c4aed..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_blockquote.md
+++ /dev/null
@@ -1,10 +0,0 @@
-> header
-> ------
->
-> paragraph
->
-> - li
->
-> ---
->
-> paragraph
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.html b/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.html
deleted file mode 100644
index 178dd54..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.html
+++ /dev/null
@@ -1,2 +0,0 @@
-code
code
-code
code
code
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.md b/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.md
deleted file mode 100644
index 6fe07f2..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_emphasis.md
+++ /dev/null
@@ -1,4 +0,0 @@
-_`code`_ __`code`__
-
-*`code`**`code`**`code`*
-
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_list.html b/_sakura/vendor/erusev/parsedown/test/data/compound_list.html
deleted file mode 100644
index f5593c1..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_list.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-paragraph
-paragraph
-
-
-paragraph
-
-quote
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/compound_list.md b/_sakura/vendor/erusev/parsedown/test/data/compound_list.md
deleted file mode 100644
index ed7f0c6..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/compound_list.md
+++ /dev/null
@@ -1,7 +0,0 @@
-- paragraph
-
- paragraph
-
-- paragraph
-
- > quote
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.html b/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.html
deleted file mode 100644
index d2c7e5a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.md b/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.md
deleted file mode 100644
index 76b7552..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/deeply_nested_list.md
+++ /dev/null
@@ -1,6 +0,0 @@
-- li
- - li
- - li
- - li
- - li
-- li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/em_strong.html b/_sakura/vendor/erusev/parsedown/test/data/em_strong.html
deleted file mode 100644
index 323d60a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/em_strong.html
+++ /dev/null
@@ -1,8 +0,0 @@
-em strong
-em strong strong
-strong em strong
-strong em strong strong
-em strong
-em strong strong
-strong em strong
-strong em strong strong
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/em_strong.md b/_sakura/vendor/erusev/parsedown/test/data/em_strong.md
deleted file mode 100644
index 9abeb3f..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/em_strong.md
+++ /dev/null
@@ -1,15 +0,0 @@
-___em strong___
-
-___em strong_ strong__
-
-__strong _em strong___
-
-__strong _em strong_ strong__
-
-***em strong***
-
-***em strong* strong**
-
-**strong *em strong***
-
-**strong *em strong* strong**
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/email.html b/_sakura/vendor/erusev/parsedown/test/data/email.html
deleted file mode 100644
index c40759c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/email.html
+++ /dev/null
@@ -1 +0,0 @@
-my email is me@example.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/email.md b/_sakura/vendor/erusev/parsedown/test/data/email.md
deleted file mode 100644
index 26b7b6c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/email.md
+++ /dev/null
@@ -1 +0,0 @@
-my email is
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/emphasis.html b/_sakura/vendor/erusev/parsedown/test/data/emphasis.html
deleted file mode 100644
index 60ff4bd..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/emphasis.html
+++ /dev/null
@@ -1,8 +0,0 @@
-underscore , asterisk , one two , three four , a , b
-strong and em and strong and em
-line
-line
-line
-this_is_not_an_emphasis
-an empty emphasis __ ** is not an emphasis
-*mixed *double and single asterisk** spans
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/emphasis.md b/_sakura/vendor/erusev/parsedown/test/data/emphasis.md
deleted file mode 100644
index 85b9d22..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/emphasis.md
+++ /dev/null
@@ -1,13 +0,0 @@
-_underscore_, *asterisk*, _one two_, *three four*, _a_, *b*
-
-**strong** and *em* and **strong** and *em*
-
-_line
-line
-line_
-
-this_is_not_an_emphasis
-
-an empty emphasis __ ** is not an emphasis
-
-*mixed **double and* single asterisk** spans
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/escaping.html b/_sakura/vendor/erusev/parsedown/test/data/escaping.html
deleted file mode 100644
index ab1c41f..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/escaping.html
+++ /dev/null
@@ -1,6 +0,0 @@
-escaped *emphasis*.
-escaped \*emphasis\* in a code span
-escaped \*emphasis\* in a code block
-\ ` * _ { } [ ] ( ) > # + - . !
-one_two one_two
-one*two one*two
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/escaping.md b/_sakura/vendor/erusev/parsedown/test/data/escaping.md
deleted file mode 100644
index 9f174e9..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/escaping.md
+++ /dev/null
@@ -1,11 +0,0 @@
-escaped \*emphasis\*.
-
-`escaped \*emphasis\* in a code span`
-
- escaped \*emphasis\* in a code block
-
-\\ \` \* \_ \{ \} \[ \] \( \) \> \# \+ \- \. \!
-
-_one\_two_ __one\_two__
-
-*one\*two* **one\*two**
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.html b/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.html
deleted file mode 100644
index 8bdabba..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-$message = 'fenced code block';
-echo $message;
-tilde
-echo 'language identifier';
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.md b/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.md
deleted file mode 100644
index cbed8eb..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/fenced_code_block.md
+++ /dev/null
@@ -1,14 +0,0 @@
-```
-
-
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/horizontal_rule.md b/_sakura/vendor/erusev/parsedown/test/data/horizontal_rule.md
deleted file mode 100644
index bf461a9..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/horizontal_rule.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-
-- - -
-
- - - -
-
-***
-
-___
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/html_comment.html b/_sakura/vendor/erusev/parsedown/test/data/html_comment.html
deleted file mode 100644
index 566dc3a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/html_comment.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-paragraph
-
-paragraph
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/html_comment.md b/_sakura/vendor/erusev/parsedown/test/data/html_comment.md
deleted file mode 100644
index 6ddfdb4..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/html_comment.md
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-paragraph
-
-
-
-paragraph
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/html_entity.html b/_sakura/vendor/erusev/parsedown/test/data/html_entity.html
deleted file mode 100644
index 4d23e3c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/html_entity.html
+++ /dev/null
@@ -1 +0,0 @@
-& © {
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/html_entity.md b/_sakura/vendor/erusev/parsedown/test/data/html_entity.md
deleted file mode 100644
index ff545ea..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/html_entity.md
+++ /dev/null
@@ -1 +0,0 @@
-& © {
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/image_reference.html b/_sakura/vendor/erusev/parsedown/test/data/image_reference.html
deleted file mode 100644
index 67fbd2c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/image_reference.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-![missing reference]
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/image_reference.md b/_sakura/vendor/erusev/parsedown/test/data/image_reference.md
deleted file mode 100644
index 1e11d94..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/image_reference.md
+++ /dev/null
@@ -1,5 +0,0 @@
-![Markdown Logo][image]
-
-[image]: /md.png
-
-![missing reference]
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/image_title.html b/_sakura/vendor/erusev/parsedown/test/data/image_title.html
deleted file mode 100644
index 957c950..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/image_title.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/image_title.md b/_sakura/vendor/erusev/parsedown/test/data/image_title.md
deleted file mode 100644
index 7ce2849..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/image_title.md
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.html b/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.html
deleted file mode 100644
index 24b51c1..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.html
+++ /dev/null
@@ -1,4 +0,0 @@
-an implicit reference link
-an implicit reference link with an empty link definition
-an implicit reference link followed by another
-an explicit reference link with a title
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.md b/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.md
deleted file mode 100644
index f850df9..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/implicit_reference.md
+++ /dev/null
@@ -1,13 +0,0 @@
-an [implicit] reference link
-
-[implicit]: http://example.com
-
-an [implicit][] reference link with an empty link definition
-
-an [implicit][] reference link followed by [another][]
-
-[another]: http://cnn.com
-
-an [explicit][example] reference link with a title
-
-[example]: http://example.com "Example"
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_link.html b/_sakura/vendor/erusev/parsedown/test/data/inline_link.html
deleted file mode 100644
index 5ad564a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_link.html
+++ /dev/null
@@ -1,6 +0,0 @@
-link
-link with parentheses in URL
-(link ) in parentheses
-link
-
- and text
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_link.md b/_sakura/vendor/erusev/parsedown/test/data/inline_link.md
deleted file mode 100644
index 6bac0b3..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_link.md
+++ /dev/null
@@ -1,11 +0,0 @@
-[link](http://example.com)
-
-[link](/url-(parentheses)) with parentheses in URL
-
-([link](/index.php)) in parentheses
-
-[`link`](http://example.com)
-
-[](http://example.com)
-
-[ and text](http://example.com)
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.html b/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.html
deleted file mode 100644
index ecdfd03..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.html
+++ /dev/null
@@ -1,6 +0,0 @@
-single quotes
-double quotes
-single quotes blank
-double quotes blank
-space
-parentheses
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.md b/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.md
deleted file mode 100644
index 6e1c5af..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_link_title.md
+++ /dev/null
@@ -1,11 +0,0 @@
-[single quotes](http://example.com 'Title')
-
-[double quotes](http://example.com "Title")
-
-[single quotes blank](http://example.com '')
-
-[double quotes blank](http://example.com "")
-
-[space](http://example.com "2 Words")
-
-[parentheses](http://example.com/url-(parentheses) "Title")
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_title.html b/_sakura/vendor/erusev/parsedown/test/data/inline_title.html
deleted file mode 100644
index bbab93b..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_title.html
+++ /dev/null
@@ -1 +0,0 @@
-single quotes and double quotes
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/inline_title.md b/_sakura/vendor/erusev/parsedown/test/data/inline_title.md
deleted file mode 100644
index cb09344..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/inline_title.md
+++ /dev/null
@@ -1 +0,0 @@
-[single quotes](http://example.com 'Example') and [double quotes](http://example.com "Example")
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.html b/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.html
deleted file mode 100644
index 0a2a2aa..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-quote
-the rest of it
-another paragraph
-the rest of it
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.md b/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.md
deleted file mode 100644
index 48f645f..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/lazy_blockquote.md
+++ /dev/null
@@ -1,5 +0,0 @@
-> quote
-the rest of it
-
-> another paragraph
-the rest of it
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/lazy_list.html b/_sakura/vendor/erusev/parsedown/test/data/lazy_list.html
deleted file mode 100644
index 1a51992..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/lazy_list.html
+++ /dev/null
@@ -1,4 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/lazy_list.md b/_sakura/vendor/erusev/parsedown/test/data/lazy_list.md
deleted file mode 100644
index 62ad9d7..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/lazy_list.md
+++ /dev/null
@@ -1,2 +0,0 @@
-- li
-the rest of it
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/line_break.html b/_sakura/vendor/erusev/parsedown/test/data/line_break.html
deleted file mode 100644
index 5f37d85..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/line_break.html
+++ /dev/null
@@ -1,2 +0,0 @@
-line
-line
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/line_break.md b/_sakura/vendor/erusev/parsedown/test/data/line_break.md
deleted file mode 100644
index 04dff43..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/line_break.md
+++ /dev/null
@@ -1,2 +0,0 @@
-line
-line
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html b/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html
deleted file mode 100644
index 3247bd2..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md b/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md
deleted file mode 100644
index f5b4272..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md
+++ /dev/null
@@ -1,4 +0,0 @@
-- li
-
- line
- line
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.html b/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.html
deleted file mode 100644
index bfbef54..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-_parent_
-
-_child_
-
-
-_adopted child_
-
-
-outside
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.md b/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.md
deleted file mode 100644
index 5e01e10..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/nested_block-level_html.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-_parent_
-
-_child_
-
-
-_adopted child_
-
-
-
-_outside_
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/ordered_list.html b/_sakura/vendor/erusev/parsedown/test/data/ordered_list.html
deleted file mode 100644
index b6c5216..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/ordered_list.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-one
-two
-
-repeating numbers:
-
-one
-two
-
-large numbers:
-
-one
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/ordered_list.md b/_sakura/vendor/erusev/parsedown/test/data/ordered_list.md
deleted file mode 100644
index b307032..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/ordered_list.md
+++ /dev/null
@@ -1,11 +0,0 @@
-1. one
-2. two
-
-repeating numbers:
-
-1. one
-1. two
-
-large numbers:
-
-123. one
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.html b/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.html
deleted file mode 100644
index ced1c43..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.html
+++ /dev/null
@@ -1,12 +0,0 @@
-paragraph
-
-paragraph
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.md b/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.md
deleted file mode 100644
index b973908..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/paragraph_list.md
+++ /dev/null
@@ -1,9 +0,0 @@
-paragraph
-- li
-- li
-
-paragraph
-
- * li
-
- * li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/reference_title.html b/_sakura/vendor/erusev/parsedown/test/data/reference_title.html
deleted file mode 100644
index 8f2be94..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/reference_title.html
+++ /dev/null
@@ -1,2 +0,0 @@
-double quotes and single quotes and parentheses
-[invalid title]: http://example.com example title
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/reference_title.md b/_sakura/vendor/erusev/parsedown/test/data/reference_title.md
deleted file mode 100644
index 43cb217..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/reference_title.md
+++ /dev/null
@@ -1,6 +0,0 @@
-[double quotes] and [single quotes] and [parentheses]
-
-[double quotes]: http://example.com "example title"
-[single quotes]: http://example.com 'example title'
-[parentheses]: http://example.com (example title)
-[invalid title]: http://example.com example title
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.html b/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.html
deleted file mode 100644
index 4d072b4..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.md b/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.md
deleted file mode 100644
index acb2032..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/self-closing_html.md
+++ /dev/null
@@ -1,12 +0,0 @@
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
-
-paragraph
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.html b/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.html
deleted file mode 100644
index 80a5cae..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.md b/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.md
deleted file mode 100644
index d7cd1af..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/separated_nested_list.md
+++ /dev/null
@@ -1,4 +0,0 @@
-- li
-
- - li
- - li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/setext_header.html b/_sakura/vendor/erusev/parsedown/test/data/setext_header.html
deleted file mode 100644
index 60aac08..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/setext_header.html
+++ /dev/null
@@ -1,5 +0,0 @@
-h1
-h2
-single character
-not a header
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/setext_header.md b/_sakura/vendor/erusev/parsedown/test/data/setext_header.md
deleted file mode 100644
index c43b52c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/setext_header.md
+++ /dev/null
@@ -1,12 +0,0 @@
-h1
-==
-
-h2
---
-
-single character
--
-
-not a header
-
-------------
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.html b/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.html
deleted file mode 100644
index 8225d57..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-quote
-
-indented:
-
-quote
-
-no space after >
:
-
-quote
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.md b/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.md
deleted file mode 100644
index 22b6b11..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/simple_blockquote.md
+++ /dev/null
@@ -1,7 +0,0 @@
-> quote
-
-indented:
- > quote
-
-no space after `>`:
->quote
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/simple_table.html b/_sakura/vendor/erusev/parsedown/test/data/simple_table.html
deleted file mode 100644
index 237d7ef..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/simple_table.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-header 1
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-
-
-cell 2.1
-cell 2.2
-
-
-
-
-
-
-
-header 1
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-
-
-cell 2.1
-cell 2.2
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/simple_table.md b/_sakura/vendor/erusev/parsedown/test/data/simple_table.md
deleted file mode 100644
index 466d140..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/simple_table.md
+++ /dev/null
@@ -1,11 +0,0 @@
-header 1 | header 2
--------- | --------
-cell 1.1 | cell 1.2
-cell 2.1 | cell 2.2
-
----
-
-header 1 | header 2
-:------- | --------
-cell 1.1 | cell 1.2
-cell 2.1 | cell 2.2
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/span-level_html.html b/_sakura/vendor/erusev/parsedown/test/data/span-level_html.html
deleted file mode 100644
index f852a25..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/span-level_html.html
+++ /dev/null
@@ -1,5 +0,0 @@
-an important link
-broken
-line
-inline tag at the beginning
-http://example.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/span-level_html.md b/_sakura/vendor/erusev/parsedown/test/data/span-level_html.md
deleted file mode 100644
index f221965..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/span-level_html.md
+++ /dev/null
@@ -1,8 +0,0 @@
-an important link
-
-broken
-line
-
-inline tag at the beginning
-
-http://example.com
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.html b/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.html
deleted file mode 100644
index 095bc73..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.md b/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.md
deleted file mode 100644
index 5768422..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_dense_list.md
+++ /dev/null
@@ -1,4 +0,0 @@
-- li
-
-- li
-- li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_html.html b/_sakura/vendor/erusev/parsedown/test/data/sparse_html.html
deleted file mode 100644
index 9e89627..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_html.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-line 1
-
-line 2
-line 3
-
-line 4
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_html.md b/_sakura/vendor/erusev/parsedown/test/data/sparse_html.md
deleted file mode 100644
index 9e89627..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_html.md
+++ /dev/null
@@ -1,8 +0,0 @@
-
-line 1
-
-line 2
-line 3
-
-line 4
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_list.html b/_sakura/vendor/erusev/parsedown/test/data/sparse_list.html
deleted file mode 100644
index 452b2b8..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_list.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/sparse_list.md b/_sakura/vendor/erusev/parsedown/test/data/sparse_list.md
deleted file mode 100644
index 362a35f..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/sparse_list.md
+++ /dev/null
@@ -1,9 +0,0 @@
-- li
-
-- li
-
----
-
-- li
-
- - indented li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/special_characters.html b/_sakura/vendor/erusev/parsedown/test/data/special_characters.html
deleted file mode 100644
index 3b652c3..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/special_characters.html
+++ /dev/null
@@ -1,6 +0,0 @@
-AT&T has an ampersand in their name
-this & that
-4 < 5 and 6 > 5
-http://example.com/autolink?a=1&b=2
-inline link
-reference link
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/special_characters.md b/_sakura/vendor/erusev/parsedown/test/data/special_characters.md
deleted file mode 100644
index 111b03b..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/special_characters.md
+++ /dev/null
@@ -1,13 +0,0 @@
-AT&T has an ampersand in their name
-
-this & that
-
-4 < 5 and 6 > 5
-
-
-
-[inline link](/script?a=1&b=2)
-
-[reference link][1]
-
-[1]: http://example.com/?a=1&b=2
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/strikethrough.html b/_sakura/vendor/erusev/parsedown/test/data/strikethrough.html
deleted file mode 100644
index 2a9da98..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/strikethrough.html
+++ /dev/null
@@ -1,3 +0,0 @@
-strikethrough
-here's one followed by another one
-~~ this ~~ is not one neither is ~this~
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/strikethrough.md b/_sakura/vendor/erusev/parsedown/test/data/strikethrough.md
deleted file mode 100644
index d169144..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/strikethrough.md
+++ /dev/null
@@ -1,5 +0,0 @@
-~~strikethrough~~
-
-here's ~~one~~ followed by ~~another one~~
-
-~~ this ~~ is not one neither is ~this~
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/strong_em.html b/_sakura/vendor/erusev/parsedown/test/data/strong_em.html
deleted file mode 100644
index b709c99..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/strong_em.html
+++ /dev/null
@@ -1,6 +0,0 @@
-em strong em
-strong em em
-em strong em em
-em strong em
-strong em em
-em strong em em
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/strong_em.md b/_sakura/vendor/erusev/parsedown/test/data/strong_em.md
deleted file mode 100644
index f2aa3c7..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/strong_em.md
+++ /dev/null
@@ -1,11 +0,0 @@
-*em **strong em***
-
-***strong em** em*
-
-*em **strong em** em*
-
-_em __strong em___
-
-___strong em__ em_
-
-_em __strong em__ em_
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.html b/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.html
deleted file mode 100644
index 7c140de..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-$message = 'Hello World!';
-echo $message;
-
-echo "following a blank line";
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.md b/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.md
deleted file mode 100644
index a405a16..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/tab-indented_code_block.md
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-header 1
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-
-
-|
2.1
-| 2.2
-
-
-\|
2.1
-link
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/table_inline_markdown.md b/_sakura/vendor/erusev/parsedown/test/data/table_inline_markdown.md
deleted file mode 100644
index 2f3c620..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/table_inline_markdown.md
+++ /dev/null
@@ -1,5 +0,0 @@
-| _header_ 1 | header 2 |
-| ------------ | ------------ |
-| _cell_ 1.1 | ~~cell~~ 1.2 |
-| `|` 2.1 | \| 2.2 |
-| `\|` 2.1 | [link](/) |
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/text_reference.html b/_sakura/vendor/erusev/parsedown/test/data/text_reference.html
deleted file mode 100644
index 11e4d37..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/text_reference.html
+++ /dev/null
@@ -1,8 +0,0 @@
-reference link
-one with a semantic name
-[one][404] with no definition
-multiline
-one defined on 2 lines
-one with a mixed case label and an upper case definition
-one with the a label on the next line
-link
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/text_reference.md b/_sakura/vendor/erusev/parsedown/test/data/text_reference.md
deleted file mode 100644
index 1a66a5c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/text_reference.md
+++ /dev/null
@@ -1,21 +0,0 @@
-[reference link][1]
-
-[1]: http://example.com
-
-[one][website] with a semantic name
-
-[website]: http://example.com
-
-[one][404] with no definition
-
-[multiline
-one][website] defined on 2 lines
-
-[one][Label] with a mixed case label and an upper case definition
-
-[LABEL]: http://example.com
-
-[one]
-[1] with the a label on the next line
-
-[`link`][website]
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/unordered_list.html b/_sakura/vendor/erusev/parsedown/test/data/unordered_list.html
deleted file mode 100644
index cd95567..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/unordered_list.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-mixed markers:
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/unordered_list.md b/_sakura/vendor/erusev/parsedown/test/data/unordered_list.md
deleted file mode 100644
index cf62c99..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/unordered_list.md
+++ /dev/null
@@ -1,8 +0,0 @@
-- li
-- li
-
-mixed markers:
-
-* li
-+ li
-- li
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/untidy_table.html b/_sakura/vendor/erusev/parsedown/test/data/untidy_table.html
deleted file mode 100644
index 88e1c2b..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/untidy_table.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-header 1
-header 2
-
-
-
-
-cell 1.1
-cell 1.2
-
-
-cell 2.1
-cell 2.2
-
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/untidy_table.md b/_sakura/vendor/erusev/parsedown/test/data/untidy_table.md
deleted file mode 100644
index 8524eb1..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/untidy_table.md
+++ /dev/null
@@ -1,4 +0,0 @@
-| header 1 | header 2 |
-| ------------- | ----------- |
-| cell 1.1 | cell 1.2 |
-| cell 2.1 | cell 2.2 |
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.html b/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.html
deleted file mode 100644
index 58ca94c..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.html
+++ /dev/null
@@ -1,3 +0,0 @@
-an autolink http://example.com
-inside of brackets [http://example.com ], inside of braces {http://example.com }, inside of parentheses (http://example.com )
-trailing slash http://example.com/ and http://example.com/path/
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.md b/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.md
deleted file mode 100644
index 840f354..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/url_autolinking.md
+++ /dev/null
@@ -1,5 +0,0 @@
-an autolink http://example.com
-
-inside of brackets [http://example.com], inside of braces {http://example.com}, inside of parentheses (http://example.com)
-
-trailing slash http://example.com/ and http://example.com/path/
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/whitespace.html b/_sakura/vendor/erusev/parsedown/test/data/whitespace.html
deleted file mode 100644
index f2dd7a0..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/whitespace.html
+++ /dev/null
@@ -1 +0,0 @@
-code
\ No newline at end of file
diff --git a/_sakura/vendor/erusev/parsedown/test/data/whitespace.md b/_sakura/vendor/erusev/parsedown/test/data/whitespace.md
deleted file mode 100644
index 4cf926a..0000000
--- a/_sakura/vendor/erusev/parsedown/test/data/whitespace.md
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- code
-
-
\ No newline at end of file
diff --git a/_sakura/vendor/jbbcode/jbbcode/.gitignore b/_sakura/vendor/jbbcode/jbbcode/.gitignore
deleted file mode 100644
index 987e2a2..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-composer.lock
-vendor
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinition.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinition.php
deleted file mode 100644
index f7a07f7..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinition.php
+++ /dev/null
@@ -1,328 +0,0 @@
-elCounter = 0;
- $def->setTagName($tagName);
- $def->setReplacementText($replacementText);
- $def->useOption = $useOption;
- $def->parseContent = $parseContent;
- $def->nestLimit = $nestLimit;
- $def->optionValidator = $optionValidator;
- $def->bodyValidator = $bodyValidator;
- return $def;
- }
-
- /**
- * Constructs a new CodeDefinition.
- *
- * This constructor is deprecated. You should use the static construct() method or the
- * CodeDefinitionBuilder class to construct a new CodeDefiniton.
- *
- * @deprecated
- */
- public function __construct()
- {
- /* WARNING: This function is deprecated and will be made protected in a future
- * version of jBBCode. */
- $this->parseContent = true;
- $this->useOption = false;
- $this->nestLimit = -1;
- $this->elCounter = 0;
- $this->optionValidator = array();
- $this->bodyValidator = null;
- }
-
- /**
- * Determines if the arguments to the given element are valid based on
- * any validators attached to this CodeDefinition.
- *
- * @param $el the ElementNode to validate
- * @return true if the ElementNode's {option} and {param} are OK, false if they're not
- */
- public function hasValidInputs(ElementNode $el)
- {
- if ($this->usesOption() && $this->optionValidator) {
- $att = $el->getAttribute();
-
- foreach($att as $name => $value){
- if(isset($this->optionValidator[$name]) && !$this->optionValidator[$name]->validate($value)){
- return false;
- }
- }
- }
-
- if (!$this->parseContent() && $this->bodyValidator) {
- /* We only evaluate the content if we're not parsing the content. */
- $content = "";
- foreach ($el->getChildren() as $child) {
- $content .= $child->getAsBBCode();
- }
- if (!$this->bodyValidator->validate($content)) {
- /* The content of the element is not valid. */
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Accepts an ElementNode that is defined by this CodeDefinition and returns the HTML
- * markup of the element. This is a commonly overridden class for custom CodeDefinitions
- * so that the content can be directly manipulated.
- *
- * @param $el the element to return an html representation of
- *
- * @return the parsed html of this element (INCLUDING ITS CHILDREN)
- */
- public function asHtml(ElementNode $el)
- {
- if (!$this->hasValidInputs($el)) {
- return $el->getAsBBCode();
- }
-
- $html = $this->getReplacementText();
-
- if ($this->usesOption()) {
- $options = $el->getAttribute();
- if(count($options)==1){
- $vals = array_values($options);
- $html = str_ireplace('{option}', reset($vals), $html);
- }
- else{
- foreach($options as $key => $val){
- $html = str_ireplace('{' . $key . '}', $val, $html);
- }
- }
- }
-
- $content = $this->getContent($el);
-
- $html = str_ireplace('{param}', $content, $html);
-
- return $html;
- }
-
- protected function getContent(ElementNode $el){
- if ($this->parseContent()) {
- $content = "";
- foreach ($el->getChildren() as $child)
- $content .= $child->getAsHTML();
- } else {
- $content = "";
- foreach ($el->getChildren() as $child)
- $content .= $child->getAsBBCode();
- }
- return $content;
- }
-
- /**
- * Accepts an ElementNode that is defined by this CodeDefinition and returns the text
- * representation of the element. This may be overridden by a custom CodeDefinition.
- *
- * @param $el the element to return a text representation of
- *
- * @return the text representation of $el
- */
- public function asText(ElementNode $el)
- {
- if (!$this->hasValidInputs($el)) {
- return $el->getAsBBCode();
- }
-
- $s = "";
- foreach ($el->getChildren() as $child)
- $s .= $child->getAsText();
- return $s;
- }
-
- /**
- * Returns the tag name of this code definition
- *
- * @return this definition's associated tag name
- */
- public function getTagName()
- {
- return $this->tagName;
- }
-
- /**
- * Returns the replacement text of this code definition. This usually has little, if any meaning if the
- * CodeDefinition class was extended. For default, html replacement CodeDefinitions this returns the html
- * markup for the definition.
- *
- * @return the replacement text of this CodeDefinition
- */
- public function getReplacementText()
- {
- return $this->replacementText;
- }
-
- /**
- * Returns whether or not this CodeDefinition uses the optional {option}
- *
- * @return true if this CodeDefinition uses the option, false otherwise
- */
- public function usesOption()
- {
- return $this->useOption;
- }
-
- /**
- * Returns whether or not this CodeDefnition parses elements contained within it,
- * or just treats its children as text.
- *
- * @return true if this CodeDefinition parses elements contained within itself
- */
- public function parseContent()
- {
- return $this->parseContent;
- }
-
- /**
- * Returns the limit of how many elements defined by this CodeDefinition may be
- * nested together. If after parsing elements are nested beyond this limit, the
- * subtrees formed by those nodes will be removed from the parse tree. A nest
- * limit of -1 signifies no limit.
- */
- public function getNestLimit()
- {
- return $this->nestLimit;
- }
-
- /**
- * Sets the tag name of this CodeDefinition
- *
- * @deprecated
- *
- * @param the new tag name of this definition
- */
- public function setTagName($tagName)
- {
- $this->tagName = strtolower($tagName);
- }
-
- /**
- * Sets the html replacement text of this CodeDefinition
- *
- * @deprecated
- *
- * @param the new replacement text
- */
- public function setReplacementText($txt)
- {
- $this->replacementText = $txt;
- }
-
- /**
- * Sets whether or not this CodeDefinition uses the {option}
- *
- * @deprecated
- *
- * @param boolean $bool
- */
- public function setUseOption($bool)
- {
- $this->useOption = $bool;
- }
-
- /**
- * Sets whether or not this CodeDefinition allows its children to be parsed as html
- *
- * @deprecated
- *
- * @param boolean $bool
- */
- public function setParseContent($bool)
- {
- $this->parseContent = $bool;
- }
-
- /**
- * Increments the element counter. This is used for tracking depth of elements of the same type for next limits.
- *
- * @deprecated
- *
- * @return void
- */
- public function incrementCounter()
- {
- $this->elCounter++;
- }
-
- /**
- * Decrements the element counter.
- *
- * @deprecated
- *
- * @return void
- */
- public function decrementCounter()
- {
- $this->elCounter--;
- }
-
- /**
- * Resets the element counter.
- *
- * @deprecated
- */
- public function resetCounter()
- {
- $this->elCounter = 0;
- }
-
- /**
- * Returns the current value of the element counter.
- *
- * @deprecated
- *
- * @return int
- */
- public function getCounter()
- {
- return $this->elCounter;
- }
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionBuilder.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionBuilder.php
deleted file mode 100644
index 6e8bbc1..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionBuilder.php
+++ /dev/null
@@ -1,160 +0,0 @@
-tagName = $tagName;
- $this->replacementText = $replacementText;
- }
-
- /**
- * Sets the tag name the CodeDefinition should be built with.
- *
- * @param $tagName the tag name for the new CodeDefinition
- */
- public function setTagName($tagName)
- {
- $this->tagName = $tagName;
- return $this;
- }
-
- /**
- * Sets the replacement text that the new CodeDefinition should be
- * built with.
- *
- * @param $replacementText the replacement text for the new CodeDefinition
- */
- public function setReplacementText($replacementText)
- {
- $this->replacementText = $replacementText;
- return $this;
- }
-
- /**
- * Set whether or not the built CodeDefinition should use the {option} bbcode
- * argument.
- *
- * @param $option ture iff the definition includes an option
- */
- public function setUseOption($option)
- {
- $this->useOption = $option;
- return $this;
- }
-
- /**
- * Set whether or not the built CodeDefinition should allow its content
- * to be parsed and evaluated as bbcode.
- *
- * @param $parseContent true iff the content should be parsed
- */
- public function setParseContent($parseContent)
- {
- $this->parseContent = $parseContent;
- return $this;
- }
-
- /**
- * Sets the nest limit for this code definition.
- *
- * @param $nestLimit a positive integer, or -1 if there is no limit.
- * @throws \InvalidArgumentException if the nest limit is invalid
- */
- public function setNestLimit($limit)
- {
- if(!is_int($limit) || ($limit <= 0 && -1 != $limit)) {
- throw new \InvalidArgumentException("A nest limit must be a positive integer " .
- "or -1.");
- }
- $this->nestLimit = $limit;
- return $this;
- }
-
- /**
- * Sets the InputValidator that option arguments should be validated with.
- *
- * @param $validator the InputValidator instance to use
- */
- public function setOptionValidator(\JBBCode\InputValidator $validator, $option=null)
- {
- if(empty($option)){
- $option = $this->tagName;
- }
- $this->optionValidator[$option] = $validator;
- return $this;
- }
-
- /**
- * Sets the InputValidator that body ({param}) text should be validated with.
- *
- * @param $validator the InputValidator instance to use
- */
- public function setBodyValidator(\JBBCode\InputValidator $validator)
- {
- $this->bodyValidator = $validator;
- return $this;
- }
-
- /**
- * Removes the attached option validator if one is attached.
- */
- public function removeOptionValidator()
- {
- $this->optionValidator = array();
- return $this;
- }
-
- /**
- * Removes the attached body validator if one is attached.
- */
- public function removeBodyValidator()
- {
- $this->bodyValidator = null;
- return $this;
- }
-
- /**
- * Builds a CodeDefinition with the current state of the builder.
- *
- * @return a new CodeDefinition instance
- */
- public function build()
- {
- $definition = CodeDefinition::construct($this->tagName,
- $this->replacementText,
- $this->useOption,
- $this->parseContent,
- $this->nestLimit,
- $this->optionValidator,
- $this->bodyValidator);
- return $definition;
- }
-
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionSet.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionSet.php
deleted file mode 100644
index 1b16650..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/CodeDefinitionSet.php
+++ /dev/null
@@ -1,22 +0,0 @@
-{param}');
- array_push($this->definitions, $builder->build());
-
- /* [i] italics tag */
- $builder = new CodeDefinitionBuilder('i', '{param} ');
- array_push($this->definitions, $builder->build());
-
- /* [u] underline tag */
- $builder = new CodeDefinitionBuilder('u', '{param} ');
- array_push($this->definitions, $builder->build());
-
- $urlValidator = new \JBBCode\validators\UrlValidator();
-
- /* [url] link tag */
- $builder = new CodeDefinitionBuilder('url', '{param} ');
- $builder->setParseContent(false)->setBodyValidator($urlValidator);
- array_push($this->definitions, $builder->build());
-
- /* [url=http://example.com] link tag */
- $builder = new CodeDefinitionBuilder('url', '{param} ');
- $builder->setUseOption(true)->setParseContent(true)->setOptionValidator($urlValidator);
- array_push($this->definitions, $builder->build());
-
- /* [img] image tag */
- $builder = new CodeDefinitionBuilder('img', ' ');
- $builder->setUseOption(false)->setParseContent(false)->setBodyValidator($urlValidator);
- array_push($this->definitions, $builder->build());
-
- /* [img=alt text] image tag */
- $builder = new CodeDefinitionBuilder('img', ' ');
- $builder->setUseOption(true)->setParseContent(false)->setBodyValidator($urlValidator);
- array_push($this->definitions, $builder->build());
-
- /* [color] color tag */
- $builder = new CodeDefinitionBuilder('color', '{param} ');
- $builder->setUseOption(true)->setOptionValidator(new \JBBCode\validators\CssColorValidator());
- array_push($this->definitions, $builder->build());
- }
-
- /**
- * Returns an array of the default code definitions.
- */
- public function getCodeDefinitions()
- {
- return $this->definitions;
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/DocumentElement.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/DocumentElement.php
deleted file mode 100644
index 54b40c6..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/DocumentElement.php
+++ /dev/null
@@ -1,67 +0,0 @@
-setTagName("Document");
- $this->setNodeId(0);
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.ElementNode::getAsBBCode()
- *
- * Returns the BBCode representation of this document
- *
- * @return this document's bbcode representation
- */
- public function getAsBBCode()
- {
- $s = "";
- foreach($this->getChildren() as $child){
- $s .= $child->getAsBBCode();
- }
-
- return $s;
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.ElementNode::getAsHTML()
- *
- * Documents don't add any html. They only exist as a container for their
- * children, so getAsHTML() simply iterates through the document's children,
- * returning their html.
- *
- * @return the HTML representation of this document
- */
- public function getAsHTML()
- {
- $s = "";
- foreach($this->getChildren() as $child)
- $s .= $child->getAsHTML();
-
- return $s;
- }
-
- public function accept(NodeVisitor $visitor)
- {
- $visitor->visitDocumentElement($this);
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/ElementNode.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/ElementNode.php
deleted file mode 100644
index 5393bb1..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/ElementNode.php
+++ /dev/null
@@ -1,241 +0,0 @@
-children = array();
- $this->nestDepth = 0;
- }
-
- /**
- * Accepts the given NodeVisitor. This is part of an implementation
- * of the Visitor pattern.
- *
- * @param $nodeVisitor the visitor attempting to visit this node
- */
- public function accept(NodeVisitor $nodeVisitor)
- {
- $nodeVisitor->visitElementNode($this);
- }
-
- /**
- * Gets the CodeDefinition that defines this element.
- *
- * @return this element's code definition
- */
- public function getCodeDefinition()
- {
- return $this->codeDefinition;
- }
-
- /**
- * Sets the CodeDefinition that defines this element.
- *
- * @param codeDef the code definition that defines this element node
- */
- public function setCodeDefinition(CodeDefinition $codeDef)
- {
- $this->codeDefinition = $codeDef;
- $this->setTagName($codeDef->getTagName());
- }
-
- /**
- * Returns the tag name of this element.
- *
- * @return the element's tag name
- */
- public function getTagName()
- {
- return $this->tagName;
- }
-
- /**
- * Returns the attribute (used as the option in bbcode definitions) of this element.
- *
- * @return the attribute of this element
- */
- public function getAttribute()
- {
- return $this->attribute;
- }
-
- /**
- * Returns all the children of this element.
- *
- * @return an array of this node's child nodes
- */
- public function getChildren()
- {
- return $this->children;
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsText()
- *
- * Returns the element as text (not including any bbcode markup)
- *
- * @return the plain text representation of this node
- */
- public function getAsText()
- {
- if ($this->codeDefinition) {
- return $this->codeDefinition->asText($this);
- } else {
- $s = "";
- foreach ($this->getChildren() as $child)
- $s .= $child->getAsText();
- return $s;
- }
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsBBCode()
- *
- * Returns the element as bbcode (with all unclosed tags closed)
- *
- * @return the bbcode representation of this element
- */
- public function getAsBBCode()
- {
- $str = "[".$this->tagName;
- if (!empty($this->attribute)) {
-
- foreach($this->attribute as $key => $value){
- if($key == $this->tagName){
- $str .= "=".$value;
- }
- else{
- $str .= " ".$key."=" . $value;
- }
- }
- }
- $str .= "]";
- foreach ($this->getChildren() as $child) {
- $str .= $child->getAsBBCode();
- }
- $str .= "[/".$this->tagName."]";
-
- return $str;
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsHTML()
- *
- * Returns the element as html with all replacements made
- *
- * @return the html representation of this node
- */
- public function getAsHTML()
- {
- if($this->codeDefinition) {
- return $this->codeDefinition->asHtml($this);
- } else {
- return "";
- }
- }
-
- /**
- * Adds a child to this node's content. A child may be a TextNode, or
- * another ElementNode... or anything else that may extend the
- * abstract Node class.
- *
- * @param child the node to add as a child
- */
- public function addChild(Node $child)
- {
- array_push($this->children, $child);
- $child->setParent($this);
- }
-
- /**
- * Removes a child from this node's contnet.
- *
- * @param child the child node to remove
- */
- public function removeChild(Node $child)
- {
- foreach ($this->children as $key => $value) {
- if ($value == $child)
- unset($this->children[$key]);
- }
- }
-
- /**
- * Sets the tag name of this element node.
- *
- * @param tagName the element's new tag name
- */
- public function setTagName($tagName)
- {
- $this->tagName = $tagName;
- }
-
- /**
- * Sets the attribute (option) of this element node.
- *
- * @param attribute the attribute of this element node
- */
- public function setAttribute($attribute)
- {
- $this->attribute = $attribute;
- }
-
- /**
- * Traverses the parse tree upwards, going from parent to parent, until it finds a
- * parent who has the given tag name. Returns the parent with the matching tag name
- * if it exists, otherwise returns null.
- *
- * @param str the tag name to search for
- *
- * @return the closest parent with the given tag name
- */
- public function closestParentOfType($str)
- {
- $str = strtolower($str);
- $currentEl = $this;
-
- while (strtolower($currentEl->getTagName()) != $str && $currentEl->hasParent()) {
- $currentEl = $currentEl->getParent();
- }
-
- if (strtolower($currentEl->getTagName()) != $str) {
- return null;
- } else {
- return $currentEl;
- }
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/InputValidator.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/InputValidator.php
deleted file mode 100644
index 6774709..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/InputValidator.php
+++ /dev/null
@@ -1,20 +0,0 @@
-nodeid;
- }
-
- /**
- * Returns this node's immediate parent.
- *
- * @return the node's parent
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Determines if this node has a parent.
- *
- * @return true if this node has a parent, false otherwise
- */
- public function hasParent()
- {
- return $this->parent != null;
- }
-
- /**
- * Returns true if this is a text node. Returns false otherwise.
- * (Overridden by TextNode to return true)
- *
- * @return true if this node is a text node
- */
- public function isTextNode()
- {
- return false;
- }
-
- /**
- * Accepts a NodeVisitor
- *
- * @param nodeVisitor the NodeVisitor traversing the graph
- */
- abstract public function accept(NodeVisitor $nodeVisitor);
-
- /**
- * Returns this node as text (without any bbcode markup)
- *
- * @return the plain text representation of this node
- */
- abstract public function getAsText();
-
- /**
- * Returns this node as bbcode
- *
- * @return the bbcode representation of this node
- */
- abstract public function getAsBBCode();
-
- /**
- * Returns this node as HTML
- *
- * @return the html representation of this node
- */
- abstract public function getAsHTML();
-
- /**
- * Sets this node's parent to be the given node.
- *
- * @param parent the node to set as this node's parent
- */
- public function setParent(Node $parent)
- {
- $this->parent = $parent;
- }
-
- /**
- * Sets this node's nodeid
- *
- * @param nodeid this node's node id
- */
- public function setNodeId($nodeid)
- {
- $this->nodeid = $nodeid;
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/NodeVisitor.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/NodeVisitor.php
deleted file mode 100644
index 1dd228a..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/NodeVisitor.php
+++ /dev/null
@@ -1,20 +0,0 @@
-reset();
- $this->bbcodes = array();
- }
-
- /**
- * Adds a simple (text-replacement only) bbcode definition
- *
- * @param string $tagName the tag name of the code (for example the b in [b])
- * @param string $replace the html to use, with {param} and optionally {option} for replacements
- * @param boolean $useOption whether or not this bbcode uses the secondary {option} replacement
- * @param boolean $parseContent whether or not to parse the content within these elements
- * @param integer $nestLimit an optional limit of the number of elements of this kind that can be nested within
- * each other before the parser stops parsing them.
- * @param InputValidator $optionValidator the validator to run {option} through
- * @param BodyValidator $bodyValidator the validator to run {param} through (only used if $parseContent == false)
- *
- * @return Parser
- */
- public function addBBCode($tagName, $replace, $useOption = false, $parseContent = true, $nestLimit = -1,
- InputValidator $optionValidator = null, InputValidator $bodyValidator = null)
- {
- $builder = new CodeDefinitionBuilder($tagName, $replace);
-
- $builder->setUseOption($useOption);
- $builder->setParseContent($parseContent);
- $builder->setNestLimit($nestLimit);
-
- if ($optionValidator) {
- $builder->setOptionValidator($optionValidator);
- }
-
- if ($bodyValidator) {
- $builder->setBodyValidator($bodyValidator);
- }
-
- $this->addCodeDefinition($builder->build());
-
- return $this;
- }
-
- /**
- * Adds a complex bbcode definition. You may subclass the CodeDefinition class, instantiate a definition of your new
- * class and add it to the parser through this method.
- *
- * @param CodeDefinition $definition the bbcode definition to add
- *
- * @return Parser
- */
- public function addCodeDefinition(CodeDefinition $definition)
- {
- array_push($this->bbcodes, $definition);
-
- return $this;
- }
-
- /**
- * Adds a set of CodeDefinitions.
- *
- * @param CodeDefinitionSet $set the set of definitions to add
- *
- * @return Parser
- */
- public function addCodeDefinitionSet(CodeDefinitionSet $set) {
- foreach ($set->getCodeDefinitions() as $def) {
- $this->addCodeDefinition($def);
- }
-
- return $this;
- }
-
- /**
- * Returns the entire parse tree as text. Only {param} content is returned. BBCode markup will be ignored.
- *
- * @return string a text representation of the parse tree
- */
- public function getAsText()
- {
- return $this->treeRoot->getAsText();
- }
-
- /**
- * Returns the entire parse tree as bbcode. This will be identical to the inputted string, except unclosed tags
- * will be closed.
- *
- * @return string a bbcode representation of the parse tree
- */
- public function getAsBBCode()
- {
- return $this->treeRoot->getAsBBCode();
- }
-
- /**
- * Returns the entire parse tree as HTML. All BBCode replacements will be made. This is generally the method
- * you will want to use to retrieve the parsed bbcode.
- *
- * @return string a parsed html string
- */
- public function getAsHTML()
- {
- return $this->treeRoot->getAsHTML();
- }
-
- /**
- * Accepts the given NodeVisitor at the root.
- *
- * @param NodeVisitor a NodeVisitor
- *
- * @return Parser
- */
- public function accept(NodeVisitor $nodeVisitor)
- {
- $this->treeRoot->accept($nodeVisitor);
-
- return $this;
- }
- /**
- * Constructs the parse tree from a string of bbcode markup.
- *
- * @param string $str the bbcode markup to parse
- *
- * @return Parser
- */
- public function parse($str)
- {
- /* Set the tree root back to a fresh DocumentElement. */
- $this->reset();
-
- $parent = $this->treeRoot;
- $tokenizer = new Tokenizer($str);
-
- while ($tokenizer->hasNext()) {
- $parent = $this->parseStartState($parent, $tokenizer);
- if ($parent->getCodeDefinition() && false ===
- $parent->getCodeDefinition()->parseContent()) {
- /* We're inside an element that does not allow its contents to be parseable. */
- $this->parseAsTextUntilClose($parent, $tokenizer);
- $parent = $parent->getParent();
- }
- }
-
- /* We parsed ignoring nest limits. Do an O(n) traversal to remove any elements that
- * are nested beyond their CodeDefinition's nest limit. */
- $this->removeOverNestedElements();
-
- return $this;
- }
-
- /**
- * Removes any elements that are nested beyond their nest limit from the parse tree. This
- * method is now deprecated. In a future release its access privileges will be made
- * protected.
- *
- * @deprecated
- */
- public function removeOverNestedElements()
- {
- $nestLimitVisitor = new \JBBCode\visitors\NestLimitVisitor();
- $this->accept($nestLimitVisitor);
- }
-
- /**
- * Removes the old parse tree if one exists.
- */
- protected function reset()
- {
- // remove any old tree information
- $this->treeRoot = new DocumentElement();
- /* The document element is created with nodeid 0. */
- $this->nextNodeid = 1;
- }
-
- /**
- * Determines whether a bbcode exists based on its tag name and whether or not it uses an option
- *
- * @param string $tagName the bbcode tag name to check
- * @param boolean $usesOption whether or not the bbcode accepts an option
- *
- * @return bool true if the code exists, false otherwise
- */
- public function codeExists($tagName, $usesOption = false)
- {
- foreach ($this->bbcodes as $code) {
- if (strtolower($tagName) == $code->getTagName() && $usesOption == $code->usesOption()) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns the CodeDefinition of a bbcode with the matching tag name and usesOption parameter
- *
- * @param string $tagName the tag name of the bbcode being searched for
- * @param boolean $usesOption whether or not the bbcode accepts an option
- *
- * @return CodeDefinition if the bbcode exists, null otherwise
- */
- public function getCode($tagName, $usesOption = false)
- {
- foreach ($this->bbcodes as $code) {
- if (strtolower($tagName) == $code->getTagName() && $code->usesOption() == $usesOption) {
- return $code;
- }
- }
-
- return null;
- }
-
- /**
- * Adds a set of default, standard bbcode definitions commonly used across the web.
- *
- * This method is now deprecated. Please use DefaultCodeDefinitionSet and
- * addCodeDefinitionSet() instead.
- *
- * @deprecated
- */
- public function loadDefaultCodes()
- {
- $defaultSet = new DefaultCodeDefinitionSet();
- $this->addCodeDefinitionSet($defaultSet);
- }
-
- /**
- * Creates a new text node with the given parent and text string.
- *
- * @param $parent the parent of the text node
- * @param $string the text of the text node
- *
- * @return TextNode the newly created TextNode
- */
- protected function createTextNode(ElementNode $parent, $string)
- {
- if (count($parent->getChildren())) {
- $children = $parent->getChildren();
- $lastElement = end($children);
- reset($children);
-
- if ($lastElement->isTextNode()) {
- $lastElement->setValue($lastElement->getValue() . $string);
- return $lastElement;
- }
- }
-
- $textNode = new TextNode($string);
- $textNode->setNodeId(++$this->nextNodeid);
- $parent->addChild($textNode);
- return $textNode;
- }
-
- /**
- * jBBCode parsing logic is loosely modelled after a FSM. While not every function maps
- * to a unique DFSM state, each function handles the logic of one or more FSM states.
- * This function handles the beginning parse state when we're not currently in a tag
- * name.
- *
- * @param ElementNode $parent the current parent node we're under
- * @param Tokenizer $tokenizer the tokenizer we're using
- *
- * @return ElementNode the new parent we should use for the next iteration.
- */
- protected function parseStartState(ElementNode $parent, Tokenizer $tokenizer)
- {
- $next = $tokenizer->next();
-
- if ('[' == $next) {
- return $this->parseTagOpen($parent, $tokenizer);
- }
- else {
- $this->createTextNode($parent, $next);
- /* Drop back into the main parse loop which will call this
- * same method again. */
- return $parent;
- }
- }
-
- /**
- * This function handles parsing the beginnings of an open tag. When we see a [
- * at an appropriate time, this function is entered.
- *
- * @param ElementNode $parent the current parent node
- * @param Tokenizer $tokenizer the tokenizer we're using
- *
- * @return ElementNode the new parent node
- */
- protected function parseTagOpen(ElementNode $parent, Tokenizer $tokenizer)
- {
-
- if (!$tokenizer->hasNext()) {
- /* The [ that sent us to this state was just a trailing [, not the
- * opening for a new tag. Treat it as such. */
- $this->createTextNode($parent, '[');
- return $parent;
- }
-
- $next = $tokenizer->next();
-
- /* This while loop could be replaced by a recursive call to this same method,
- * which would likely be a lot clearer but I decided to use a while loop to
- * prevent stack overflow with a string like [[[[[[[[[...[[[.
- */
- while ('[' == $next) {
- /* The previous [ was just a random bracket that should be treated as text.
- * Continue until we get a non open bracket. */
- $this->createTextNode($parent, '[');
- if (!$tokenizer->hasNext()) {
- $this->createTextNode($parent, '[');
- return $parent;
- }
- $next = $tokenizer->next();
- }
-
- if (!$tokenizer->hasNext()) {
- $this->createTextNode($parent, '['.$next);
- return $parent;
- }
-
- $after_next = $tokenizer->next();
- $tokenizer->stepBack();
-
- if ($after_next != ']')
- {
- $this->createTextNode($parent, '['.$next);
- return $parent;
- }
-
- /* At this point $next is either ']' or plain text. */
- if (']' == $next) {
- $this->createTextNode($parent, '[');
- $this->createTextNode($parent, ']');
- return $parent;
- } else {
- /* $next is plain text... likely a tag name. */
- return $this->parseTag($parent, $tokenizer, $next);
- }
- }
-
- protected function parseOptions($tagContent)
- {
- $buffer = "";
- $tagName = "";
- $state = static::OPTION_STATE_TAGNAME;
- $keys = array();
- $values = array();
- $options = array();
-
- $len = strlen($tagContent);
- $done = false;
- $idx = 0;
-
- try{
- while(!$done){
- $char = $idx < $len ? $tagContent[$idx]:null;
- switch($state){
- case static::OPTION_STATE_TAGNAME:
- switch($char){
- case '=':
- $state = static::OPTION_STATE_VALUE;
- $tagName = $buffer;
- $keys[] = $tagName;
- $buffer = "";
- break;
- case ' ':
- $state = static::OPTION_STATE_DEFAULT;
- $tagName = $buffer;
- $buffer = '';
- $keys[] = $tagName;
- break;
-
- case null:
- $tagName = $buffer;
- $buffer = '';
- $keys[] = $tagName;
- break;
- default:
- $buffer .= $char;
- }
- break;
-
- case static::OPTION_STATE_DEFAULT:
- switch($char){
- case ' ':
- // do nothing
- default:
- $state = static::OPTION_STATE_KEY;
- $buffer .= $char;
- }
- break;
-
- case static::OPTION_STATE_VALUE:
- switch($char){
- case '"':
- $state = static::OPTION_STATE_QUOTED_VALUE;
- break;
- case null: // intentional fall-through
- case ' ': // key=value delimits to next key
- $values[] = $buffer;
- $buffer = "";
- $state = static::OPTION_STATE_KEY;
- break;
- case ":":
- if($buffer=="javascript"){
- $state = static::OPTION_STATE_JAVASCRIPT;
- }
- $buffer .= $char;
- break;
- default:
- $buffer .= $char;
-
- }
- break;
-
- case static::OPTION_STATE_JAVASCRIPT:
- switch($char){
- case ";":
- $buffer .= $char;
- $values[] = $buffer;
- $buffer = "";
- $state = static::OPTION_STATE_KEY;
-
- break;
- default:
- $buffer .= $char;
- }
- break;
-
- case static::OPTION_STATE_KEY:
- switch($char){
- case '=':
- $state = static::OPTION_STATE_VALUE;
- $keys[] = $buffer;
- $buffer = '';
- break;
- case ' ': // ignore key=value
- break;
- default:
- $buffer .= $char;
- break;
- }
- break;
-
- case static::OPTION_STATE_QUOTED_VALUE:
- switch($char){
- case null:
- case '"':
- $state = static::OPTION_STATE_KEY;
- $values[] = $buffer;
- $buffer = '';
-
- // peek ahead. If the next character is not a space or a closing brace, we have a bad tag and need to abort
- if(isset($tagContent[$idx+1]) && $tagContent[$idx+1]!=" " && $tagContent[$idx+1]!="]" ){
- throw new ParserException("Badly formed attribute: $tagContent");
- }
- break;
- default:
- $buffer .= $char;
- break;
- }
- break;
- default:
- if(!empty($char)){
- $state = static::OPTION_STATE_KEY;
- }
-
- }
- if($idx >= $len){
- $done = true;
- }
- $idx++;
- }
-
- if(count($keys) && count($values)){
- if(count($keys)==(count($values)+1)){
- array_unshift($values, "");
- }
-
- $options = array_combine($keys, $values);
- }
- }
- catch(ParserException $e){
- // if we're in this state, then something evidently went wrong. We'll consider everything that came after the tagname to be the attribute for that keyname
- $options[$tagName]= substr($tagContent, strpos($tagContent, "=")+1);
- }
- return array($tagName, $options);
- }
-
- /**
- * This is the next step in parsing a tag. It's possible for it to still be invalid at this
- * point but many of the basic invalid tag name conditions have already been handled.
- *
- * @param ElementNode $parent the current parent element
- * @param Tokenizer $tokenizer the tokenizer we're using
- * @param string $tagContent the text between the [ and the ], assuming there is actually a ]
- *
- * @return ElementNode the new parent element
- */
- protected function parseTag(ElementNode $parent, Tokenizer $tokenizer, $tagContent)
- {
-
- $next;
- if (!$tokenizer->hasNext() || ($next = $tokenizer->next()) != ']') {
- /* This is a malformed tag. Both the previous [ and the tagContent
- * is really just plain text. */
- $this->createTextNode($parent, '[');
- $this->createTextNode($parent, $tagContent);
- return $parent;
- }
-
- /* This is a well-formed tag consisting of [something] or [/something], but
- * we still need to ensure that 'something' is a valid tag name. Additionally,
- * if it's a closing tag, we need to ensure that there was a previous matching
- * opening tag.
- */
- /* There could be attributes. */
- list($tmpTagName, $options) = $this->parseOptions($tagContent);
-
- // $tagPieces = explode('=', $tagContent);
- // $tmpTagName = $tagPieces[0];
-
- $actualTagName;
- if ('' != $tmpTagName && '/' == $tmpTagName[0]) {
- /* This is a closing tag name. */
- $actualTagName = substr($tmpTagName, 1);
- } else {
- $actualTagName = $tmpTagName;
- }
-
- if ('' != $tmpTagName && '/' == $tmpTagName[0]) {
- /* This is attempting to close an open tag. We must verify that there exists an
- * open tag of the same type and that there is no option (options on closing
- * tags don't make any sense). */
- $elToClose = $parent->closestParentOfType($actualTagName);
- if (null == $elToClose || count($options) > 1) {
- /* Closing an unopened tag or has an option. Treat everything as plain text. */
- $this->createTextNode($parent, '[');
- $this->createTextNode($parent, $tagContent);
- $this->createTextNode($parent, ']');
- return $parent;
- } else {
- /* We're closing $elToClose. In order to do that, we just need to return
- * $elToClose's parent, since that will change our effective parent to be
- * elToClose's parent. */
- return $elToClose->getParent();
- }
- }
-
- /* Verify that this is a known bbcode tag name. */
- if ('' == $actualTagName || !$this->codeExists($actualTagName, !empty($options))) {
- /* This is an invalid tag name! Treat everything we've seen as plain text. */
- $this->createTextNode($parent, '[');
- $this->createTextNode($parent, $tagContent);
- $this->createTextNode($parent, ']');
- return $parent;
- }
-
- /* If we're here, this is a valid opening tag. Let's make a new node for it. */
- $el = new ElementNode();
- $el->setNodeId(++$this->nextNodeid);
- $code = $this->getCode($actualTagName, !empty($options));
- $el->setCodeDefinition($code);
- if (!empty($options)) {
- /* We have an attribute we should save. */
- $el->setAttribute($options);
- }
- $parent->addChild($el);
- return $el;
- }
-
- /**
- * Handles parsing elements whose CodeDefinitions disable parsing of element
- * contents. This function uses a rolling window of 3 tokens until it finds the
- * appropriate closing tag or reaches the end of the token stream.
- *
- * @param ElementNode $parent the current parent element
- * @param Tokenizer $tokenizer the tokenizer we're using
- *
- * @return ElementNode the new parent element
- */
- protected function parseAsTextUntilClose(ElementNode $parent, Tokenizer $tokenizer)
- {
- /* $parent's code definition doesn't allow its contents to be parsed. Here we use
- * a sliding window of three tokens until we find [ /tagname ], signifying the
- * end of the parent. */
- if (!$tokenizer->hasNext()) {
- return $parent;
- }
- $prevPrev = $tokenizer->next();
- if (!$tokenizer->hasNext()) {
- $this->createTextNode($parent, $prevPrev);
- return $parent;
- }
- $prev = $tokenizer->next();
- if (!$tokenizer->hasNext()) {
- $this->createTextNode($parent, $prevPrev);
- $this->createTextNode($parent, $prev);
- return $parent;
- }
- $curr = $tokenizer->next();
- while ('[' != $prevPrev || '/'.$parent->getTagName() != strtolower($prev) ||
- ']' != $curr) {
- $this->createTextNode($parent, $prevPrev);
- $prevPrev = $prev;
- $prev = $curr;
- if (!$tokenizer->hasNext()) {
- $this->createTextNode($parent, $prevPrev);
- $this->createTextNode($parent, $prev);
- return $parent;
- }
- $curr = $tokenizer->next();
- }
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/ParserException.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/ParserException.php
deleted file mode 100644
index 89501cf..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/ParserException.php
+++ /dev/null
@@ -1,7 +0,0 @@
-value = $val;
- }
-
- public function accept(NodeVisitor $visitor)
- {
- $visitor->visitTextNode($this);
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::isTextNode()
- *
- * returns true
- */
- public function isTextNode()
- {
- return true;
- }
-
- /**
- * Returns the text string value of this text node.
- *
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsText()
- *
- * Returns the text representation of this node.
- *
- * @return this node represented as text
- */
- public function getAsText()
- {
- return $this->getValue();
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsBBCode()
- *
- * Returns the bbcode representation of this node. (Just its value)
- *
- * @return this node represented as bbcode
- */
- public function getAsBBCode()
- {
- return $this->getValue();
- }
-
- /**
- * (non-PHPdoc)
- * @see JBBCode.Node::getAsHTML()
- *
- * Returns the html representation of this node. (Just its value)
- *
- * @return this node represented as HTML
- */
- public function getAsHTML()
- {
- return $this->getValue();
- }
-
- /**
- * Edits the text value contained within this text node.
- *
- * @param newValue the new text value of the text node
- */
- public function setValue($newValue)
- {
- $this->value = $newValue;
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/Tokenizer.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/Tokenizer.php
deleted file mode 100644
index 6d47c44..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/Tokenizer.php
+++ /dev/null
@@ -1,105 +0,0 @@
-tokens, substr($str, $strStart, $index - $strStart));
- $strStart = $index;
- }
-
- /* Add the [ or ] to the tokens array. */
- array_push($this->tokens, $str[$index]);
- $strStart = $index+1;
- }
- }
-
- if ($strStart < strlen($str)) {
- /* There are still characters in the buffer. Add them to the tokens. */
- array_push($this->tokens, substr($str, $strStart, strlen($str) - $strStart));
- }
- }
-
- /**
- * Returns true if there is another token in the token stream.
- */
- public function hasNext()
- {
- return count($this->tokens) > 1 + $this->i;
- }
-
- /**
- * Advances the token stream to the next token and returns the new token.
- */
- public function next()
- {
- if (!$this->hasNext()) {
- return null;
- } else {
- return $this->tokens[++$this->i];
- }
- }
-
- /**
- * Retrieves the current token.
- */
- public function current()
- {
- if ($this->i < 0) {
- return null;
- } else {
- return $this->tokens[$this->i];
- }
- }
-
- /**
- * Moves the token stream back a token.
- */
- public function stepBack()
- {
- if ($this->i > -1) {
- $this->i--;
- }
- }
-
- /**
- * Restarts the tokenizer, returning to the beginning of the token stream.
- */
- public function restart()
- {
- $this->i = -1;
- }
-
- /**
- * toString method that returns the entire string from the current index on.
- */
- public function toString()
- {
- return implode('', array_slice($this->tokens, $this->i + 1));
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/1-GettingStarted.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/1-GettingStarted.php
deleted file mode 100644
index dd0c174..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/1-GettingStarted.php
+++ /dev/null
@@ -1,12 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-$text = "The default codes include: [b]bold[/b], [i]italics[/i], [u]underlining[/u], ";
-$text .= "[url=http://jbbcode.com]links[/url], [color=red]color![/color] and more.";
-
-$parser->parse($text);
-
-print $parser->getAsHtml();
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/2-ClosingUnclosedTags.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/2-ClosingUnclosedTags.php
deleted file mode 100644
index 35ee7fd..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/2-ClosingUnclosedTags.php
+++ /dev/null
@@ -1,10 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-$text = "The bbcode in here [b]is never closed!";
-$parser->parse($text);
-
-print $parser->getAsBBCode();
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/3-MarkuplessText.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/3-MarkuplessText.php
deleted file mode 100644
index 47f20a3..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/3-MarkuplessText.php
+++ /dev/null
@@ -1,11 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-$text = "[b][u]There is [i]a lot[/i] of [url=http://en.wikipedia.org/wiki/Markup_language]markup[/url] in this";
-$text .= "[color=#333333]text[/color]![/u][/b]";
-$parser->parse($text);
-
-print $parser->getAsText();
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/4-CreatingNewCodes.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/4-CreatingNewCodes.php
deleted file mode 100644
index e8335b0..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/4-CreatingNewCodes.php
+++ /dev/null
@@ -1,7 +0,0 @@
-addBBCode("quote", '{param}
');
-$parser->addBBCode("code", '{param} ', false, false, 1);
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/SmileyVisitorTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/SmileyVisitorTest.php
deleted file mode 100644
index cfea90f..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/SmileyVisitorTest.php
+++ /dev/null
@@ -1,22 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-if (count($argv) < 2) {
- die("Usage: " . $argv[0] . " \"bbcode string\"\n");
-}
-
-$inputText = $argv[1];
-
-$parser->parse($inputText);
-
-$smileyVisitor = new \JBBCode\visitors\SmileyVisitor();
-$parser->accept($smileyVisitor);
-
-echo $parser->getAsHTML() . "\n";
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/TagCountingVisitorTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/TagCountingVisitorTest.php
deleted file mode 100644
index 8ce5d99..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/examples/TagCountingVisitorTest.php
+++ /dev/null
@@ -1,23 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-if (count($argv) < 3) {
- die("Usage: " . $argv[0] . " \"bbcode string\" \n");
-}
-
-$inputText = $argv[1];
-$tagName = $argv[2];
-
-$parser->parse($inputText);
-
-$tagCountingVisitor = new \JBBCode\visitors\TagCountingVisitor();
-$parser->accept($tagCountingVisitor);
-
-echo $tagCountingVisitor->getFrequency($tagName) . "\n";
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToBBCodeTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToBBCodeTest.php
deleted file mode 100644
index c832fcc..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToBBCodeTest.php
+++ /dev/null
@@ -1,85 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
- return $parser->getAsBBCode();
- }
-
- /**
- * Asserts that the given bbcode matches the given text when
- * the bbcode is run through defaultBBCodeParse
- */
- private function assertBBCodeOutput($bbcode, $text)
- {
- $this->assertEquals($this->defaultBBCodeParse($bbcode), $text);
- }
-
- public function testEmptyString()
- {
- $this->assertBBCodeOutput('', '');
- }
-
- public function testOneTag()
- {
- $this->assertBBCodeOutput('[b]this is bold[/b]', '[b]this is bold[/b]');
- }
-
- public function testOneTagWithSurroundingText()
- {
- $this->assertBBCodeOutput('buffer text [b]this is bold[/b] buffer text',
- 'buffer text [b]this is bold[/b] buffer text');
- }
-
- public function testMultipleTags()
- {
- $bbcode = 'this is some text with [b]bold tags[/b] and [i]italics[/i] and ' .
- 'things like [u]that[/u].';
- $bbcodeOutput = 'this is some text with [b]bold tags[/b] and [i]italics[/i] and ' .
- 'things like [u]that[/u].';
- $this->assertBBCodeOutput($bbcode, $bbcodeOutput);
- }
-
- public function testCodeOptions()
- {
- $code = 'This contains a [url=http://jbbcode.com]url[/url] which uses an option.';
- $codeOutput = 'This contains a [url=http://jbbcode.com]url[/url] which uses an option.';
- $this->assertBBCodeOutput($code, $codeOutput);
- }
-
- /**
- * @depends testCodeOptions
- */
- public function testOmittedOption()
- {
- $code = 'This doesn\'t use the url option [url]http://jbbcode.com[/url].';
- $codeOutput = 'This doesn\'t use the url option [url]http://jbbcode.com[/url].';
- $this->assertBBCodeOutput($code, $codeOutput);
- }
-
- public function testUnclosedTags()
- {
- $code = '[b]bold';
- $codeOutput = '[b]bold[/b]';
- $this->assertBBCodeOutput($code, $codeOutput);
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToTextTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToTextTest.php
deleted file mode 100644
index 193fc7c..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/BBCodeToTextTest.php
+++ /dev/null
@@ -1,78 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
- return $parser->getAsText();
- }
-
- /**
- * Asserts that the given bbcode matches the given text when
- * the bbcode is run through defaultTextParse
- */
- private function assertTextOutput($bbcode, $text)
- {
- $this->assertEquals($text, $this->defaultTextParse($bbcode));
- }
-
- public function testEmptyString()
- {
- $this->assertTextOutput('', '');
- }
-
- public function testOneTag()
- {
- $this->assertTextOutput('[b]this is bold[/b]', 'this is bold');
- }
-
- public function testOneTagWithSurroundingText()
- {
- $this->assertTextOutput('buffer text [b]this is bold[/b] buffer text',
- 'buffer text this is bold buffer text');
- }
-
- public function testMultipleTags()
- {
- $bbcode = 'this is some text with [b]bold tags[/b] and [i]italics[/i] and ' .
- 'things like [u]that[/u].';
- $text = 'this is some text with bold tags and italics and things like that.';
- $this->assertTextOutput($bbcode, $text);
- }
-
- public function testCodeOptions()
- {
- $code = 'This contains a [url=http://jbbcode.com]url[/url] which uses an option.';
- $text = 'This contains a url which uses an option.';
- $this->assertTextOutput($code, $text);
- }
-
- /**
- * @depends testCodeOptions
- */
- public function testOmittedOption()
- {
- $code = 'This doesn\'t use the url option [url]http://jbbcode.com[/url].';
- $text = 'This doesn\'t use the url option http://jbbcode.com.';
- $this->assertTextOutput($code, $text);
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/DefaultCodesTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/DefaultCodesTest.php
deleted file mode 100644
index e933992..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/DefaultCodesTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
- $this->assertEquals($html, $parser->getAsHtml());
- }
-
- /**
- * Tests the [b] bbcode.
- */
- public function testBold()
- {
- $this->assertProduces('[b]this should be bold[/b]', 'this should be bold ');
- }
-
- /**
- * Tests the [color] bbcode.
- */
- public function testColor()
- {
- $this->assertProduces('[color=red]red[/color]', 'red ');
- }
-
- /**
- * Tests the example from the documentation.
- */
- public function testExample()
- {
- $text = "The default codes include: [b]bold[/b], [i]italics[/i], [u]underlining[/u], ";
- $text .= "[url=http://jbbcode.com]links[/url], [color=red]color![/color] and more.";
- $html = 'The default codes include: bold , italics , underlining , ';
- $html .= 'links , color! and more.';
- $this->assertProduces($text, $html);
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/HTMLSafeTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/HTMLSafeTest.php
deleted file mode 100644
index bd9391b..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/HTMLSafeTest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
-
- $htmlsafer = new JBBCode\visitors\HTMLSafeVisitor();
- $parser->accept($htmlsafer);
-
- $this->assertEquals($html, $parser->getAsHtml());
- }
-
- /**
- * Tests escaping quotes and ampersands in simple text
- */
- public function testQuoteAndAmp()
- {
- $this->assertProduces('te"xt te&xt', 'te"xt te&xt');
- }
-
- /**
- * Tests escaping quotes and ampersands inside a BBCode tag
- */
- public function testQuoteAndAmpInTag()
- {
- $this->assertProduces('[b]te"xt te&xt[/b]', 'te"xt te&xt ');
- }
-
- /**
- * Tests escaping HTML tags
- */
- public function testHtmlTag()
- {
- $this->assertProduces('not bold ', '<b>not bold</b>');
- $this->assertProduces('[b]bold [/b] ', '<b>bold</b> <hr>');
- }
-
- /**
- * Tests escaping ampersands in URL using [url]...[/url]
- */
- public function testUrlParam()
- {
- $this->assertProduces('text [url]http://example.com/?a=b&c=d[/url] more text', 'text http://example.com/?a=b&c=d more text');
- }
-
- /**
- * Tests escaping ampersands in URL using [url=...] tag
- */
- public function testUrlOption()
- {
- $this->assertProduces('text [url=http://example.com/?a=b&c=d]this is a "link"[/url]', 'text this is a "link" ');
- }
-
- /**
- * Tests escaping ampersands in URL using [url=...] tag when URL is in quotes
- */
- public function testUrlOptionQuotes()
- {
- $this->assertProduces('text [url="http://example.com/?a=b&c=d"]this is a "link"[/url]', 'text this is a "link" ');
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/NestLimitTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/NestLimitTest.php
deleted file mode 100644
index d826fef..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/NestLimitTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-addBBCode('b', '{param} ', false, true, -1);
- $parser->parse('[b][b][b][b][b][b][b][b]bold text[/b][/b][/b][/b][/b][/b][/b][/b]');
- $this->assertEquals('' .
- 'bold text' .
- ' ',
- $parser->getAsHtml());
- }
-
- /**
- * Test over nesting.
- */
- public function testOverNesting()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('quote', '{param} ', false, true, 2);
- $bbcode = '[quote][quote][quote]wut[/quote] huh?[/quote] i don\'t know[/quote]';
- $parser->parse($bbcode);
- $expectedBbcode = '[quote][quote] huh?[/quote] i don\'t know[/quote]';
- $expectedHtml = ' huh? i don\'t know ';
- $this->assertEquals($expectedBbcode, $parser->getAsBBCode());
- $this->assertEquals($expectedHtml, $parser->getAsHtml());
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParseContentTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParseContentTest.php
deleted file mode 100644
index 1ea2c78..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParseContentTest.php
+++ /dev/null
@@ -1,97 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('verbatim', '{param}', false, false);
-
- $parser->parse('[verbatim]plain text[/verbatim]');
- $this->assertEquals('plain text', $parser->getAsHtml());
-
- $parser->parse('[verbatim][b]bold[/b][/verbatim]');
- $this->assertEquals('[b]bold[/b]', $parser->getAsHtml());
-
- }
-
- public function testNoParsingWithBufferText()
- {
-
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('verbatim', '{param}', false, false);
-
- $parser->parse('buffer text[verbatim]buffer text[b]bold[/b]buffer text[/verbatim]buffer text');
- $this->assertEquals('buffer textbuffer text[b]bold[/b]buffer textbuffer text', $parser->getAsHtml());
- }
-
- /**
- * Tests that when a tag is not closed within an unparseable tag,
- * the BBCode output does not automatically close that tag (because
- * the contents were not parsed).
- */
- public function testUnclosedTag()
- {
-
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('verbatim', '{param}', false, false);
-
- $parser->parse('[verbatim]i wonder [b]what will happen[/verbatim]');
- $this->assertEquals('i wonder [b]what will happen', $parser->getAsHtml());
- $this->assertEquals('[verbatim]i wonder [b]what will happen[/verbatim]', $parser->getAsBBCode());
- }
-
- /**
- * Tests that an unclosed tag with parseContent = false ends cleanly.
- */
- public function testUnclosedVerbatimTag()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('verbatim', '{param}', false, false);
-
- $parser->parse('[verbatim]yo this [b]text should not be bold[/b]');
- $this->assertEquals('yo this [b]text should not be bold[/b]', $parser->getAsHtml());
- }
-
- /**
- * Tests a malformed closing tag for a verbatim block.
- */
- public function testMalformedVerbatimClosingTag()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->addBBCode('verbatim', '{param}', false, false);
- $parser->parse('[verbatim]yo this [b]text should not be bold[/b][/verbatim');
- $this->assertEquals('yo this [b]text should not be bold[/b][/verbatim', $parser->getAsHtml());
- }
-
- /**
- * Tests an immediate end after a verbatim.
- */
- public function testVerbatimThenEof()
- {
- $parser = new JBBCode\Parser();
- $parser->addBBCode('verbatim', '{param}', false, false);
- $parser->parse('[verbatim]');
- $this->assertEquals('', $parser->getAsHtml());
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParsingEdgeCaseTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParsingEdgeCaseTest.php
deleted file mode 100644
index a08f713..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ParsingEdgeCaseTest.php
+++ /dev/null
@@ -1,130 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
- return $parser->getAsHtml();
- }
-
- /**
- * Asserts that the given bbcode matches the given html when
- * the bbcode is run through defaultParse.
- */
- private function assertProduces($bbcode, $html)
- {
- $this->assertEquals($html, $this->defaultParse($bbcode));
- }
-
- /**
- * Tests attempting to use a code that doesn't exist.
- */
- public function testNonexistentCodeMalformed()
- {
- $this->assertProduces('[wat]', '[wat]');
- }
-
- /**
- * Tests attempting to use a code that doesn't exist, but this
- * time in a well-formed fashion.
- *
- * @depends testNonexistentCodeMalformed
- */
- public function testNonexistentCodeWellformed()
- {
- $this->assertProduces('[wat]something[/wat]', '[wat]something[/wat]');
- }
-
- /**
- * Tests a whole bunch of meaningless left brackets.
- */
- public function testAllLeftBrackets()
- {
- $this->assertProduces('[[[[[[[[', '[[[[[[[[');
- }
-
- /**
- * Tests a whole bunch of meaningless right brackets.
- */
- public function testAllRightBrackets()
- {
- $this->assertProduces(']]]]]', ']]]]]');
- }
-
- /**
- * Intermixes well-formed, meaningful tags with meaningless brackets.
- */
- public function testRandomBracketsInWellformedCode()
- {
- $this->assertProduces('[b][[][[i]heh[/i][/b]',
- '[[][heh ');
- }
-
- /**
- * Tests an unclosed tag within a closed tag.
- */
- public function testUnclosedWithinClosed()
- {
- $this->assertProduces('[url=http://jbbcode.com][b]oh yeah[/url]',
- 'oh yeah ');
- }
-
- /**
- * Tests half completed opening tag.
- */
- public function testHalfOpenTag()
- {
- $this->assertProduces('[b', '[b');
- $this->assertProduces('wut [url=http://jbbcode.com',
- 'wut [url=http://jbbcode.com');
- }
-
- /**
- * Tests half completed closing tag.
- */
- public function testHalfClosingTag()
- {
- $this->assertProduces('[b]this should be bold[/b',
- 'this should be bold[/b ');
- }
-
- /**
- * Tests lots of left brackets before the actual tag. For example:
- * [[[[[[[[b]bold![/b]
- */
- public function testLeftBracketsThenTag()
- {
- $this->assertProduces('[[[[[b]bold![/b]',
- '[[[[bold! ');
- }
-
- /**
- * Tests a whitespace after left bracket.
- */
- public function testWhitespaceAfterLeftBracketWhithoutTag()
- {
- $this->assertProduces('[ ABC ] ',
- '[ ABC ] ');
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/SimpleEvaluationTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/SimpleEvaluationTest.php
deleted file mode 100644
index 65fb236..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/SimpleEvaluationTest.php
+++ /dev/null
@@ -1,131 +0,0 @@
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse($bbcode);
- return $parser->getAsHtml();
- }
-
- /**
- * Asserts that the given bbcode matches the given html when
- * the bbcode is run through defaultParse.
- */
- private function assertProduces($bbcode, $html)
- {
- $this->assertEquals($html, $this->defaultParse($bbcode));
- }
-
-
- public function testEmptyString()
- {
- $this->assertProduces('', '');
- }
-
- public function testOneTag()
- {
- $this->assertProduces('[b]this is bold[/b]', 'this is bold ');
- }
-
- public function testOneTagWithSurroundingText()
- {
- $this->assertProduces('buffer text [b]this is bold[/b] buffer text',
- 'buffer text this is bold buffer text');
- }
-
- public function testMultipleTags()
- {
- $bbcode = <<bold tags and italics and
-things like that .
-EOD;
- $this->assertProduces($bbcode, $html);
- }
-
- public function testCodeOptions()
- {
- $code = 'This contains a [url=http://jbbcode.com/?b=2]url[/url] which uses an option.';
- $html = 'This contains a url which uses an option.';
- $this->assertProduces($code, $html);
- }
-
- public function testAttributes()
- {
- $parser = new JBBCode\Parser();
- $builder = new JBBCode\CodeDefinitionBuilder('img', ' ');
- $parser->addCodeDefinition($builder->setUseOption(true)->setParseContent(false)->build());
-
- $expected = 'Multiple options.';
-
- $code = 'Multiple [img height="50" alt="alt text"]http://jbbcode.com/img.png[/img] options.';
- $parser->parse($code);
- $result = $parser->getAsHTML();
- $this->assertEquals($expected, $result);
-
- $code = 'Multiple [img height=50 alt="alt text"]http://jbbcode.com/img.png[/img] options.';
- $parser->parse($code);
- $result = $parser->getAsHTML();
- $this->assertEquals($expected, $result);
- }
-
- /**
- * @depends testCodeOptions
- */
- public function testOmittedOption()
- {
- $code = 'This doesn\'t use the url option [url]http://jbbcode.com[/url].';
- $html = 'This doesn\'t use the url option http://jbbcode.com .';
- $this->assertProduces($code, $html);
- }
-
- public function testUnclosedTag()
- {
- $code = 'hello [b]world';
- $html = 'hello world ';
- $this->assertProduces($code, $html);
- }
-
- public function testNestingTags()
- {
- $code = '[url=http://jbbcode.com][b]hello [u]world[/u][/b][/url]';
- $html = 'hello world ';
- $this->assertProduces($code, $html);
- }
-
- public function testBracketInTag()
- {
- $this->assertProduces('[b]:-[[/b]', ':-[ ');
- }
-
- public function testBracketWithSpaceInTag()
- {
- $this->assertProduces('[b]:-[ [/b]', ':-[ ');
- }
-
- public function testBracketWithTextInTag()
- {
- $this->assertProduces('[b]:-[ foobar[/b]', ':-[ foobar ');
- }
-
- public function testMultibleBracketsWithTextInTag()
- {
- $this->assertProduces('[b]:-[ [fo[o[bar[/b]', ':-[ [fo[o[bar ');
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/TokenizerTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/TokenizerTest.php
deleted file mode 100644
index a5431d3..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/TokenizerTest.php
+++ /dev/null
@@ -1,74 +0,0 @@
-assertFalse($tokenizer->hasNext());
- }
-
- public function testPlainTextOnly()
- {
- $tokenizer = new JBBCode\Tokenizer('this is some plain text.');
- $this->assertEquals('this is some plain text.', $tokenizer->next());
- $this->assertEquals('this is some plain text.', $tokenizer->current());
- $this->assertFalse($tokenizer->hasNext());
- }
-
- public function testStartingBracket()
- {
- $tokenizer = new JBBCode\Tokenizer('[this has a starting bracket.');
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals('[', $tokenizer->current());
- $this->assertEquals('this has a starting bracket.', $tokenizer->next());
- $this->assertEquals('this has a starting bracket.', $tokenizer->current());
- $this->assertFalse($tokenizer->hasNext());
- $this->assertEquals(null, $tokenizer->next());
- }
-
- public function testOneTag()
- {
- $tokenizer = new JBBCode\Tokenizer('[b]');
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals('b', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertFalse($tokenizer->hasNext());
- }
-
- public function testMatchingTags()
- {
- $tokenizer = new JBBCode\Tokenizer('[url]http://jbbcode.com[/url]');
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals('url', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertEquals('http://jbbcode.com', $tokenizer->next());
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals('/url', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertFalse($tokenizer->hasNext());
- }
-
- public function testLotsOfBrackets()
- {
- $tokenizer = new JBBCode\Tokenizer('[[][]][');
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertEquals('[', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertEquals(']', $tokenizer->next());
- $this->assertEquals('[', $tokenizer->next());
- $this->assertFalse($tokenizer->hasNext());
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ValidatorTest.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ValidatorTest.php
deleted file mode 100644
index e7dacb0..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/tests/ValidatorTest.php
+++ /dev/null
@@ -1,151 +0,0 @@
-assertFalse($urlValidator->validate('#yolo#swag'));
- $this->assertFalse($urlValidator->validate('giehtiehwtaw352353%3'));
- }
-
- /**
- * Tests a valid url directly on the UrlValidator.
- */
- public function testValidUrl()
- {
- $urlValidator = new \JBBCode\validators\UrlValidator();
- $this->assertTrue($urlValidator->validate('http://google.com'));
- $this->assertTrue($urlValidator->validate('http://jbbcode.com/docs'));
- $this->assertTrue($urlValidator->validate('https://www.maps.google.com'));
- }
-
- /**
- * Tests an invalid url as an option to a url bbcode.
- *
- * @depends testInvalidUrl
- */
- public function testInvalidOptionUrlBBCode()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse('[url=javascript:alert("HACKED!");]click me[/url]');
- $this->assertEquals('[url=javascript:alert("HACKED!");]click me[/url]',
- $parser->getAsHtml());
- }
-
- /**
- * Tests an invalid url as the body to a url bbcode.
- *
- * @depends testInvalidUrl
- */
- public function testInvalidBodyUrlBBCode()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse('[url]javascript:alert("HACKED!");[/url]');
- $this->assertEquals('[url]javascript:alert("HACKED!");[/url]', $parser->getAsHtml());
- }
-
- /**
- * Tests a valid url as the body to a url bbcode.
- *
- * @depends testValidUrl
- */
- public function testValidUrlBBCode()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse('[url]http://jbbcode.com[/url]');
- $this->assertEquals('http://jbbcode.com ',
- $parser->getAsHtml());
- }
-
- /**
- * Tests valid english CSS color descriptions on the CssColorValidator.
- */
- public function testCssColorEnglish()
- {
- $colorValidator = new JBBCode\validators\CssColorValidator();
- $this->assertTrue($colorValidator->validate('red'));
- $this->assertTrue($colorValidator->validate('yellow'));
- $this->assertTrue($colorValidator->validate('LightGoldenRodYellow'));
- }
-
- /**
- * Tests valid hexadecimal CSS color values on the CssColorValidator.
- */
- public function testCssColorHex()
- {
- $colorValidator = new JBBCode\validators\CssColorValidator();
- $this->assertTrue($colorValidator->validate('#000'));
- $this->assertTrue($colorValidator->validate('#ff0000'));
- $this->assertTrue($colorValidator->validate('#aaaaaa'));
- }
-
- /**
- * Tests valid rgba CSS color values on the CssColorValidator.
- */
- public function testCssColorRgba()
- {
- $colorValidator = new JBBCode\validators\CssColorValidator();
- $this->assertTrue($colorValidator->validate('rgba(255, 0, 0, 0.5)'));
- $this->assertTrue($colorValidator->validate('rgba(50, 50, 50, 0.0)'));
- }
-
- /**
- * Tests invalid CSS color values on the CssColorValidator.
- */
- public function testInvalidCssColor()
- {
- $colorValidator = new JBBCode\validators\CssColorValidator();
- $this->assertFalse($colorValidator->validate('" onclick="javascript: alert(\"gotcha!\");'));
- $this->assertFalse($colorValidator->validate('">colorful text',
- $parser->getAsHtml());
- $parser->parse('[color=#00ff00]green[/color]');
- $this->assertEquals('green ', $parser->getAsHtml());
- }
-
- /**
- * Tests invalid css colors in a color bbcode.
- *
- * @depends testInvalidCssColor
- */
- public function testInvalidColorBBCode()
- {
- $parser = new JBBCode\Parser();
- $parser->addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
- $parser->parse('[color=" onclick="alert(\'hey ya!\');]click me[/color]');
- $this->assertEquals('[color=" onclick="alert(\'hey ya!\');]click me[/color]',
- $parser->getAsHtml());
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/validators/CssColorValidator.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/validators/CssColorValidator.php
deleted file mode 100644
index ce51fa4..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/validators/CssColorValidator.php
+++ /dev/null
@@ -1,30 +0,0 @@
-getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- public function visitTextNode(\JBBCode\TextNode $textNode)
- {
- $textNode->setValue($this->htmlSafe($textNode->getValue()));
- }
-
- public function visitElementNode(\JBBCode\ElementNode $elementNode)
- {
- $attrs = $elementNode->getAttribute();
- if (is_array($attrs))
- {
- foreach ($attrs as &$el)
- $el = $this->htmlSafe($el);
-
- $elementNode->setAttribute($attrs);
- }
-
- foreach ($elementNode->getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- protected function htmlSafe($str, $options = null)
- {
- if (is_null($options))
- {
- if (defined('ENT_DISALLOWED'))
- $options = ENT_QUOTES | ENT_DISALLOWED | ENT_HTML401; // PHP 5.4+
- else
- $options = ENT_QUOTES; // PHP 5.3
- }
-
- return htmlspecialchars($str, $options, 'UTF-8');
- }
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/NestLimitVisitor.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/NestLimitVisitor.php
deleted file mode 100644
index f550dd0..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/NestLimitVisitor.php
+++ /dev/null
@@ -1,65 +0,0 @@
-getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- public function visitTextNode(\JBBCode\TextNode $textNode)
- {
- /* Nothing to do. Text nodes don't have tag names or children. */
- }
-
- public function visitElementNode(\JBBCode\ElementNode $elementNode)
- {
- $tagName = strtolower($elementNode->getTagName());
-
- /* Update the current depth for this tag name. */
- if (isset($this->depth[$tagName])) {
- $this->depth[$tagName]++;
- } else {
- $this->depth[$tagName] = 1;
- }
-
- /* Check if $elementNode is nested too deeply. */
- if ($elementNode->getCodeDefinition()->getNestLimit() != -1 &&
- $elementNode->getCodeDefinition()->getNestLimit() < $this->depth[$tagName]) {
- /* This element is nested too deeply. We need to remove it and not visit any
- * of its children. */
- $elementNode->getParent()->removeChild($elementNode);
- } else {
- /* This element is not nested too deeply. Visit all of its children. */
- foreach ($elementNode->getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- /* Now that we're done visiting this node, decrement the depth. */
- $this->depth[$tagName]--;
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/SmileyVisitor.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/SmileyVisitor.php
deleted file mode 100644
index 16fb22a..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/SmileyVisitor.php
+++ /dev/null
@@ -1,42 +0,0 @@
-getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- function visitTextNode(\JBBCode\TextNode $textNode)
- {
- /* Convert :) into an image tag. */
- $textNode->setValue(str_replace(':)',
- ' ',
- $textNode->getValue()));
- }
-
- function visitElementNode(\JBBCode\ElementNode $elementNode)
- {
- /* We only want to visit text nodes within elements if the element's
- * code definition allows for its content to be parsed.
- */
- if ($elementNode->getCodeDefinition()->parseContent()) {
- foreach ($elementNode->getChildren() as $child) {
- $child->accept($this);
- }
- }
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/TagCountingVisitor.php b/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/TagCountingVisitor.php
deleted file mode 100644
index 3e52b43..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/JBBCode/visitors/TagCountingVisitor.php
+++ /dev/null
@@ -1,60 +0,0 @@
-getChildren() as $child) {
- $child->accept($this);
- }
- }
-
- public function visitTextNode(\JBBCode\TextNode $textNode)
- {
- // Nothing to do here, text nodes do not have tag names or children
- }
-
- public function visitElementNode(\JBBCode\ElementNode $elementNode)
- {
- $tagName = strtolower($elementNode->getTagName());
-
- // Update this tag name's frequency
- if (isset($this->frequencies[$tagName])) {
- $this->frequencies[$tagName]++;
- } else {
- $this->frequencies[$tagName] = 1;
- }
-
- // Visit all the node's childrens
- foreach ($elementNode->getChildren() as $child) {
- $child->accept($this);
- }
-
- }
-
- /**
- * Retrieves the frequency of the given tag name.
- *
- * @param $tagName the tag name to look up
- */
- public function getFrequency($tagName)
- {
- if (!isset($this->frequencies[$tagName])) {
- return 0;
- } else {
- return $this->frequencies[$tagName];
- }
- }
-
-}
diff --git a/_sakura/vendor/jbbcode/jbbcode/README.md b/_sakura/vendor/jbbcode/jbbcode/README.md
deleted file mode 100644
index 718bcf1..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/README.md
+++ /dev/null
@@ -1,78 +0,0 @@
-jBBCode
-=======
-
-jBBCode is a bbcode parser written in php 5.3. It's relatively lightweight and parses
-bbcodes without resorting to expensive regular expressions.
-
-Documentation
--------------
-
-For complete documentation and examples visit [jbbcode.com](http://jbbcode.com).
-
-###A basic example
-
-jBBCode includes a few optional, default bbcode definitions that may be loaded through the
-`DefaultCodeDefinitionSet` class. Below is a simple example of using these codes to convert
-a bbcode string to html.
-
-```php
-addCodeDefinitionSet(new JBBCode\DefaultCodeDefinitionSet());
-
-$text = "The default codes include: [b]bold[/b], [i]italics[/i], [u]underlining[/u], ";
-$text .= "[url=http://jbbcode.com]links[/url], [color=red]color![/color] and more.";
-
-$parser->parse($text);
-
-print $parser->getAsHtml();
-```
-
-Contribute
-----------
-
-I would love help maintaining jBBCode. Look at [open issues](http://github.com/jbowens/jBBCode/issues) for ideas on
-what needs to be done. Before submitting a pull request, verify that all unit tests still pass.
-
-#### Running unit tests
-To run the unit tests,
-ensure that [phpunit](http://github.com/sebastianbergmann/phpunit) is installed, or install it through the composer
-dev dependencies. Then run `phpunit ./tests` from the project directory. If you're adding new functionality, writing
-additional unit tests is a great idea.
-
-Author
-------
-
-jBBCode was written by Jackson Owens. You may reach him at [jackson_owens@brown.edu](mailto:jackson_owens@brown.edu).
-
-Other languages
----------------
-
-This library is in the process of being ported to java. For more information, see [jBBCode-java](https://github.com/jbowens/jBBCode-java).
-
-License
--------
-
- The MIT License
-
- Copyright (c) 2011 Jackson Owens
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
diff --git a/_sakura/vendor/jbbcode/jbbcode/composer.json b/_sakura/vendor/jbbcode/jbbcode/composer.json
deleted file mode 100644
index e64dab5..0000000
--- a/_sakura/vendor/jbbcode/jbbcode/composer.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "jbbcode/jbbcode",
- "type": "library",
- "description": "A lightweight but extensible BBCode parser written in PHP 5.3.",
- "keywords": ["BBCode", "BB"],
- "homepage": "http://jbbcode.com/",
- "license": "MIT",
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "3.7.*"
- },
- "config": {
- "bin-dir": "/usr/local/bin"
- },
- "authors": [
- {
- "name": "Jackson Owens",
- "email": "jackson_owens@brown.edu",
- "homepage": "http://jbowens.org/",
- "role": "Developer"
- }
- ],
- "autoload": {
- "psr-0": {
- "JBBCode": "."
- }
- },
- "minimum-stability": "stable"
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/.coveralls.yml b/_sakura/vendor/paypal/rest-api-sdk-php/.coveralls.yml
deleted file mode 100644
index 90f55b5..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/.coveralls.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# .coveralls.yml configuration
-
-# for php-coveralls
-src_dir: lib
-coverage_clover: build/coverage/clover.xml
-json_path: build/coverage/coveralls-upload.json
\ No newline at end of file
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/.editorconfig b/_sakura/vendor/paypal/rest-api-sdk-php/.editorconfig
deleted file mode 100644
index 4b3c2b7..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/.editorconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-# EditorConfig: Manage project indentation rules. http://EditorConfig.org
-
-root = true
-
-[*]
-end_of_line = lf
-insert_final_newline = true
-
-[*.php]
-indent_style = space
-indent_size = 4
\ No newline at end of file
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/.gitignore b/_sakura/vendor/paypal/rest-api-sdk-php/.gitignore
deleted file mode 100644
index 108b372..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/.gitignore
+++ /dev/null
@@ -1,21 +0,0 @@
-
-build
-.DS_Store
-phpunit.local.xml
-*.log
-
-# IDE
-.idea
-.project
-.settings
-.buildpath
-atlassian-ide-plugin.xml
-*.bak
-
-# Composer
-vendor
-composer.lock
-
-# Project
-var
-tools
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/.travis.yml b/_sakura/vendor/paypal/rest-api-sdk-php/.travis.yml
deleted file mode 100644
index fb6a6ae..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/.travis.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-sudo: false
-language: php
-php:
-- 5.3
-- 5.4
-- 5.5
-- 5.6
-- hhvm
-matrix:
- allow_failures:
- - php: hhvm
- fast_finish: true
-before_script:
-- composer self-update
-- composer install --dev
-- composer require satooshi/php-coveralls:* --dev
-script:
-- mkdir build
-- mkdir build/coverage
-- phpunit
-after_success:
-- php vendor/bin/coveralls -v -c .coveralls.yml
-- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then sh generate-api.sh; fi
-notifications:
- email:
- recipients:
- - DL-PP-PHP-SDK@paypal.com
- on_success: change
-env:
- global:
- secure: UazgSLMJmrhmO+Do9TDiu8EKop06Xc2Ghi9F/8rx/CLz2FDZ5UDdzDD8uetjfdOnmMV7oadq13FGxJb9YCqTiJPZFpKsGtEr/IcCdpkO2krluLuWw5Veh8YxRG4rcZ+UWS0JpfQ72L9Zp4dMqPRo8SzcfiZV3HMG1uKYKpTSKnM=
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/LICENSE.txt b/_sakura/vendor/paypal/rest-api-sdk-php/LICENSE.txt
deleted file mode 100644
index ad030e5..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/LICENSE.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-PAYPAL, INC.
-
-SDK LICENSE
-
-NOTICE TO USER: PayPal, Inc. is providing the Software and Documentation for use under the terms of this Agreement. Any use, reproduction, modification or distribution of the Software or Documentation, or any derivatives or portions hereof, constitutes your acceptance of this Agreement.
-
-As used in this Agreement, "PayPal" means PayPal, Inc. "Software" means the software code accompanying this agreement. "Documentation" means the documents, specifications and all other items accompanying this Agreement other than the Software.
-
-1. LICENSE GRANT Subject to the terms of this Agreement, PayPal hereby grants you a non-exclusive, worldwide, royalty free license to use, reproduce, prepare derivative works from, publicly display, publicly perform, distribute and sublicense the Software for any purpose, provided the copyright notice below appears in a conspicuous location within the source code of the distributed Software and this license is distributed in the supporting documentation of the Software you distribute. Furthermore, you must comply with all third party licenses in order to use the third party software contained in the Software.
-
-Subject to the terms of this Agreement, PayPal hereby grants you a non-exclusive, worldwide, royalty free license to use, reproduce, publicly display, publicly perform, distribute and sublicense the Documentation for any purpose. You may not modify the Documentation.
-
-No title to the intellectual property in the Software or Documentation is transferred to you under the terms of this Agreement. You do not acquire any rights to the Software or the Documentation except as expressly set forth in this Agreement.
-
-If you choose to distribute the Software in a commercial product, you do so with the understanding that you agree to defend, indemnify and hold harmless PayPal and its suppliers against any losses, damages and costs arising from the claims, lawsuits or other legal actions arising out of such distribution. You may distribute the Software in object code form under your own license, provided that your license agreement:
-
-(a) complies with the terms and conditions of this license agreement;
-
-(b) effectively disclaims all warranties and conditions, express or implied, on behalf of PayPal;
-
-(c) effectively excludes all liability for damages on behalf of PayPal;
-
-(d) states that any provisions that differ from this Agreement are offered by you alone and not PayPal; and
-
-(e) states that the Software is available from you or PayPal and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
-
-2. DISCLAIMER OF WARRANTY
-PAYPAL LICENSES THE SOFTWARE AND DOCUMENTATION TO YOU ONLY ON AN "AS IS" BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. PAYPAL MAKES NO WARRANTY THAT THE SOFTWARE OR DOCUMENTATION WILL BE ERROR-FREE. Each user of the Software or Documentation is solely responsible for determining the appropriateness of using and distributing the Software and Documentation and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs, or equipment, and unavailability or interruption of operations. Use of the Software and Documentation is made with the understanding that PayPal will not provide you with any technical or customer support or maintenance. Some states or jurisdictions do not allow the exclusion of implied warranties or limitations on how long an implied warranty may last, so the above limitations may not apply to you. To the extent permissible, any implied warranties are limited to ninety (90) days.
-
-
-3. LIMITATION OF LIABILITY
-PAYPAL AND ITS SUPPLIERS SHALL NOT BE LIABLE FOR LOSS OR DAMAGE ARISING OUT OF THIS AGREEMENT OR FROM THE USE OF THE SOFTWARE OR DOCUMENTATION. IN NO EVENT WILL PAYPAL OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR SPECIAL DAMAGES INCLUDING LOST PROFITS, LOST SAVINGS, COSTS, FEES, OR EXPENSES OF ANY KIND ARISING OUT OF ANY PROVISION OF THIS AGREEMENT OR THE USE OR THE INABILITY TO USE THE SOFTWARE OR DOCUMENTATION, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. PAYPAL'S AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO THE AMOUNT PAID BY YOU FOR THE SOFTWARE AND DOCUMENTATION.
-
-4. TRADEMARK USAGE
-PayPal is a trademark PayPal, Inc. in the United States and other countries. Such trademarks may not be used to endorse or promote any product unless expressly permitted under separate agreement with PayPal.
-
-5. TERM
-Your rights under this Agreement shall terminate if you fail to comply with any of the material terms or conditions of this Agreement and do not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all your rights under this Agreement terminate, you agree to cease use and distribution of the Software and Documentation as soon as reasonably practicable.
-
-6. GOVERNING LAW AND JURISDICTION. This Agreement is governed by the statutes and laws of the State of California, without regard to the conflicts of law principles thereof. If any part of this Agreement is found void and unenforceable, it will not affect the validity of the balance of the Agreement, which shall remain valid and enforceable according to its terms. Any dispute arising out of or related to this Agreement shall be brought in the courts of Santa Clara County, California, USA.
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/README.md b/_sakura/vendor/paypal/rest-api-sdk-php/README.md
deleted file mode 100644
index 5fe66d8..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/README.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# REST API SDK for PHP
-
-
-
-[](https://travis-ci.org/paypal/PayPal-PHP-SDK)
-[](https://coveralls.io/r/paypal/PayPal-PHP-SDK?branch=master)
-
-__Welcome to PayPal PHP SDK__. This repository contains PayPal's PHP SDK and samples for REST API.
-
-> **Before starting to use the sdk, please be aware of the [existing issues and currently unavailable or upcoming features](https://github.com/paypal/rest-api-sdk-python/wiki/Existing-Issues-and-Unavailable%5CUpcoming-features) for the REST APIs. (which the sdks are based on)**
-
-## Please Note
-> **The [PCIv3.1 DSS (PDF)](https://www.pcisecuritystandards.org/documents/PCI_DSS_v3-1.pdf) mandates (p.46) that TLSv1.0 be retired from service by June 30, 2016. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating it's services to require TLSv1.2 for all HTTPS connections. [Click here](https://github.paypal.com/SDK-R/tls-update) for more information**
-
-> **If you have the SDK v1.6.2 or higher installed, you can easily test this by running the [TLSCheck sample](sample/tls/TlsCheck.php).**
-
-## SDK Documentation
-
-[ Our PayPal-PHP-SDK Page ](http://paypal.github.io/PayPal-PHP-SDK/) includes all the documentation related to PHP SDK. Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.
-
-* [ PayPal-PHP-SDK Home Page ](http://paypal.github.io/PayPal-PHP-SDK/)
-* [ Wiki ](https://github.com/paypal/PayPal-PHP-SDK/wiki)
-* [ Samples ](http://paypal.github.io/PayPal-PHP-SDK/sample/)
-* [ Installation ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation)
-* [ Make your First SDK Call](https://github.com/paypal/PayPal-PHP-SDK/wiki/Making-First-Call)
-* [ PayPal Developer Docs] (https://developer.paypal.com/docs/)
-
-## Latest Updates
-
-- Checkout the latest 1.0.0 release. Here are all the [ breaking Changes in v1.0.0 ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Breaking-Changes---1.0.0) if you are migrating from older versions.
-- Now we have a [Github Page](http://paypal.github.io/PayPal-PHP-SDK/), that helps you find all helpful resources building applications using PayPal-PHP-SDK.
-
-
-## Prerequisites
-
- - PHP 5.3 or above
- - [curl](http://php.net/manual/en/book.curl.php), [json](http://php.net/manual/en/book.json.php) & [openssl](http://php.net/manual/en/book.openssl.php) extensions must be enabled
-
-
-## More help
- * [Going Live](https://github.com/paypal/PayPal-PHP-SDK/wiki/Going-Live)
- * [PayPal-PHP-SDK Home Page](http://paypal.github.io/PayPal-PHP-SDK/)
- * [SDK Documentation](https://github.com/paypal/PayPal-PHP-SDK/wiki)
- * [Sample Source Code](http://paypal.github.io/PayPal-PHP-SDK/sample/)
- * [API Reference](https://developer.paypal.com/webapps/developer/docs/api/)
- * [Reporting Issues / Feature Requests] (https://github.com/paypal/PayPal-PHP-SDK/issues)
- * [Pizza App Using Paypal REST API] (https://github.com/paypal/rest-api-sample-app-php)
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/composer.json b/_sakura/vendor/paypal/rest-api-sdk-php/composer.json
deleted file mode 100644
index 1c2ab95..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/composer.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "paypal/rest-api-sdk-php",
- "description": "PayPal's PHP SDK for REST APIs",
- "keywords": ["paypal", "payments", "rest", "sdk"],
- "type": "library",
- "license": "Apache2",
- "homepage": "http://paypal.github.io/PayPal-PHP-SDK/",
- "authors": [
- {
- "name": "PayPal",
- "homepage": "https://github.com/paypal/rest-api-sdk-php/contributors"
- }
- ],
- "require": {
- "php": ">=5.3.0",
- "ext-curl": "*",
- "ext-json": "*"
- },
- "require-dev": {
- "phpunit/phpunit": "3.7.*"
- },
- "autoload": {
- "psr-0": {
- "PayPal": "lib/"
- }
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/docs/cover.css b/_sakura/vendor/paypal/rest-api-sdk-php/docs/cover.css
deleted file mode 100644
index be4b20f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/docs/cover.css
+++ /dev/null
@@ -1,122 +0,0 @@
-/* Sticky footer styles
--------------------------------------------------- */
-html {
- position: relative;
- min-height: 100%;
-}
-
-body {
- /* Margin bottom by footer height */
- margin-bottom: 60px;
-}
-
-.footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- /* Set the fixed height of the footer here */
- height: 60px;
- background-color: #f5f5f5;
-}
-
-/* Footer
---------------------------------------------------- */
-.footer-links, .footer-links li {
- display: inline-block;
- font-size: 110%;
- padding-left: 0;
- padding-right: 0;
-}
-
-.footer-links li {
- padding-top: 5px;
- padding-left: 5px;
-}
-
-.footer-links a {
- color: #428bca;
-}
-
-/* Custom CSS
---------------------------------------------------- */
-.body-content {
- margin: 0;
- padding: 0;
-}
-
-body {
- font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
- background: #fff url("https://www.paypalobjects.com/webstatic/developer/banners/Braintree_desktop_BG_2X.jpg") repeat-y top right;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
-}
-
-.content {
- margin-top: 30px;
-}
-
-.content .lead {
- color: #666;
-}
-
-.content .col-md-4 .well {
- min-height: 175px;
- background-color: #FDFDFD;
- border: 1px solid;
-}
-
-.content .col-md-4 .sprite {
- width: 60px;
- height: 70px;
-}
-.content .col-md-4 .sprite {
- float: left;
- margin: 0 5px 0 0;
-}
-
-.content .col-md-4 .box {
- float: left;
- width: 75%;
-}
-.content .col-md-4 .box h3 {
- color: #428bca;
- font-size: 24px;
- margin: 5px;
-}
-
-.content a:hover .col-md-4 .box h3{
- color: #23527c;
-}
-
-.content a:hover .col-md-4 .well{
- background-color: #f5f5f5;
-}
-
-.content .col-md-4 .box hr {
- margin: 0;
-}
-
-
-.content a:hover {
- text-decoration: none
-}
-
-.content a:hover .mobile {
- background-position: -90px -124px
-}
-
-.content a:hover .api {
- background-position: -90px -234px
-}
-
-.content a:hover .sandbox {
- background-position: -90px -344px
-}
-
-.content .col-md-4 .box p {
- margin: 5px;
- color: #666;
- display: block;
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/docs/index.html b/_sakura/vendor/paypal/rest-api-sdk-php/docs/index.html
deleted file mode 100644
index 8fe74cb..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/docs/index.html
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
-
- PayPal PHP SDK - Welcome
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
// PayPal PHP SDK
-
- PayPal PHP SDK is our official Open Source PHP SDK for supporting PayPal Rest APIs. Checkout all the supporting documents, samples, codebase from the following links
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/generate-api.sh b/_sakura/vendor/paypal/rest-api-sdk-php/generate-api.sh
deleted file mode 100644
index be8c358..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/generate-api.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-# Get ApiGen.phar
-wget http://www.apigen.org/apigen.phar
-
-# Generate SDK Docs
-php apigen.phar generate --template-theme="bootstrap" -s lib -d ../gh-pages/docs
-
-# Copy Home Page from Master Branch to Gh-Pages folder
-cp -r docs/* ../gh-pages/
-
-# Copy samples
-cp -r sample ../gh-pages/sample
-# As PHP is not allowed in Github
-cp sample/index.php ../gh-pages/sample/index.html
-
-cd ../gh-pages
-
-# Set identity
-git config --global user.email "travis@travis-ci.org"
-git config --global user.name "Travis"
-
-# Add branch
-git init
-git remote add origin https://${GH_TOKEN}@github.com/paypal/PayPal-PHP-SDK.git > /dev/null
-git checkout -B gh-pages
-
-# Push generated files
-git add .
-git commit -m "Docs updated by Travis"
-git push origin gh-pages -fq > /dev/null
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php
deleted file mode 100644
index 39a0c86..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php
+++ /dev/null
@@ -1,39 +0,0 @@
-phone = $phone;
- return $this;
- }
-
- /**
- * Phone number in E.123 format.
- *
- * @return string
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Agreement.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Agreement.php
deleted file mode 100644
index 810dde2..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Agreement.php
+++ /dev/null
@@ -1,647 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the agreement.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * State of the agreement.
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the agreement.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Name of the agreement.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the agreement.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the agreement.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the agreement.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Start date of the agreement. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $start_date
- *
- * @return $this
- */
- public function setStartDate($start_date)
- {
- $this->start_date = $start_date;
- return $this;
- }
-
- /**
- * Start date of the agreement. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getStartDate()
- {
- return $this->start_date;
- }
-
- /**
- * Details of the buyer who is enrolling in this agreement. This information is gathered from execution of the approval URL.
- *
- * @param \PayPal\Api\Payer $payer
- *
- * @return $this
- */
- public function setPayer($payer)
- {
- $this->payer = $payer;
- return $this;
- }
-
- /**
- * Details of the buyer who is enrolling in this agreement. This information is gathered from execution of the approval URL.
- *
- * @return \PayPal\Api\Payer
- */
- public function getPayer()
- {
- return $this->payer;
- }
-
- /**
- * Shipping address object of the agreement, which should be provided if it is different from the default address.
- *
- * @param \PayPal\Api\Address $shipping_address
- *
- * @return $this
- */
- public function setShippingAddress($shipping_address)
- {
- $this->shipping_address = $shipping_address;
- return $this;
- }
-
- /**
- * Shipping address object of the agreement, which should be provided if it is different from the default address.
- *
- * @return \PayPal\Api\Address
- */
- public function getShippingAddress()
- {
- return $this->shipping_address;
- }
-
- /**
- * Default merchant preferences from the billing plan are used, unless override preferences are provided here.
- *
- * @param \PayPal\Api\MerchantPreferences $override_merchant_preferences
- *
- * @return $this
- */
- public function setOverrideMerchantPreferences($override_merchant_preferences)
- {
- $this->override_merchant_preferences = $override_merchant_preferences;
- return $this;
- }
-
- /**
- * Default merchant preferences from the billing plan are used, unless override preferences are provided here.
- *
- * @return \PayPal\Api\MerchantPreferences
- */
- public function getOverrideMerchantPreferences()
- {
- return $this->override_merchant_preferences;
- }
-
- /**
- * Array of override_charge_model for this agreement if needed to change the default models from the billing plan.
- *
- * @param \PayPal\Api\OverrideChargeModel[] $override_charge_models
- *
- * @return $this
- */
- public function setOverrideChargeModels($override_charge_models)
- {
- $this->override_charge_models = $override_charge_models;
- return $this;
- }
-
- /**
- * Array of override_charge_model for this agreement if needed to change the default models from the billing plan.
- *
- * @return \PayPal\Api\OverrideChargeModel[]
- */
- public function getOverrideChargeModels()
- {
- return $this->override_charge_models;
- }
-
- /**
- * Append OverrideChargeModels to the list.
- *
- * @param \PayPal\Api\OverrideChargeModel $overrideChargeModel
- * @return $this
- */
- public function addOverrideChargeModel($overrideChargeModel)
- {
- if (!$this->getOverrideChargeModels()) {
- return $this->setOverrideChargeModels(array($overrideChargeModel));
- } else {
- return $this->setOverrideChargeModels(
- array_merge($this->getOverrideChargeModels(), array($overrideChargeModel))
- );
- }
- }
-
- /**
- * Remove OverrideChargeModels from the list.
- *
- * @param \PayPal\Api\OverrideChargeModel $overrideChargeModel
- * @return $this
- */
- public function removeOverrideChargeModel($overrideChargeModel)
- {
- return $this->setOverrideChargeModels(
- array_diff($this->getOverrideChargeModels(), array($overrideChargeModel))
- );
- }
-
- /**
- * Plan details for this agreement.
- *
- * @param \PayPal\Api\Plan $plan
- *
- * @return $this
- */
- public function setPlan($plan)
- {
- $this->plan = $plan;
- return $this;
- }
-
- /**
- * Plan details for this agreement.
- *
- * @return \PayPal\Api\Plan
- */
- public function getPlan()
- {
- return $this->plan;
- }
-
- /**
- * Date and time that this resource was created. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Date and time that this resource was created. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Date and time that this resource was updated. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Date and time that this resource was updated. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Agreement Details
- *
- * @param \PayPal\Api\AgreementDetails $agreement_details
- *
- * @return $this
- */
- public function setAgreementDetails($agreement_details)
- {
- $this->agreement_details = $agreement_details;
- return $this;
- }
-
- /**
- * Agreement Details
- *
- * @return \PayPal\Api\AgreementDetails
- */
- public function getAgreementDetails()
- {
- return $this->agreement_details;
- }
-
- /**
- * Get Approval Link
- *
- * @return null|string
- */
- public function getApprovalLink()
- {
- return $this->getLink(PayPalConstants::APPROVAL_URL);
- }
-
- /**
- * Create a new billing agreement by passing the details for the agreement, including the name, description, start date, payer, and billing plan in the request JSON.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Agreement
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/payments/billing-agreements/",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Execute a billing agreement after buyer approval by passing the payment token to the request URI.
- *
- * @param $paymentToken
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Agreement
- */
- public function execute($paymentToken, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($paymentToken, 'paymentToken');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/billing-agreements/$paymentToken/agreement-execute",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Retrieve details for a particular billing agreement by passing the ID of the agreement to the request URI.
- *
- * @param string $agreementId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Agreement
- */
- public static function get($agreementId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($agreementId, 'agreementId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/billing-agreements/$agreementId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Agreement();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Update details of a billing agreement, such as the description, shipping address, and start date, by passing the ID of the agreement to the request URI.
- *
- * @param PatchRequest $patchRequest
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function update($patchRequest, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patchRequest, 'patchRequest');
- $payLoad = $patchRequest->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}",
- "PATCH",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Suspend a particular billing agreement by passing the ID of the agreement to the request URI.
- *
- * @param AgreementStateDescriptor $agreementStateDescriptor
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function suspend($agreementStateDescriptor, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($agreementStateDescriptor, 'agreementStateDescriptor');
- $payLoad = $agreementStateDescriptor->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}/suspend",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Reactivate a suspended billing agreement by passing the ID of the agreement to the appropriate URI. In addition, pass an agreement_state_descriptor object in the request JSON that includes a note about the reason for changing the state of the agreement and the amount and currency for the agreement.
- *
- * @param AgreementStateDescriptor $agreementStateDescriptor
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function reActivate($agreementStateDescriptor, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($agreementStateDescriptor, 'agreementStateDescriptor');
- $payLoad = $agreementStateDescriptor->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}/re-activate",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Cancel a billing agreement by passing the ID of the agreement to the request URI. In addition, pass an agreement_state_descriptor object in the request JSON that includes a note about the reason for changing the state of the agreement and the amount and currency for the agreement.
- *
- * @param AgreementStateDescriptor $agreementStateDescriptor
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function cancel($agreementStateDescriptor, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($agreementStateDescriptor, 'agreementStateDescriptor');
- $payLoad = $agreementStateDescriptor->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}/cancel",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Bill an outstanding amount for an agreement by passing the ID of the agreement to the request URI. In addition, pass an agreement_state_descriptor object in the request JSON that includes a note about the reason for changing the state of the agreement and the amount and currency for the agreement.
- *
- * @param AgreementStateDescriptor $agreementStateDescriptor
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function billBalance($agreementStateDescriptor, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($agreementStateDescriptor, 'agreementStateDescriptor');
- $payLoad = $agreementStateDescriptor->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}/bill-balance",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Set the balance for an agreement by passing the ID of the agreement to the request URI. In addition, pass a common_currency object in the request JSON that specifies the currency type and value of the balance.
- *
- * @param Currency $currency
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function setBalance($currency, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($currency, 'currency');
- $payLoad = $currency->toJSON();
- self::executeCall(
- "/v1/payments/billing-agreements/{$this->getId()}/set-balance",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * List transactions for a billing agreement by passing the ID of the agreement, as well as the start and end dates of the range of transactions to list, to the request URI.
- *
- * @deprecated Please use searchTransactions Instead
- * @param string $agreementId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return AgreementTransactions
- */
- public static function transactions($agreementId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($agreementId, 'agreementId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/billing-agreements/$agreementId/transactions",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new AgreementTransactions();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * List transactions for a billing agreement by passing the ID of the agreement, as well as the start and end dates of the range of transactions to list, to the request URI.
- *
- * @param string $agreementId
- * @param array $params Parameters for search string. Options: start_date, and end_date
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return AgreementTransactions
- */
- public static function searchTransactions($agreementId, $params = array(), $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($agreementId, 'agreementId');
- ArgumentValidator::validate($params, 'params');
-
- $allowedParams = array(
- 'start_date' => 1,
- 'end_date' => 1,
- );
-
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/billing-agreements/$agreementId/transactions?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new AgreementTransactions();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementDetails.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementDetails.php
deleted file mode 100644
index 94e90cd..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementDetails.php
+++ /dev/null
@@ -1,209 +0,0 @@
-outstanding_balance = $outstanding_balance;
- return $this;
- }
-
- /**
- * The outstanding balance for this agreement.
- *
- * @return \PayPal\Api\Currency
- */
- public function getOutstandingBalance()
- {
- return $this->outstanding_balance;
- }
-
- /**
- * Number of cycles remaining for this agreement.
- *
- * @param string $cycles_remaining
- *
- * @return $this
- */
- public function setCyclesRemaining($cycles_remaining)
- {
- $this->cycles_remaining = $cycles_remaining;
- return $this;
- }
-
- /**
- * Number of cycles remaining for this agreement.
- *
- * @return string
- */
- public function getCyclesRemaining()
- {
- return $this->cycles_remaining;
- }
-
- /**
- * Number of cycles completed for this agreement.
- *
- * @param string $cycles_completed
- *
- * @return $this
- */
- public function setCyclesCompleted($cycles_completed)
- {
- $this->cycles_completed = $cycles_completed;
- return $this;
- }
-
- /**
- * Number of cycles completed for this agreement.
- *
- * @return string
- */
- public function getCyclesCompleted()
- {
- return $this->cycles_completed;
- }
-
- /**
- * The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
- *
- * @param string $next_billing_date
- *
- * @return $this
- */
- public function setNextBillingDate($next_billing_date)
- {
- $this->next_billing_date = $next_billing_date;
- return $this;
- }
-
- /**
- * The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
- *
- * @return string
- */
- public function getNextBillingDate()
- {
- return $this->next_billing_date;
- }
-
- /**
- * Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
- *
- * @param string $last_payment_date
- *
- * @return $this
- */
- public function setLastPaymentDate($last_payment_date)
- {
- $this->last_payment_date = $last_payment_date;
- return $this;
- }
-
- /**
- * Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
- *
- * @return string
- */
- public function getLastPaymentDate()
- {
- return $this->last_payment_date;
- }
-
- /**
- * Last payment amount for this agreement.
- *
- * @param \PayPal\Api\Currency $last_payment_amount
- *
- * @return $this
- */
- public function setLastPaymentAmount($last_payment_amount)
- {
- $this->last_payment_amount = $last_payment_amount;
- return $this;
- }
-
- /**
- * Last payment amount for this agreement.
- *
- * @return \PayPal\Api\Currency
- */
- public function getLastPaymentAmount()
- {
- return $this->last_payment_amount;
- }
-
- /**
- * Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
- *
- * @param string $final_payment_date
- *
- * @return $this
- */
- public function setFinalPaymentDate($final_payment_date)
- {
- $this->final_payment_date = $final_payment_date;
- return $this;
- }
-
- /**
- * Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
- *
- * @return string
- */
- public function getFinalPaymentDate()
- {
- return $this->final_payment_date;
- }
-
- /**
- * Total number of failed payments for this agreement.
- *
- * @param string $failed_payment_count
- *
- * @return $this
- */
- public function setFailedPaymentCount($failed_payment_count)
- {
- $this->failed_payment_count = $failed_payment_count;
- return $this;
- }
-
- /**
- * Total number of failed payments for this agreement.
- *
- * @return string
- */
- public function getFailedPaymentCount()
- {
- return $this->failed_payment_count;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementStateDescriptor.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementStateDescriptor.php
deleted file mode 100644
index 619da31..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementStateDescriptor.php
+++ /dev/null
@@ -1,65 +0,0 @@
-note = $note;
- return $this;
- }
-
- /**
- * Reason for changing the state of the agreement.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * The amount and currency of the agreement.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * The amount and currency of the agreement.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransaction.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransaction.php
deleted file mode 100644
index 12cad0e..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransaction.php
+++ /dev/null
@@ -1,257 +0,0 @@
-transaction_id = $transaction_id;
- return $this;
- }
-
- /**
- * Id corresponding to this transaction.
- *
- * @return string
- */
- public function getTransactionId()
- {
- return $this->transaction_id;
- }
-
- /**
- * State of the subscription at this time.
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * State of the subscription at this time.
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Type of transaction, usually Recurring Payment.
- *
- * @param string $transaction_type
- *
- * @return $this
- */
- public function setTransactionType($transaction_type)
- {
- $this->transaction_type = $transaction_type;
- return $this;
- }
-
- /**
- * Type of transaction, usually Recurring Payment.
- *
- * @return string
- */
- public function getTransactionType()
- {
- return $this->transaction_type;
- }
-
- /**
- * Amount for this transaction.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount for this transaction.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Fee amount for this transaction.
- *
- * @param \PayPal\Api\Currency $fee_amount
- *
- * @return $this
- */
- public function setFeeAmount($fee_amount)
- {
- $this->fee_amount = $fee_amount;
- return $this;
- }
-
- /**
- * Fee amount for this transaction.
- *
- * @return \PayPal\Api\Currency
- */
- public function getFeeAmount()
- {
- return $this->fee_amount;
- }
-
- /**
- * Net amount for this transaction.
- *
- * @param \PayPal\Api\Currency $net_amount
- *
- * @return $this
- */
- public function setNetAmount($net_amount)
- {
- $this->net_amount = $net_amount;
- return $this;
- }
-
- /**
- * Net amount for this transaction.
- *
- * @return \PayPal\Api\Currency
- */
- public function getNetAmount()
- {
- return $this->net_amount;
- }
-
- /**
- * Email id of payer.
- *
- * @param string $payer_email
- *
- * @return $this
- */
- public function setPayerEmail($payer_email)
- {
- $this->payer_email = $payer_email;
- return $this;
- }
-
- /**
- * Email id of payer.
- *
- * @return string
- */
- public function getPayerEmail()
- {
- return $this->payer_email;
- }
-
- /**
- * Business name of payer.
- *
- * @param string $payer_name
- *
- * @return $this
- */
- public function setPayerName($payer_name)
- {
- $this->payer_name = $payer_name;
- return $this;
- }
-
- /**
- * Business name of payer.
- *
- * @return string
- */
- public function getPayerName()
- {
- return $this->payer_name;
- }
-
- /**
- * Time at which this transaction happened.
- *
- * @param string $time_stamp
- *
- * @return $this
- */
- public function setTimeStamp($time_stamp)
- {
- $this->time_stamp = $time_stamp;
- return $this;
- }
-
- /**
- * Time at which this transaction happened.
- *
- * @return string
- */
- public function getTimeStamp()
- {
- return $this->time_stamp;
- }
-
- /**
- * Time zone of time_updated field.
- *
- * @param string $time_zone
- *
- * @return $this
- */
- public function setTimeZone($time_zone)
- {
- $this->time_zone = $time_zone;
- return $this;
- }
-
- /**
- * Time zone of time_updated field.
- *
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransactions.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransactions.php
deleted file mode 100644
index 30d4527..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AgreementTransactions.php
+++ /dev/null
@@ -1,71 +0,0 @@
-agreement_transaction_list = $agreement_transaction_list;
- return $this;
- }
-
- /**
- * Array of agreement_transaction object.
- *
- * @return \PayPal\Api\AgreementTransaction[]
- */
- public function getAgreementTransactionList()
- {
- return $this->agreement_transaction_list;
- }
-
- /**
- * Append AgreementTransactionList to the list.
- *
- * @param \PayPal\Api\AgreementTransaction $agreementTransaction
- * @return $this
- */
- public function addAgreementTransactionList($agreementTransaction)
- {
- if (!$this->getAgreementTransactionList()) {
- return $this->setAgreementTransactionList(array($agreementTransaction));
- } else {
- return $this->setAgreementTransactionList(
- array_merge($this->getAgreementTransactionList(), array($agreementTransaction))
- );
- }
- }
-
- /**
- * Remove AgreementTransactionList from the list.
- *
- * @param \PayPal\Api\AgreementTransaction $agreementTransaction
- * @return $this
- */
- public function removeAgreementTransactionList($agreementTransaction)
- {
- return $this->setAgreementTransactionList(
- array_diff($this->getAgreementTransactionList(), array($agreementTransaction))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AlternatePayment.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AlternatePayment.php
deleted file mode 100644
index 0af3226..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/AlternatePayment.php
+++ /dev/null
@@ -1,89 +0,0 @@
-alternate_payment_account_id = $alternate_payment_account_id;
- return $this;
- }
-
- /**
- * The unique identifier of the alternate payment account.
- *
- * @return string
- */
- public function getAlternatePaymentAccountId()
- {
- return $this->alternate_payment_account_id;
- }
-
- /**
- * The unique identifier of the payer
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * The unique identifier of the payer
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
- *
- * @param string $alternate_payment_provider_id
- *
- * @return $this
- */
- public function setAlternatePaymentProviderId($alternate_payment_provider_id)
- {
- $this->alternate_payment_provider_id = $alternate_payment_provider_id;
- return $this;
- }
-
- /**
- * Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
- *
- * @return string
- */
- public function getAlternatePaymentProviderId()
- {
- return $this->alternate_payment_provider_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Amount.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Amount.php
deleted file mode 100644
index 7221730..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Amount.php
+++ /dev/null
@@ -1,93 +0,0 @@
-currency = $currency;
- return $this;
- }
-
- /**
- * 3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/). PayPal does not support all currencies.
- *
- * @return string
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
- *
- * @param string|double $total
- *
- * @return $this
- */
- public function setTotal($total)
- {
- NumericValidator::validate($total, "Total");
- $total = FormatConverter::formatToPrice($total, $this->getCurrency());
- $this->total = $total;
- return $this;
- }
-
- /**
- * Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
- *
- * @return string
- */
- public function getTotal()
- {
- return $this->total;
- }
-
- /**
- * Additional details of the payment amount.
- *
- * @param \PayPal\Api\Details $details
- *
- * @return $this
- */
- public function setDetails($details)
- {
- $this->details = $details;
- return $this;
- }
-
- /**
- * Additional details of the payment amount.
- *
- * @return \PayPal\Api\Details
- */
- public function getDetails()
- {
- return $this->details;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Authorization.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Authorization.php
deleted file mode 100644
index 142d060..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Authorization.php
+++ /dev/null
@@ -1,459 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the authorization transaction.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Amount being authorized.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being authorized.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Specifies the payment mode of the transaction.
- * Valid Values: ["INSTANT_TRANSFER"]
- *
- * @param string $payment_mode
- *
- * @return $this
- */
- public function setPaymentMode($payment_mode)
- {
- $this->payment_mode = $payment_mode;
- return $this;
- }
-
- /**
- * Specifies the payment mode of the transaction.
- *
- * @return string
- */
- public function getPaymentMode()
- {
- return $this->payment_mode;
- }
-
- /**
- * State of the authorization.
- * Valid Values: ["pending", "authorized", "partially_captured", "captured", "expired", "voided"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the authorization.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Reason code, `AUTHORIZATION`, for a transaction state of `pending`.
- * Valid Values: ["AUTHORIZATION"]
- *
- * @param string $reason_code
- *
- * @return $this
- */
- public function setReasonCode($reason_code)
- {
- $this->reason_code = $reason_code;
- return $this;
- }
-
- /**
- * Reason code, `AUTHORIZATION`, for a transaction state of `pending`.
- *
- * @return string
- */
- public function getReasonCode()
- {
- return $this->reason_code;
- }
-
- /**
- * [DEPRECATED] Reason code for the transaction state being Pending.Obsolete. use reason_code field instead.
- * Valid Values: ["AUTHORIZATION"]
- *
- * @param string $pending_reason
- *
- * @return $this
- */
- public function setPendingReason($pending_reason)
- {
- $this->pending_reason = $pending_reason;
- return $this;
- }
-
- /**
- * @deprecated [DEPRECATED] Reason code for the transaction state being Pending.Obsolete. use reason_code field instead.
- *
- * @return string
- */
- public function getPendingReason()
- {
- return $this->pending_reason;
- }
-
- /**
- * The level of seller protection in force for the transaction. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ELIGIBLE`- Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. `PARTIALLY_ELIGIBLE`- Merchant is protected by PayPal's Seller Protection Policy for Item Not Received or Unauthorized Payments. Refer to `protection_eligibility_type` for specifics. `INELIGIBLE`- Merchant is not protected under the Seller Protection Policy.
- * Valid Values: ["ELIGIBLE", "PARTIALLY_ELIGIBLE", "INELIGIBLE"]
- *
- * @param string $protection_eligibility
- *
- * @return $this
- */
- public function setProtectionEligibility($protection_eligibility)
- {
- $this->protection_eligibility = $protection_eligibility;
- return $this;
- }
-
- /**
- * The level of seller protection in force for the transaction. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ELIGIBLE`- Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. `PARTIALLY_ELIGIBLE`- Merchant is protected by PayPal's Seller Protection Policy for Item Not Received or Unauthorized Payments. Refer to `protection_eligibility_type` for specifics. `INELIGIBLE`- Merchant is not protected under the Seller Protection Policy.
- *
- * @return string
- */
- public function getProtectionEligibility()
- {
- return $this->protection_eligibility;
- }
-
- /**
- * The kind of seller protection in force for the transaction. This property is returned only when the `protection_eligibility` property is set to `ELIGIBLE`or `PARTIALLY_ELIGIBLE`. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ITEM_NOT_RECEIVED_ELIGIBLE`- Sellers are protected against claims for items not received. `UNAUTHORIZED_PAYMENT_ELIGIBLE`- Sellers are protected against claims for unauthorized payments. One or both of the allowed values can be returned.
- * Valid Values: ["ITEM_NOT_RECEIVED_ELIGIBLE", "UNAUTHORIZED_PAYMENT_ELIGIBLE", "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE"]
- *
- * @param string $protection_eligibility_type
- *
- * @return $this
- */
- public function setProtectionEligibilityType($protection_eligibility_type)
- {
- $this->protection_eligibility_type = $protection_eligibility_type;
- return $this;
- }
-
- /**
- * The kind of seller protection in force for the transaction. This property is returned only when the `protection_eligibility` property is set to `ELIGIBLE`or `PARTIALLY_ELIGIBLE`. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ITEM_NOT_RECEIVED_ELIGIBLE`- Sellers are protected against claims for items not received. `UNAUTHORIZED_PAYMENT_ELIGIBLE`- Sellers are protected against claims for unauthorized payments. One or both of the allowed values can be returned.
- *
- * @return string
- */
- public function getProtectionEligibilityType()
- {
- return $this->protection_eligibility_type;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept, deny, or pending action. Returned in a payment response only if the merchant has enabled FMF in the profile settings and one of the fraud filters was triggered based on those settings. See [Fraud Management Filters Summary](https://developer.paypal.com/docs/classic/fmf/integration-guide/FMFSummary/) for more information.
- *
- * @param \PayPal\Api\FmfDetails $fmf_details
- *
- * @return $this
- */
- public function setFmfDetails($fmf_details)
- {
- $this->fmf_details = $fmf_details;
- return $this;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept, deny, or pending action. Returned in a payment response only if the merchant has enabled FMF in the profile settings and one of the fraud filters was triggered based on those settings. See [Fraud Management Filters Summary](https://developer.paypal.com/docs/classic/fmf/integration-guide/FMFSummary/) for more information.
- *
- * @return \PayPal\Api\FmfDetails
- */
- public function getFmfDetails()
- {
- return $this->fmf_details;
- }
-
- /**
- * ID of the Payment resource that this transaction is based on.
- *
- * @param string $parent_payment
- *
- * @return $this
- */
- public function setParentPayment($parent_payment)
- {
- $this->parent_payment = $parent_payment;
- return $this;
- }
-
- /**
- * ID of the Payment resource that this transaction is based on.
- *
- * @return string
- */
- public function getParentPayment()
- {
- return $this->parent_payment;
- }
-
- /**
- * Response codes returned by the processor concerning the submitted payment. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @param \PayPal\Api\ProcessorResponse $processor_response
- *
- * @return $this
- */
- public function setProcessorResponse($processor_response)
- {
- $this->processor_response = $processor_response;
- return $this;
- }
-
- /**
- * Response codes returned by the processor concerning the submitted payment. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @return \PayPal\Api\ProcessorResponse
- */
- public function getProcessorResponse()
- {
- return $this->processor_response;
- }
-
- /**
- * Authorization expiration time and date as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $valid_until
- *
- * @return $this
- */
- public function setValidUntil($valid_until)
- {
- $this->valid_until = $valid_until;
- return $this;
- }
-
- /**
- * Authorization expiration time and date as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getValidUntil()
- {
- return $this->valid_until;
- }
-
- /**
- * Time of authorization as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time of authorization as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Retrieve details about a previously created authorization by passing the authorization_id in the request URI.
- *
- * @param string $authorizationId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Authorization
- */
- public static function get($authorizationId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($authorizationId, 'authorizationId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/authorization/$authorizationId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Authorization();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Capture and process a previously created authorization by passing the authorization_id in the request URI. To use this request, the original payment call must have the intent set to authorize.
- *
- * @param Capture $capture
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Capture
- */
- public function capture($capture, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($capture, 'capture');
- $payLoad = $capture->toJSON();
- $json = self::executeCall(
- "/v1/payments/authorization/{$this->getId()}/capture",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Capture();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Void (cancel) a previously authorized payment by passing the authorization_id in the request URI. Note that a fully captured authorization cannot be voided.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Authorization
- */
- public function void($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/authorization/{$this->getId()}/void",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Reauthorize a PayPal account payment by passing the authorization_id in the request URI. You should reauthorize a payment after the initial 3-day honor period to ensure that funds are still available. Request supports only amount field
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Authorization
- */
- public function reauthorize($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/payments/authorization/{$this->getId()}/reauthorize",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccount.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccount.php
deleted file mode 100644
index 4a45f8d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccount.php
+++ /dev/null
@@ -1,630 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the bank account being saved for later use.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Account number in either IBAN (max length 34) or BBAN (max length 17) format.
- *
- * @param string $account_number
- *
- * @return $this
- */
- public function setAccountNumber($account_number)
- {
- $this->account_number = $account_number;
- return $this;
- }
-
- /**
- * Account number in either IBAN (max length 34) or BBAN (max length 17) format.
- *
- * @return string
- */
- public function getAccountNumber()
- {
- return $this->account_number;
- }
-
- /**
- * Type of the bank account number (International or Basic Bank Account Number). For more information refer to http://en.wikipedia.org/wiki/International_Bank_Account_Number.
- * Valid Values: ["BBAN", "IBAN"]
- *
- * @param string $account_number_type
- *
- * @return $this
- */
- public function setAccountNumberType($account_number_type)
- {
- $this->account_number_type = $account_number_type;
- return $this;
- }
-
- /**
- * Type of the bank account number (International or Basic Bank Account Number). For more information refer to http://en.wikipedia.org/wiki/International_Bank_Account_Number.
- *
- * @return string
- */
- public function getAccountNumberType()
- {
- return $this->account_number_type;
- }
-
- /**
- * Routing transit number (aka Bank Code) of the bank (typically for domestic use only - for international use, IBAN includes bank code). For more information refer to http://en.wikipedia.org/wiki/Bank_code.
- *
- * @param string $routing_number
- *
- * @return $this
- */
- public function setRoutingNumber($routing_number)
- {
- $this->routing_number = $routing_number;
- return $this;
- }
-
- /**
- * Routing transit number (aka Bank Code) of the bank (typically for domestic use only - for international use, IBAN includes bank code). For more information refer to http://en.wikipedia.org/wiki/Bank_code.
- *
- * @return string
- */
- public function getRoutingNumber()
- {
- return $this->routing_number;
- }
-
- /**
- * Type of the bank account.
- * Valid Values: ["CHECKING", "SAVINGS"]
- *
- * @param string $account_type
- *
- * @return $this
- */
- public function setAccountType($account_type)
- {
- $this->account_type = $account_type;
- return $this;
- }
-
- /**
- * Type of the bank account.
- *
- * @return string
- */
- public function getAccountType()
- {
- return $this->account_type;
- }
-
- /**
- * A customer designated name.
- *
- * @param string $account_name
- *
- * @return $this
- */
- public function setAccountName($account_name)
- {
- $this->account_name = $account_name;
- return $this;
- }
-
- /**
- * A customer designated name.
- *
- * @return string
- */
- public function getAccountName()
- {
- return $this->account_name;
- }
-
- /**
- * Type of the check when this information was obtained through a check by the facilitator or merchant.
- * Valid Values: ["PERSONAL", "COMPANY"]
- *
- * @param string $check_type
- *
- * @return $this
- */
- public function setCheckType($check_type)
- {
- $this->check_type = $check_type;
- return $this;
- }
-
- /**
- * Type of the check when this information was obtained through a check by the facilitator or merchant.
- *
- * @return string
- */
- public function getCheckType()
- {
- return $this->check_type;
- }
-
- /**
- * How the check was obtained from the customer, if check was the source of the information provided.
- * Valid Values: ["CCD", "PPD", "TEL", "POP", "ARC", "RCK", "WEB"]
- *
- * @param string $auth_type
- *
- * @return $this
- */
- public function setAuthType($auth_type)
- {
- $this->auth_type = $auth_type;
- return $this;
- }
-
- /**
- * How the check was obtained from the customer, if check was the source of the information provided.
- *
- * @return string
- */
- public function getAuthType()
- {
- return $this->auth_type;
- }
-
- /**
- * Time at which the authorization (or check) was captured. Use this field if the user authorization needs to be captured due to any privacy requirements.
- *
- * @param string $auth_capture_timestamp
- *
- * @return $this
- */
- public function setAuthCaptureTimestamp($auth_capture_timestamp)
- {
- $this->auth_capture_timestamp = $auth_capture_timestamp;
- return $this;
- }
-
- /**
- * Time at which the authorization (or check) was captured. Use this field if the user authorization needs to be captured due to any privacy requirements.
- *
- * @return string
- */
- public function getAuthCaptureTimestamp()
- {
- return $this->auth_capture_timestamp;
- }
-
- /**
- * Name of the bank.
- *
- * @param string $bank_name
- *
- * @return $this
- */
- public function setBankName($bank_name)
- {
- $this->bank_name = $bank_name;
- return $this;
- }
-
- /**
- * Name of the bank.
- *
- * @return string
- */
- public function getBankName()
- {
- return $this->bank_name;
- }
-
- /**
- * 2 letter country code of the Bank.
- *
- * @param string $country_code
- *
- * @return $this
- */
- public function setCountryCode($country_code)
- {
- $this->country_code = $country_code;
- return $this;
- }
-
- /**
- * 2 letter country code of the Bank.
- *
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * Account holder's first name.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * Account holder's first name.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Account holder's last name.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Account holder's last name.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Birth date of the bank account holder.
- *
- * @param string $birth_date
- *
- * @return $this
- */
- public function setBirthDate($birth_date)
- {
- $this->birth_date = $birth_date;
- return $this;
- }
-
- /**
- * Birth date of the bank account holder.
- *
- * @return string
- */
- public function getBirthDate()
- {
- return $this->birth_date;
- }
-
- /**
- * Billing address.
- *
- * @param \PayPal\Api\Address $billing_address
- *
- * @return $this
- */
- public function setBillingAddress($billing_address)
- {
- $this->billing_address = $billing_address;
- return $this;
- }
-
- /**
- * Billing address.
- *
- * @return \PayPal\Api\Address
- */
- public function getBillingAddress()
- {
- return $this->billing_address;
- }
-
- /**
- * State of this funding instrument.
- * Valid Values: ["ACTIVE", "INACTIVE", "DELETED"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of this funding instrument.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Confirmation status of a bank account.
- * Valid Values: ["UNCONFIRMED", "CONFIRMED"]
- *
- * @param string $confirmation_status
- *
- * @return $this
- */
- public function setConfirmationStatus($confirmation_status)
- {
- $this->confirmation_status = $confirmation_status;
- return $this;
- }
-
- /**
- * Confirmation status of a bank account.
- *
- * @return string
- */
- public function getConfirmationStatus()
- {
- return $this->confirmation_status;
- }
-
- /**
- * [DEPRECATED] Use external_customer_id instead.
- *
- * @param string $payer_id
- *
- * @return $this
- */
- public function setPayerId($payer_id)
- {
- $this->payer_id = $payer_id;
- return $this;
- }
-
- /**
- * @deprecated [DEPRECATED] Use external_customer_id instead.
- *
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
- /**
- * A unique identifier of the customer to whom this bank account belongs to. Generated and provided by the facilitator. This is required when creating or using a stored funding instrument in vault.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * A unique identifier of the customer to whom this bank account belongs to. Generated and provided by the facilitator. This is required when creating or using a stored funding instrument in vault.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchnt.
- *
- * @param string $merchant_id
- *
- * @return $this
- */
- public function setMerchantId($merchant_id)
- {
- $this->merchant_id = $merchant_id;
- return $this;
- }
-
- /**
- * A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchnt.
- *
- * @return string
- */
- public function getMerchantId()
- {
- return $this->merchant_id;
- }
-
- /**
- * Time the resource was created.
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time the resource was created.
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time the resource was last updated.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time the resource was last updated.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Date/Time until this resource can be used to fund a payment.
- *
- * @param string $valid_until
- *
- * @return $this
- */
- public function setValidUntil($valid_until)
- {
- $this->valid_until = $valid_until;
- return $this;
- }
-
- /**
- * Date/Time until this resource can be used to fund a payment.
- *
- * @return string
- */
- public function getValidUntil()
- {
- return $this->valid_until;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccountsList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccountsList.php
deleted file mode 100644
index 9120941..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankAccountsList.php
+++ /dev/null
@@ -1,119 +0,0 @@
-{"bank-accounts"} = $bank_accounts;
- return $this;
- }
-
- /**
- * A list of bank account resources
- *
- * @return \PayPal\Api\BankAccount[]
- */
- public function getBankAccounts()
- {
- return $this->{"bank-accounts"};
- }
-
- /**
- * Append BankAccounts to the list.
- *
- * @param \PayPal\Api\BankAccount $bankAccount
- * @return $this
- */
- public function addBankAccount($bankAccount)
- {
- if (!$this->getBankAccounts()) {
- return $this->setBankAccounts(array($bankAccount));
- } else {
- return $this->setBankAccounts(
- array_merge($this->getBankAccounts(), array($bankAccount))
- );
- }
- }
-
- /**
- * Remove BankAccounts from the list.
- *
- * @param \PayPal\Api\BankAccount $bankAccount
- * @return $this
- */
- public function removeBankAccount($bankAccount)
- {
- return $this->setBankAccounts(
- array_diff($this->getBankAccounts(), array($bankAccount))
- );
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @param int $count
- *
- * @return $this
- */
- public function setCount($count)
- {
- $this->count = $count;
- return $this;
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @return int
- */
- public function getCount()
- {
- return $this->count;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- * @param string $next_id
- *
- * @return $this
- */
- public function setNextId($next_id)
- {
- $this->next_id = $next_id;
- return $this;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- * @return string
- */
- public function getNextId()
- {
- return $this->next_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankToken.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankToken.php
deleted file mode 100644
index 6cbee49..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankToken.php
+++ /dev/null
@@ -1,89 +0,0 @@
-bank_id = $bank_id;
- return $this;
- }
-
- /**
- * ID of a previously saved Bank resource using /vault/bank API.
- *
- * @return string
- */
- public function getBankId()
- {
- return $this->bank_id;
- }
-
- /**
- * The unique identifier of the payer used when saving this bank using /vault/bank API.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * The unique identifier of the payer used when saving this bank using /vault/bank API.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
- *
- * @param string $mandate_reference_number
- *
- * @return $this
- */
- public function setMandateReferenceNumber($mandate_reference_number)
- {
- $this->mandate_reference_number = $mandate_reference_number;
- return $this;
- }
-
- /**
- * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
- *
- * @return string
- */
- public function getMandateReferenceNumber()
- {
- return $this->mandate_reference_number;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BaseAddress.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BaseAddress.php
deleted file mode 100644
index 41900f6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BaseAddress.php
+++ /dev/null
@@ -1,211 +0,0 @@
-line1 = $line1;
- return $this;
- }
-
- /**
- * Line 1 of the Address (eg. number, street, etc).
- *
- * @return string
- */
- public function getLine1()
- {
- return $this->line1;
- }
-
- /**
- * Optional line 2 of the Address (eg. suite, apt #, etc.).
- *
- * @param string $line2
- *
- * @return $this
- */
- public function setLine2($line2)
- {
- $this->line2 = $line2;
- return $this;
- }
-
- /**
- * Optional line 2 of the Address (eg. suite, apt #, etc.).
- *
- * @return string
- */
- public function getLine2()
- {
- return $this->line2;
- }
-
- /**
- * City name.
- *
- * @param string $city
- *
- * @return $this
- */
- public function setCity($city)
- {
- $this->city = $city;
- return $this;
- }
-
- /**
- * City name.
- *
- * @return string
- */
- public function getCity()
- {
- return $this->city;
- }
-
- /**
- * 2 letter country code.
- *
- * @param string $country_code
- *
- * @return $this
- */
- public function setCountryCode($country_code)
- {
- $this->country_code = $country_code;
- return $this;
- }
-
- /**
- * 2 letter country code.
- *
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * Zip code or equivalent is usually required for countries that have them. For list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
- *
- * @param string $postal_code
- *
- * @return $this
- */
- public function setPostalCode($postal_code)
- {
- $this->postal_code = $postal_code;
- return $this;
- }
-
- /**
- * Zip code or equivalent is usually required for countries that have them. For list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
- *
- * @return string
- */
- public function getPostalCode()
- {
- return $this->postal_code;
- }
-
- /**
- * 2 letter code for US states, and the equivalent for other countries.
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * 2 letter code for US states, and the equivalent for other countries.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Address normalization status
- * Valid Values: ["UNKNOWN", "UNNORMALIZED_USER_PREFERRED", "NORMALIZED", "UNNORMALIZED"]
- *
- * @param string $normalization_status
- *
- * @return $this
- */
- public function setNormalizationStatus($normalization_status)
- {
- $this->normalization_status = $normalization_status;
- return $this;
- }
-
- /**
- * Address normalization status
- *
- * @return string
- */
- public function getNormalizationStatus()
- {
- return $this->normalization_status;
- }
-
- /**
- * Address status
- * Valid Values: ["CONFIRMED", "UNCONFIRMED"]
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * Address status
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Billing.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Billing.php
deleted file mode 100644
index 7b1bad6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Billing.php
+++ /dev/null
@@ -1,41 +0,0 @@
-billing_agreement_id = $billing_agreement_id;
- return $this;
- }
-
- /**
- * Identifier of the instrument in PayPal Wallet
- *
- * @return string
- */
- public function getBillingAgreementId()
- {
- return $this->billing_agreement_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BillingAgreementToken.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BillingAgreementToken.php
deleted file mode 100644
index ca5ef6b..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BillingAgreementToken.php
+++ /dev/null
@@ -1,17 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Email address of the invoice recipient. 260 characters max.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * First name of the invoice recipient. 30 characters max.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * First name of the invoice recipient. 30 characters max.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Last name of the invoice recipient. 30 characters max.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Last name of the invoice recipient. 30 characters max.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Company business name of the invoice recipient. 100 characters max.
- *
- * @param string $business_name
- *
- * @return $this
- */
- public function setBusinessName($business_name)
- {
- $this->business_name = $business_name;
- return $this;
- }
-
- /**
- * Company business name of the invoice recipient. 100 characters max.
- *
- * @return string
- */
- public function getBusinessName()
- {
- return $this->business_name;
- }
-
- /**
- * Address of the invoice recipient.
- *
- * @param \PayPal\Api\InvoiceAddress $address
- *
- * @return $this
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * Address of the invoice recipient.
- *
- * @return \PayPal\Api\InvoiceAddress
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * Language of the email sent to the payer. Will only be used if payer doesn't have a PayPal account.
- * Valid Values: ["da_DK", "de_DE", "en_AU", "en_GB", "en_US", "es_ES", "es_XC", "fr_CA", "fr_FR", "fr_XC", "he_IL", "id_ID", "it_IT", "ja_JP", "nl_NL", "no_NO", "pl_PL", "pt_BR", "pt_PT", "ru_RU", "sv_SE", "th_TH", "tr_TR", "zh_CN", "zh_HK", "zh_TW", "zh_XC"]
- *
- * @param string $language
- *
- * @return $this
- */
- public function setLanguage($language)
- {
- $this->language = $language;
- return $this;
- }
-
- /**
- * Language of the email sent to the payer. Will only be used if payer doesn't have a PayPal account.
- *
- * @return string
- */
- public function getLanguage()
- {
- return $this->language;
- }
-
- /**
- * Option to display additional information such as business hours. 40 characters max.
- *
- * @param string $additional_info
- *
- * @return $this
- */
- public function setAdditionalInfo($additional_info)
- {
- $this->additional_info = $additional_info;
- return $this;
- }
-
- /**
- * Option to display additional information such as business hours. 40 characters max.
- *
- * @return string
- */
- public function getAdditionalInfo()
- {
- return $this->additional_info;
- }
-
- /**
- * Preferred notification channel of the payer. Email by default.
- * Valid Values: ["SMS", "EMAIL"]
- *
- * @param string $notification_channel
- *
- * @return $this
- */
- public function setNotificationChannel($notification_channel)
- {
- $this->notification_channel = $notification_channel;
- return $this;
- }
-
- /**
- * Preferred notification channel of the payer. Email by default.
- *
- * @return string
- */
- public function getNotificationChannel()
- {
- return $this->notification_channel;
- }
-
- /**
- * Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.
- *
- * @param \PayPal\Api\Phone $phone
- *
- * @return $this
- */
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- /**
- * Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.
- *
- * @return \PayPal\Api\Phone
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CancelNotification.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CancelNotification.php
deleted file mode 100644
index 612b302..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CancelNotification.php
+++ /dev/null
@@ -1,113 +0,0 @@
-subject = $subject;
- return $this;
- }
-
- /**
- * Subject of the notification.
- *
- * @return string
- */
- public function getSubject()
- {
- return $this->subject;
- }
-
- /**
- * Note to the payer.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Note to the payer.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the merchant.
- *
- * @param bool $send_to_merchant
- *
- * @return $this
- */
- public function setSendToMerchant($send_to_merchant)
- {
- $this->send_to_merchant = $send_to_merchant;
- return $this;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the merchant.
- *
- * @return bool
- */
- public function getSendToMerchant()
- {
- return $this->send_to_merchant;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the payer.
- *
- * @param bool $send_to_payer
- *
- * @return $this
- */
- public function setSendToPayer($send_to_payer)
- {
- $this->send_to_payer = $send_to_payer;
- return $this;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the payer.
- *
- * @return bool
- */
- public function getSendToPayer()
- {
- return $this->send_to_payer;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Capture.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Capture.php
deleted file mode 100644
index b3580a7..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Capture.php
+++ /dev/null
@@ -1,264 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the capture transaction.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Amount being captured. If the amount matches the orginally authorized amount, the state of the authorization changes to `captured`. If not, the state of the authorization changes to `partially_captured`.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being captured. If the amount matches the orginally authorized amount, the state of the authorization changes to `captured`. If not, the state of the authorization changes to `partially_captured`.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * If set to `true`, all remaining funds held by the authorization will be released in the funding instrument.
- *
- * @param bool $is_final_capture
- *
- * @return $this
- */
- public function setIsFinalCapture($is_final_capture)
- {
- $this->is_final_capture = $is_final_capture;
- return $this;
- }
-
- /**
- * If set to `true`, all remaining funds held by the authorization will be released in the funding instrument.
- *
- * @return bool
- */
- public function getIsFinalCapture()
- {
- return $this->is_final_capture;
- }
-
- /**
- * State of the capture.
- * Valid Values: ["pending", "completed", "refunded", "partially_refunded"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the capture.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @param string $parent_payment
- *
- * @return $this
- */
- public function setParentPayment($parent_payment)
- {
- $this->parent_payment = $parent_payment;
- return $this;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @return string
- */
- public function getParentPayment()
- {
- return $this->parent_payment;
- }
-
- /**
- * Transaction fee applicable for this payment.
- *
- * @param \PayPal\Api\Currency $transaction_fee
- *
- * @return $this
- */
- public function setTransactionFee($transaction_fee)
- {
- $this->transaction_fee = $transaction_fee;
- return $this;
- }
-
- /**
- * Transaction fee applicable for this payment.
- *
- * @return \PayPal\Api\Currency
- */
- public function getTransactionFee()
- {
- return $this->transaction_fee;
- }
-
- /**
- * Time of capture as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time of capture as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Retrieve details about a captured payment by passing the capture_id in the request URI.
- *
- * @param string $captureId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Capture
- */
- public static function get($captureId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($captureId, 'captureId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/capture/$captureId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Capture();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Refund a captured payment by passing the capture_id in the request URI. In addition, include an amount object in the body of the request JSON.
- *
- * @param Refund $refund
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Refund
- */
- public function refund($refund, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($refund, 'refund');
- $payLoad = $refund->toJSON();
- $json = self::executeCall(
- "/v1/payments/capture/{$this->getId()}/refund",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Refund();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccount.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccount.php
deleted file mode 100644
index 2e7c8d7..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccount.php
+++ /dev/null
@@ -1,138 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID that identifies the payer�s carrier account. Can be used in subsequent REST API calls, e.g. for making payments.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The payer�s phone number in E.164 format.
- *
- * @param string $phone_number
- *
- * @return $this
- */
- public function setPhoneNumber($phone_number)
- {
- $this->phone_number = $phone_number;
- return $this;
- }
-
- /**
- * The payer�s phone number in E.164 format.
- *
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phone_number;
- }
-
- /**
- * User identifier as created by the merchant.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * User identifier as created by the merchant.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * The method of obtaining the phone number (USER_PROVIDED or READ_FROM_DEVICE).
- * Valid Values: ["READ_FROM_DEVICE", "USER_PROVIDED"]
- *
- * @param string $phone_source
- *
- * @return $this
- */
- public function setPhoneSource($phone_source)
- {
- $this->phone_source = $phone_source;
- return $this;
- }
-
- /**
- * The method of obtaining the phone number (USER_PROVIDED or READ_FROM_DEVICE).
- *
- * @return string
- */
- public function getPhoneSource()
- {
- return $this->phone_source;
- }
-
- /**
- * The country where the phone number is registered. Specified in 2-character IS0-3166-1 format.
- *
- * @param \PayPal\Api\CountryCode $country_code
- *
- * @return $this
- */
- public function setCountryCode($country_code)
- {
- $this->country_code = $country_code;
- return $this;
- }
-
- /**
- * The country where the phone number is registered. Specified in 2-character IS0-3166-1 format.
- *
- * @return \PayPal\Api\CountryCode
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccountToken.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccountToken.php
deleted file mode 100644
index 1313f65..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CarrierAccountToken.php
+++ /dev/null
@@ -1,65 +0,0 @@
-carrier_account_id = $carrier_account_id;
- return $this;
- }
-
- /**
- * ID of a previously saved carrier account resource.
- *
- * @return string
- */
- public function getCarrierAccountId()
- {
- return $this->carrier_account_id;
- }
-
- /**
- * The unique identifier of the payer used when saving this carrier account instrument.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * The unique identifier of the payer used when saving this carrier account instrument.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CartBase.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CartBase.php
deleted file mode 100644
index 32aa8a5..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CartBase.php
+++ /dev/null
@@ -1,391 +0,0 @@
-reference_id = $reference_id;
- return $this;
- }
-
- /**
- * Merchant identifier to the purchase unit. Optional parameter
- *
- * @return string
- */
- public function getReferenceId()
- {
- return $this->reference_id;
- }
-
- /**
- * Amount being collected.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being collected.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Recipient of the funds in this transaction.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Payee $payee
- *
- * @return $this
- */
- public function setPayee($payee)
- {
- $this->payee = $payee;
- return $this;
- }
-
- /**
- * Recipient of the funds in this transaction.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Payee
- */
- public function getPayee()
- {
- return $this->payee;
- }
-
- /**
- * Description of transaction.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of transaction.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Note to the recipient of the funds in this transaction.
- *
- * @param string $note_to_payee
- *
- * @return $this
- */
- public function setNoteToPayee($note_to_payee)
- {
- $this->note_to_payee = $note_to_payee;
- return $this;
- }
-
- /**
- * Note to the recipient of the funds in this transaction.
- *
- * @return string
- */
- public function getNoteToPayee()
- {
- return $this->note_to_payee;
- }
-
- /**
- * Free-form field for the use of clients. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string $custom
- *
- * @return $this
- */
- public function setCustom($custom)
- {
- $this->custom = $custom;
- return $this;
- }
-
- /**
- * Free-form field for the use of clients. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getCustom()
- {
- return $this->custom;
- }
-
- /**
- * Invoice number used to track the payment. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string $invoice_number
- *
- * @return $this
- */
- public function setInvoiceNumber($invoice_number)
- {
- $this->invoice_number = $invoice_number;
- return $this;
- }
-
- /**
- * Invoice number used to track the payment. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getInvoiceNumber()
- {
- return $this->invoice_number;
- }
-
- /**
- * Soft descriptor used when charging this funding source. If length exceeds max length, the value will be truncated
- *
- * @param string $soft_descriptor
- *
- * @return $this
- */
- public function setSoftDescriptor($soft_descriptor)
- {
- $this->soft_descriptor = $soft_descriptor;
- return $this;
- }
-
- /**
- * Soft descriptor used when charging this funding source. If length exceeds max length, the value will be truncated
- *
- * @return string
- */
- public function getSoftDescriptor()
- {
- return $this->soft_descriptor;
- }
-
- /**
- * Soft descriptor city used when charging this funding source. If length exceeds max length, the value will be truncated. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @param string $soft_descriptor_city
- *
- * @return $this
- */
- public function setSoftDescriptorCity($soft_descriptor_city)
- {
- $this->soft_descriptor_city = $soft_descriptor_city;
- return $this;
- }
-
- /**
- * Soft descriptor city used when charging this funding source. If length exceeds max length, the value will be truncated. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getSoftDescriptorCity()
- {
- return $this->soft_descriptor_city;
- }
-
- /**
- * Payment options requested for this purchase unit
- *
- * @param \PayPal\Api\PaymentOptions $payment_options
- *
- * @return $this
- */
- public function setPaymentOptions($payment_options)
- {
- $this->payment_options = $payment_options;
- return $this;
- }
-
- /**
- * Payment options requested for this purchase unit
- *
- * @return \PayPal\Api\PaymentOptions
- */
- public function getPaymentOptions()
- {
- return $this->payment_options;
- }
-
- /**
- * Items and related shipping address within a transaction.
- *
- * @param \PayPal\Api\ItemList $item_list
- *
- * @return $this
- */
- public function setItemList($item_list)
- {
- $this->item_list = $item_list;
- return $this;
- }
-
- /**
- * Items and related shipping address within a transaction.
- *
- * @return \PayPal\Api\ItemList
- */
- public function getItemList()
- {
- return $this->item_list;
- }
-
- /**
- * URL to send payment notifications
- *
- * @param string $notify_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setNotifyUrl($notify_url)
- {
- UrlValidator::validate($notify_url, "NotifyUrl");
- $this->notify_url = $notify_url;
- return $this;
- }
-
- /**
- * URL to send payment notifications
- *
- * @return string
- */
- public function getNotifyUrl()
- {
- return $this->notify_url;
- }
-
- /**
- * Url on merchant site pertaining to this payment.
- *
- * @param string $order_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setOrderUrl($order_url)
- {
- UrlValidator::validate($order_url, "OrderUrl");
- $this->order_url = $order_url;
- return $this;
- }
-
- /**
- * Url on merchant site pertaining to this payment.
- *
- * @return string
- */
- public function getOrderUrl()
- {
- return $this->order_url;
- }
-
- /**
- * List of external funding being applied to the purchase unit. Each external_funding unit should have a unique reference_id
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ExternalFunding[] $external_funding
- *
- * @return $this
- */
- public function setExternalFunding($external_funding)
- {
- $this->external_funding = $external_funding;
- return $this;
- }
-
- /**
- * List of external funding being applied to the purchase unit. Each external_funding unit should have a unique reference_id
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\ExternalFunding[]
- */
- public function getExternalFunding()
- {
- return $this->external_funding;
- }
-
- /**
- * Append ExternalFunding to the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ExternalFunding $externalFunding
- * @return $this
- */
- public function addExternalFunding($externalFunding)
- {
- if (!$this->getExternalFunding()) {
- return $this->setExternalFunding(array($externalFunding));
- } else {
- return $this->setExternalFunding(
- array_merge($this->getExternalFunding(), array($externalFunding))
- );
- }
- }
-
- /**
- * Remove ExternalFunding from the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ExternalFunding $externalFunding
- * @return $this
- */
- public function removeExternalFunding($externalFunding)
- {
- return $this->setExternalFunding(
- array_diff($this->getExternalFunding(), array($externalFunding))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ChargeModel.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ChargeModel.php
deleted file mode 100644
index de486fe..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ChargeModel.php
+++ /dev/null
@@ -1,89 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the charge model. 128 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Type of charge model. Allowed values: `SHIPPING`, `TAX`.
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Type of charge model. Allowed values: `SHIPPING`, `TAX`.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Specific amount for this charge model.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Specific amount for this charge model.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Cost.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Cost.php
deleted file mode 100644
index b8fa4ec..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Cost.php
+++ /dev/null
@@ -1,69 +0,0 @@
-percent = $percent;
- return $this;
- }
-
- /**
- * Cost in percent. Range of 0 to 100.
- *
- * @return string
- */
- public function getPercent()
- {
- return $this->percent;
- }
-
- /**
- * Cost in amount. Range of 0 to 999999.99.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Cost in amount. Range of 0 to 999999.99.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CountryCode.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CountryCode.php
deleted file mode 100644
index 18b45ac..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CountryCode.php
+++ /dev/null
@@ -1,41 +0,0 @@
-country_code = $country_code;
- return $this;
- }
-
- /**
- * ISO country code based on 2-character IS0-3166-1 codes.
- *
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreateProfileResponse.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreateProfileResponse.php
deleted file mode 100644
index 1b36faf..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreateProfileResponse.php
+++ /dev/null
@@ -1,40 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the payment web experience profile.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Credit.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Credit.php
deleted file mode 100644
index a37370d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Credit.php
+++ /dev/null
@@ -1,66 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Unique identifier of credit resource.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * specifies type of credit
- * Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * specifies type of credit
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCard.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCard.php
deleted file mode 100644
index 07af13a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCard.php
+++ /dev/null
@@ -1,559 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the credit card. This ID is provided in the response when storing credit cards. **Required if using a stored credit card.**
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Credit card number. Numeric characters only with no spaces or punctuation. The string must conform with modulo and length required by each credit card type. *Redacted in responses.*
- *
- * @param string $number
- *
- * @return $this
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * Credit card number. Numeric characters only with no spaces or punctuation. The string must conform with modulo and length required by each credit card type. *Redacted in responses.*
- *
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * Credit card type. Valid types are: `visa`, `mastercard`, `discover`, `amex`
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Credit card type. Valid types are: `visa`, `mastercard`, `discover`, `amex`
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Expiration month with no leading zero. Acceptable values are 1 through 12.
- *
- * @param int $expire_month
- *
- * @return $this
- */
- public function setExpireMonth($expire_month)
- {
- $this->expire_month = $expire_month;
- return $this;
- }
-
- /**
- * Expiration month with no leading zero. Acceptable values are 1 through 12.
- *
- * @return int
- */
- public function getExpireMonth()
- {
- return $this->expire_month;
- }
-
- /**
- * 4-digit expiration year.
- *
- * @param int $expire_year
- *
- * @return $this
- */
- public function setExpireYear($expire_year)
- {
- $this->expire_year = $expire_year;
- return $this;
- }
-
- /**
- * 4-digit expiration year.
- *
- * @return int
- */
- public function getExpireYear()
- {
- return $this->expire_year;
- }
-
- /**
- * 3-4 digit card validation code.
- *
- * @param string $cvv2
- *
- * @return $this
- */
- public function setCvv2($cvv2)
- {
- $this->cvv2 = $cvv2;
- return $this;
- }
-
- /**
- * 3-4 digit card validation code.
- *
- * @return string
- */
- public function getCvv2()
- {
- return $this->cvv2;
- }
-
- /**
- * Cardholder's first name.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * Cardholder's first name.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Cardholder's last name.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Cardholder's last name.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Billing Address associated with this card.
- *
- * @param \PayPal\Api\Address $billing_address
- *
- * @return $this
- */
- public function setBillingAddress($billing_address)
- {
- $this->billing_address = $billing_address;
- return $this;
- }
-
- /**
- * Billing Address associated with this card.
- *
- * @return \PayPal\Api\Address
- */
- public function getBillingAddress()
- {
- return $this->billing_address;
- }
-
- /**
- * A unique identifier of the customer to whom this bank account belongs. Generated and provided by the facilitator. **This is now used in favor of `payer_id` when creating or using a stored funding instrument in the vault.**
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * A unique identifier of the customer to whom this bank account belongs. Generated and provided by the facilitator. **This is now used in favor of `payer_id` when creating or using a stored funding instrument in the vault.**
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * A user provided, optional convenvience field that functions as a unique identifier for the merchant on behalf of whom this credit card is being stored for. Note that this has no relation to PayPal merchant id
- *
- * @param string $merchant_id
- *
- * @return $this
- */
- public function setMerchantId($merchant_id)
- {
- $this->merchant_id = $merchant_id;
- return $this;
- }
-
- /**
- * A user provided, optional convenvience field that functions as a unique identifier for the merchant on behalf of whom this credit card is being stored for. Note that this has no relation to PayPal merchant id
- *
- * @return string
- */
- public function getMerchantId()
- {
- return $this->merchant_id;
- }
-
- /**
- * A unique identifier that you can assign and track when storing a credit card or using a stored credit card. This ID can help to avoid unintentional use or misuse of credit cards. This ID can be any value you would like to associate with the saved card, such as a UUID, username, or email address. Required when using a stored credit card if a payer_id was originally provided when storing the credit card in vault.
- *
- * @deprecated This is being deprecated in favor of the `external_customer_id` property.
- * @param string $payer_id
- *
- * @return $this
- */
- public function setPayerId($payer_id)
- {
- $this->payer_id = $payer_id;
- return $this;
- }
-
- /**
- * A unique identifier that you can assign and track when storing a credit card or using a stored credit card. This ID can help to avoid unintentional use or misuse of credit cards. This ID can be any value you would like to associate with the saved card, such as a UUID, username, or email address. Required when using a stored credit card if a payer_id was originally provided when storing the credit card in vault.
- *
- * @deprecated This is being deprecated in favor of the `external_customer_id` property.
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
- /**
- * A unique identifier of the bank account resource. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchant.
- *
- * @param string $external_card_id
- *
- * @return $this
- */
- public function setExternalCardId($external_card_id)
- {
- $this->external_card_id = $external_card_id;
- return $this;
- }
-
- /**
- * A unique identifier of the bank account resource. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchant.
- *
- * @return string
- */
- public function getExternalCardId()
- {
- return $this->external_card_id;
- }
-
- /**
- * State of the funding instrument.
- * Valid Values: ["expired", "ok"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the credit card funding instrument.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Funding instrument expiration date.
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Resource creation time as ISO8601 date-time format (ex: 1994-11-05T13:15:30Z) that indicates creation time.
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Resource creation time as ISO8601 date-time format (ex: 1994-11-05T13:15:30Z) that indicates the updation time.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Resource creation time as ISO8601 date-time format (ex: 1994-11-05T13:15:30Z) that indicates the updation time.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Date/Time until this resource can be used fund a payment.
- *
- * @param string $valid_until
- *
- * @return $this
- */
- public function setValidUntil($valid_until)
- {
- $this->valid_until = $valid_until;
- return $this;
- }
-
- /**
- * Funding instrument expiration date.
- *
- * @return string
- */
- public function getValidUntil()
- {
- return $this->valid_until;
- }
-
- /**
- * Creates a new Credit Card Resource (aka Tokenize).
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return CreditCard
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/vault/credit-cards",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Obtain the Credit Card resource for the given identifier.
- *
- * @param string $creditCardId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return CreditCard
- */
- public static function get($creditCardId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($creditCardId, 'creditCardId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/vault/credit-cards/$creditCardId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new CreditCard();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Delete the Credit Card resource for the given identifier.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function delete($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- self::executeCall(
- "/v1/vault/credit-cards/{$this->getId()}",
- "DELETE",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Update information in a previously saved card. Only the modified fields need to be passed in the request.
- *
- * @param PatchRequest $patchRequest
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return CreditCard
- */
- public function update($patchRequest, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patchRequest, 'patch');
- $payload = $patchRequest->toJSON();
- $json = self::executeCall(
- "/v1/vault/credit-cards/{$this->getId()}",
- "PATCH",
- $payload,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Retrieves a list of Credit Card resources.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return CreditCardList
- */
- public static function all($params, $apiContext = null, $restCall = null)
- {
- if (is_null($params)) {
- $params = array();
- }
- ArgumentValidator::validate($params, 'params');
- $payLoad = "";
- $allowedParams = array(
- 'page_size' => 1,
- 'page' => 1,
- 'start_time' => 1,
- 'end_time' => 1,
- 'sort_order' => 1,
- 'sort_by' => 1,
- 'merchant_id' => 1,
- 'external_card_id' => 1,
- 'external_customer_id' => 1,
- );
- $json = self::executeCall(
- "/v1/vault/credit-cards" . "?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new CreditCardList();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardHistory.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardHistory.php
deleted file mode 100644
index f8d0a94..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardHistory.php
+++ /dev/null
@@ -1,91 +0,0 @@
-{"credit-cards"} = $credit_cards;
- return $this;
- }
-
- /**
- * A list of credit card resources
- *
- * @return \PayPal\Api\CreditCard
- */
- public function getCreditCards()
- {
- return $this->{"credit-cards"};
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- *
- * @param int $count
- *
- * @return $this
- */
- public function setCount($count)
- {
- $this->count = $count;
- return $this;
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @return int
- */
- public function getCount()
- {
- return $this->count;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- *
- * @param string $next_id
- *
- * @return $this
- */
- public function setNextId($next_id)
- {
- $this->next_id = $next_id;
- return $this;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- * @return string
- */
- public function getNextId()
- {
- return $this->next_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardList.php
deleted file mode 100644
index 97ba6aa..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardList.php
+++ /dev/null
@@ -1,120 +0,0 @@
-items = $items;
- return $this;
- }
-
- /**
- * A list of credit card resources
- *
- * @return \PayPal\Api\CreditCard[]
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * Append Items to the list.
- *
- * @param \PayPal\Api\CreditCard $creditCard
- * @return $this
- */
- public function addItem($creditCard)
- {
- if (!$this->getItems()) {
- return $this->setItems(array($creditCard));
- } else {
- return $this->setItems(
- array_merge($this->getItems(), array($creditCard))
- );
- }
- }
-
- /**
- * Remove Items from the list.
- *
- * @param \PayPal\Api\CreditCard $creditCard
- * @return $this
- */
- public function removeItem($creditCard)
- {
- return $this->setItems(
- array_diff($this->getItems(), array($creditCard))
- );
- }
-
- /**
- * Total number of items present in the given list. Note that the number of items might be larger than the records in the current page.
- *
- * @param int $total_items
- *
- * @return $this
- */
- public function setTotalItems($total_items)
- {
- $this->total_items = $total_items;
- return $this;
- }
-
- /**
- * Total number of items present in the given list. Note that the number of items might be larger than the records in the current page.
- *
- * @return int
- */
- public function getTotalItems()
- {
- return $this->total_items;
- }
-
- /**
- * Total number of pages that exist, for the total number of items, with the given page size.
- *
- * @param int $total_pages
- *
- * @return $this
- */
- public function setTotalPages($total_pages)
- {
- $this->total_pages = $total_pages;
- return $this;
- }
-
- /**
- * Total number of pages that exist, for the total number of items, with the given page size.
- *
- * @return int
- */
- public function getTotalPages()
- {
- return $this->total_pages;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardToken.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardToken.php
deleted file mode 100644
index b43e196..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCardToken.php
+++ /dev/null
@@ -1,161 +0,0 @@
-credit_card_id = $credit_card_id;
- return $this;
- }
-
- /**
- * ID of credit card previously stored using `/vault/credit-card`.
- *
- * @return string
- */
- public function getCreditCardId()
- {
- return $this->credit_card_id;
- }
-
- /**
- * A unique identifier that you can assign and track when storing a credit card or using a stored credit card. This ID can help to avoid unintentional use or misuse of credit cards. This ID can be any value you would like to associate with the saved card, such as a UUID, username, or email address. **Required when using a stored credit card if a payer_id was originally provided when storing the credit card in vault.**
- *
- * @param string $payer_id
- *
- * @return $this
- */
- public function setPayerId($payer_id)
- {
- $this->payer_id = $payer_id;
- return $this;
- }
-
- /**
- * A unique identifier that you can assign and track when storing a credit card or using a stored credit card. This ID can help to avoid unintentional use or misuse of credit cards. This ID can be any value you would like to associate with the saved card, such as a UUID, username, or email address. **Required when using a stored credit card if a payer_id was originally provided when storing the credit card in vault.**
- *
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
- /**
- * Last four digits of the stored credit card number.
- *
- * @param string $last4
- *
- * @return $this
- */
- public function setLast4($last4)
- {
- $this->last4 = $last4;
- return $this;
- }
-
- /**
- * Last four digits of the stored credit card number.
- *
- * @return string
- */
- public function getLast4()
- {
- return $this->last4;
- }
-
- /**
- * Credit card type. Valid types are: `visa`, `mastercard`, `discover`, `amex`. Values are presented in lowercase and not should not be used for display.
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Credit card type. Valid types are: `visa`, `mastercard`, `discover`, `amex`. Values are presented in lowercase and not should not be used for display.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Expiration month with no leading zero. Acceptable values are 1 through 12.
- *
- * @param int $expire_month
- *
- * @return $this
- */
- public function setExpireMonth($expire_month)
- {
- $this->expire_month = $expire_month;
- return $this;
- }
-
- /**
- * Expiration month with no leading zero. Acceptable values are 1 through 12.
- *
- * @return int
- */
- public function getExpireMonth()
- {
- return $this->expire_month;
- }
-
- /**
- * 4-digit expiration year.
- *
- * @param int $expire_year
- *
- * @return $this
- */
- public function setExpireYear($expire_year)
- {
- $this->expire_year = $expire_year;
- return $this;
- }
-
- /**
- * 4-digit expiration year.
- *
- * @return int
- */
- public function getExpireYear()
- {
- return $this->expire_year;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditFinancingOffered.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditFinancingOffered.php
deleted file mode 100644
index bb24617..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditFinancingOffered.php
+++ /dev/null
@@ -1,161 +0,0 @@
-total_cost = $total_cost;
- return $this;
- }
-
- /**
- * This is the estimated total payment amount including interest and fees the user will pay during the lifetime of the loan.
- *
- * @return \PayPal\Api\Currency
- */
- public function getTotalCost()
- {
- return $this->total_cost;
- }
-
- /**
- * Length of financing terms in month
- *
- * @param \PayPal\Api\number $term
- *
- * @return $this
- */
- public function setTerm($term)
- {
- $this->term = $term;
- return $this;
- }
-
- /**
- * Length of financing terms in month
- *
- * @return \PayPal\Api\number
- */
- public function getTerm()
- {
- return $this->term;
- }
-
- /**
- * This is the estimated amount per month that the customer will need to pay including fees and interest.
- *
- * @param \PayPal\Api\Currency $monthly_payment
- *
- * @return $this
- */
- public function setMonthlyPayment($monthly_payment)
- {
- $this->monthly_payment = $monthly_payment;
- return $this;
- }
-
- /**
- * This is the estimated amount per month that the customer will need to pay including fees and interest.
- *
- * @return \PayPal\Api\Currency
- */
- public function getMonthlyPayment()
- {
- return $this->monthly_payment;
- }
-
- /**
- * Estimated interest or fees amount the payer will have to pay during the lifetime of the loan.
- *
- * @param \PayPal\Api\Currency $total_interest
- *
- * @return $this
- */
- public function setTotalInterest($total_interest)
- {
- $this->total_interest = $total_interest;
- return $this;
- }
-
- /**
- * Estimated interest or fees amount the payer will have to pay during the lifetime of the loan.
- *
- * @return \PayPal\Api\Currency
- */
- public function getTotalInterest()
- {
- return $this->total_interest;
- }
-
- /**
- * Status on whether the customer ultimately was approved for and chose to make the payment using the approved installment credit.
- *
- * @param bool $payer_acceptance
- *
- * @return $this
- */
- public function setPayerAcceptance($payer_acceptance)
- {
- $this->payer_acceptance = $payer_acceptance;
- return $this;
- }
-
- /**
- * Status on whether the customer ultimately was approved for and chose to make the payment using the approved installment credit.
- *
- * @return bool
- */
- public function getPayerAcceptance()
- {
- return $this->payer_acceptance;
- }
-
- /**
- * Indicates whether the cart amount is editable after payer's acceptance on PayPal side
- *
- * @param bool $cart_amount_immutable
- *
- * @return $this
- */
- public function setCartAmountImmutable($cart_amount_immutable)
- {
- $this->cart_amount_immutable = $cart_amount_immutable;
- return $this;
- }
-
- /**
- * Indicates whether the cart amount is editable after payer's acceptance on PayPal side
- *
- * @return bool
- */
- public function getCartAmountImmutable()
- {
- return $this->cart_amount_immutable;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Currency.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Currency.php
deleted file mode 100644
index eb53eb9..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Currency.php
+++ /dev/null
@@ -1,69 +0,0 @@
-currency = $currency;
- return $this;
- }
-
- /**
- * 3 letter currency code as defined by ISO 4217.
- *
- * @return string
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * amount up to N digit after the decimals separator as defined in ISO 4217 for the appropriate currency code.
- *
- * @param string|double $value
- *
- * @return $this
- */
- public function setValue($value)
- {
- NumericValidator::validate($value, "Value");
- $value = FormatConverter::formatToPrice($value, $this->getCurrency());
- $this->value = $value;
- return $this;
- }
-
- /**
- * amount up to N digit after the decimals separator as defined in ISO 4217 for the appropriate currency code.
- *
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CurrencyConversion.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CurrencyConversion.php
deleted file mode 100644
index 3811277..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CurrencyConversion.php
+++ /dev/null
@@ -1,268 +0,0 @@
-conversion_date = $conversion_date;
- return $this;
- }
-
- /**
- * Date of validity for the conversion rate.
- *
- * @return string
- */
- public function getConversionDate()
- {
- return $this->conversion_date;
- }
-
- /**
- * 3 letter currency code
- *
- * @param string $from_currency
- *
- * @return $this
- */
- public function setFromCurrency($from_currency)
- {
- $this->from_currency = $from_currency;
- return $this;
- }
-
- /**
- * 3 letter currency code
- *
- * @return string
- */
- public function getFromCurrency()
- {
- return $this->from_currency;
- }
-
- /**
- * Amount participating in currency conversion, set to 1 as default
- *
- * @param string $from_amount
- *
- * @return $this
- */
- public function setFromAmount($from_amount)
- {
- $this->from_amount = $from_amount;
- return $this;
- }
-
- /**
- * Amount participating in currency conversion, set to 1 as default
- *
- * @return string
- */
- public function getFromAmount()
- {
- return $this->from_amount;
- }
-
- /**
- * 3 letter currency code
- *
- * @param string $to_currency
- *
- * @return $this
- */
- public function setToCurrency($to_currency)
- {
- $this->to_currency = $to_currency;
- return $this;
- }
-
- /**
- * 3 letter currency code
- *
- * @return string
- */
- public function getToCurrency()
- {
- return $this->to_currency;
- }
-
- /**
- * Amount resulting from currency conversion.
- *
- * @param string $to_amount
- *
- * @return $this
- */
- public function setToAmount($to_amount)
- {
- $this->to_amount = $to_amount;
- return $this;
- }
-
- /**
- * Amount resulting from currency conversion.
- *
- * @return string
- */
- public function getToAmount()
- {
- return $this->to_amount;
- }
-
- /**
- * Field indicating conversion type applied.
- * Valid Values: ["PAYPAL", "VENDOR"]
- *
- * @param string $conversion_type
- *
- * @return $this
- */
- public function setConversionType($conversion_type)
- {
- $this->conversion_type = $conversion_type;
- return $this;
- }
-
- /**
- * Field indicating conversion type applied.
- *
- * @return string
- */
- public function getConversionType()
- {
- return $this->conversion_type;
- }
-
- /**
- * Allow Payer to change conversion type.
- *
- * @param bool $conversion_type_changeable
- *
- * @return $this
- */
- public function setConversionTypeChangeable($conversion_type_changeable)
- {
- $this->conversion_type_changeable = $conversion_type_changeable;
- return $this;
- }
-
- /**
- * Allow Payer to change conversion type.
- *
- * @return bool
- */
- public function getConversionTypeChangeable()
- {
- return $this->conversion_type_changeable;
- }
-
- /**
- * Base URL to web applications endpoint
- * Valid Values: ["https://www.paypal.com/{country_code}/webapps/xocspartaweb/webflow/sparta/proxwebflow", "https://www.paypal.com/{country_code}/proxflow"]
- *
- * @deprecated Not publicly available
- * @param string $web_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setWebUrl($web_url)
- {
- UrlValidator::validate($web_url, "WebUrl");
- $this->web_url = $web_url;
- return $this;
- }
-
- /**
- * Base URL to web applications endpoint
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getWebUrl()
- {
- return $this->web_url;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CustomAmount.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CustomAmount.php
deleted file mode 100644
index 47f9d75..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CustomAmount.php
+++ /dev/null
@@ -1,65 +0,0 @@
-label = $label;
- return $this;
- }
-
- /**
- * Custom amount label. 25 characters max.
- *
- * @return string
- */
- public function getLabel()
- {
- return $this->label;
- }
-
- /**
- * Custom amount value. Range of 0 to 999999.99.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Custom amount value. Range of 0 to 999999.99.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Details.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Details.php
deleted file mode 100644
index a196416..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Details.php
+++ /dev/null
@@ -1,227 +0,0 @@
-subtotal = $subtotal;
- return $this;
- }
-
- /**
- * Amount of the subtotal of the items. **Required** if line items are specified. 10 characters max, with support for 2 decimal places.
- *
- * @return string
- */
- public function getSubtotal()
- {
- return $this->subtotal;
- }
-
- /**
- * Amount charged for shipping. 10 characters max with support for 2 decimal places.
- *
- * @param string|double $shipping
- *
- * @return $this
- */
- public function setShipping($shipping)
- {
- NumericValidator::validate($shipping, "Shipping");
- $shipping = FormatConverter::formatToPrice($shipping);
- $this->shipping = $shipping;
- return $this;
- }
-
- /**
- * Amount charged for shipping. 10 characters max with support for 2 decimal places.
- *
- * @return string
- */
- public function getShipping()
- {
- return $this->shipping;
- }
-
- /**
- * Amount charged for tax. 10 characters max with support for 2 decimal places.
- *
- * @param string|double $tax
- *
- * @return $this
- */
- public function setTax($tax)
- {
- NumericValidator::validate($tax, "Tax");
- $tax = FormatConverter::formatToPrice($tax);
- $this->tax = $tax;
- return $this;
- }
-
- /**
- * Amount charged for tax. 10 characters max with support for 2 decimal places.
- *
- * @return string
- */
- public function getTax()
- {
- return $this->tax;
- }
-
- /**
- * Amount being charged for the handling fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string|double $handling_fee
- *
- * @return $this
- */
- public function setHandlingFee($handling_fee)
- {
- NumericValidator::validate($handling_fee, "Handling Fee");
- $handling_fee = FormatConverter::formatToPrice($handling_fee);
- $this->handling_fee = $handling_fee;
- return $this;
- }
-
- /**
- * Amount being charged for the handling fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getHandlingFee()
- {
- return $this->handling_fee;
- }
-
- /**
- * Amount being discounted for the shipping fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string|double $shipping_discount
- *
- * @return $this
- */
- public function setShippingDiscount($shipping_discount)
- {
- NumericValidator::validate($shipping_discount, "Shipping Discount");
- $shipping_discount = FormatConverter::formatToPrice($shipping_discount);
- $this->shipping_discount = $shipping_discount;
- return $this;
- }
-
- /**
- * Amount being discounted for the shipping fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getShippingDiscount()
- {
- return $this->shipping_discount;
- }
-
- /**
- * Amount being charged for the insurance fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string|double $insurance
- *
- * @return $this
- */
- public function setInsurance($insurance)
- {
- NumericValidator::validate($insurance, "Insurance");
- $insurance = FormatConverter::formatToPrice($insurance);
- $this->insurance = $insurance;
- return $this;
- }
-
- /**
- * Amount being charged for the insurance fee. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getInsurance()
- {
- return $this->insurance;
- }
-
- /**
- * Amount being charged as gift wrap fee.
- *
- * @param string|double $gift_wrap
- *
- * @return $this
- */
- public function setGiftWrap($gift_wrap)
- {
- NumericValidator::validate($gift_wrap, "Gift Wrap");
- $gift_wrap = FormatConverter::formatToPrice($gift_wrap);
- $this->gift_wrap = $gift_wrap;
- return $this;
- }
-
- /**
- * Amount being charged as gift wrap fee.
- *
- * @return string
- */
- public function getGiftWrap()
- {
- return $this->gift_wrap;
- }
-
- /**
- * Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
- *
- * @param string|double $fee
- *
- * @return $this
- */
- public function setFee($fee)
- {
- NumericValidator::validate($fee, "Fee");
- $fee = FormatConverter::formatToPrice($fee);
- $this->fee = $fee;
- return $this;
- }
-
- /**
- * Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
- *
- * @return string
- */
- public function getFee()
- {
- return $this->fee;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Error.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Error.php
deleted file mode 100644
index 1ad013d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Error.php
+++ /dev/null
@@ -1,321 +0,0 @@
-name = $name;
- return $this;
- }
-
- /**
- * Human readable, unique name of the error.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Reference ID of the purchase_unit associated with this error
- *
- * @deprecated Not publicly available
- * @param string $purchase_unit_reference_id
- *
- * @return $this
- */
- public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
- {
- $this->purchase_unit_reference_id = $purchase_unit_reference_id;
- return $this;
- }
-
- /**
- * Reference ID of the purchase_unit associated with this error
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getPurchaseUnitReferenceId()
- {
- return $this->purchase_unit_reference_id;
- }
-
- /**
- * Message describing the error.
- *
- * @param string $message
- *
- * @return $this
- */
- public function setMessage($message)
- {
- $this->message = $message;
- return $this;
- }
-
- /**
- * Message describing the error.
- *
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * PayPal internal error code.
- *
- * @deprecated Not publicly available
- * @param string $code
- *
- * @return $this
- */
- public function setCode($code)
- {
- $this->code = $code;
- return $this;
- }
-
- /**
- * PayPal internal error code.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Additional details of the error
- *
- * @param \PayPal\Api\ErrorDetails[] $details
- *
- * @return $this
- */
- public function setDetails($details)
- {
- $this->details = $details;
- return $this;
- }
-
- /**
- * Additional details of the error
- *
- * @return \PayPal\Api\ErrorDetails[]
- */
- public function getDetails()
- {
- return $this->details;
- }
-
- /**
- * Append Details to the list.
- *
- * @param \PayPal\Api\ErrorDetails $errorDetails
- * @return $this
- */
- public function addDetail($errorDetails)
- {
- if (!$this->getDetails()) {
- return $this->setDetails(array($errorDetails));
- } else {
- return $this->setDetails(
- array_merge($this->getDetails(), array($errorDetails))
- );
- }
- }
-
- /**
- * Remove Details from the list.
- *
- * @param \PayPal\Api\ErrorDetails $errorDetails
- * @return $this
- */
- public function removeDetail($errorDetails)
- {
- return $this->setDetails(
- array_diff($this->getDetails(), array($errorDetails))
- );
- }
-
- /**
- * response codes returned from a payment processor such as avs, cvv, etc. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ProcessorResponse $processor_response
- *
- * @return $this
- */
- public function setProcessorResponse($processor_response)
- {
- $this->processor_response = $processor_response;
- return $this;
- }
-
- /**
- * response codes returned from a payment processor such as avs, cvv, etc. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\ProcessorResponse
- */
- public function getProcessorResponse()
- {
- return $this->processor_response;
- }
-
- /**
- * Fraud filter details. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\FmfDetails $fmf_details
- *
- * @return $this
- */
- public function setFmfDetails($fmf_details)
- {
- $this->fmf_details = $fmf_details;
- return $this;
- }
-
- /**
- * Fraud filter details. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\FmfDetails
- */
- public function getFmfDetails()
- {
- return $this->fmf_details;
- }
-
- /**
- * URI for detailed information related to this error for the developer.
- *
- * @param string $information_link
- *
- * @return $this
- */
- public function setInformationLink($information_link)
- {
- $this->information_link = $information_link;
- return $this;
- }
-
- /**
- * URI for detailed information related to this error for the developer.
- *
- * @return string
- */
- public function getInformationLink()
- {
- return $this->information_link;
- }
-
- /**
- * PayPal internal identifier used for correlation purposes.
- *
- * @param string $debug_id
- *
- * @return $this
- */
- public function setDebugId($debug_id)
- {
- $this->debug_id = $debug_id;
- return $this;
- }
-
- /**
- * PayPal internal identifier used for correlation purposes.
- *
- * @return string
- */
- public function getDebugId()
- {
- return $this->debug_id;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ErrorDetails.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ErrorDetails.php
deleted file mode 100644
index 2885a2e..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ErrorDetails.php
+++ /dev/null
@@ -1,115 +0,0 @@
-field = $field;
- return $this;
- }
-
- /**
- * Name of the field that caused the error.
- *
- * @return string
- */
- public function getField()
- {
- return $this->field;
- }
-
- /**
- * Reason for the error.
- *
- * @param string $issue
- *
- * @return $this
- */
- public function setIssue($issue)
- {
- $this->issue = $issue;
- return $this;
- }
-
- /**
- * Reason for the error.
- *
- * @return string
- */
- public function getIssue()
- {
- return $this->issue;
- }
-
- /**
- * Reference ID of the purchase_unit associated with this error
- *
- * @deprecated Not publicly available
- * @param string $purchase_unit_reference_id
- *
- * @return $this
- */
- public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
- {
- $this->purchase_unit_reference_id = $purchase_unit_reference_id;
- return $this;
- }
-
- /**
- * Reference ID of the purchase_unit associated with this error
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getPurchaseUnitReferenceId()
- {
- return $this->purchase_unit_reference_id;
- }
-
- /**
- * PayPal internal error code.
- *
- * @deprecated Not publicly available
- * @param string $code
- *
- * @return $this
- */
- public function setCode($code)
- {
- $this->code = $code;
- return $this;
- }
-
- /**
- * PayPal internal error code.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExtendedBankAccount.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExtendedBankAccount.php
deleted file mode 100644
index ce771b2..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExtendedBankAccount.php
+++ /dev/null
@@ -1,40 +0,0 @@
-mandate_reference_number = $mandate_reference_number;
- return $this;
- }
-
- /**
- * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getMandateReferenceNumber()
- {
- return $this->mandate_reference_number;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExternalFunding.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExternalFunding.php
deleted file mode 100644
index 67eb2b9..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ExternalFunding.php
+++ /dev/null
@@ -1,137 +0,0 @@
-reference_id = $reference_id;
- return $this;
- }
-
- /**
- * Unique identifier for the external funding
- *
- * @return string
- */
- public function getReferenceId()
- {
- return $this->reference_id;
- }
-
- /**
- * Generic identifier for the external funding
- *
- * @param string $code
- *
- * @return $this
- */
- public function setCode($code)
- {
- $this->code = $code;
- return $this;
- }
-
- /**
- * Generic identifier for the external funding
- *
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Encrypted PayPal Account identifier for the funding account
- *
- * @param string $funding_account_id
- *
- * @return $this
- */
- public function setFundingAccountId($funding_account_id)
- {
- $this->funding_account_id = $funding_account_id;
- return $this;
- }
-
- /**
- * Encrypted PayPal Account identifier for the funding account
- *
- * @return string
- */
- public function getFundingAccountId()
- {
- return $this->funding_account_id;
- }
-
- /**
- * Description of the external funding being applied
- *
- * @param string $display_text
- *
- * @return $this
- */
- public function setDisplayText($display_text)
- {
- $this->display_text = $display_text;
- return $this;
- }
-
- /**
- * Description of the external funding being applied
- *
- * @return string
- */
- public function getDisplayText()
- {
- return $this->display_text;
- }
-
- /**
- * Amount being funded by the external funding account
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being funded by the external funding account
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FlowConfig.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FlowConfig.php
deleted file mode 100644
index a8ae332..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FlowConfig.php
+++ /dev/null
@@ -1,69 +0,0 @@
-landing_page_type = $landing_page_type;
- return $this;
- }
-
- /**
- * Type of PayPal page to be displayed when a user lands on the PayPal site for checkout. Allowed values: `Billing` or `Login`. When set to `Billing`, the Non-PayPal account landing page is used. When set to `Login`, the PayPal account login landing page is used.
- *
- * @return string
- */
- public function getLandingPageType()
- {
- return $this->landing_page_type;
- }
-
- /**
- * The URL on the merchant site for transferring to after a bank transfer payment.
- *
- *
- * @param string $bank_txn_pending_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setBankTxnPendingUrl($bank_txn_pending_url)
- {
- UrlValidator::validate($bank_txn_pending_url, "BankTxnPendingUrl");
- $this->bank_txn_pending_url = $bank_txn_pending_url;
- return $this;
- }
-
- /**
- * The URL on the merchant site for transferring to after a bank transfer payment.
- *
- * @return string
- */
- public function getBankTxnPendingUrl()
- {
- return $this->bank_txn_pending_url;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FmfDetails.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FmfDetails.php
deleted file mode 100644
index 0d58cef..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FmfDetails.php
+++ /dev/null
@@ -1,115 +0,0 @@
-filter_type = $filter_type;
- return $this;
- }
-
- /**
- * Type of filter.
- *
- * @return string
- */
- public function getFilterType()
- {
- return $this->filter_type;
- }
-
- /**
- * Filter Identifier.
- * Valid Values: ["AVS_NO_MATCH", "AVS_PARTIAL_MATCH", "AVS_UNAVAILABLE_OR_UNSUPPORTED", "CARD_SECURITY_CODE_MISMATCH", "MAXIMUM_TRANSACTION_AMOUNT", "UNCONFIRMED_ADDRESS", "COUNTRY_MONITOR", "LARGE_ORDER_NUMBER", "BILLING_OR_SHIPPING_ADDRESS_MISMATCH", "RISKY_ZIP_CODE", "SUSPECTED_FREIGHT_FORWARDER_CHECK", "TOTAL_PURCHASE_PRICE_MINIMUM", "IP_ADDRESS_VELOCITY", "RISKY_EMAIL_ADDRESS_DOMAIN_CHECK", "RISKY_BANK_IDENTIFICATION_NUMBER_CHECK", "RISKY_IP_ADDRESS_RANGE", "PAYPAL_FRAUD_MODEL"]
- *
- * @param string $filter_id
- *
- * @return $this
- */
- public function setFilterId($filter_id)
- {
- $this->filter_id = $filter_id;
- return $this;
- }
-
- /**
- * Filter Identifier.
- *
- * @return string
- */
- public function getFilterId()
- {
- return $this->filter_id;
- }
-
- /**
- * Name of the filter
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the filter
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the filter.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the filter.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingDetail.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingDetail.php
deleted file mode 100644
index 00bad31..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingDetail.php
+++ /dev/null
@@ -1,114 +0,0 @@
-clearing_time = $clearing_time;
- return $this;
- }
-
- /**
- * Expected clearing time
- *
- * @return string
- */
- public function getClearingTime()
- {
- return $this->clearing_time;
- }
-
- /**
- * [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
- *
- * @param string $payment_hold_date
- *
- * @return $this
- */
- public function setPaymentHoldDate($payment_hold_date)
- {
- $this->payment_hold_date = $payment_hold_date;
- return $this;
- }
-
- /**
- * @deprecated [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
- *
- * @return string
- */
- public function getPaymentHoldDate()
- {
- return $this->payment_hold_date;
- }
-
- /**
- * Date when funds will be debited from the payer's account
- *
- * @param string $payment_debit_date
- *
- * @return $this
- */
- public function setPaymentDebitDate($payment_debit_date)
- {
- $this->payment_debit_date = $payment_debit_date;
- return $this;
- }
-
- /**
- * Date when funds will be debited from the payer's account
- *
- * @return string
- */
- public function getPaymentDebitDate()
- {
- return $this->payment_debit_date;
- }
-
- /**
- * Processing type of the payment card
- * Valid Values: ["PINLESS_DEBIT"]
- *
- * @param string $processing_type
- *
- * @return $this
- */
- public function setProcessingType($processing_type)
- {
- $this->processing_type = $processing_type;
- return $this;
- }
-
- /**
- * Processing type of the payment card
- *
- * @return string
- */
- public function getProcessingType()
- {
- return $this->processing_type;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingInstrument.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingInstrument.php
deleted file mode 100644
index 1890730..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingInstrument.php
+++ /dev/null
@@ -1,339 +0,0 @@
-credit_card = $credit_card;
- return $this;
- }
-
- /**
- * Credit Card instrument.
- *
- * @return \PayPal\Api\CreditCard
- */
- public function getCreditCard()
- {
- return $this->credit_card;
- }
-
- /**
- * PayPal vaulted credit Card instrument.
- *
- * @param \PayPal\Api\CreditCardToken $credit_card_token
- *
- * @return $this
- */
- public function setCreditCardToken($credit_card_token)
- {
- $this->credit_card_token = $credit_card_token;
- return $this;
- }
-
- /**
- * PayPal vaulted credit Card instrument.
- *
- * @return \PayPal\Api\CreditCardToken
- */
- public function getCreditCardToken()
- {
- return $this->credit_card_token;
- }
-
- /**
- * Payment Card information.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\PaymentCard $payment_card
- *
- * @return $this
- */
- public function setPaymentCard($payment_card)
- {
- $this->payment_card = $payment_card;
- return $this;
- }
-
- /**
- * Payment Card information.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\PaymentCard
- */
- public function getPaymentCard()
- {
- return $this->payment_card;
- }
-
- /**
- * Bank Account information.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ExtendedBankAccount $bank_account
- *
- * @return $this
- */
- public function setBankAccount($bank_account)
- {
- $this->bank_account = $bank_account;
- return $this;
- }
-
- /**
- * Bank Account information.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\ExtendedBankAccount
- */
- public function getBankAccount()
- {
- return $this->bank_account;
- }
-
- /**
- * Vaulted bank account instrument.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\BankToken $bank_account_token
- *
- * @return $this
- */
- public function setBankAccountToken($bank_account_token)
- {
- $this->bank_account_token = $bank_account_token;
- return $this;
- }
-
- /**
- * Vaulted bank account instrument.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\BankToken
- */
- public function getBankAccountToken()
- {
- return $this->bank_account_token;
- }
-
- /**
- * PayPal credit funding instrument.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Credit $credit
- *
- * @return $this
- */
- public function setCredit($credit)
- {
- $this->credit = $credit;
- return $this;
- }
-
- /**
- * PayPal credit funding instrument.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Credit
- */
- public function getCredit()
- {
- return $this->credit;
- }
-
- /**
- * Incentive funding instrument.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Incentive $incentive
- *
- * @return $this
- */
- public function setIncentive($incentive)
- {
- $this->incentive = $incentive;
- return $this;
- }
-
- /**
- * Incentive funding instrument.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Incentive
- */
- public function getIncentive()
- {
- return $this->incentive;
- }
-
- /**
- * External funding instrument.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\ExternalFunding $external_funding
- *
- * @return $this
- */
- public function setExternalFunding($external_funding)
- {
- $this->external_funding = $external_funding;
- return $this;
- }
-
- /**
- * External funding instrument.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\ExternalFunding
- */
- public function getExternalFunding()
- {
- return $this->external_funding;
- }
-
- /**
- * Carrier account token instrument.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\CarrierAccountToken $carrier_account_token
- *
- * @return $this
- */
- public function setCarrierAccountToken($carrier_account_token)
- {
- $this->carrier_account_token = $carrier_account_token;
- return $this;
- }
-
- /**
- * Carrier account token instrument.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\CarrierAccountToken
- */
- public function getCarrierAccountToken()
- {
- return $this->carrier_account_token;
- }
-
- /**
- * Carrier account instrument
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\CarrierAccount $carrier_account
- *
- * @return $this
- */
- public function setCarrierAccount($carrier_account)
- {
- $this->carrier_account = $carrier_account;
- return $this;
- }
-
- /**
- * Carrier account instrument
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\CarrierAccount
- */
- public function getCarrierAccount()
- {
- return $this->carrier_account;
- }
-
- /**
- * Private Label Card funding instrument. These are store cards provided by merchants to drive business with value to customer with convenience and rewards.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\PrivateLabelCard $private_label_card
- *
- * @return $this
- */
- public function setPrivateLabelCard($private_label_card)
- {
- $this->private_label_card = $private_label_card;
- return $this;
- }
-
- /**
- * Private Label Card funding instrument. These are store cards provided by merchants to drive business with value to customer with convenience and rewards.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\PrivateLabelCard
- */
- public function getPrivateLabelCard()
- {
- return $this->private_label_card;
- }
-
- /**
- * Billing instrument that references pre-approval information for the payment
- *
- * @param \PayPal\Api\Billing $billing
- *
- * @return $this
- */
- public function setBilling($billing)
- {
- $this->billing = $billing;
- return $this;
- }
-
- /**
- * Billing instrument that references pre-approval information for the payment
- *
- * @return \PayPal\Api\Billing
- */
- public function getBilling()
- {
- return $this->billing;
- }
-
- /**
- * Alternate Payment information - Mostly regional payment providers. For e.g iDEAL in Netherlands
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\AlternatePayment $alternate_payment
- *
- * @return $this
- */
- public function setAlternatePayment($alternate_payment)
- {
- $this->alternate_payment = $alternate_payment;
- return $this;
- }
-
- /**
- * Alternate Payment information - Mostly regional payment providers. For e.g iDEAL in Netherlands
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\AlternatePayment
- */
- public function getAlternatePayment()
- {
- return $this->alternate_payment;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingOption.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingOption.php
deleted file mode 100644
index 9848a0c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingOption.php
+++ /dev/null
@@ -1,221 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * id of the funding option.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * List of funding sources that contributes to a payment.
- *
- * @param \PayPal\Api\FundingSource[] $funding_sources
- *
- * @return $this
- */
- public function setFundingSources($funding_sources)
- {
- $this->funding_sources = $funding_sources;
- return $this;
- }
-
- /**
- * List of funding sources that contributes to a payment.
- *
- * @return \PayPal\Api\FundingSource[]
- */
- public function getFundingSources()
- {
- return $this->funding_sources;
- }
-
- /**
- * Append FundingSources to the list.
- *
- * @param \PayPal\Api\FundingSource $fundingSource
- * @return $this
- */
- public function addFundingSource($fundingSource)
- {
- if (!$this->getFundingSources()) {
- return $this->setFundingSources(array($fundingSource));
- } else {
- return $this->setFundingSources(
- array_merge($this->getFundingSources(), array($fundingSource))
- );
- }
- }
-
- /**
- * Remove FundingSources from the list.
- *
- * @param \PayPal\Api\FundingSource $fundingSource
- * @return $this
- */
- public function removeFundingSource($fundingSource)
- {
- return $this->setFundingSources(
- array_diff($this->getFundingSources(), array($fundingSource))
- );
- }
-
- /**
- * Backup funding instrument which will be used for payment if primary fails.
- *
- * @param \PayPal\Api\FundingInstrument $backup_funding_instrument
- *
- * @return $this
- */
- public function setBackupFundingInstrument($backup_funding_instrument)
- {
- $this->backup_funding_instrument = $backup_funding_instrument;
- return $this;
- }
-
- /**
- * Backup funding instrument which will be used for payment if primary fails.
- *
- * @return \PayPal\Api\FundingInstrument
- */
- public function getBackupFundingInstrument()
- {
- return $this->backup_funding_instrument;
- }
-
- /**
- * Currency conversion applicable to this funding option.
- *
- * @param \PayPal\Api\CurrencyConversion $currency_conversion
- *
- * @return $this
- */
- public function setCurrencyConversion($currency_conversion)
- {
- $this->currency_conversion = $currency_conversion;
- return $this;
- }
-
- /**
- * Currency conversion applicable to this funding option.
- *
- * @return \PayPal\Api\CurrencyConversion
- */
- public function getCurrencyConversion()
- {
- return $this->currency_conversion;
- }
-
- /**
- * Installment options available for a funding option.
- *
- * @param \PayPal\Api\InstallmentInfo $installment_info
- *
- * @return $this
- */
- public function setInstallmentInfo($installment_info)
- {
- $this->installment_info = $installment_info;
- return $this;
- }
-
- /**
- * Installment options available for a funding option.
- *
- * @return \PayPal\Api\InstallmentInfo
- */
- public function getInstallmentInfo()
- {
- return $this->installment_info;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingSource.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingSource.php
deleted file mode 100644
index 5b39be6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingSource.php
+++ /dev/null
@@ -1,289 +0,0 @@
-funding_mode = $funding_mode;
- return $this;
- }
-
- /**
- * specifies funding mode of the instrument
- *
- * @return string
- */
- public function getFundingMode()
- {
- return $this->funding_mode;
- }
-
- /**
- * Instrument type for this funding source
- * Valid Values: ["BALANCE", "PAYMENT_CARD", "BANK_ACCOUNT", "CREDIT", "INCENTIVE"]
- *
- * @param string $funding_instrument_type
- *
- * @return $this
- */
- public function setFundingInstrumentType($funding_instrument_type)
- {
- $this->funding_instrument_type = $funding_instrument_type;
- return $this;
- }
-
- /**
- * Instrument type for this funding source
- *
- * @return string
- */
- public function getFundingInstrumentType()
- {
- return $this->funding_instrument_type;
- }
-
- /**
- * Soft descriptor used when charging this funding source.
- *
- * @param string $soft_descriptor
- *
- * @return $this
- */
- public function setSoftDescriptor($soft_descriptor)
- {
- $this->soft_descriptor = $soft_descriptor;
- return $this;
- }
-
- /**
- * Soft descriptor used when charging this funding source.
- *
- * @return string
- */
- public function getSoftDescriptor()
- {
- return $this->soft_descriptor;
- }
-
- /**
- * Total anticipated amount of money to be pulled from instrument.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Total anticipated amount of money to be pulled from instrument.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Additional amount to be pulled from the instrument to recover a negative balance on the buyer
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setNegativeBalanceAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Additional amount to be pulled from the instrument to recover a negative balance on the buyer
- *
- * @return \PayPal\Api\Currency
- */
- public function getNegativeBalanceAmount()
- {
- return $this->amount;
- }
-
- /**
- * Localized legal text relevant to funding source.
- *
- * @param string $legal_text
- *
- * @return $this
- */
- public function setLegalText($legal_text)
- {
- $this->legal_text = $legal_text;
- return $this;
- }
-
- /**
- * Localized legal text relevant to funding source.
- *
- * @return string
- */
- public function getLegalText()
- {
- return $this->legal_text;
- }
-
- /**
- * Additional detail of the funding.
- *
- * @param \PayPal\Api\FundingDetail $funding_detail
- *
- * @return $this
- */
- public function setFundingDetail($funding_detail)
- {
- $this->funding_detail = $funding_detail;
- return $this;
- }
-
- /**
- * Additional detail of the funding.
- *
- * @return \PayPal\Api\FundingDetail
- */
- public function getFundingDetail()
- {
- return $this->funding_detail;
- }
-
- /**
- * Additional text relevant to funding source.
- *
- * @param string $additional_text
- *
- * @return $this
- */
- public function setAdditionalText($additional_text)
- {
- $this->additional_text = $additional_text;
- return $this;
- }
-
- /**
- * Additional text relevant to funding source.
- *
- * @return string
- */
- public function getAdditionalText()
- {
- return $this->additional_text;
- }
-
- /**
- * Sets Extends
- *
- * @param \PayPal\Api\FundingInstrument $extends
- *
- * @return $this
- */
- public function setExtends($extends)
- {
- $this->extends = $extends;
- return $this;
- }
-
- /**
- * Gets Extends
- *
- * @return \PayPal\Api\FundingInstrument
- */
- public function getExtends()
- {
- return $this->extends;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FuturePayment.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FuturePayment.php
deleted file mode 100644
index 7e49a37..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FuturePayment.php
+++ /dev/null
@@ -1,75 +0,0 @@
- $clientMetadataId
- );
- }
- $payLoad = $this->toJSON();
- $call = new PayPalRestCall($apiContext);
- $json = $call->execute(
- array('PayPal\Handler\RestHandler'),
- "/v1/payments/payment",
- "POST",
- $payLoad,
- $headers
- );
- $this->fromJson($json);
-
- return $this;
-
- }
-
- /**
- * Get a Refresh Token from Authorization Code
- *
- * @param $authorizationCode
- * @param ApiContext $apiContext
- * @return string|null refresh token
- */
- public static function getRefreshToken($authorizationCode, $apiContext = null)
- {
- $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
- $credential = $apiContext->getCredential();
- return $credential->getRefreshToken($apiContext->getConfig(), $authorizationCode);
- }
-
- /**
- * Updates Access Token using long lived refresh token
- *
- * @param string|null $refreshToken
- * @param ApiContext $apiContext
- * @return void
- */
- public function updateAccessToken($refreshToken, $apiContext)
- {
- $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
- $apiContext->getCredential()->updateAccessToken($apiContext->getConfig(), $refreshToken);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/HyperSchema.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/HyperSchema.php
deleted file mode 100644
index 7ef5dbb..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/HyperSchema.php
+++ /dev/null
@@ -1,191 +0,0 @@
-links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
- /**
- * Sets FragmentResolution
- *
- * @param string $fragmentResolution
- *
- * @return $this
- */
- public function setFragmentResolution($fragmentResolution)
- {
- $this->fragmentResolution = $fragmentResolution;
- return $this;
- }
-
- /**
- * Gets FragmentResolution
- *
- * @return string
- */
- public function getFragmentResolution()
- {
- return $this->fragmentResolution;
- }
-
- /**
- * Sets Readonly
- *
- * @param bool $readonly
- *
- * @return $this
- */
- public function setReadonly($readonly)
- {
- $this->readonly = $readonly;
- return $this;
- }
-
- /**
- * Gets Readonly
- *
- * @return bool
- */
- public function getReadonly()
- {
- return $this->readonly;
- }
-
- /**
- * Sets ContentEncoding
- *
- * @param string $contentEncoding
- *
- * @return $this
- */
- public function setContentEncoding($contentEncoding)
- {
- $this->contentEncoding = $contentEncoding;
- return $this;
- }
-
- /**
- * Gets ContentEncoding
- *
- * @return string
- */
- public function getContentEncoding()
- {
- return $this->contentEncoding;
- }
-
- /**
- * Sets PathStart
- *
- * @param string $pathStart
- *
- * @return $this
- */
- public function setPathStart($pathStart)
- {
- $this->pathStart = $pathStart;
- return $this;
- }
-
- /**
- * Gets PathStart
- *
- * @return string
- */
- public function getPathStart()
- {
- return $this->pathStart;
- }
-
- /**
- * Sets MediaType
- *
- * @param string $mediaType
- *
- * @return $this
- */
- public function setMediaType($mediaType)
- {
- $this->mediaType = $mediaType;
- return $this;
- }
-
- /**
- * Gets MediaType
- *
- * @return string
- */
- public function getMediaType()
- {
- return $this->mediaType;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Image.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Image.php
deleted file mode 100644
index 71c7d15..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Image.php
+++ /dev/null
@@ -1,56 +0,0 @@
-image = $imageBase64String;
- return $this;
- }
-
- /**
- * Get Image as Base-64 encoded String
- *
- * @return string
- */
- public function getImage()
- {
- return $this->image;
- }
-
- /**
- * Stores the Image to file
- *
- * @param string $name File Name
- * @return string File name
- */
- public function saveToFile($name = null)
- {
- // Self Generate File Location
- if (!$name) {
- $name = uniqid() . '.png';
- }
- // Save to File
- file_put_contents($name, base64_decode($this->getImage()));
- return $name;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Incentive.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Incentive.php
deleted file mode 100644
index 017a34d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Incentive.php
+++ /dev/null
@@ -1,236 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the instrument in PayPal Wallet
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Code that identifies the incentive.
- *
- * @param string $code
- *
- * @return $this
- */
- public function setCode($code)
- {
- $this->code = $code;
- return $this;
- }
-
- /**
- * Code that identifies the incentive.
- *
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Name of the incentive.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the incentive.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the incentive.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the incentive.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Indicates incentive is applicable for this minimum purchase amount.
- *
- * @param \PayPal\Api\Currency $minimum_purchase_amount
- *
- * @return $this
- */
- public function setMinimumPurchaseAmount($minimum_purchase_amount)
- {
- $this->minimum_purchase_amount = $minimum_purchase_amount;
- return $this;
- }
-
- /**
- * Indicates incentive is applicable for this minimum purchase amount.
- *
- * @return \PayPal\Api\Currency
- */
- public function getMinimumPurchaseAmount()
- {
- return $this->minimum_purchase_amount;
- }
-
- /**
- * Logo image url for the incentive.
- *
- * @param string $logo_image_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setLogoImageUrl($logo_image_url)
- {
- UrlValidator::validate($logo_image_url, "LogoImageUrl");
- $this->logo_image_url = $logo_image_url;
- return $this;
- }
-
- /**
- * Logo image url for the incentive.
- *
- * @return string
- */
- public function getLogoImageUrl()
- {
- return $this->logo_image_url;
- }
-
- /**
- * expiry date of the incentive.
- *
- * @param string $expiry_date
- *
- * @return $this
- */
- public function setExpiryDate($expiry_date)
- {
- $this->expiry_date = $expiry_date;
- return $this;
- }
-
- /**
- * expiry date of the incentive.
- *
- * @return string
- */
- public function getExpiryDate()
- {
- return $this->expiry_date;
- }
-
- /**
- * Specifies type of incentive
- * Valid Values: ["COUPON", "GIFT_CARD", "MERCHANT_SPECIFIC_BALANCE", "VOUCHER"]
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Specifies type of incentive
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * URI to the associated terms
- *
- * @param string $terms
- *
- * @return $this
- */
- public function setTerms($terms)
- {
- $this->terms = $terms;
- return $this;
- }
-
- /**
- * URI to the associated terms
- *
- * @return string
- */
- public function getTerms()
- {
- return $this->terms;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InputFields.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InputFields.php
deleted file mode 100644
index 0bcf805..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InputFields.php
+++ /dev/null
@@ -1,92 +0,0 @@
-allow_note = $allow_note;
- return $this;
- }
-
- /**
- * Enables the buyer to enter a note to the merchant on the PayPal page during checkout.
- *
- * @return bool
- */
- public function getAllowNote()
- {
- return $this->allow_note;
- }
-
- /**
- * Determines whether or not PayPal displays shipping address fields on the experience pages. Allowed values: `0`, `1`, or `2`. When set to `0`, PayPal displays the shipping address on the PayPal pages. When set to `1`, PayPal does not display shipping address fields whatsoever. When set to `2`, if you do not pass the shipping address, PayPal obtains it from the buyer's account profile. For digital goods, this field is required, and you must set it to `1`.
- *
- *
- * @param int $no_shipping
- *
- * @return $this
- */
- public function setNoShipping($no_shipping)
- {
- $this->no_shipping = $no_shipping;
- return $this;
- }
-
- /**
- * Determines whether or not PayPal displays shipping address fields on the experience pages. Allowed values: `0`, `1`, or `2`. When set to `0`, PayPal displays the shipping address on the PayPal pages. When set to `1`, PayPal does not display shipping address fields whatsoever. When set to `2`, if you do not pass the shipping address, PayPal obtains it from the buyer's account profile. For digital goods, this field is required, and you must set it to `1`.
- *
- * @return int
- */
- public function getNoShipping()
- {
- return $this->no_shipping;
- }
-
- /**
- * Determines whether or not the PayPal pages should display the shipping address and not the shipping address on file with PayPal for this buyer. Displaying the PayPal street address on file does not allow the buyer to edit that address. Allowed values: `0` or `1`. When set to `0`, the PayPal pages should not display the shipping address. When set to `1`, the PayPal pages should display the shipping address.
- *
- *
- * @param int $address_override
- *
- * @return $this
- */
- public function setAddressOverride($address_override)
- {
- $this->address_override = $address_override;
- return $this;
- }
-
- /**
- * Determines whether or not the PayPal pages should display the shipping address and not the shipping address on file with PayPal for this buyer. Displaying the PayPal street address on file does not allow the buyer to edit that address. Allowed values: `0` or `1`. When set to `0`, the PayPal pages should not display the shipping address. When set to `1`, the PayPal pages should display the shipping address.
- *
- * @return int
- */
- public function getAddressOverride()
- {
- return $this->address_override;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentInfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentInfo.php
deleted file mode 100644
index d0cbc51..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentInfo.php
+++ /dev/null
@@ -1,144 +0,0 @@
-installment_id = $installment_id;
- return $this;
- }
-
- /**
- * Installment id.
- *
- * @return string
- */
- public function getInstallmentId()
- {
- return $this->installment_id;
- }
-
- /**
- * Credit card network.
- * Valid Values: ["VISA", "MASTERCARD"]
- *
- * @param string $network
- *
- * @return $this
- */
- public function setNetwork($network)
- {
- $this->network = $network;
- return $this;
- }
-
- /**
- * Credit card network.
- *
- * @return string
- */
- public function getNetwork()
- {
- return $this->network;
- }
-
- /**
- * Credit card issuer.
- *
- * @param string $issuer
- *
- * @return $this
- */
- public function setIssuer($issuer)
- {
- $this->issuer = $issuer;
- return $this;
- }
-
- /**
- * Credit card issuer.
- *
- * @return string
- */
- public function getIssuer()
- {
- return $this->issuer;
- }
-
- /**
- * List of available installment options and the cost associated with each one.
- *
- * @param \PayPal\Api\InstallmentOption[] $installment_options
- *
- * @return $this
- */
- public function setInstallmentOptions($installment_options)
- {
- $this->installment_options = $installment_options;
- return $this;
- }
-
- /**
- * List of available installment options and the cost associated with each one.
- *
- * @return \PayPal\Api\InstallmentOption[]
- */
- public function getInstallmentOptions()
- {
- return $this->installment_options;
- }
-
- /**
- * Append InstallmentOptions to the list.
- *
- * @param \PayPal\Api\InstallmentOption $installmentOption
- * @return $this
- */
- public function addInstallmentOption($installmentOption)
- {
- if (!$this->getInstallmentOptions()) {
- return $this->setInstallmentOptions(array($installmentOption));
- } else {
- return $this->setInstallmentOptions(
- array_merge($this->getInstallmentOptions(), array($installmentOption))
- );
- }
- }
-
- /**
- * Remove InstallmentOptions from the list.
- *
- * @param \PayPal\Api\InstallmentOption $installmentOption
- * @return $this
- */
- public function removeInstallmentOption($installmentOption)
- {
- return $this->setInstallmentOptions(
- array_diff($this->getInstallmentOptions(), array($installmentOption))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentOption.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentOption.php
deleted file mode 100644
index 43342b7..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InstallmentOption.php
+++ /dev/null
@@ -1,113 +0,0 @@
-term = $term;
- return $this;
- }
-
- /**
- * Number of installments
- *
- * @return int
- */
- public function getTerm()
- {
- return $this->term;
- }
-
- /**
- * Monthly payment
- *
- * @param \PayPal\Api\Currency $monthly_payment
- *
- * @return $this
- */
- public function setMonthlyPayment($monthly_payment)
- {
- $this->monthly_payment = $monthly_payment;
- return $this;
- }
-
- /**
- * Monthly payment
- *
- * @return \PayPal\Api\Currency
- */
- public function getMonthlyPayment()
- {
- return $this->monthly_payment;
- }
-
- /**
- * Discount amount applied to the payment, if any
- *
- * @param \PayPal\Api\Currency $discount_amount
- *
- * @return $this
- */
- public function setDiscountAmount($discount_amount)
- {
- $this->discount_amount = $discount_amount;
- return $this;
- }
-
- /**
- * Discount amount applied to the payment, if any
- *
- * @return \PayPal\Api\Currency
- */
- public function getDiscountAmount()
- {
- return $this->discount_amount;
- }
-
- /**
- * Discount percentage applied to the payment, if any
- *
- * @param string $discount_percentage
- *
- * @return $this
- */
- public function setDiscountPercentage($discount_percentage)
- {
- $this->discount_percentage = $discount_percentage;
- return $this;
- }
-
- /**
- * Discount percentage applied to the payment, if any
- *
- * @return string
- */
- public function getDiscountPercentage()
- {
- return $this->discount_percentage;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Invoice.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Invoice.php
deleted file mode 100644
index df82c6e..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Invoice.php
+++ /dev/null
@@ -1,1020 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Unique invoice resource identifier.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Unique number that appears on the invoice. If left blank will be auto-incremented from the last number. 25 characters max.
- *
- * @param string $number
- *
- * @return $this
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * Unique number that appears on the invoice. If left blank will be auto-incremented from the last number. 25 characters max.
- *
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * URI of the invoice resource.
- *
- * @param string $uri
- *
- * @return $this
- */
- public function setUri($uri)
- {
- $this->uri = $uri;
- return $this;
- }
-
- /**
- * URI of the invoice resource.
- *
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * Status of the invoice.
- * Valid Values: ["DRAFT", "SENT", "PAID", "MARKED_AS_PAID", "CANCELLED", "REFUNDED", "PARTIALLY_REFUNDED", "MARKED_AS_REFUNDED"]
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * Status of the invoice.
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Information about the merchant who is sending the invoice.
- *
- * @param \PayPal\Api\MerchantInfo $merchant_info
- *
- * @return $this
- */
- public function setMerchantInfo($merchant_info)
- {
- $this->merchant_info = $merchant_info;
- return $this;
- }
-
- /**
- * Information about the merchant who is sending the invoice.
- *
- * @return \PayPal\Api\MerchantInfo
- */
- public function getMerchantInfo()
- {
- return $this->merchant_info;
- }
-
- /**
- * Email address of invoice recipient (required) and optional billing information. (Note: We currently only allow one recipient).
- *
- * @param \PayPal\Api\BillingInfo[] $billing_info
- *
- * @return $this
- */
- public function setBillingInfo($billing_info)
- {
- $this->billing_info = $billing_info;
- return $this;
- }
-
- /**
- * Email address of invoice recipient (required) and optional billing information. (Note: We currently only allow one recipient).
- *
- * @return \PayPal\Api\BillingInfo[]
- */
- public function getBillingInfo()
- {
- return $this->billing_info;
- }
-
- /**
- * Append BillingInfo to the list.
- *
- * @param \PayPal\Api\BillingInfo $billingInfo
- * @return $this
- */
- public function addBillingInfo($billingInfo)
- {
- if (!$this->getBillingInfo()) {
- return $this->setBillingInfo(array($billingInfo));
- } else {
- return $this->setBillingInfo(
- array_merge($this->getBillingInfo(), array($billingInfo))
- );
- }
- }
-
- /**
- * Remove BillingInfo from the list.
- *
- * @param \PayPal\Api\BillingInfo $billingInfo
- * @return $this
- */
- public function removeBillingInfo($billingInfo)
- {
- return $this->setBillingInfo(
- array_diff($this->getBillingInfo(), array($billingInfo))
- );
- }
-
- /**
- * Shipping information for entities to whom items are being shipped.
- *
- * @param \PayPal\Api\ShippingInfo $shipping_info
- *
- * @return $this
- */
- public function setShippingInfo($shipping_info)
- {
- $this->shipping_info = $shipping_info;
- return $this;
- }
-
- /**
- * Shipping information for entities to whom items are being shipped.
- *
- * @return \PayPal\Api\ShippingInfo
- */
- public function getShippingInfo()
- {
- return $this->shipping_info;
- }
-
- /**
- * List of items included in the invoice. 100 items max per invoice.
- *
- * @param \PayPal\Api\InvoiceItem[] $items
- *
- * @return $this
- */
- public function setItems($items)
- {
- $this->items = $items;
- return $this;
- }
-
- /**
- * List of items included in the invoice. 100 items max per invoice.
- *
- * @return \PayPal\Api\InvoiceItem[]
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * Append Items to the list.
- *
- * @param \PayPal\Api\InvoiceItem $invoiceItem
- * @return $this
- */
- public function addItem($invoiceItem)
- {
- if (!$this->getItems()) {
- return $this->setItems(array($invoiceItem));
- } else {
- return $this->setItems(
- array_merge($this->getItems(), array($invoiceItem))
- );
- }
- }
-
- /**
- * Remove Items from the list.
- *
- * @param \PayPal\Api\InvoiceItem $invoiceItem
- * @return $this
- */
- public function removeItem($invoiceItem)
- {
- return $this->setItems(
- array_diff($this->getItems(), array($invoiceItem))
- );
- }
-
- /**
- * Date on which the invoice was enabled. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $invoice_date
- *
- * @return $this
- */
- public function setInvoiceDate($invoice_date)
- {
- $this->invoice_date = $invoice_date;
- return $this;
- }
-
- /**
- * Date on which the invoice was enabled. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getInvoiceDate()
- {
- return $this->invoice_date;
- }
-
- /**
- * Optional field to pass payment deadline for the invoice. Either term_type or due_date can be passed, but not both.
- *
- * @param \PayPal\Api\PaymentTerm $payment_term
- *
- * @return $this
- */
- public function setPaymentTerm($payment_term)
- {
- $this->payment_term = $payment_term;
- return $this;
- }
-
- /**
- * Optional field to pass payment deadline for the invoice. Either term_type or due_date can be passed, but not both.
- *
- * @return \PayPal\Api\PaymentTerm
- */
- public function getPaymentTerm()
- {
- return $this->payment_term;
- }
-
- /**
- * Invoice level discount in percent or amount.
- *
- * @param \PayPal\Api\Cost $discount
- *
- * @return $this
- */
- public function setDiscount($discount)
- {
- $this->discount = $discount;
- return $this;
- }
-
- /**
- * Invoice level discount in percent or amount.
- *
- * @return \PayPal\Api\Cost
- */
- public function getDiscount()
- {
- return $this->discount;
- }
-
- /**
- * Shipping cost in percent or amount.
- *
- * @param \PayPal\Api\ShippingCost $shipping_cost
- *
- * @return $this
- */
- public function setShippingCost($shipping_cost)
- {
- $this->shipping_cost = $shipping_cost;
- return $this;
- }
-
- /**
- * Shipping cost in percent or amount.
- *
- * @return \PayPal\Api\ShippingCost
- */
- public function getShippingCost()
- {
- return $this->shipping_cost;
- }
-
- /**
- * Custom amount applied on an invoice. If a label is included then the amount cannot be empty.
- *
- * @param \PayPal\Api\CustomAmount $custom
- *
- * @return $this
- */
- public function setCustom($custom)
- {
- $this->custom = $custom;
- return $this;
- }
-
- /**
- * Custom amount applied on an invoice. If a label is included then the amount cannot be empty.
- *
- * @return \PayPal\Api\CustomAmount
- */
- public function getCustom()
- {
- return $this->custom;
- }
-
- /**
- * Indicates whether tax is calculated before or after a discount. If false (the default), the tax is calculated before a discount. If true, the tax is calculated after a discount.
- *
- * @param bool $tax_calculated_after_discount
- *
- * @return $this
- */
- public function setTaxCalculatedAfterDiscount($tax_calculated_after_discount)
- {
- $this->tax_calculated_after_discount = $tax_calculated_after_discount;
- return $this;
- }
-
- /**
- * Indicates whether tax is calculated before or after a discount. If false (the default), the tax is calculated before a discount. If true, the tax is calculated after a discount.
- *
- * @return bool
- */
- public function getTaxCalculatedAfterDiscount()
- {
- return $this->tax_calculated_after_discount;
- }
-
- /**
- * A flag indicating whether the unit price includes tax. Default is false
- *
- * @param bool $tax_inclusive
- *
- * @return $this
- */
- public function setTaxInclusive($tax_inclusive)
- {
- $this->tax_inclusive = $tax_inclusive;
- return $this;
- }
-
- /**
- * A flag indicating whether the unit price includes tax. Default is false
- *
- * @return bool
- */
- public function getTaxInclusive()
- {
- return $this->tax_inclusive;
- }
-
- /**
- * General terms of the invoice. 4000 characters max.
- *
- * @param string $terms
- *
- * @return $this
- */
- public function setTerms($terms)
- {
- $this->terms = $terms;
- return $this;
- }
-
- /**
- * General terms of the invoice. 4000 characters max.
- *
- * @return string
- */
- public function getTerms()
- {
- return $this->terms;
- }
-
- /**
- * Note to the payer. 4000 characters max.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Note to the payer. 4000 characters max.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * Bookkeeping memo that is private to the merchant. 150 characters max.
- *
- * @param string $merchant_memo
- *
- * @return $this
- */
- public function setMerchantMemo($merchant_memo)
- {
- $this->merchant_memo = $merchant_memo;
- return $this;
- }
-
- /**
- * Bookkeeping memo that is private to the merchant. 150 characters max.
- *
- * @return string
- */
- public function getMerchantMemo()
- {
- return $this->merchant_memo;
- }
-
- /**
- * Full URL of an external image to use as the logo. 4000 characters max.
- *
- * @param string $logo_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setLogoUrl($logo_url)
- {
- UrlValidator::validate($logo_url, "LogoUrl");
- $this->logo_url = $logo_url;
- return $this;
- }
-
- /**
- * Full URL of an external image to use as the logo. 4000 characters max.
- *
- * @return string
- */
- public function getLogoUrl()
- {
- return $this->logo_url;
- }
-
- /**
- * The total amount of the invoice.
- *
- * @param \PayPal\Api\Currency $total_amount
- *
- * @return $this
- */
- public function setTotalAmount($total_amount)
- {
- $this->total_amount = $total_amount;
- return $this;
- }
-
- /**
- * The total amount of the invoice.
- *
- * @return \PayPal\Api\Currency
- */
- public function getTotalAmount()
- {
- return $this->total_amount;
- }
-
- /**
- * List of payment details for the invoice.
- *
- * @param \PayPal\Api\PaymentDetail[] $payments
- *
- * @return $this
- */
- public function setPayments($payments)
- {
- $this->payments = $payments;
- return $this;
- }
-
- /**
- * List of payment details for the invoice.
- *
- * @return \PayPal\Api\PaymentDetail[]
- */
- public function getPayments()
- {
- return $this->payments;
- }
-
- /**
- * Append PaymentDetails to the list.
- *
- * @param \PayPal\Api\PaymentDetail $paymentDetail
- * @return $this
- */
- public function addPaymentDetail($paymentDetail)
- {
- if (!$this->getPayments()) {
- return $this->setPayments(array($paymentDetail));
- } else {
- return $this->setPayments(
- array_merge($this->getPayments(), array($paymentDetail))
- );
- }
- }
-
- /**
- * Remove PaymentDetails from the list.
- *
- * @param \PayPal\Api\PaymentDetail $paymentDetail
- * @return $this
- */
- public function removePaymentDetail($paymentDetail)
- {
- return $this->setPayments(
- array_diff($this->getPayments(), array($paymentDetail))
- );
- }
-
- /**
- * List of refund details for the invoice.
- *
- * @param \PayPal\Api\RefundDetail[] $refunds
- *
- * @return $this
- */
- public function setRefunds($refunds)
- {
- $this->refunds = $refunds;
- return $this;
- }
-
- /**
- * List of refund details for the invoice.
- *
- * @return \PayPal\Api\RefundDetail[]
- */
- public function getRefunds()
- {
- return $this->refunds;
- }
-
- /**
- * Append RefundDetails to the list.
- *
- * @param \PayPal\Api\RefundDetail $refundDetail
- * @return $this
- */
- public function addRefundDetail($refundDetail)
- {
- if (!$this->getRefunds()) {
- return $this->setRefunds(array($refundDetail));
- } else {
- return $this->setRefunds(
- array_merge($this->getRefunds(), array($refundDetail))
- );
- }
- }
-
- /**
- * Remove RefundDetails from the list.
- *
- * @param \PayPal\Api\RefundDetail $refundDetail
- * @return $this
- */
- public function removeRefundDetail($refundDetail)
- {
- return $this->setRefunds(
- array_diff($this->getRefunds(), array($refundDetail))
- );
- }
-
- /**
- * Audit information for the invoice.
- *
- * @param \PayPal\Api\Metadata $metadata
- *
- * @return $this
- */
- public function setMetadata($metadata)
- {
- $this->metadata = $metadata;
- return $this;
- }
-
- /**
- * Audit information for the invoice.
- *
- * @return \PayPal\Api\Metadata
- */
- public function getMetadata()
- {
- return $this->metadata;
- }
-
- /**
- * Any miscellaneous invoice data. 4000 characters max.
- *
- * @param string $additional_data
- *
- * @return $this
- */
- public function setAdditionalData($additional_data)
- {
- $this->additional_data = $additional_data;
- return $this;
- }
-
- /**
- * Any miscellaneous invoice data. 4000 characters max.
- *
- * @return string
- */
- public function getAdditionalData()
- {
- return $this->additional_data;
- }
-
- /**
- * Create a new invoice by passing the details for the invoice, including the merchant_info, to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Invoice
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/invoicing/invoices",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Search for a specific invoice or invoices by passing a search object that specifies your search criteria to the request URI.
- *
- * @param Search $search
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return InvoiceSearchResponse
- */
- public static function search($search, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($search, 'search');
- $payLoad = $search->toJSON();
- $json = self::executeCall(
- "/v1/invoicing/search",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new InvoiceSearchResponse();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Send a specific invoice to its intended recipient by passing the invoice ID to the request URI. Optionally, you can specify whether to send the merchant an invoice update notification by using the notify_merchant query parameter. By default, notify_merchant is true.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function send($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}/send",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Send a reminder about a specific invoice to its intended recipient by providing the ID of the invoice in the request URI. In addition, pass a notification object that specifies the subject of the reminder and other details in the request JSON.
- *
- * @param Notification $notification
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function remind($notification, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($notification, 'notification');
- $payLoad = $notification->toJSON();
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}/remind",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Cancel an invoice by passing the invoice ID to the request URI.
- *
- * @param CancelNotification $cancelNotification
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function cancel($cancelNotification, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($cancelNotification, 'cancelNotification');
- $payLoad = $cancelNotification->toJSON();
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}/cancel",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Mark the status of an invoice as paid by passing the invoice ID to the request URI. In addition, pass a payment detail object that specifies the payment method and other details in the request JSON.
- *
- * @param PaymentDetail $paymentDetail
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function recordPayment($paymentDetail, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($paymentDetail, 'paymentDetail');
- $payLoad = $paymentDetail->toJSON();
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}/record-payment",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Mark the status of an invoice as refunded by passing the invoice ID to the request URI. In addition, pass a refund-detail object that specifies the type of refund and other details in the request JSON.
- *
- * @param RefundDetail $refundDetail
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function recordRefund($refundDetail, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($refundDetail, 'refundDetail');
- $payLoad = $refundDetail->toJSON();
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}/record-refund",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Retrieve the details for a particular invoice by passing the invoice ID to the request URI.
- *
- * @param string $invoiceId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Invoice
- */
- public static function get($invoiceId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($invoiceId, 'invoiceId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/invoicing/invoices/$invoiceId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Invoice();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * List some or all invoices for a merchant according to optional query string parameters specified.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return InvoiceSearchResponse
- */
- public static function getAll($params = array(), $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($params, 'params');
-
- $allowedParams = array(
- 'page' => 1,
- 'page_size' => 1,
- 'total_count_required' => 1
- );
-
- $payLoad = "";
- $json = self::executeCall(
- "/v1/invoicing/invoices/?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new InvoiceSearchResponse();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Fully update an invoice by passing the invoice ID to the request URI. In addition, pass a complete invoice object in the request JSON. Partial updates are not supported.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Invoice
- */
- public function update($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}",
- "PUT",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Delete a particular invoice by passing the invoice ID to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function delete($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- self::executeCall(
- "/v1/invoicing/invoices/{$this->getId()}",
- "DELETE",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Generate a QR code for an invoice by passing the invoice ID to the request URI. The request generates a QR code that is 500 pixels in width and height. You can change the dimensions of the returned code by specifying optional query parameters.
- *
- * @param array $params
- * @param string $invoiceId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Image
- */
- public static function qrCode($invoiceId, $params = array(), $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($invoiceId, 'invoiceId');
- ArgumentValidator::validate($params, 'params');
-
- $allowedParams = array(
- 'width' => 1,
- 'height' => 1,
- 'action' => 1
- );
-
- $payLoad = "";
- $json = self::executeCall(
- "/v1/invoicing/invoices/$invoiceId/qr-code?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Image();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceAddress.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceAddress.php
deleted file mode 100644
index 7e8786a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceAddress.php
+++ /dev/null
@@ -1,39 +0,0 @@
-phone = $phone;
- return $this;
- }
-
- /**
- * Phone number in E.123 format.
- *
- * @return \PayPal\Api\Phone
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceItem.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceItem.php
deleted file mode 100644
index 3375762..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceItem.php
+++ /dev/null
@@ -1,189 +0,0 @@
-name = $name;
- return $this;
- }
-
- /**
- * Name of the item. 60 characters max.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the item. 1000 characters max.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the item. 1000 characters max.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Quantity of the item. Range of 0 to 9999.999.
- *
- * @param string|double $quantity
- *
- * @return $this
- */
- public function setQuantity($quantity)
- {
- NumericValidator::validate($quantity, "Percent");
- $quantity = FormatConverter::formatToPrice($quantity);
- $this->quantity = $quantity;
- return $this;
- }
-
- /**
- * Quantity of the item. Range of 0 to 9999.999.
- *
- * @return string
- */
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- /**
- * Unit price of the item. Range of -999999.99 to 999999.99.
- *
- * @param \PayPal\Api\Currency $unit_price
- *
- * @return $this
- */
- public function setUnitPrice($unit_price)
- {
- $this->unit_price = $unit_price;
- return $this;
- }
-
- /**
- * Unit price of the item. Range of -999999.99 to 999999.99.
- *
- * @return \PayPal\Api\Currency
- */
- public function getUnitPrice()
- {
- return $this->unit_price;
- }
-
- /**
- * Tax associated with the item.
- *
- * @param \PayPal\Api\Tax $tax
- *
- * @return $this
- */
- public function setTax($tax)
- {
- $this->tax = $tax;
- return $this;
- }
-
- /**
- * Tax associated with the item.
- *
- * @return \PayPal\Api\Tax
- */
- public function getTax()
- {
- return $this->tax;
- }
-
- /**
- * Date on which the item or service was provided. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $date
- *
- * @return $this
- */
- public function setDate($date)
- {
- $this->date = $date;
- return $this;
- }
-
- /**
- * Date on which the item or service was provided. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getDate()
- {
- return $this->date;
- }
-
- /**
- * Item discount in percent or amount.
- *
- * @param \PayPal\Api\Cost $discount
- *
- * @return $this
- */
- public function setDiscount($discount)
- {
- $this->discount = $discount;
- return $this;
- }
-
- /**
- * Item discount in percent or amount.
- *
- * @return \PayPal\Api\Cost
- */
- public function getDiscount()
- {
- return $this->discount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceSearchResponse.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceSearchResponse.php
deleted file mode 100644
index 0634eb6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/InvoiceSearchResponse.php
+++ /dev/null
@@ -1,95 +0,0 @@
-total_count = $total_count;
- return $this;
- }
-
- /**
- * Total number of invoices.
- *
- * @return int
- */
- public function getTotalCount()
- {
- return $this->total_count;
- }
-
- /**
- * List of invoices belonging to a merchant.
- *
- * @param \PayPal\Api\Invoice[] $invoices
- *
- * @return $this
- */
- public function setInvoices($invoices)
- {
- $this->invoices = $invoices;
- return $this;
- }
-
- /**
- * List of invoices belonging to a merchant.
- *
- * @return \PayPal\Api\Invoice[]
- */
- public function getInvoices()
- {
- return $this->invoices;
- }
-
- /**
- * Append Invoices to the list.
- *
- * @param \PayPal\Api\Invoice $invoice
- * @return $this
- */
- public function addInvoice($invoice)
- {
- if (!$this->getInvoices()) {
- return $this->setInvoices(array($invoice));
- } else {
- return $this->setInvoices(
- array_merge($this->getInvoices(), array($invoice))
- );
- }
- }
-
- /**
- * Remove Invoices from the list.
- *
- * @param \PayPal\Api\Invoice $invoice
- * @return $this
- */
- public function removeInvoice($invoice)
- {
- return $this->setInvoices(
- array_diff($this->getInvoices(), array($invoice))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Item.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Item.php
deleted file mode 100644
index 4c647ab..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Item.php
+++ /dev/null
@@ -1,456 +0,0 @@
-sku = $sku;
- return $this;
- }
-
- /**
- * Stock keeping unit corresponding (SKU) to item.
- *
- * @return string
- */
- public function getSku()
- {
- return $this->sku;
- }
-
- /**
- * Item name. 127 characters max.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Item name. 127 characters max.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the item. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the item. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Number of a particular item. 10 characters max.
- *
- * @param string $quantity
- *
- * @return $this
- */
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- return $this;
- }
-
- /**
- * Number of a particular item. 10 characters max.
- *
- * @return string
- */
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- /**
- * Item cost. 10 characters max.
- *
- * @param string|double $price
- *
- * @return $this
- */
- public function setPrice($price)
- {
- NumericValidator::validate($price, "Price");
- $price = FormatConverter::formatToPrice($price, $this->getCurrency());
- $this->price = $price;
- return $this;
- }
-
- /**
- * Item cost. 10 characters max.
- *
- * @return string
- */
- public function getPrice()
- {
- return $this->price;
- }
-
- /**
- * 3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/).
- *
- * @param string $currency
- *
- * @return $this
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * 3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/).
- *
- * @return string
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * Tax of the item. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string|double $tax
- *
- * @return $this
- */
- public function setTax($tax)
- {
- NumericValidator::validate($tax, "Tax");
- $tax = FormatConverter::formatToPrice($tax, $this->getCurrency());
- $this->tax = $tax;
- return $this;
- }
-
- /**
- * Tax of the item. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getTax()
- {
- return $this->tax;
- }
-
- /**
- * URL linking to item information. Available to payer in transaction history.
- *
- * @param string $url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setUrl($url)
- {
- UrlValidator::validate($url, "Url");
- $this->url = $url;
- return $this;
- }
-
- /**
- * URL linking to item information. Available to payer in transaction history.
- *
- * @return string
- */
- public function getUrl()
- {
- return $this->url;
- }
-
- /**
- * Category type of the item.
- * Valid Values: ["DIGITAL", "PHYSICAL"]
- *
- * @param string $category
- *
- * @return $this
- */
- public function setCategory($category)
- {
- $this->category = $category;
- return $this;
- }
-
- /**
- * Category type of the item.
- *
- * @return string
- */
- public function getCategory()
- {
- return $this->category;
- }
-
- /**
- * Weight of the item.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Measurement $weight
- *
- * @return $this
- */
- public function setWeight($weight)
- {
- $this->weight = $weight;
- return $this;
- }
-
- /**
- * Weight of the item.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Measurement
- */
- public function getWeight()
- {
- return $this->weight;
- }
-
- /**
- * Length of the item.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Measurement $length
- *
- * @return $this
- */
- public function setLength($length)
- {
- $this->length = $length;
- return $this;
- }
-
- /**
- * Length of the item.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Measurement
- */
- public function getLength()
- {
- return $this->length;
- }
-
- /**
- * Height of the item.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Measurement $height
- *
- * @return $this
- */
- public function setHeight($height)
- {
- $this->height = $height;
- return $this;
- }
-
- /**
- * Height of the item.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Measurement
- */
- public function getHeight()
- {
- return $this->height;
- }
-
- /**
- * Width of the item.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Measurement $width
- *
- * @return $this
- */
- public function setWidth($width)
- {
- $this->width = $width;
- return $this;
- }
-
- /**
- * Width of the item.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Measurement
- */
- public function getWidth()
- {
- return $this->width;
- }
-
- /**
- * Set of optional data used for PayPal risk determination.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair[] $supplementary_data
- *
- * @return $this
- */
- public function setSupplementaryData($supplementary_data)
- {
- $this->supplementary_data = $supplementary_data;
- return $this;
- }
-
- /**
- * Set of optional data used for PayPal risk determination.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\NameValuePair[]
- */
- public function getSupplementaryData()
- {
- return $this->supplementary_data;
- }
-
- /**
- * Append SupplementaryData to the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair $nameValuePair
- * @return $this
- */
- public function addSupplementaryData($nameValuePair)
- {
- if (!$this->getSupplementaryData()) {
- return $this->setSupplementaryData(array($nameValuePair));
- } else {
- return $this->setSupplementaryData(
- array_merge($this->getSupplementaryData(), array($nameValuePair))
- );
- }
- }
-
- /**
- * Remove SupplementaryData from the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair $nameValuePair
- * @return $this
- */
- public function removeSupplementaryData($nameValuePair)
- {
- return $this->setSupplementaryData(
- array_diff($this->getSupplementaryData(), array($nameValuePair))
- );
- }
-
- /**
- * Set of optional data used for PayPal post-transaction notifications.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair[] $postback_data
- *
- * @return $this
- */
- public function setPostbackData($postback_data)
- {
- $this->postback_data = $postback_data;
- return $this;
- }
-
- /**
- * Set of optional data used for PayPal post-transaction notifications.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\NameValuePair[]
- */
- public function getPostbackData()
- {
- return $this->postback_data;
- }
-
- /**
- * Append PostbackData to the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair $nameValuePair
- * @return $this
- */
- public function addPostbackData($nameValuePair)
- {
- if (!$this->getPostbackData()) {
- return $this->setPostbackData(array($nameValuePair));
- } else {
- return $this->setPostbackData(
- array_merge($this->getPostbackData(), array($nameValuePair))
- );
- }
- }
-
- /**
- * Remove PostbackData from the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\NameValuePair $nameValuePair
- * @return $this
- */
- public function removePostbackData($nameValuePair)
- {
- return $this->setPostbackData(
- array_diff($this->getPostbackData(), array($nameValuePair))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ItemList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ItemList.php
deleted file mode 100644
index 3b674ad..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ItemList.php
+++ /dev/null
@@ -1,143 +0,0 @@
-items = $items;
- return $this;
- }
-
- /**
- * List of items.
- *
- * @return \PayPal\Api\Item[]
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * Append Items to the list.
- *
- * @param \PayPal\Api\Item $item
- * @return $this
- */
- public function addItem($item)
- {
- if (!$this->getItems()) {
- return $this->setItems(array($item));
- } else {
- return $this->setItems(
- array_merge($this->getItems(), array($item))
- );
- }
- }
-
- /**
- * Remove Items from the list.
- *
- * @param \PayPal\Api\Item $item
- * @return $this
- */
- public function removeItem($item)
- {
- return $this->setItems(
- array_diff($this->getItems(), array($item))
- );
- }
-
- /**
- * Shipping address, if different than the payer address.
- *
- * @param \PayPal\Api\ShippingAddress $shipping_address
- *
- * @return $this
- */
- public function setShippingAddress($shipping_address)
- {
- $this->shipping_address = $shipping_address;
- return $this;
- }
-
- /**
- * Shipping address, if different than the payer address.
- *
- * @return \PayPal\Api\ShippingAddress
- */
- public function getShippingAddress()
- {
- return $this->shipping_address;
- }
-
- /**
- * Shipping method used for this payment like USPSParcel etc.
- *
- * @param string $shipping_method
- *
- * @return $this
- */
- public function setShippingMethod($shipping_method)
- {
- $this->shipping_method = $shipping_method;
- return $this;
- }
-
- /**
- * Shipping method used for this payment like USPSParcel etc.
- *
- * @return string
- */
- public function getShippingMethod()
- {
- return $this->shipping_method;
- }
-
- /**
- * Allows merchant's to share payer’s contact number with PayPal for the current payment. Final contact number of payer associated with the transaction might be same as shipping_phone_number or different based on Payer’s action on PayPal. The phone number must be represented in its canonical international format, as defined by the E.164 numbering plan
- *
- * @param string $shipping_phone_number
- *
- * @return $this
- */
- public function setShippingPhoneNumber($shipping_phone_number)
- {
- $this->shipping_phone_number = $shipping_phone_number;
- return $this;
- }
-
- /**
- * Allows merchant's to share payer’s contact number with PayPal for the current payment. Final contact number of payer associated with the transaction might be same as shipping_phone_number or different based on Payer’s action on PayPal. The phone number must be represented in its canonical international format, as defined by the E.164 numbering plan
- *
- * @return string
- */
- public function getShippingPhoneNumber()
- {
- return $this->shipping_phone_number;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Links.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Links.php
deleted file mode 100644
index 7e00880..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Links.php
+++ /dev/null
@@ -1,161 +0,0 @@
-href = $href;
- return $this;
- }
-
- /**
- * Gets Href
- *
- * @return string
- */
- public function getHref()
- {
- return $this->href;
- }
-
- /**
- * Sets Rel
- *
- * @param string $rel
- *
- * @return $this
- */
- public function setRel($rel)
- {
- $this->rel = $rel;
- return $this;
- }
-
- /**
- * Gets Rel
- *
- * @return string
- */
- public function getRel()
- {
- return $this->rel;
- }
-
- /**
- * Sets TargetSchema
- *
- * @param \PayPal\Api\HyperSchema $targetSchema
- *
- * @return $this
- */
- public function setTargetSchema($targetSchema)
- {
- $this->targetSchema = $targetSchema;
- return $this;
- }
-
- /**
- * Gets TargetSchema
- *
- * @return \PayPal\Api\HyperSchema
- */
- public function getTargetSchema()
- {
- return $this->targetSchema;
- }
-
- /**
- * Sets Method
- *
- * @param string $method
- *
- * @return $this
- */
- public function setMethod($method)
- {
- $this->method = $method;
- return $this;
- }
-
- /**
- * Gets Method
- *
- * @return string
- */
- public function getMethod()
- {
- return $this->method;
- }
-
- /**
- * Sets Enctype
- *
- * @param string $enctype
- *
- * @return $this
- */
- public function setEnctype($enctype)
- {
- $this->enctype = $enctype;
- return $this;
- }
-
- /**
- * Gets Enctype
- *
- * @return string
- */
- public function getEnctype()
- {
- return $this->enctype;
- }
-
- /**
- * Sets Schema
- *
- * @param \PayPal\Api\HyperSchema $schema
- *
- * @return $this
- */
- public function setSchema($schema)
- {
- $this->schema = $schema;
- return $this;
- }
-
- /**
- * Gets Schema
- *
- * @return \PayPal\Api\HyperSchema
- */
- public function getSchema()
- {
- return $this->schema;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Measurement.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Measurement.php
deleted file mode 100644
index 5ae9ace..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Measurement.php
+++ /dev/null
@@ -1,65 +0,0 @@
-value = $value;
- return $this;
- }
-
- /**
- * Value this measurement represents.
- *
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * Unit in which the value is represented.
- *
- * @param string $unit
- *
- * @return $this
- */
- public function setUnit($unit)
- {
- $this->unit = $unit;
- return $this;
- }
-
- /**
- * Unit in which the value is represented.
- *
- * @return string
- */
- public function getUnit()
- {
- return $this->unit;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantInfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantInfo.php
deleted file mode 100644
index 4d97d8c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantInfo.php
+++ /dev/null
@@ -1,257 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Email address of the merchant. 260 characters max.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * First name of the merchant. 30 characters max.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * First name of the merchant. 30 characters max.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Last name of the merchant. 30 characters max.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Last name of the merchant. 30 characters max.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Address of the merchant.
- *
- * @param \PayPal\Api\InvoiceAddress $address
- *
- * @return $this
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * Address of the merchant.
- *
- * @return \PayPal\Api\InvoiceAddress
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * Company business name of the merchant. 100 characters max.
- *
- * @param string $business_name
- *
- * @return $this
- */
- public function setBusinessName($business_name)
- {
- $this->business_name = $business_name;
- return $this;
- }
-
- /**
- * Company business name of the merchant. 100 characters max.
- *
- * @return string
- */
- public function getBusinessName()
- {
- return $this->business_name;
- }
-
- /**
- * Phone number of the merchant.
- *
- * @param \PayPal\Api\Phone $phone
- *
- * @return $this
- */
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- /**
- * Phone number of the merchant.
- *
- * @return \PayPal\Api\Phone
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
- /**
- * Fax number of the merchant.
- *
- * @param \PayPal\Api\Phone $fax
- *
- * @return $this
- */
- public function setFax($fax)
- {
- $this->fax = $fax;
- return $this;
- }
-
- /**
- * Fax number of the merchant.
- *
- * @return \PayPal\Api\Phone
- */
- public function getFax()
- {
- return $this->fax;
- }
-
- /**
- * Website of the merchant. 2048 characters max.
- *
- * @param string $website
- *
- * @return $this
- */
- public function setWebsite($website)
- {
- $this->website = $website;
- return $this;
- }
-
- /**
- * Website of the merchant. 2048 characters max.
- *
- * @return string
- */
- public function getWebsite()
- {
- return $this->website;
- }
-
- /**
- * Tax ID of the merchant. 100 characters max.
- *
- * @param string $tax_id
- *
- * @return $this
- */
- public function setTaxId($tax_id)
- {
- $this->tax_id = $tax_id;
- return $this;
- }
-
- /**
- * Tax ID of the merchant. 100 characters max.
- *
- * @return string
- */
- public function getTaxId()
- {
- return $this->tax_id;
- }
-
- /**
- * Option to display additional information such as business hours. 40 characters max.
- *
- * @param string $additional_info
- *
- * @return $this
- */
- public function setAdditionalInfo($additional_info)
- {
- $this->additional_info = $additional_info;
- return $this;
- }
-
- /**
- * Option to display additional information such as business hours. 40 characters max.
- *
- * @return string
- */
- public function getAdditionalInfo()
- {
- return $this->additional_info;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantPreferences.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantPreferences.php
deleted file mode 100644
index b51d604..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantPreferences.php
+++ /dev/null
@@ -1,261 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the merchant_preferences. 128 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Setup fee amount. Default is 0.
- *
- * @param \PayPal\Api\Currency $setup_fee
- *
- * @return $this
- */
- public function setSetupFee($setup_fee)
- {
- $this->setup_fee = $setup_fee;
- return $this;
- }
-
- /**
- * Setup fee amount. Default is 0.
- *
- * @return \PayPal\Api\Currency
- */
- public function getSetupFee()
- {
- return $this->setup_fee;
- }
-
- /**
- * Redirect URL on cancellation of agreement request. 1000 characters max.
- *
- * @param string $cancel_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setCancelUrl($cancel_url)
- {
- UrlValidator::validate($cancel_url, "CancelUrl");
- $this->cancel_url = $cancel_url;
- return $this;
- }
-
- /**
- * Redirect URL on cancellation of agreement request. 1000 characters max.
- *
- * @return string
- */
- public function getCancelUrl()
- {
- return $this->cancel_url;
- }
-
- /**
- * Redirect URL on creation of agreement request. 1000 characters max.
- *
- * @param string $return_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setReturnUrl($return_url)
- {
- UrlValidator::validate($return_url, "ReturnUrl");
- $this->return_url = $return_url;
- return $this;
- }
-
- /**
- * Redirect URL on creation of agreement request. 1000 characters max.
- *
- * @return string
- */
- public function getReturnUrl()
- {
- return $this->return_url;
- }
-
- /**
- * Notify URL on agreement creation. 1000 characters max.
- *
- * @param string $notify_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setNotifyUrl($notify_url)
- {
- UrlValidator::validate($notify_url, "NotifyUrl");
- $this->notify_url = $notify_url;
- return $this;
- }
-
- /**
- * Notify URL on agreement creation. 1000 characters max.
- *
- * @return string
- */
- public function getNotifyUrl()
- {
- return $this->notify_url;
- }
-
- /**
- * Total number of failed attempts allowed. Default is 0, representing an infinite number of failed attempts.
- *
- * @param string $max_fail_attempts
- *
- * @return $this
- */
- public function setMaxFailAttempts($max_fail_attempts)
- {
- $this->max_fail_attempts = $max_fail_attempts;
- return $this;
- }
-
- /**
- * Total number of failed attempts allowed. Default is 0, representing an infinite number of failed attempts.
- *
- * @return string
- */
- public function getMaxFailAttempts()
- {
- return $this->max_fail_attempts;
- }
-
- /**
- * Allow auto billing for the outstanding amount of the agreement in the next cycle. Allowed values: `YES`, `NO`. Default is `NO`.
- *
- * @param string $auto_bill_amount
- *
- * @return $this
- */
- public function setAutoBillAmount($auto_bill_amount)
- {
- $this->auto_bill_amount = $auto_bill_amount;
- return $this;
- }
-
- /**
- * Allow auto billing for the outstanding amount of the agreement in the next cycle. Allowed values: `YES`, `NO`. Default is `NO`.
- *
- * @return string
- */
- public function getAutoBillAmount()
- {
- return $this->auto_bill_amount;
- }
-
- /**
- * Action to take if a failure occurs during initial payment. Allowed values: `CONTINUE`, `CANCEL`. Default is continue.
- *
- * @param string $initial_fail_amount_action
- *
- * @return $this
- */
- public function setInitialFailAmountAction($initial_fail_amount_action)
- {
- $this->initial_fail_amount_action = $initial_fail_amount_action;
- return $this;
- }
-
- /**
- * Action to take if a failure occurs during initial payment. Allowed values: `CONTINUE`, `CANCEL`. Default is continue.
- *
- * @return string
- */
- public function getInitialFailAmountAction()
- {
- return $this->initial_fail_amount_action;
- }
-
- /**
- * Payment types that are accepted for this plan.
- *
- * @param string $accepted_payment_type
- *
- * @return $this
- */
- public function setAcceptedPaymentType($accepted_payment_type)
- {
- $this->accepted_payment_type = $accepted_payment_type;
- return $this;
- }
-
- /**
- * Payment types that are accepted for this plan.
- *
- * @return string
- */
- public function getAcceptedPaymentType()
- {
- return $this->accepted_payment_type;
- }
-
- /**
- * char_set for this plan.
- *
- * @param string $char_set
- *
- * @return $this
- */
- public function setCharSet($char_set)
- {
- $this->char_set = $char_set;
- return $this;
- }
-
- /**
- * char_set for this plan.
- *
- * @return string
- */
- public function getCharSet()
- {
- return $this->char_set;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Metadata.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Metadata.php
deleted file mode 100644
index d4f3eaf..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Metadata.php
+++ /dev/null
@@ -1,259 +0,0 @@
-created_date = $created_date;
- return $this;
- }
-
- /**
- * Date when the resource was created.
- *
- * @return string
- */
- public function getCreatedDate()
- {
- return $this->created_date;
- }
-
- /**
- * Email address of the account that created the resource.
- *
- * @param string $created_by
- *
- * @return $this
- */
- public function setCreatedBy($created_by)
- {
- $this->created_by = $created_by;
- return $this;
- }
-
- /**
- * Email address of the account that created the resource.
- *
- * @return string
- */
- public function getCreatedBy()
- {
- return $this->created_by;
- }
-
- /**
- * Date when the resource was cancelled.
- *
- * @param string $cancelled_date
- *
- * @return $this
- */
- public function setCancelledDate($cancelled_date)
- {
- $this->cancelled_date = $cancelled_date;
- return $this;
- }
-
- /**
- * Date when the resource was cancelled.
- *
- * @return string
- */
- public function getCancelledDate()
- {
- return $this->cancelled_date;
- }
-
- /**
- * Actor who cancelled the resource.
- *
- * @param string $cancelled_by
- *
- * @return $this
- */
- public function setCancelledBy($cancelled_by)
- {
- $this->cancelled_by = $cancelled_by;
- return $this;
- }
-
- /**
- * Actor who cancelled the resource.
- *
- * @return string
- */
- public function getCancelledBy()
- {
- return $this->cancelled_by;
- }
-
- /**
- * Date when the resource was last edited.
- *
- * @param string $last_updated_date
- *
- * @return $this
- */
- public function setLastUpdatedDate($last_updated_date)
- {
- $this->last_updated_date = $last_updated_date;
- return $this;
- }
-
- /**
- * Date when the resource was last edited.
- *
- * @return string
- */
- public function getLastUpdatedDate()
- {
- return $this->last_updated_date;
- }
-
- /**
- * Email address of the account that last edited the resource.
- *
- * @param string $last_updated_by
- *
- * @return $this
- */
- public function setLastUpdatedBy($last_updated_by)
- {
- $this->last_updated_by = $last_updated_by;
- return $this;
- }
-
- /**
- * Email address of the account that last edited the resource.
- *
- * @return string
- */
- public function getLastUpdatedBy()
- {
- return $this->last_updated_by;
- }
-
- /**
- * Date when the resource was first sent.
- *
- * @param string $first_sent_date
- *
- * @return $this
- */
- public function setFirstSentDate($first_sent_date)
- {
- $this->first_sent_date = $first_sent_date;
- return $this;
- }
-
- /**
- * Date when the resource was first sent.
- *
- * @return string
- */
- public function getFirstSentDate()
- {
- return $this->first_sent_date;
- }
-
- /**
- * Date when the resource was last sent.
- *
- * @param string $last_sent_date
- *
- * @return $this
- */
- public function setLastSentDate($last_sent_date)
- {
- $this->last_sent_date = $last_sent_date;
- return $this;
- }
-
- /**
- * Date when the resource was last sent.
- *
- * @return string
- */
- public function getLastSentDate()
- {
- return $this->last_sent_date;
- }
-
- /**
- * Email address of the account that last sent the resource.
- *
- * @param string $last_sent_by
- *
- * @return $this
- */
- public function setLastSentBy($last_sent_by)
- {
- $this->last_sent_by = $last_sent_by;
- return $this;
- }
-
- /**
- * Email address of the account that last sent the resource.
- *
- * @return string
- */
- public function getLastSentBy()
- {
- return $this->last_sent_by;
- }
-
- /**
- * URL representing the payer's view of the invoice.
- *
- * @param string $payer_view_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setPayerViewUrl($payer_view_url)
- {
- UrlValidator::validate($payer_view_url, "PayerViewUrl");
- $this->payer_view_url = $payer_view_url;
- return $this;
- }
-
- /**
- * URL representing the payer's view of the invoice.
- *
- * @return string
- */
- public function getPayerViewUrl()
- {
- return $this->payer_view_url;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/NameValuePair.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/NameValuePair.php
deleted file mode 100644
index 4e32720..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/NameValuePair.php
+++ /dev/null
@@ -1,65 +0,0 @@
-name = $name;
- return $this;
- }
-
- /**
- * Key for the name value pair. The value name types should be correlated
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Value for the name value pair.
- *
- * @param string $value
- *
- * @return $this
- */
- public function setValue($value)
- {
- $this->value = $value;
- return $this;
- }
-
- /**
- * Value for the name value pair.
- *
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Notification.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Notification.php
deleted file mode 100644
index 743f001..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Notification.php
+++ /dev/null
@@ -1,89 +0,0 @@
-subject = $subject;
- return $this;
- }
-
- /**
- * Subject of the notification.
- *
- * @return string
- */
- public function getSubject()
- {
- return $this->subject;
- }
-
- /**
- * Note to the payer.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Note to the payer.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the merchant.
- *
- * @param bool $send_to_merchant
- *
- * @return $this
- */
- public function setSendToMerchant($send_to_merchant)
- {
- $this->send_to_merchant = $send_to_merchant;
- return $this;
- }
-
- /**
- * A flag indicating whether a copy of the email has to be sent to the merchant.
- *
- * @return bool
- */
- public function getSendToMerchant()
- {
- return $this->send_to_merchant;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdAddress.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdAddress.php
deleted file mode 100644
index 306abf6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdAddress.php
+++ /dev/null
@@ -1,133 +0,0 @@
-street_address = $street_address;
- return $this;
- }
-
- /**
- * Full street address component, which may include house number, street name.
- *
- * @return string
- */
- public function getStreetAddress()
- {
- return $this->street_address;
- }
-
- /**
- * City or locality component.
- *
- * @param string $locality
- * @return self
- */
- public function setLocality($locality)
- {
- $this->locality = $locality;
- return $this;
- }
-
- /**
- * City or locality component.
- *
- * @return string
- */
- public function getLocality()
- {
- return $this->locality;
- }
-
- /**
- * State, province, prefecture or region component.
- *
- * @param string $region
- * @return self
- */
- public function setRegion($region)
- {
- $this->region = $region;
- return $this;
- }
-
- /**
- * State, province, prefecture or region component.
- *
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * Zip code or postal code component.
- *
- * @param string $postal_code
- * @return self
- */
- public function setPostalCode($postal_code)
- {
- $this->postal_code = $postal_code;
- return $this;
- }
-
- /**
- * Zip code or postal code component.
- *
- * @return string
- */
- public function getPostalCode()
- {
- return $this->postal_code;
- }
-
- /**
- * Country name component.
- *
- * @param string $country
- * @return self
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * Country name component.
- *
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdError.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdError.php
deleted file mode 100644
index 4b9b956..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdError.php
+++ /dev/null
@@ -1,85 +0,0 @@
-error = $error;
- return $this;
- }
-
- /**
- * A single ASCII error code from the following enum.
- *
- * @return string
- */
- public function getError()
- {
- return $this->error;
- }
-
- /**
- * A resource ID that indicates the starting resource in the returned results.
- *
- * @param string $error_description
- * @return self
- */
- public function setErrorDescription($error_description)
- {
- $this->error_description = $error_description;
- return $this;
- }
-
- /**
- * A resource ID that indicates the starting resource in the returned results.
- *
- * @return string
- */
- public function getErrorDescription()
- {
- return $this->error_description;
- }
-
- /**
- * A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
- *
- * @param string $error_uri
- * @return self
- */
- public function setErrorUri($error_uri)
- {
- $this->error_uri = $error_uri;
- return $this;
- }
-
- /**
- * A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
- *
- * @return string
- */
- public function getErrorUri()
- {
- return $this->error_uri;
- }
-
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdSession.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdSession.php
deleted file mode 100644
index 088026d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdSession.php
+++ /dev/null
@@ -1,107 +0,0 @@
-getConfig();
-
- if ($apiContext->get($clientId)) {
- $clientId = $apiContext->get($clientId);
- }
-
- $clientId = $clientId ? $clientId : $apiContext->getCredential()->getClientId();
-
- $scope = count($scope) != 0 ? $scope : array('openid', 'profile', 'address', 'email', 'phone',
- 'https://uri.paypal.com/services/paypalattributes', 'https://uri.paypal.com/services/expresscheckout');
- if (!in_array('openid', $scope)) {
- $scope[] = 'openid';
- }
-
- $params = array(
- 'client_id' => $clientId,
- 'response_type' => 'code',
- 'scope' => implode(" ", $scope),
- 'redirect_uri' => $redirectUri
- );
-
- if ($nonce) {
- $params['nonce'] = $nonce;
- }
- if ($state) {
- $params['state'] = $state;
- }
- return sprintf("%s/v1/authorize?%s", self::getBaseUrl($config), http_build_query($params));
- }
-
-
- /**
- * Returns the URL to which the user must be redirected to
- * logout from the OpenID provider (i.e. PayPal)
- *
- * @param string $redirectUri Uri on merchant website to where
- * the user must be redirected to post logout
- * @param string $idToken id_token from the TokenInfo object
- * @param ApiContext $apiContext Optional API Context
- * @return string logout URL
- */
- public static function getLogoutUrl($redirectUri, $idToken, $apiContext = null)
- {
-
- if (is_null($apiContext)) {
- $apiContext = new ApiContext();
- }
- $config = $apiContext->getConfig();
-
- $params = array(
- 'id_token' => $idToken,
- 'redirect_uri' => $redirectUri,
- 'logout' => 'true'
- );
- return sprintf("%s/v1/endsession?%s", self::getBaseUrl($config), http_build_query($params));
- }
-
- /**
- * Gets the base URL for the Redirect URI
- *
- * @param $config
- * @return null|string
- */
- private static function getBaseUrl($config)
- {
-
- if (array_key_exists('openid.RedirectUri', $config)) {
- return $config['openid.RedirectUri'];
- } else if (array_key_exists('mode', $config)) {
- switch (strtoupper($config['mode'])) {
- case 'SANDBOX':
- return PayPalConstants::OPENID_REDIRECT_SANDBOX_URL;
- case 'LIVE':
- return PayPalConstants::OPENID_REDIRECT_LIVE_URL;
- }
- }
- return null;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdTokeninfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdTokeninfo.php
deleted file mode 100644
index 7d9cc97..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdTokeninfo.php
+++ /dev/null
@@ -1,253 +0,0 @@
-scope = $scope;
- return $this;
- }
-
- /**
- * OPTIONAL, if identical to the scope requested by the client; otherwise, REQUIRED.
- *
- * @return string
- */
- public function getScope()
- {
- return $this->scope;
- }
-
- /**
- * The access token issued by the authorization server.
- *
- * @param string $access_token
- * @return self
- */
- public function setAccessToken($access_token)
- {
- $this->access_token = $access_token;
- return $this;
- }
-
- /**
- * The access token issued by the authorization server.
- *
- * @return string
- */
- public function getAccessToken()
- {
- return $this->access_token;
- }
-
- /**
- * The refresh token, which can be used to obtain new access tokens using the same authorization grant as described in OAuth2.0 RFC6749 in Section 6.
- *
- * @param string $refresh_token
- * @return self
- */
- public function setRefreshToken($refresh_token)
- {
- $this->refresh_token = $refresh_token;
- return $this;
- }
-
- /**
- * The refresh token, which can be used to obtain new access tokens using the same authorization grant as described in OAuth2.0 RFC6749 in Section 6.
- *
- * @return string
- */
- public function getRefreshToken()
- {
- return $this->refresh_token;
- }
-
- /**
- * The type of the token issued as described in OAuth2.0 RFC6749 (Section 7.1). Value is case insensitive.
- *
- * @param string $token_type
- * @return self
- */
- public function setTokenType($token_type)
- {
- $this->token_type = $token_type;
- return $this;
- }
-
- /**
- * The type of the token issued as described in OAuth2.0 RFC6749 (Section 7.1). Value is case insensitive.
- *
- * @return string
- */
- public function getTokenType()
- {
- return $this->token_type;
- }
-
- /**
- * The id_token is a session token assertion that denotes the user's authentication status
- *
- * @param string $id_token
- * @return self
- */
- public function setIdToken($id_token)
- {
- $this->id_token = $id_token;
- return $this;
- }
-
- /**
- * The id_token is a session token assertion that denotes the user's authentication status
- *
- * @return string
- */
- public function getIdToken()
- {
- return $this->id_token;
- }
-
- /**
- * The lifetime in seconds of the access token.
- *
- * @param integer $expires_in
- * @return self
- */
- public function setExpiresIn($expires_in)
- {
- $this->expires_in = $expires_in;
- return $this;
- }
-
- /**
- * The lifetime in seconds of the access token.
- *
- * @return integer
- */
- public function getExpiresIn()
- {
- return $this->expires_in;
- }
-
-
- /**
- * Creates an Access Token from an Authorization Code.
- *
- * @path /v1/identity/openidconnect/tokenservice
- * @method POST
- * @param array $params (allowed values are client_id, client_secret, grant_type, code and redirect_uri)
- * (required) client_id from developer portal
- * (required) client_secret from developer portal
- * (required) code is Authorization code previously received from the authorization server
- * (required) redirect_uri Redirection endpoint that must match the one provided during the
- * authorization request that ended in receiving the authorization code.
- * (optional) grant_type is the Token grant type. Defaults to authorization_code
- * @param string $clientId
- * @param string $clientSecret
- * @param ApiContext $apiContext Optional API Context
- * @param PayPalRestCall $restCall
- * @return OpenIdTokeninfo
- */
- public static function createFromAuthorizationCode($params, $clientId = null, $clientSecret = null, $apiContext = null, $restCall = null)
- {
- static $allowedParams = array('grant_type' => 1, 'code' => 1, 'redirect_uri' => 1);
-
- if (!array_key_exists('grant_type', $params)) {
- $params['grant_type'] = 'authorization_code';
- }
- $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
-
- if (sizeof($apiContext->get($clientId)) > 0) {
- $clientId = $apiContext->get($clientId);
- }
-
- if (sizeof($apiContext->get($clientSecret)) > 0) {
- $clientSecret = $apiContext->get($clientSecret);
- }
-
- $clientId = $clientId ? $clientId : $apiContext->getCredential()->getClientId();
- $clientSecret = $clientSecret ? $clientSecret : $apiContext->getCredential()->getClientSecret();
-
- $json = self::executeCall(
- "/v1/identity/openidconnect/tokenservice",
- "POST",
- http_build_query(array_intersect_key($params, $allowedParams)),
- array(
- 'Content-Type' => 'application/x-www-form-urlencoded',
- 'Authorization' => 'Basic ' . base64_encode($clientId . ":" . $clientSecret)
- ),
- $apiContext,
- $restCall
- );
- $token = new OpenIdTokeninfo();
- $token->fromJson($json);
- return $token;
- }
-
- /**
- * Creates an Access Token from an Refresh Token.
- *
- * @path /v1/identity/openidconnect/tokenservice
- * @method POST
- * @param array $params (allowed values are grant_type and scope)
- * (required) client_id from developer portal
- * (required) client_secret from developer portal
- * (optional) refresh_token refresh token. If one is not passed, refresh token from the current object is used.
- * (optional) grant_type is the Token grant type. Defaults to refresh_token
- * (optional) scope is an array that either the same or a subset of the scope passed to the authorization request
- * @param APIContext $apiContext Optional API Context
- * @return OpenIdTokeninfo
- */
- public function createFromRefreshToken($params, $apiContext = null)
- {
- static $allowedParams = array('grant_type' => 1, 'refresh_token' => 1, 'scope' => 1);
- $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
-
- if (!array_key_exists('grant_type', $params)) {
- $params['grant_type'] = 'refresh_token';
- }
- if (!array_key_exists('refresh_token', $params)) {
- $params['refresh_token'] = $this->getRefreshToken();
- }
-
- $clientId = isset($params['client_id']) ? $params['client_id'] : $apiContext->getCredential()->getClientId();
- $clientSecret = isset($params['client_secret']) ? $params['client_secret'] : $apiContext->getCredential()->getClientSecret();
-
- $json = self::executeCall(
- "/v1/identity/openidconnect/tokenservice",
- "POST",
- http_build_query(array_intersect_key($params, $allowedParams)),
- array(
- 'Content-Type' => 'application/x-www-form-urlencoded',
- 'Authorization' => 'Basic ' . base64_encode($clientId . ":" . $clientSecret)
- ),
- $apiContext
- );
-
- $this->fromJson($json);
- return $this;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdUserinfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdUserinfo.php
deleted file mode 100644
index 46c00b8..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OpenIdUserinfo.php
+++ /dev/null
@@ -1,538 +0,0 @@
-user_id = $user_id;
- return $this;
- }
-
- /**
- * Subject - Identifier for the End-User at the Issuer.
- *
- * @return string
- */
- public function getUserId()
- {
- return $this->user_id;
- }
-
- /**
- * Subject - Identifier for the End-User at the Issuer.
- *
- * @param string $sub
- * @return self
- */
- public function setSub($sub)
- {
- $this->sub = $sub;
- return $this;
- }
-
- /**
- * Subject - Identifier for the End-User at the Issuer.
- *
- * @return string
- */
- public function getSub()
- {
- return $this->sub;
- }
-
- /**
- * End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
- *
- * @param string $name
- * @return self
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Given name(s) or first name(s) of the End-User
- *
- * @param string $given_name
- * @return self
- */
- public function setGivenName($given_name)
- {
- $this->given_name = $given_name;
- return $this;
- }
-
- /**
- * Given name(s) or first name(s) of the End-User
- *
- * @return string
- */
- public function getGivenName()
- {
- return $this->given_name;
- }
-
- /**
- * Surname(s) or last name(s) of the End-User.
- *
- * @param string $family_name
- * @return self
- */
- public function setFamilyName($family_name)
- {
- $this->family_name = $family_name;
- return $this;
- }
-
- /**
- * Surname(s) or last name(s) of the End-User.
- *
- * @return string
- */
- public function getFamilyName()
- {
- return $this->family_name;
- }
-
- /**
- * Middle name(s) of the End-User.
- *
- * @param string $middle_name
- * @return self
- */
- public function setMiddleName($middle_name)
- {
- $this->middle_name = $middle_name;
- return $this;
- }
-
- /**
- * Middle name(s) of the End-User.
- *
- * @return string
- */
- public function getMiddleName()
- {
- return $this->middle_name;
- }
-
- /**
- * URL of the End-User's profile picture.
- *
- * @param string $picture
- * @return self
- */
- public function setPicture($picture)
- {
- $this->picture = $picture;
- return $this;
- }
-
- /**
- * URL of the End-User's profile picture.
- *
- * @return string
- */
- public function getPicture()
- {
- return $this->picture;
- }
-
- /**
- * End-User's preferred e-mail address.
- *
- * @param string $email
- * @return self
- */
- public function setEmail($email)
- {
- $this->email = $email;
- return $this;
- }
-
- /**
- * End-User's preferred e-mail address.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * True if the End-User's e-mail address has been verified; otherwise false.
- *
- * @param boolean $email_verified
- * @return self
- */
- public function setEmailVerified($email_verified)
- {
- $this->email_verified = $email_verified;
- return $this;
- }
-
- /**
- * True if the End-User's e-mail address has been verified; otherwise false.
- *
- * @return boolean
- */
- public function getEmailVerified()
- {
- return $this->email_verified;
- }
-
- /**
- * End-User's gender.
- *
- * @param string $gender
- * @return self
- */
- public function setGender($gender)
- {
- $this->gender = $gender;
- return $this;
- }
-
- /**
- * End-User's gender.
- *
- * @return string
- */
- public function getGender()
- {
- return $this->gender;
- }
-
- /**
- * End-User's birthday, represented as an YYYY-MM-DD format. They year MAY be 0000, indicating it is omited. To represent only the year, YYYY format would be used.
- *
- * @param string $birthday
- * @return self
- */
- public function setBirthday($birthday)
- {
- $this->birthday = $birthday;
- return $this;
- }
-
- /**
- * End-User's birthday, represented as an YYYY-MM-DD format. They year MAY be 0000, indicating it is omited. To represent only the year, YYYY format would be used.
- *
- * @return string
- */
- public function getBirthday()
- {
- return $this->birthday;
- }
-
- /**
- * Time zone database representing the End-User's time zone
- *
- * @param string $zoneinfo
- * @return self
- */
- public function setZoneinfo($zoneinfo)
- {
- $this->zoneinfo = $zoneinfo;
- return $this;
- }
-
- /**
- * Time zone database representing the End-User's time zone
- *
- * @return string
- */
- public function getZoneinfo()
- {
- return $this->zoneinfo;
- }
-
- /**
- * End-User's locale.
- *
- * @param string $locale
- * @return self
- */
- public function setLocale($locale)
- {
- $this->locale = $locale;
- return $this;
- }
-
- /**
- * End-User's locale.
- *
- * @return string
- */
- public function getLocale()
- {
- return $this->locale;
- }
-
- /**
- * End-User's language.
- *
- * @param string $language
- * @return self
- */
- public function setLanguage($language)
- {
- $this->language = $language;
- return $this;
- }
-
- /**
- * End-User's language.
- *
- * @return string
- */
- public function getLanguage()
- {
- return $this->language;
- }
-
- /**
- * End-User's verified status.
- *
- * @param boolean $verified
- * @return self
- */
- public function setVerified($verified)
- {
- $this->verified = $verified;
- return $this;
- }
-
- /**
- * End-User's verified status.
- *
- * @return boolean
- */
- public function getVerified()
- {
- return $this->verified;
- }
-
- /**
- * End-User's preferred telephone number.
- *
- * @param string $phone_number
- * @return self
- */
- public function setPhoneNumber($phone_number)
- {
- $this->phone_number = $phone_number;
- return $this;
- }
-
- /**
- * End-User's preferred telephone number.
- *
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phone_number;
- }
-
- /**
- * End-User's preferred address.
- *
- * @param \PayPal\Api\OpenIdAddress $address
- * @return self
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * End-User's preferred address.
- *
- * @return \PayPal\Api\OpenIdAddress
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * Verified account status.
- *
- * @param boolean $verified_account
- * @return self
- */
- public function setVerifiedAccount($verified_account)
- {
- $this->verified_account = $verified_account;
- return $this;
- }
-
- /**
- * Verified account status.
- *
- * @return boolean
- */
- public function getVerifiedAccount()
- {
- return $this->verified_account;
- }
-
- /**
- * Account type.
- *
- * @param string $account_type
- * @return self
- */
- public function setAccountType($account_type)
- {
- $this->account_type = $account_type;
- return $this;
- }
-
- /**
- * Account type.
- *
- * @return string
- */
- public function getAccountType()
- {
- return $this->account_type;
- }
-
- /**
- * Account holder age range.
- *
- * @param string $age_range
- * @return self
- */
- public function setAgeRange($age_range)
- {
- $this->age_range = $age_range;
- return $this;
- }
-
- /**
- * Account holder age range.
- *
- * @return string
- */
- public function getAgeRange()
- {
- return $this->age_range;
- }
-
- /**
- * Account payer identifier.
- *
- * @param string $payer_id
- * @return self
- */
- public function setPayerId($payer_id)
- {
- $this->payer_id = $payer_id;
- return $this;
- }
-
- /**
- * Account payer identifier.
- *
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
-
- /**
- * returns user details
- *
- * @path /v1/identity/openidconnect/userinfo
- * @method GET
- * @param array $params (allowed values are access_token)
- * access_token - access token from the createFromAuthorizationCode / createFromRefreshToken calls
- * @param ApiContext $apiContext Optional API Context
- * @return OpenIdUserinfo
- */
- public static function getUserinfo($params, $apiContext = null)
- {
- static $allowedParams = array('schema' => 1);
-
- $params = is_array($params) ? $params : array();
-
- if (!array_key_exists('schema', $params)) {
- $params['schema'] = 'openid';
- }
- $requestUrl = "/v1/identity/openidconnect/userinfo?"
- . http_build_query(array_intersect_key($params, $allowedParams));
-
- $json = self::executeCall(
- $requestUrl,
- "GET",
- "",
- array(
- 'Authorization' => "Bearer " . $params['access_token'],
- 'Content-Type' => 'x-www-form-urlencoded'
- ),
- $apiContext
- );
-
- $ret = new OpenIdUserinfo();
- $ret->fromJson($json);
-
- return $ret;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Order.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Order.php
deleted file mode 100644
index f611ff7..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Order.php
+++ /dev/null
@@ -1,438 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the order transaction.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Identifier to the purchase unit associated with this object. Obsolete. Use one in cart_base.
- *
- * @param string $purchase_unit_reference_id
- *
- * @return $this
- */
- public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
- {
- $this->purchase_unit_reference_id = $purchase_unit_reference_id;
- return $this;
- }
-
- /**
- * Identifier to the purchase unit associated with this object. Obsolete. Use one in cart_base.
- *
- * @return string
- */
- public function getPurchaseUnitReferenceId()
- {
- return $this->purchase_unit_reference_id;
- }
-
- /**
- * Amount being collected.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being collected.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * specifies payment mode of the transaction
- * Valid Values: ["INSTANT_TRANSFER", "MANUAL_BANK_TRANSFER", "DELAYED_TRANSFER", "ECHECK"]
- *
- * @param string $payment_mode
- *
- * @return $this
- */
- public function setPaymentMode($payment_mode)
- {
- $this->payment_mode = $payment_mode;
- return $this;
- }
-
- /**
- * specifies payment mode of the transaction
- *
- * @return string
- */
- public function getPaymentMode()
- {
- return $this->payment_mode;
- }
-
- /**
- * State of the order transaction.
- * Valid Values: ["pending", "completed", "refunded", "partially_refunded", "voided"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the order transaction.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Reason code for the transaction state being Pending or Reversed. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["PAYER_SHIPPING_UNCONFIRMED", "MULTI_CURRENCY", "RISK_REVIEW", "REGULATORY_REVIEW", "VERIFICATION_REQUIRED", "ORDER", "OTHER"]
- *
- * @param string $reason_code
- *
- * @return $this
- */
- public function setReasonCode($reason_code)
- {
- $this->reason_code = $reason_code;
- return $this;
- }
-
- /**
- * Reason code for the transaction state being Pending or Reversed. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getReasonCode()
- {
- return $this->reason_code;
- }
-
- /**
- * [DEPRECATED] Reason the transaction is in pending state. Use reason_code field above instead.
- * Valid Values: ["payer_shipping_unconfirmed", "multi_currency", "risk_review", "regulatory_review", "verification_required", "order", "other"]
- *
- * @param string $pending_reason
- *
- * @return $this
- */
- public function setPendingReason($pending_reason)
- {
- $this->pending_reason = $pending_reason;
- return $this;
- }
-
- /**
- * @deprecated [DEPRECATED] Reason the transaction is in pending state. Use reason_code field above instead.
- *
- * @return string
- */
- public function getPendingReason()
- {
- return $this->pending_reason;
- }
-
- /**
- * The level of seller protection in force for the transaction.
- * Valid Values: ["ELIGIBLE", "PARTIALLY_ELIGIBLE", "INELIGIBLE"]
- *
- * @param string $protection_eligibility
- *
- * @return $this
- */
- public function setProtectionEligibility($protection_eligibility)
- {
- $this->protection_eligibility = $protection_eligibility;
- return $this;
- }
-
- /**
- * The level of seller protection in force for the transaction.
- *
- * @return string
- */
- public function getProtectionEligibility()
- {
- return $this->protection_eligibility;
- }
-
- /**
- * The kind of seller protection in force for the transaction. This property is returned only when the `protection_eligibility` property is set to `ELIGIBLE`or `PARTIALLY_ELIGIBLE`. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ITEM_NOT_RECEIVED_ELIGIBLE`- Sellers are protected against claims for items not received. `UNAUTHORIZED_PAYMENT_ELIGIBLE`- Sellers are protected against claims for unauthorized payments. One or both of the allowed values can be returned.
- * Valid Values: ["ITEM_NOT_RECEIVED_ELIGIBLE", "UNAUTHORIZED_PAYMENT_ELIGIBLE", "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE"]
- *
- * @param string $protection_eligibility_type
- *
- * @return $this
- */
- public function setProtectionEligibilityType($protection_eligibility_type)
- {
- $this->protection_eligibility_type = $protection_eligibility_type;
- return $this;
- }
-
- /**
- * The kind of seller protection in force for the transaction. This property is returned only when the `protection_eligibility` property is set to `ELIGIBLE`or `PARTIALLY_ELIGIBLE`. Only supported when the `payment_method` is set to `paypal`. Allowed values: `ITEM_NOT_RECEIVED_ELIGIBLE`- Sellers are protected against claims for items not received. `UNAUTHORIZED_PAYMENT_ELIGIBLE`- Sellers are protected against claims for unauthorized payments. One or both of the allowed values can be returned.
- *
- * @return string
- */
- public function getProtectionEligibilityType()
- {
- return $this->protection_eligibility_type;
- }
-
- /**
- * ID of the Payment resource that this transaction is based on.
- *
- * @param string $parent_payment
- *
- * @return $this
- */
- public function setParentPayment($parent_payment)
- {
- $this->parent_payment = $parent_payment;
- return $this;
- }
-
- /**
- * ID of the Payment resource that this transaction is based on.
- *
- * @return string
- */
- public function getParentPayment()
- {
- return $this->parent_payment;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept/deny/pending action.
- *
- * @param \PayPal\Api\FmfDetails $fmf_details
- *
- * @return $this
- */
- public function setFmfDetails($fmf_details)
- {
- $this->fmf_details = $fmf_details;
- return $this;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept/deny/pending action.
- *
- * @return \PayPal\Api\FmfDetails
- */
- public function getFmfDetails()
- {
- return $this->fmf_details;
- }
-
- /**
- * Time the resource was created in UTC ISO8601 format.
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time the resource was created in UTC ISO8601 format.
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time the resource was last updated in UTC ISO8601 format.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time the resource was last updated in UTC ISO8601 format.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Retrieve details about an order by passing the order_id in the request URI.
- *
- * @param string $orderId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Order
- */
- public static function get($orderId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($orderId, 'orderId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/orders/$orderId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Order();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Capture a payment. In addition, include the amount of the payment and indicate whether this is a final capture for the given authorization in the body of the request JSON.
- *
- * @param Capture $capture
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Capture
- */
- public function capture($capture, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($capture, 'capture');
- $payLoad = $capture->toJSON();
- $json = self::executeCall(
- "/v1/payments/orders/{$this->getId()}/capture",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Capture();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Void (cancel) an order by passing the order_id in the request URI. Note that an order cannot be voided if payment has already been partially or fully captured.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Order
- */
- public function void($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/orders/{$this->getId()}/do-void",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Authorize an order by passing the order_id in the request URI. In addition, include an amount object in the body of the request JSON.
- *
- * @param Authorization $authorization Authorization Object with Amount value to be authorized
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Authorization
- */
- public function authorize($authorization, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($authorization, 'Authorization');
- $payLoad = $authorization->toJSON();
- $json = self::executeCall(
- "/v1/payments/orders/{$this->getId()}/authorize",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Authorization();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OverrideChargeModel.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OverrideChargeModel.php
deleted file mode 100644
index b911c17..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/OverrideChargeModel.php
+++ /dev/null
@@ -1,65 +0,0 @@
-charge_id = $charge_id;
- return $this;
- }
-
- /**
- * ID of charge model.
- *
- * @return string
- */
- public function getChargeId()
- {
- return $this->charge_id;
- }
-
- /**
- * Updated Amount to be associated with this charge model.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Updated Amount to be associated with this charge model.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Patch.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Patch.php
deleted file mode 100644
index 152f92c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Patch.php
+++ /dev/null
@@ -1,114 +0,0 @@
-op = $op;
- return $this;
- }
-
- /**
- * The operation to perform.
- *
- * @return string
- */
- public function getOp()
- {
- return $this->op;
- }
-
- /**
- * String containing a JSON Pointer value that references a location within the target document where the operation is performed.
- *
- * @param string $path
- *
- * @return $this
- */
- public function setPath($path)
- {
- $this->path = $path;
- return $this;
- }
-
- /**
- * String containing a JSON Pointer value that references a location within the target document where the operation is performed.
- *
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
-
- /**
- * New value to apply based on the operation.
- *
- * @param mixed $value
- *
- * @return $this
- */
- public function setValue($value)
- {
- $this->value = $value;
- return $this;
- }
-
- /**
- * New value to apply based on the operation.
- *
- * @return mixed
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * A string containing a JSON Pointer value that references the location in the target document to move the value from.
- *
- * @param string $from
- *
- * @return $this
- */
- public function setFrom($from)
- {
- $this->from = $from;
- return $this;
- }
-
- /**
- * A string containing a JSON Pointer value that references the location in the target document to move the value from.
- *
- * @return string
- */
- public function getFrom()
- {
- return $this->from;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PatchRequest.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PatchRequest.php
deleted file mode 100644
index effc105..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PatchRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-patches = $patches;
- return $this;
- }
-
- /**
- * Placeholder for holding array of patch objects
- *
- * @return \PayPal\Api\Patch[]
- */
- public function getPatches()
- {
- return $this->patches;
- }
-
- /**
- * Append Patches to the list.
- *
- * @param \PayPal\Api\Patch $patch
- * @return $this
- */
- public function addPatch($patch)
- {
- if (!$this->getPatches()) {
- return $this->setPatches(array($patch));
- } else {
- return $this->setPatches(
- array_merge($this->getPatches(), array($patch))
- );
- }
- }
-
- /**
- * Remove Patches from the list.
- *
- * @param \PayPal\Api\Patch $patch
- * @return $this
- */
- public function removePatch($patch)
- {
- return $this->setPatches(
- array_diff($this->getPatches(), array($patch))
- );
- }
-
- /**
- * As PatchRequest holds the array of Patch object, we would override the json conversion to return
- * a json representation of array of Patch objects.
- *
- * @param int $options
- * @return mixed|string
- */
- public function toJSON($options = 0)
- {
- $json = array();
- foreach ($this->getPatches() as $patch) {
- $json[] = $patch->toArray();
- }
- return str_replace('\\/', '/', json_encode($json, $options));
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payee.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payee.php
deleted file mode 100644
index c0fde8f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payee.php
+++ /dev/null
@@ -1,165 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * Encrypted PayPal account identifier for the Payee.
- *
- * @param string $merchant_id
- *
- * @return $this
- */
- public function setMerchantId($merchant_id)
- {
- $this->merchant_id = $merchant_id;
- return $this;
- }
-
- /**
- * Encrypted PayPal account identifier for the Payee.
- *
- * @return string
- */
- public function getMerchantId()
- {
- return $this->merchant_id;
- }
-
- /**
- * First Name of the Payee.
- *
- * @deprecated Not publicly available
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * First Name of the Payee.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Last Name of the Payee.
- *
- * @deprecated Not publicly available
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Last Name of the Payee.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Unencrypted PayPal account Number of the Payee
- *
- * @deprecated Not publicly available
- * @param string $account_number
- *
- * @return $this
- */
- public function setAccountNumber($account_number)
- {
- $this->account_number = $account_number;
- return $this;
- }
-
- /**
- * Unencrypted PayPal account Number of the Payee
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getAccountNumber()
- {
- return $this->account_number;
- }
-
- /**
- * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Phone $phone
- *
- * @return $this
- */
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- /**
- * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Phone
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payer.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payer.php
deleted file mode 100644
index 860d095..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payer.php
+++ /dev/null
@@ -1,270 +0,0 @@
-payment_method = $payment_method;
- return $this;
- }
-
- /**
- * Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
- *
- * @return string
- */
- public function getPaymentMethod()
- {
- return $this->payment_method;
- }
-
- /**
- * Status of payer's PayPal Account.
- * Valid Values: ["VERIFIED", "UNVERIFIED"]
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * Status of payer's PayPal Account.
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Type of account relationship payer has with PayPal.
- * Valid Values: ["BUSINESS", "PERSONAL", "PREMIER"]
- *
- * @deprecated Not publicly available
- * @param string $account_type
- *
- * @return $this
- */
- public function setAccountType($account_type)
- {
- $this->account_type = $account_type;
- return $this;
- }
-
- /**
- * Type of account relationship payer has with PayPal.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getAccountType()
- {
- return $this->account_type;
- }
-
- /**
- * Duration since the payer established account relationship with PayPal in days.
- *
- * @deprecated Not publicly available
- * @param string $account_age
- *
- * @return $this
- */
- public function setAccountAge($account_age)
- {
- $this->account_age = $account_age;
- return $this;
- }
-
- /**
- * Duration since the payer established account relationship with PayPal in days.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getAccountAge()
- {
- return $this->account_age;
- }
-
- /**
- * List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
- *
- * @param \PayPal\Api\FundingInstrument[] $funding_instruments
- *
- * @return $this
- */
- public function setFundingInstruments($funding_instruments)
- {
- $this->funding_instruments = $funding_instruments;
- return $this;
- }
-
- /**
- * List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
- *
- * @return \PayPal\Api\FundingInstrument[]
- */
- public function getFundingInstruments()
- {
- return $this->funding_instruments;
- }
-
- /**
- * Append FundingInstruments to the list.
- *
- * @param \PayPal\Api\FundingInstrument $fundingInstrument
- * @return $this
- */
- public function addFundingInstrument($fundingInstrument)
- {
- if (!$this->getFundingInstruments()) {
- return $this->setFundingInstruments(array($fundingInstrument));
- } else {
- return $this->setFundingInstruments(
- array_merge($this->getFundingInstruments(), array($fundingInstrument))
- );
- }
- }
-
- /**
- * Remove FundingInstruments from the list.
- *
- * @param \PayPal\Api\FundingInstrument $fundingInstrument
- * @return $this
- */
- public function removeFundingInstrument($fundingInstrument)
- {
- return $this->setFundingInstruments(
- array_diff($this->getFundingInstruments(), array($fundingInstrument))
- );
- }
-
- /**
- * Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
- *
- * @param string $funding_option_id
- *
- * @return $this
- */
- public function setFundingOptionId($funding_option_id)
- {
- $this->funding_option_id = $funding_option_id;
- return $this;
- }
-
- /**
- * Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
- *
- * @return string
- */
- public function getFundingOptionId()
- {
- return $this->funding_option_id;
- }
-
- /**
- * Default funding option available for the payment
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\FundingOption $funding_option
- *
- * @return $this
- */
- public function setFundingOption($funding_option)
- {
- $this->funding_option = $funding_option;
- return $this;
- }
-
- /**
- * Default funding option available for the payment
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\FundingOption
- */
- public function getFundingOption()
- {
- return $this->funding_option;
- }
-
- /**
- * Funding option related to default funding option.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\FundingOption $related_funding_option
- *
- * @return $this
- */
- public function setRelatedFundingOption($related_funding_option)
- {
- $this->related_funding_option = $related_funding_option;
- return $this;
- }
-
- /**
- * Funding option related to default funding option.
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\FundingOption
- */
- public function getRelatedFundingOption()
- {
- return $this->related_funding_option;
- }
-
- /**
- * Information related to the Payer.
- *
- * @param \PayPal\Api\PayerInfo $payer_info
- *
- * @return $this
- */
- public function setPayerInfo($payer_info)
- {
- $this->payer_info = $payer_info;
- return $this;
- }
-
- /**
- * Information related to the Payer.
- *
- * @return \PayPal\Api\PayerInfo
- */
- public function getPayerInfo()
- {
- return $this->payer_info;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayerInfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayerInfo.php
deleted file mode 100644
index 39cbfda..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayerInfo.php
+++ /dev/null
@@ -1,428 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Email address representing the payer. 127 characters max.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * External Remember Me id representing the payer
- *
- * @param string $external_remember_me_id
- *
- * @return $this
- */
- public function setExternalRememberMeId($external_remember_me_id)
- {
- $this->external_remember_me_id = $external_remember_me_id;
- return $this;
- }
-
- /**
- * External Remember Me id representing the payer
- *
- * @return string
- */
- public function getExternalRememberMeId()
- {
- return $this->external_remember_me_id;
- }
-
- /**
- * Account Number representing the Payer
- *
- * @deprecated Not publicly available
- * @param string $account_number
- *
- * @return $this
- */
- public function setAccountNumber($account_number)
- {
- $this->account_number = $account_number;
- return $this;
- }
-
- /**
- * Account Number representing the Payer
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getAccountNumber()
- {
- return $this->account_number;
- }
-
- /**
- * Salutation of the payer.
- *
- * @param string $salutation
- *
- * @return $this
- */
- public function setSalutation($salutation)
- {
- $this->salutation = $salutation;
- return $this;
- }
-
- /**
- * Salutation of the payer.
- *
- * @return string
- */
- public function getSalutation()
- {
- return $this->salutation;
- }
-
- /**
- * First name of the payer.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * First name of the payer.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Middle name of the payer.
- *
- * @param string $middle_name
- *
- * @return $this
- */
- public function setMiddleName($middle_name)
- {
- $this->middle_name = $middle_name;
- return $this;
- }
-
- /**
- * Middle name of the payer.
- *
- * @return string
- */
- public function getMiddleName()
- {
- return $this->middle_name;
- }
-
- /**
- * Last name of the payer.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Last name of the payer.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Suffix of the payer.
- *
- * @param string $suffix
- *
- * @return $this
- */
- public function setSuffix($suffix)
- {
- $this->suffix = $suffix;
- return $this;
- }
-
- /**
- * Suffix of the payer.
- *
- * @return string
- */
- public function getSuffix()
- {
- return $this->suffix;
- }
-
- /**
- * PayPal assigned encrypted Payer ID.
- *
- * @param string $payer_id
- *
- * @return $this
- */
- public function setPayerId($payer_id)
- {
- $this->payer_id = $payer_id;
- return $this;
- }
-
- /**
- * PayPal assigned encrypted Payer ID.
- *
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
- /**
- * Phone number representing the payer. 20 characters max.
- *
- * @param string $phone
- *
- * @return $this
- */
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- /**
- * Phone number representing the payer. 20 characters max.
- *
- * @return string
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
- /**
- * Phone type
- * Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"]
- *
- * @param string $phone_type
- *
- * @return $this
- */
- public function setPhoneType($phone_type)
- {
- $this->phone_type = $phone_type;
- return $this;
- }
-
- /**
- * Phone type
- *
- * @return string
- */
- public function getPhoneType()
- {
- return $this->phone_type;
- }
-
- /**
- * Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
- *
- * @param string $birth_date
- *
- * @return $this
- */
- public function setBirthDate($birth_date)
- {
- $this->birth_date = $birth_date;
- return $this;
- }
-
- /**
- * Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
- *
- * @return string
- */
- public function getBirthDate()
- {
- return $this->birth_date;
- }
-
- /**
- * Payer’s tax ID. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string $tax_id
- *
- * @return $this
- */
- public function setTaxId($tax_id)
- {
- $this->tax_id = $tax_id;
- return $this;
- }
-
- /**
- * Payer’s tax ID. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getTaxId()
- {
- return $this->tax_id;
- }
-
- /**
- * Payer’s tax ID type. Allowed values: `BR_CPF` or `BR_CNPJ`. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["BR_CPF", "BR_CNPJ"]
- *
- * @param string $tax_id_type
- *
- * @return $this
- */
- public function setTaxIdType($tax_id_type)
- {
- $this->tax_id_type = $tax_id_type;
- return $this;
- }
-
- /**
- * Payer’s tax ID type. Allowed values: `BR_CPF` or `BR_CNPJ`. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getTaxIdType()
- {
- return $this->tax_id_type;
- }
-
- /**
- * Two-letter registered country code of the payer to identify the buyer country.
- *
- * @param string $country_code
- *
- * @return $this
- */
- public function setCountryCode($country_code)
- {
- $this->country_code = $country_code;
- return $this;
- }
-
- /**
- * Two-letter registered country code of the payer to identify the buyer country.
- *
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * Billing address of the Payer.
- *
- * @param \PayPal\Api\Address $billing_address
- *
- * @return $this
- */
- public function setBillingAddress($billing_address)
- {
- $this->billing_address = $billing_address;
- return $this;
- }
-
- /**
- * Billing address of the Payer.
- *
- * @return \PayPal\Api\Address
- */
- public function getBillingAddress()
- {
- return $this->billing_address;
- }
-
- /**
- * Shipping address of payer PayPal account.
- *
- * @param \PayPal\Api\ShippingAddress $shipping_address
- *
- * @return $this
- */
- public function setShippingAddress($shipping_address)
- {
- $this->shipping_address = $shipping_address;
- return $this;
- }
-
- /**
- * Shipping address of payer PayPal account.
- *
- * @return \PayPal\Api\ShippingAddress
- */
- public function getShippingAddress()
- {
- return $this->shipping_address;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php
deleted file mode 100644
index 13229d5..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php
+++ /dev/null
@@ -1,693 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the created payment, the 'transaction ID'
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Payment intent.
- * Valid Values: ["sale", "authorize", "order"]
- *
- * @param string $intent
- *
- * @return $this
- */
- public function setIntent($intent)
- {
- $this->intent = $intent;
- return $this;
- }
-
- /**
- * Payment intent.
- *
- * @return string
- */
- public function getIntent()
- {
- return $this->intent;
- }
-
- /**
- * Source of the funds for this payment represented by a PayPal account or a direct credit card.
- *
- * @param \PayPal\Api\Payer $payer
- *
- * @return $this
- */
- public function setPayer($payer)
- {
- $this->payer = $payer;
- return $this;
- }
-
- /**
- * Source of the funds for this payment represented by a PayPal account or a direct credit card.
- *
- * @return \PayPal\Api\Payer
- */
- public function getPayer()
- {
- return $this->payer;
- }
-
- /**
- * Information that the merchant knows about the payer. This information is not definitive and only serves as a hint to the UI or any pre-processing logic.
- *
- * @param \PayPal\Api\PotentialPayerInfo $potential_payer_info
- *
- * @return $this
- */
- public function setPotentialPayerInfo($potential_payer_info)
- {
- $this->potential_payer_info = $potential_payer_info;
- return $this;
- }
-
- /**
- * Information that the merchant knows about the payer. This information is not definitive and only serves as a hint to the UI or any pre-processing logic.
- *
- * @return \PayPal\Api\PotentialPayerInfo
- */
- public function getPotentialPayerInfo()
- {
- return $this->potential_payer_info;
- }
-
- /**
- * Receiver of funds for this payment. **Readonly for PayPal external REST payments.**
- *
- * @param \PayPal\Api\Payee $payee
- *
- * @return $this
- */
- public function setPayee($payee)
- {
- $this->payee = $payee;
- return $this;
- }
-
- /**
- * Receiver of funds for this payment. **Readonly for PayPal external REST payments.**
- *
- * @return \PayPal\Api\Payee
- */
- public function getPayee()
- {
- return $this->payee;
- }
-
- /**
- * ID of the cart to execute the payment.
- *
- * @deprecated Not publicly available
- * @param string $cart
- *
- * @return $this
- */
- public function setCart($cart)
- {
- $this->cart = $cart;
- return $this;
- }
-
- /**
- * ID of the cart to execute the payment.
- *
- * @deprecated Not publicly available
- * @return string
- */
- public function getCart()
- {
- return $this->cart;
- }
-
- /**
- * Transactional details including the amount and item details.
- *
- * @param \PayPal\Api\Transaction[] $transactions
- *
- * @return $this
- */
- public function setTransactions($transactions)
- {
- $this->transactions = $transactions;
- return $this;
- }
-
- /**
- * Transactional details including the amount and item details.
- *
- * @return \PayPal\Api\Transaction[]
- */
- public function getTransactions()
- {
- return $this->transactions;
- }
-
- /**
- * Append Transactions to the list.
- *
- * @param \PayPal\Api\Transaction $transaction
- * @return $this
- */
- public function addTransaction($transaction)
- {
- if (!$this->getTransactions()) {
- return $this->setTransactions(array($transaction));
- } else {
- return $this->setTransactions(
- array_merge($this->getTransactions(), array($transaction))
- );
- }
- }
-
- /**
- * Remove Transactions from the list.
- *
- * @param \PayPal\Api\Transaction $transaction
- * @return $this
- */
- public function removeTransaction($transaction)
- {
- return $this->setTransactions(
- array_diff($this->getTransactions(), array($transaction))
- );
- }
-
- /**
- * Applicable for advanced payments like multi seller payment (MSP) to support partial failures
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Error[] $failed_transactions
- *
- * @return $this
- */
- public function setFailedTransactions($failed_transactions)
- {
- $this->failed_transactions = $failed_transactions;
- return $this;
- }
-
- /**
- * Applicable for advanced payments like multi seller payment (MSP) to support partial failures
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\Error[]
- */
- public function getFailedTransactions()
- {
- return $this->failed_transactions;
- }
-
- /**
- * Append FailedTransactions to the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Error $error
- * @return $this
- */
- public function addFailedTransaction($error)
- {
- if (!$this->getFailedTransactions()) {
- return $this->setFailedTransactions(array($error));
- } else {
- return $this->setFailedTransactions(
- array_merge($this->getFailedTransactions(), array($error))
- );
- }
- }
-
- /**
- * Remove FailedTransactions from the list.
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\Error $error
- * @return $this
- */
- public function removeFailedTransaction($error)
- {
- return $this->setFailedTransactions(
- array_diff($this->getFailedTransactions(), array($error))
- );
- }
-
- /**
- * Collection of PayPal generated billing agreement tokens.
- *
- * @param string[] $billing_agreement_tokens
- *
- * @return $this
- */
- public function setBillingAgreementTokens($billing_agreement_tokens)
- {
- $this->billing_agreement_tokens = $billing_agreement_tokens;
- return $this;
- }
-
- /**
- * Collection of PayPal generated billing agreement tokens.
- *
- * @return string[]
- */
- public function getBillingAgreementTokens()
- {
- return $this->billing_agreement_tokens;
- }
-
- /**
- * Append BillingAgreementTokens to the list.
- *
- * @param string $billingAgreementToken
- * @return $this
- */
- public function addBillingAgreementToken($billingAgreementToken)
- {
- if (!$this->getBillingAgreementTokens()) {
- return $this->setBillingAgreementTokens(array($billingAgreementToken));
- } else {
- return $this->setBillingAgreementTokens(
- array_merge($this->getBillingAgreementTokens(), array($billingAgreementToken))
- );
- }
- }
-
- /**
- * Remove BillingAgreementTokens from the list.
- *
- * @param string $billingAgreementToken
- * @return $this
- */
- public function removeBillingAgreementToken($billingAgreementToken)
- {
- return $this->setBillingAgreementTokens(
- array_diff($this->getBillingAgreementTokens(), array($billingAgreementToken))
- );
- }
-
- /**
- * Credit financing offered to payer on PayPal side. Returned in payment after payer opts-in
- *
- * @deprecated Not publicly available
- * @param \PayPal\Api\CreditFinancingOffered $credit_financing_offered
- *
- * @return $this
- */
- public function setCreditFinancingOffered($credit_financing_offered)
- {
- $this->credit_financing_offered = $credit_financing_offered;
- return $this;
- }
-
- /**
- * Credit financing offered to payer on PayPal side. Returned in payment after payer opts-in
- *
- * @deprecated Not publicly available
- * @return \PayPal\Api\CreditFinancingOffered
- */
- public function getCreditFinancingOffered()
- {
- return $this->credit_financing_offered;
- }
-
- /**
- * Instructions for the payer to complete this payment.
- *
- * @param \PayPal\Api\PaymentInstruction $payment_instruction
- *
- * @return $this
- */
- public function setPaymentInstruction($payment_instruction)
- {
- $this->payment_instruction = $payment_instruction;
- return $this;
- }
-
- /**
- * Instructions for the payer to complete this payment.
- *
- * @return \PayPal\Api\PaymentInstruction
- */
- public function getPaymentInstruction()
- {
- return $this->payment_instruction;
- }
-
- /**
- * Payment state.
- * Valid Values: ["created", "approved", "failed", "partially_completed", "in_progress"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * Payment state.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * PayPal generated identifier for the merchant's payment experience profile. Refer to [this](https://developer.paypal.com/webapps/developer/docs/api/#payment-experience) link to create experience profile ID.
- *
- * @param string $experience_profile_id
- *
- * @return $this
- */
- public function setExperienceProfileId($experience_profile_id)
- {
- $this->experience_profile_id = $experience_profile_id;
- return $this;
- }
-
- /**
- * PayPal generated identifier for the merchant's payment experience profile. Refer to [this](https://developer.paypal.com/webapps/developer/docs/api/#payment-experience) link to create experience profile ID.
- *
- * @return string
- */
- public function getExperienceProfileId()
- {
- return $this->experience_profile_id;
- }
-
- /**
- * free-form field for the use of clients to pass in a message to the payer
- *
- * @param string $note_to_payer
- *
- * @return $this
- */
- public function setNoteToPayer($note_to_payer)
- {
- $this->note_to_payer = $note_to_payer;
- return $this;
- }
-
- /**
- * free-form field for the use of clients to pass in a message to the payer
- *
- * @return string
- */
- public function getNoteToPayer()
- {
- return $this->note_to_payer;
- }
-
- /**
- * Set of redirect URLs you provide only for PayPal-based payments.
- *
- * @param \PayPal\Api\RedirectUrls $redirect_urls
- *
- * @return $this
- */
- public function setRedirectUrls($redirect_urls)
- {
- $this->redirect_urls = $redirect_urls;
- return $this;
- }
-
- /**
- * Set of redirect URLs you provide only for PayPal-based payments.
- *
- * @return \PayPal\Api\RedirectUrls
- */
- public function getRedirectUrls()
- {
- return $this->redirect_urls;
- }
-
- /**
- * Failure reason code returned when the payment failed for some valid reasons.
- * Valid Values: ["UNABLE_TO_COMPLETE_TRANSACTION", "INVALID_PAYMENT_METHOD", "PAYER_CANNOT_PAY", "CANNOT_PAY_THIS_PAYEE", "REDIRECT_REQUIRED", "PAYEE_FILTER_RESTRICTIONS"]
- *
- * @param string $failure_reason
- *
- * @return $this
- */
- public function setFailureReason($failure_reason)
- {
- $this->failure_reason = $failure_reason;
- return $this;
- }
-
- /**
- * Failure reason code returned when the payment failed for some valid reasons.
- *
- * @return string
- */
- public function getFailureReason()
- {
- return $this->failure_reason;
- }
-
- /**
- * Payment creation time as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Payment creation time as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Payment update time as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Payment update time as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Get Approval Link
- *
- * @return null|string
- */
- public function getApprovalLink()
- {
- return $this->getLink(PayPalConstants::APPROVAL_URL);
- }
-
- /**
- * Create and process a payment by passing a payment object that includes the intent, payer, and transactions in the body of the request JSON. For PayPal payments, include redirect URLs in the payment object.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Payment
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/payments/payment",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Look up a particular payment resource by passing the payment_id in the request URI.
- *
- * @param string $paymentId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Payment
- */
- public static function get($paymentId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($paymentId, 'paymentId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/payment/$paymentId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Payment();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Use this call to partially update the payment resource for the given identifier. Allowed objects are amount, shipping_address, invoice_id and custom. Please note that it is not possible to use patch after execute has been called.
- *
- * @param PatchRequest $patchRequest
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return boolean
- */
- public function update($patchRequest, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patchRequest, 'patchRequest');
- $payLoad = $patchRequest->toJSON();
- self::executeCall(
- "/v1/payments/payment/{$this->getId()}",
- "PATCH",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Execute (complete) a PayPal payment that has been approved by the payer. Optionally update selective payment information when executing the payment.
- *
- * @param PaymentExecution $paymentExecution
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Payment
- */
- public function execute($paymentExecution, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($paymentExecution, 'paymentExecution');
- $payLoad = $paymentExecution->toJSON();
- $json = self::executeCall(
- "/v1/payments/payment/{$this->getId()}/execute",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * List payments in any state (created, approved, failed, etc.). Payments returned are the payments made to the merchant issuing the request.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PaymentHistory
- */
- public static function all($params, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($params, 'params');
- $payLoad = "";
- $allowedParams = array(
- 'count' => 1,
- 'start_id' => 1,
- 'start_index' => 1,
- 'start_time' => 1,
- 'end_time' => 1,
- 'payee_id' => 1,
- 'sort_by' => 1,
- 'sort_order' => 1,
- );
- $json = self::executeCall(
- "/v1/payments/payment?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PaymentHistory();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCard.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCard.php
deleted file mode 100644
index 3e6c7b4..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCard.php
+++ /dev/null
@@ -1,457 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the credit card being saved for later use.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Card number.
- *
- * @param string $number
- *
- * @return $this
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * Card number.
- *
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * Type of the Card.
- * Valid Values: ["VISA", "AMEX", "SOLO", "JCB", "STAR", "DELTA", "DISCOVER", "SWITCH", "MAESTRO", "CB_NATIONALE", "CONFINOGA", "COFIDIS", "ELECTRON", "CETELEM", "CHINA_UNION_PAY", "MASTERCARD"]
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Type of the Card.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * 2 digit card expiry month.
- *
- * @param string $expire_month
- *
- * @return $this
- */
- public function setExpireMonth($expire_month)
- {
- $this->expire_month = $expire_month;
- return $this;
- }
-
- /**
- * 2 digit card expiry month.
- *
- * @return string
- */
- public function getExpireMonth()
- {
- return $this->expire_month;
- }
-
- /**
- * 4 digit card expiry year
- *
- * @param string $expire_year
- *
- * @return $this
- */
- public function setExpireYear($expire_year)
- {
- $this->expire_year = $expire_year;
- return $this;
- }
-
- /**
- * 4 digit card expiry year
- *
- * @return string
- */
- public function getExpireYear()
- {
- return $this->expire_year;
- }
-
- /**
- * 2 digit card start month. Needed for UK Maestro Card.
- *
- * @param string $start_month
- *
- * @return $this
- */
- public function setStartMonth($start_month)
- {
- $this->start_month = $start_month;
- return $this;
- }
-
- /**
- * 2 digit card start month. Needed for UK Maestro Card.
- *
- * @return string
- */
- public function getStartMonth()
- {
- return $this->start_month;
- }
-
- /**
- * 4 digit card start year. Needed for UK Maestro Card.
- *
- * @param string $start_year
- *
- * @return $this
- */
- public function setStartYear($start_year)
- {
- $this->start_year = $start_year;
- return $this;
- }
-
- /**
- * 4 digit card start year. Needed for UK Maestro Card.
- *
- * @return string
- */
- public function getStartYear()
- {
- return $this->start_year;
- }
-
- /**
- * Card validation code. Only supported when making a Payment but not when saving a payment card for future use.
- *
- * @param string $cvv2
- *
- * @return $this
- */
- public function setCvv2($cvv2)
- {
- $this->cvv2 = $cvv2;
- return $this;
- }
-
- /**
- * Card validation code. Only supported when making a Payment but not when saving a payment card for future use.
- *
- * @return string
- */
- public function getCvv2()
- {
- return $this->cvv2;
- }
-
- /**
- * Card holder's first name.
- *
- * @param string $first_name
- *
- * @return $this
- */
- public function setFirstName($first_name)
- {
- $this->first_name = $first_name;
- return $this;
- }
-
- /**
- * Card holder's first name.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Card holder's last name.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Card holder's last name.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * 2 letter country code
- *
- * @param string $billing_country
- *
- * @return $this
- */
- public function setBillingCountry($billing_country)
- {
- $this->billing_country = $billing_country;
- return $this;
- }
-
- /**
- * 2 letter country code
- *
- * @return string
- */
- public function getBillingCountry()
- {
- return $this->billing_country;
- }
-
- /**
- * Billing Address associated with this card.
- *
- * @param \PayPal\Api\Address $billing_address
- *
- * @return $this
- */
- public function setBillingAddress($billing_address)
- {
- $this->billing_address = $billing_address;
- return $this;
- }
-
- /**
- * Billing Address associated with this card.
- *
- * @return \PayPal\Api\Address
- */
- public function getBillingAddress()
- {
- return $this->billing_address;
- }
-
- /**
- * A unique identifier of the customer to whom this card account belongs to. Generated and provided by the facilitator. This is required when creating or using a stored funding instrument in vault.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * A unique identifier of the customer to whom this card account belongs to. Generated and provided by the facilitator. This is required when creating or using a stored funding instrument in vault.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * State of the funding instrument.
- * Valid Values: ["EXPIRED", "ACTIVE"]
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * State of the funding instrument.
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Date/Time until this resource can be used fund a payment.
- *
- * @param string $valid_until
- *
- * @return $this
- */
- public function setValidUntil($valid_until)
- {
- $this->valid_until = $valid_until;
- return $this;
- }
-
- /**
- * Date/Time until this resource can be used fund a payment.
- *
- * @return string
- */
- public function getValidUntil()
- {
- return $this->valid_until;
- }
-
- /**
- * 1-2 digit card issue number. Needed for UK Maestro Card.
- *
- * @param string $issue_number
- *
- * @return $this
- */
- public function setIssueNumber($issue_number)
- {
- $this->issue_number = $issue_number;
- return $this;
- }
-
- /**
- * 1-2 digit card issue number. Needed for UK Maestro Card.
- *
- * @return string
- */
- public function getIssueNumber()
- {
- return $this->issue_number;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCardToken.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCardToken.php
deleted file mode 100644
index d5fbe6c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentCardToken.php
+++ /dev/null
@@ -1,162 +0,0 @@
-payment_card_id = $payment_card_id;
- return $this;
- }
-
- /**
- * ID of a previously saved Payment Card resource.
- *
- * @return string
- */
- public function getPaymentCardId()
- {
- return $this->payment_card_id;
- }
-
- /**
- * The unique identifier of the payer used when saving this payment card.
- *
- * @param string $external_customer_id
- *
- * @return $this
- */
- public function setExternalCustomerId($external_customer_id)
- {
- $this->external_customer_id = $external_customer_id;
- return $this;
- }
-
- /**
- * The unique identifier of the payer used when saving this payment card.
- *
- * @return string
- */
- public function getExternalCustomerId()
- {
- return $this->external_customer_id;
- }
-
- /**
- * Last 4 digits of the card number from the saved card.
- *
- * @param string $last4
- *
- * @return $this
- */
- public function setLast4($last4)
- {
- $this->last4 = $last4;
- return $this;
- }
-
- /**
- * Last 4 digits of the card number from the saved card.
- *
- * @return string
- */
- public function getLast4()
- {
- return $this->last4;
- }
-
- /**
- * Type of the Card.
- * Valid Values: ["VISA", "AMEX", "SOLO", "JCB", "STAR", "DELTA", "DISCOVER", "SWITCH", "MAESTRO", "CB_NATIONALE", "CONFINOGA", "COFIDIS", "ELECTRON", "CETELEM", "CHINA_UNION_PAY", "MASTERCARD"]
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Type of the Card.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Expiry month from the saved card with value 1 - 12.
- *
- * @param int $expire_month
- *
- * @return $this
- */
- public function setExpireMonth($expire_month)
- {
- $this->expire_month = $expire_month;
- return $this;
- }
-
- /**
- * Expiry month from the saved card with value 1 - 12.
- *
- * @return int
- */
- public function getExpireMonth()
- {
- return $this->expire_month;
- }
-
- /**
- * Four digit expiry year from the saved card, represented as YYYY format.
- *
- * @param int $expire_year
- *
- * @return $this
- */
- public function setExpireYear($expire_year)
- {
- $this->expire_year = $expire_year;
- return $this;
- }
-
- /**
- * Four digit expiry year from the saved card, represented as YYYY format.
- *
- * @return int
- */
- public function getExpireYear()
- {
- return $this->expire_year;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDefinition.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDefinition.php
deleted file mode 100644
index 36cb799..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDefinition.php
+++ /dev/null
@@ -1,239 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the payment_definition. 128 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Name of the payment definition. 128 characters max.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the payment definition. 128 characters max.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Type of the payment definition. Allowed values: `TRIAL`, `REGULAR`.
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Type of the payment definition. Allowed values: `TRIAL`, `REGULAR`.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * How frequently the customer should be charged.
- *
- * @param string $frequency_interval
- *
- * @return $this
- */
- public function setFrequencyInterval($frequency_interval)
- {
- $this->frequency_interval = $frequency_interval;
- return $this;
- }
-
- /**
- * How frequently the customer should be charged.
- *
- * @return string
- */
- public function getFrequencyInterval()
- {
- return $this->frequency_interval;
- }
-
- /**
- * Frequency of the payment definition offered. Allowed values: `WEEK`, `DAY`, `YEAR`, `MONTH`.
- *
- * @param string $frequency
- *
- * @return $this
- */
- public function setFrequency($frequency)
- {
- $this->frequency = $frequency;
- return $this;
- }
-
- /**
- * Frequency of the payment definition offered. Allowed values: `WEEK`, `DAY`, `YEAR`, `MONTH`.
- *
- * @return string
- */
- public function getFrequency()
- {
- return $this->frequency;
- }
-
- /**
- * Number of cycles in this payment definition.
- *
- * @param string $cycles
- *
- * @return $this
- */
- public function setCycles($cycles)
- {
- $this->cycles = $cycles;
- return $this;
- }
-
- /**
- * Number of cycles in this payment definition.
- *
- * @return string
- */
- public function getCycles()
- {
- return $this->cycles;
- }
-
- /**
- * Amount that will be charged at the end of each cycle for this payment definition.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount that will be charged at the end of each cycle for this payment definition.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Array of charge_models for this payment definition.
- *
- * @param \PayPal\Api\ChargeModel[] $charge_models
- *
- * @return $this
- */
- public function setChargeModels($charge_models)
- {
- $this->charge_models = $charge_models;
- return $this;
- }
-
- /**
- * Array of charge_models for this payment definition.
- *
- * @return \PayPal\Api\ChargeModel[]
- */
- public function getChargeModels()
- {
- return $this->charge_models;
- }
-
- /**
- * Append ChargeModels to the list.
- *
- * @param \PayPal\Api\ChargeModel $chargeModel
- * @return $this
- */
- public function addChargeModel($chargeModel)
- {
- if (!$this->getChargeModels()) {
- return $this->setChargeModels(array($chargeModel));
- } else {
- return $this->setChargeModels(
- array_merge($this->getChargeModels(), array($chargeModel))
- );
- }
- }
-
- /**
- * Remove ChargeModels from the list.
- *
- * @param \PayPal\Api\ChargeModel $chargeModel
- * @return $this
- */
- public function removeChargeModel($chargeModel)
- {
- return $this->setChargeModels(
- array_diff($this->getChargeModels(), array($chargeModel))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDetail.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDetail.php
deleted file mode 100644
index 6cd29ea..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentDetail.php
+++ /dev/null
@@ -1,164 +0,0 @@
-type = $type;
- return $this;
- }
-
- /**
- * PayPal payment detail indicating whether payment was made in an invoicing flow via PayPal or externally. In the case of the mark-as-paid API, payment type is EXTERNAL and this is what is now supported. The PAYPAL value is provided for backward compatibility.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * PayPal payment transaction id. Mandatory field in case the type value is PAYPAL.
- *
- * @param string $transaction_id
- *
- * @return $this
- */
- public function setTransactionId($transaction_id)
- {
- $this->transaction_id = $transaction_id;
- return $this;
- }
-
- /**
- * PayPal payment transaction id. Mandatory field in case the type value is PAYPAL.
- *
- * @return string
- */
- public function getTransactionId()
- {
- return $this->transaction_id;
- }
-
- /**
- * Type of the transaction.
- * Valid Values: ["SALE", "AUTHORIZATION", "CAPTURE"]
- *
- * @param string $transaction_type
- *
- * @return $this
- */
- public function setTransactionType($transaction_type)
- {
- $this->transaction_type = $transaction_type;
- return $this;
- }
-
- /**
- * Type of the transaction.
- *
- * @return string
- */
- public function getTransactionType()
- {
- return $this->transaction_type;
- }
-
- /**
- * Date when the invoice was paid. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $date
- *
- * @return $this
- */
- public function setDate($date)
- {
- $this->date = $date;
- return $this;
- }
-
- /**
- * Date when the invoice was paid. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getDate()
- {
- return $this->date;
- }
-
- /**
- * Payment mode or method. This field is mandatory if the value of the type field is EXTERNAL.
- * Valid Values: ["BANK_TRANSFER", "CASH", "CHECK", "CREDIT_CARD", "DEBIT_CARD", "PAYPAL", "WIRE_TRANSFER", "OTHER"]
- *
- * @param string $method
- *
- * @return $this
- */
- public function setMethod($method)
- {
- $this->method = $method;
- return $this;
- }
-
- /**
- * Payment mode or method. This field is mandatory if the value of the type field is EXTERNAL.
- *
- * @return string
- */
- public function getMethod()
- {
- return $this->method;
- }
-
- /**
- * Optional note associated with the payment.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Optional note associated with the payment.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentExecution.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentExecution.php
deleted file mode 100644
index 327731b..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentExecution.php
+++ /dev/null
@@ -1,119 +0,0 @@
-payer_id = $payer_id;
- return $this;
- }
-
- /**
- * The ID of the Payer, passed in the `return_url` by PayPal.
- *
- * @return string
- */
- public function getPayerId()
- {
- return $this->payer_id;
- }
-
- /**
- * Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
- *
- * @param string $carrier_account_id
- *
- * @return $this
- */
- public function setCarrierAccountId($carrier_account_id)
- {
- $this->carrier_account_id = $carrier_account_id;
- return $this;
- }
-
- /**
- * Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
- *
- * @return string
- */
- public function getCarrierAccountId()
- {
- return $this->carrier_account_id;
- }
-
- /**
- * Transactional details including the amount and item details.
- *
- * @param \PayPal\Api\Transaction[] $transactions
- *
- * @return $this
- */
- public function setTransactions($transactions)
- {
- $this->transactions = $transactions;
- return $this;
- }
-
- /**
- * Transactional details including the amount and item details.
- *
- * @return \PayPal\Api\Transaction[]
- */
- public function getTransactions()
- {
- return $this->transactions;
- }
-
- /**
- * Append Transactions to the list.
- *
- * @param \PayPal\Api\Transaction $transaction
- * @return $this
- */
- public function addTransaction($transaction)
- {
- if (!$this->getTransactions()) {
- return $this->setTransactions(array($transaction));
- } else {
- return $this->setTransactions(
- array_merge($this->getTransactions(), array($transaction))
- );
- }
- }
-
- /**
- * Remove Transactions from the list.
- *
- * @param \PayPal\Api\Transaction $transaction
- * @return $this
- */
- public function removeTransaction($transaction)
- {
- return $this->setTransactions(
- array_diff($this->getTransactions(), array($transaction))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentHistory.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentHistory.php
deleted file mode 100644
index 89e417a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentHistory.php
+++ /dev/null
@@ -1,119 +0,0 @@
-payments = $payments;
- return $this;
- }
-
- /**
- * A list of Payment resources
- *
- * @return \PayPal\Api\Payment[]
- */
- public function getPayments()
- {
- return $this->payments;
- }
-
- /**
- * Append Payments to the list.
- *
- * @param \PayPal\Api\Payment $payment
- * @return $this
- */
- public function addPayment($payment)
- {
- if (!$this->getPayments()) {
- return $this->setPayments(array($payment));
- } else {
- return $this->setPayments(
- array_merge($this->getPayments(), array($payment))
- );
- }
- }
-
- /**
- * Remove Payments from the list.
- *
- * @param \PayPal\Api\Payment $payment
- * @return $this
- */
- public function removePayment($payment)
- {
- return $this->setPayments(
- array_diff($this->getPayments(), array($payment))
- );
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @param int $count
- *
- * @return $this
- */
- public function setCount($count)
- {
- $this->count = $count;
- return $this;
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @return int
- */
- public function getCount()
- {
- return $this->count;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- * @param string $next_id
- *
- * @return $this
- */
- public function setNextId($next_id)
- {
- $this->next_id = $next_id;
- return $this;
- }
-
- /**
- * Identifier of the next element to get the next range of results.
- *
- * @return string
- */
- public function getNextId()
- {
- return $this->next_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentInstruction.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentInstruction.php
deleted file mode 100644
index 152d83f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentInstruction.php
+++ /dev/null
@@ -1,190 +0,0 @@
-reference_number = $reference_number;
- return $this;
- }
-
- /**
- * ID of payment instruction
- *
- * @return string
- */
- public function getReferenceNumber()
- {
- return $this->reference_number;
- }
-
- /**
- * Type of payment instruction
- * Valid Values: ["MANUAL_BANK_TRANSFER", "PAY_UPON_INVOICE"]
- *
- * @param string $instruction_type
- *
- * @return $this
- */
- public function setInstructionType($instruction_type)
- {
- $this->instruction_type = $instruction_type;
- return $this;
- }
-
- /**
- * Type of payment instruction
- *
- * @return string
- */
- public function getInstructionType()
- {
- return $this->instruction_type;
- }
-
- /**
- * Recipient bank Details.
- *
- * @param \PayPal\Api\RecipientBankingInstruction $recipient_banking_instruction
- *
- * @return $this
- */
- public function setRecipientBankingInstruction($recipient_banking_instruction)
- {
- $this->recipient_banking_instruction = $recipient_banking_instruction;
- return $this;
- }
-
- /**
- * Recipient bank Details.
- *
- * @return \PayPal\Api\RecipientBankingInstruction
- */
- public function getRecipientBankingInstruction()
- {
- return $this->recipient_banking_instruction;
- }
-
- /**
- * Amount to be transferred
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount to be transferred
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Date by which payment should be received
- *
- * @param string $payment_due_date
- *
- * @return $this
- */
- public function setPaymentDueDate($payment_due_date)
- {
- $this->payment_due_date = $payment_due_date;
- return $this;
- }
-
- /**
- * Date by which payment should be received
- *
- * @return string
- */
- public function getPaymentDueDate()
- {
- return $this->payment_due_date;
- }
-
- /**
- * Additional text regarding payment handling
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Additional text regarding payment handling
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * Retrieve a payment instruction by passing the payment_id in the request URI. Use this request if you are implementing a solution that includes delayed payment like Pay Upon Invoice (PUI).
- *
- * @param string $paymentId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PaymentInstruction
- */
- public static function get($paymentId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($paymentId, 'paymentId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/payment/$paymentId/payment-instruction",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PaymentInstruction();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentOptions.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentOptions.php
deleted file mode 100644
index d81fe37..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentOptions.php
+++ /dev/null
@@ -1,92 +0,0 @@
-allowed_payment_method = $allowed_payment_method;
- return $this;
- }
-
- /**
- * Optional payment method type. If specified, the transaction will go through for only instant payment. Only for use with the paypal payment_method, not relevant for the credit_card payment_method.
- *
- * @return string
- */
- public function getAllowedPaymentMethod()
- {
- return $this->allowed_payment_method;
- }
-
- /**
- * Indicator if this payment request is a recurring payment. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @param bool $recurring_flag
- *
- * @return $this
- */
- public function setRecurringFlag($recurring_flag)
- {
- $this->recurring_flag = $recurring_flag;
- return $this;
- }
-
- /**
- * Indicator if this payment request is a recurring payment. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @return bool
- */
- public function getRecurringFlag()
- {
- return $this->recurring_flag;
- }
-
- /**
- * Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @param bool $skip_fmf
- *
- * @return $this
- */
- public function setSkipFmf($skip_fmf)
- {
- $this->skip_fmf = $skip_fmf;
- return $this;
- }
-
- /**
- * Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the `payment_method` is set to `credit_card`
- *
- * @deprecated Not publicly available
- * @return bool
- */
- public function getSkipFmf()
- {
- return $this->skip_fmf;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentTerm.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentTerm.php
deleted file mode 100644
index 0a0dbab..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PaymentTerm.php
+++ /dev/null
@@ -1,66 +0,0 @@
-term_type = $term_type;
- return $this;
- }
-
- /**
- * Terms by which the invoice payment is due.
- *
- * @return string
- */
- public function getTermType()
- {
- return $this->term_type;
- }
-
- /**
- * Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $due_date
- *
- * @return $this
- */
- public function setDueDate($due_date)
- {
- $this->due_date = $due_date;
- return $this;
- }
-
- /**
- * Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getDueDate()
- {
- return $this->due_date;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payout.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payout.php
deleted file mode 100644
index b97b515..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payout.php
+++ /dev/null
@@ -1,166 +0,0 @@
-sender_batch_header = $sender_batch_header;
- return $this;
- }
-
- /**
- * The original batch header as provided by the payment sender.
- *
- * @return \PayPal\Api\PayoutSenderBatchHeader
- */
- public function getSenderBatchHeader()
- {
- return $this->sender_batch_header;
- }
-
- /**
- * An array of payout items (that is, a set of individual payouts).
- *
- * @param \PayPal\Api\PayoutItem[] $items
- *
- * @return $this
- */
- public function setItems($items)
- {
- $this->items = $items;
- return $this;
- }
-
- /**
- * An array of payout items (that is, a set of individual payouts).
- *
- * @return \PayPal\Api\PayoutItem[]
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * Append Items to the list.
- *
- * @param \PayPal\Api\PayoutItem $payoutItem
- * @return $this
- */
- public function addItem($payoutItem)
- {
- if (!$this->getItems()) {
- return $this->setItems(array($payoutItem));
- } else {
- return $this->setItems(
- array_merge($this->getItems(), array($payoutItem))
- );
- }
- }
-
- /**
- * Remove Items from the list.
- *
- * @param \PayPal\Api\PayoutItem $payoutItem
- * @return $this
- */
- public function removeItem($payoutItem)
- {
- return $this->setItems(
- array_diff($this->getItems(), array($payoutItem))
- );
- }
-
- /**
- * Create a payout batch resource by passing a sender_batch_header and an items array to the request URI. The sender_batch_header contains payout parameters that describe the handling of a batch resource while the items array conatins payout items.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PayoutBatch
- */
- public function create($params = array(), $apiContext = null, $restCall = null)
- {
- $params = $params ? $params : array();
- ArgumentValidator::validate($params, 'params');
- $payLoad = $this->toJSON();
- $allowedParams = array(
- 'sync_mode' => 1,
- );
- $json = self::executeCall(
- "/v1/payments/payouts" . "?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PayoutBatch();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * You can submit a payout with a synchronous API call, which immediately returns the results of a PayPal payment.
- *
- * @param ApiContext $apiContext
- * @param PayPalRestCall $restCall
- * @return PayoutBatch
- */
- public function createSynchronous($apiContext = null, $restCall = null)
- {
- $params = array('sync_mode' => 'true');
- return $this->create($params, $apiContext, $restCall);
- }
-
- /**
- * Obtain the status of a specific batch resource by passing the payout batch ID to the request URI. You can issue this call multiple times to get the current status.
- *
- * @param string $payoutBatchId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PayoutBatch
- */
- public static function get($payoutBatchId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($payoutBatchId, 'payoutBatchId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/payouts/$payoutBatchId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PayoutBatch();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatch.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatch.php
deleted file mode 100644
index 47c1c03..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatch.php
+++ /dev/null
@@ -1,120 +0,0 @@
-batch_header = $batch_header;
- return $this;
- }
-
- /**
- * A batch header that includes the generated batch status.
- *
- * @return \PayPal\Api\PayoutBatchHeader
- */
- public function getBatchHeader()
- {
- return $this->batch_header;
- }
-
- /**
- * Array of the items in a batch payout.
- *
- * @param \PayPal\Api\PayoutItemDetails[] $items
- *
- * @return $this
- */
- public function setItems($items)
- {
- $this->items = $items;
- return $this;
- }
-
- /**
- * Array of the items in a batch payout.
- *
- * @return \PayPal\Api\PayoutItemDetails[]
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * Append Items to the list.
- *
- * @param \PayPal\Api\PayoutItemDetails $payoutItemDetails
- * @return $this
- */
- public function addItem($payoutItemDetails)
- {
- if (!$this->getItems()) {
- return $this->setItems(array($payoutItemDetails));
- } else {
- return $this->setItems(
- array_merge($this->getItems(), array($payoutItemDetails))
- );
- }
- }
-
- /**
- * Remove Items from the list.
- *
- * @param \PayPal\Api\PayoutItemDetails $payoutItemDetails
- * @return $this
- */
- public function removeItem($payoutItemDetails)
- {
- return $this->setItems(
- array_diff($this->getItems(), array($payoutItemDetails))
- );
- }
-
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatchHeader.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatchHeader.php
deleted file mode 100644
index c46125c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutBatchHeader.php
+++ /dev/null
@@ -1,263 +0,0 @@
-payout_batch_id = $payout_batch_id;
- return $this;
- }
-
- /**
- * An ID for the batch payout. Generated by PayPal. 30 characters max.
- *
- * @return string
- */
- public function getPayoutBatchId()
- {
- return $this->payout_batch_id;
- }
-
- /**
- * Generated batch status.
- *
- * @param string $batch_status
- *
- * @return $this
- */
- public function setBatchStatus($batch_status)
- {
- $this->batch_status = $batch_status;
- return $this;
- }
-
- /**
- * Generated batch status.
- *
- * @return string
- */
- public function getBatchStatus()
- {
- return $this->batch_status;
- }
-
- /**
- * The time the batch entered processing.
- *
- * @param string $time_created
- *
- * @return $this
- */
- public function setTimeCreated($time_created)
- {
- $this->time_created = $time_created;
- return $this;
- }
-
- /**
- * The time the batch entered processing.
- *
- * @return string
- */
- public function getTimeCreated()
- {
- return $this->time_created;
- }
-
- /**
- * The time that processing for the batch was completed.
- *
- * @param string $time_completed
- *
- * @return $this
- */
- public function setTimeCompleted($time_completed)
- {
- $this->time_completed = $time_completed;
- return $this;
- }
-
- /**
- * The time that processing for the batch was completed.
- *
- * @return string
- */
- public function getTimeCompleted()
- {
- return $this->time_completed;
- }
-
- /**
- * The original batch header as provided by the payment sender.
- *
- * @param \PayPal\Api\PayoutSenderBatchHeader $sender_batch_header
- *
- * @return $this
- */
- public function setSenderBatchHeader($sender_batch_header)
- {
- $this->sender_batch_header = $sender_batch_header;
- return $this;
- }
-
- /**
- * The original batch header as provided by the payment sender.
- *
- * @return \PayPal\Api\PayoutSenderBatchHeader
- */
- public function getSenderBatchHeader()
- {
- return $this->sender_batch_header;
- }
-
- /**
- * Total amount, in U.S. dollars, requested for the applicable payouts.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Total amount, in U.S. dollars, requested for the applicable payouts.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Total estimate in U.S. dollars for the applicable payouts fees.
- *
- * @param \PayPal\Api\Currency $fees
- *
- * @return $this
- */
- public function setFees($fees)
- {
- $this->fees = $fees;
- return $this;
- }
-
- /**
- * Total estimate in U.S. dollars for the applicable payouts fees.
- *
- * @return \PayPal\Api\Currency
- */
- public function getFees()
- {
- return $this->fees;
- }
-
- /**
- * Sets Errors
- *
- * @param \PayPal\Api\Error $errors
- *
- * @return $this
- */
- public function setErrors($errors)
- {
- $this->errors = $errors;
- return $this;
- }
-
- /**
- * Gets Errors
- *
- * @return \PayPal\Api\Error
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItem.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItem.php
deleted file mode 100644
index 76f2d23..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItem.php
+++ /dev/null
@@ -1,190 +0,0 @@
-recipient_type = $recipient_type;
- return $this;
- }
-
- /**
- * The type of identification for the payment receiver. If this field is provided, the payout items without a `recipient_type` will use the provided value. If this field is not provided, each payout item must include a value for the `recipient_type`.
- *
- * @return string
- */
- public function getRecipientType()
- {
- return $this->recipient_type;
- }
-
- /**
- * The amount of money to pay a receiver.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * The amount of money to pay a receiver.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Note for notifications. The note is provided by the payment sender. This note can be any string. 4000 characters max.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Note for notifications. The note is provided by the payment sender. This note can be any string. 4000 characters max.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
- /**
- * The receiver of the payment. In a call response, the format of this value corresponds to the `recipient_type` specified in the request. 127 characters max.
- *
- * @param string $receiver
- *
- * @return $this
- */
- public function setReceiver($receiver)
- {
- $this->receiver = $receiver;
- return $this;
- }
-
- /**
- * The receiver of the payment. In a call response, the format of this value corresponds to the `recipient_type` specified in the request. 127 characters max.
- *
- * @return string
- */
- public function getReceiver()
- {
- return $this->receiver;
- }
-
- /**
- * A sender-specific ID number, used in an accounting system for tracking purposes. 30 characters max.
- *
- * @param string $sender_item_id
- *
- * @return $this
- */
- public function setSenderItemId($sender_item_id)
- {
- $this->sender_item_id = $sender_item_id;
- return $this;
- }
-
- /**
- * A sender-specific ID number, used in an accounting system for tracking purposes. 30 characters max.
- *
- * @return string
- */
- public function getSenderItemId()
- {
- return $this->sender_item_id;
- }
-
- /**
- * Obtain the status of a payout item by passing the item ID to the request URI.
- *
- * @param string $payoutItemId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PayoutItemDetails
- */
- public static function get($payoutItemId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($payoutItemId, 'payoutItemId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/payouts-item/$payoutItemId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PayoutItemDetails();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Cancels the unclaimed payment using the items id passed in the request URI. If an unclaimed item is not claimed within 30 days, the funds will be automatically returned to the sender. This call can be used to cancel the unclaimed item prior to the automatic 30-day return.
- *
- * @param string $payoutItemId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PayoutItemDetails
- */
- public static function cancel($payoutItemId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($payoutItemId, 'payoutItemId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/payouts-item/$payoutItemId/cancel",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PayoutItemDetails();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItemDetails.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItemDetails.php
deleted file mode 100644
index deeec97..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItemDetails.php
+++ /dev/null
@@ -1,287 +0,0 @@
-payout_item_id = $payout_item_id;
- return $this;
- }
-
- /**
- * An ID for an individual payout. Provided by PayPal, such as in the case of getting the status of a batch request. 30 characters max.
- *
- * @return string
- */
- public function getPayoutItemId()
- {
- return $this->payout_item_id;
- }
-
- /**
- * Generated ID for the transaction. 30 characters max.
- *
- * @param string $transaction_id
- *
- * @return $this
- */
- public function setTransactionId($transaction_id)
- {
- $this->transaction_id = $transaction_id;
- return $this;
- }
-
- /**
- * Generated ID for the transaction. 30 characters max.
- *
- * @return string
- */
- public function getTransactionId()
- {
- return $this->transaction_id;
- }
-
- /**
- * Status of a transaction.
- *
- * @param string $transaction_status
- *
- * @return $this
- */
- public function setTransactionStatus($transaction_status)
- {
- $this->transaction_status = $transaction_status;
- return $this;
- }
-
- /**
- * Status of a transaction.
- *
- * @return string
- */
- public function getTransactionStatus()
- {
- return $this->transaction_status;
- }
-
- /**
- * Amount of money in U.S. dollars for fees.
- *
- * @param \PayPal\Api\Currency $payout_item_fee
- *
- * @return $this
- */
- public function setPayoutItemFee($payout_item_fee)
- {
- $this->payout_item_fee = $payout_item_fee;
- return $this;
- }
-
- /**
- * Amount of money in U.S. dollars for fees.
- *
- * @return \PayPal\Api\Currency
- */
- public function getPayoutItemFee()
- {
- return $this->payout_item_fee;
- }
-
- /**
- * An ID for the batch payout. Generated by PayPal. 30 characters max.
- *
- * @param string $payout_batch_id
- *
- * @return $this
- */
- public function setPayoutBatchId($payout_batch_id)
- {
- $this->payout_batch_id = $payout_batch_id;
- return $this;
- }
-
- /**
- * An ID for the batch payout. Generated by PayPal. 30 characters max.
- *
- * @return string
- */
- public function getPayoutBatchId()
- {
- return $this->payout_batch_id;
- }
-
- /**
- * Sender-created ID for tracking the batch in an accounting system. 30 characters max.
- *
- * @param string $sender_batch_id
- *
- * @return $this
- */
- public function setSenderBatchId($sender_batch_id)
- {
- $this->sender_batch_id = $sender_batch_id;
- return $this;
- }
-
- /**
- * Sender-created ID for tracking the batch in an accounting system. 30 characters max.
- *
- * @return string
- */
- public function getSenderBatchId()
- {
- return $this->sender_batch_id;
- }
-
- /**
- * The data for a payout item that the sender initially provided.
- *
- * @param \PayPal\Api\PayoutItem $payout_item
- *
- * @return $this
- */
- public function setPayoutItem($payout_item)
- {
- $this->payout_item = $payout_item;
- return $this;
- }
-
- /**
- * The data for a payout item that the sender initially provided.
- *
- * @return \PayPal\Api\PayoutItem
- */
- public function getPayoutItem()
- {
- return $this->payout_item;
- }
-
- /**
- * Time of the last processing for this item.
- *
- * @param string $time_processed
- *
- * @return $this
- */
- public function setTimeProcessed($time_processed)
- {
- $this->time_processed = $time_processed;
- return $this;
- }
-
- /**
- * Time of the last processing for this item.
- *
- * @return string
- */
- public function getTimeProcessed()
- {
- return $this->time_processed;
- }
-
- /**
- * Sets Error
- *
- * @param \PayPal\Api\Error $errors
- *
- * @return $this
- */
- public function setErrors($errors)
- {
- $this->errors = $errors;
- return $this;
- }
-
- /**
- * Gets Error
- *
- * @return \PayPal\Api\Error
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutSenderBatchHeader.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutSenderBatchHeader.php
deleted file mode 100644
index 2cd0f64..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutSenderBatchHeader.php
+++ /dev/null
@@ -1,89 +0,0 @@
-sender_batch_id = $sender_batch_id;
- return $this;
- }
-
- /**
- * Sender-created ID for tracking the batch payout in an accounting system. 30 characters max.
- *
- * @return string
- */
- public function getSenderBatchId()
- {
- return $this->sender_batch_id;
- }
-
- /**
- * The subject line text for the email that PayPal sends when a payout item is completed. (The subject line is the same for all recipients.) Maximum of 255 single-byte alphanumeric characters.
- *
- * @param string $email_subject
- *
- * @return $this
- */
- public function setEmailSubject($email_subject)
- {
- $this->email_subject = $email_subject;
- return $this;
- }
-
- /**
- * The subject line text for the email that PayPal sends when a payout item is completed. (The subject line is the same for all recipients.) Maximum of 255 single-byte alphanumeric characters.
- *
- * @return string
- */
- public function getEmailSubject()
- {
- return $this->email_subject;
- }
-
- /**
- * The type of ID for a payment receiver. If this field is provided, the payout items without a `recipient_type` will use the provided value. If this field is not provided, each payout item must include a value for the `recipient_type`.
- *
- * @param string $recipient_type
- *
- * @return $this
- */
- public function setRecipientType($recipient_type)
- {
- $this->recipient_type = $recipient_type;
- return $this;
- }
-
- /**
- * The type of ID for a payment receiver. If this field is provided, the payout items without a `recipient_type` will use the provided value. If this field is not provided, each payout item must include a value for the `recipient_type`.
- *
- * @return string
- */
- public function getRecipientType()
- {
- return $this->recipient_type;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Phone.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Phone.php
deleted file mode 100644
index 8f9d89f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Phone.php
+++ /dev/null
@@ -1,89 +0,0 @@
-country_code = $country_code;
- return $this;
- }
-
- /**
- * Country code (from in E.164 format)
- *
- * @return string
- */
- public function getCountryCode()
- {
- return $this->country_code;
- }
-
- /**
- * In-country phone number (from in E.164 format)
- *
- * @param string $national_number
- *
- * @return $this
- */
- public function setNationalNumber($national_number)
- {
- $this->national_number = $national_number;
- return $this;
- }
-
- /**
- * In-country phone number (from in E.164 format)
- *
- * @return string
- */
- public function getNationalNumber()
- {
- return $this->national_number;
- }
-
- /**
- * Phone extension
- *
- * @param string $extension
- *
- * @return $this
- */
- public function setExtension($extension)
- {
- $this->extension = $extension;
- return $this;
- }
-
- /**
- * Phone extension
- *
- * @return string
- */
- public function getExtension()
- {
- return $this->extension;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php
deleted file mode 100644
index 630a9dc..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php
+++ /dev/null
@@ -1,445 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the billing plan. 128 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Name of the billing plan. 128 characters max.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the billing plan. 128 characters max.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Description of the billing plan. 128 characters max.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of the billing plan. 128 characters max.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Type of the billing plan. Allowed values: `FIXED`, `INFINITE`.
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Type of the billing plan. Allowed values: `FIXED`, `INFINITE`.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Status of the billing plan. Allowed values: `CREATED`, `ACTIVE`, `INACTIVE`, and `DELETED`.
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * Status of the billing plan. Allowed values: `CREATED`, `ACTIVE`, `INACTIVE`, and `DELETED`.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Time when the billing plan was created. Format YYYY-MM-DDTimeTimezone, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time when the billing plan was created. Format YYYY-MM-DDTimeTimezone, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time when this billing plan was updated. Format YYYY-MM-DDTimeTimezone, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time when this billing plan was updated. Format YYYY-MM-DDTimeTimezone, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Array of payment definitions for this billing plan.
- *
- * @param \PayPal\Api\PaymentDefinition[] $payment_definitions
- *
- * @return $this
- */
- public function setPaymentDefinitions($payment_definitions)
- {
- $this->payment_definitions = $payment_definitions;
- return $this;
- }
-
- /**
- * Array of payment definitions for this billing plan.
- *
- * @return \PayPal\Api\PaymentDefinition[]
- */
- public function getPaymentDefinitions()
- {
- return $this->payment_definitions;
- }
-
- /**
- * Append PaymentDefinitions to the list.
- *
- * @param \PayPal\Api\PaymentDefinition $paymentDefinition
- * @return $this
- */
- public function addPaymentDefinition($paymentDefinition)
- {
- if (!$this->getPaymentDefinitions()) {
- return $this->setPaymentDefinitions(array($paymentDefinition));
- } else {
- return $this->setPaymentDefinitions(
- array_merge($this->getPaymentDefinitions(), array($paymentDefinition))
- );
- }
- }
-
- /**
- * Remove PaymentDefinitions from the list.
- *
- * @param \PayPal\Api\PaymentDefinition $paymentDefinition
- * @return $this
- */
- public function removePaymentDefinition($paymentDefinition)
- {
- return $this->setPaymentDefinitions(
- array_diff($this->getPaymentDefinitions(), array($paymentDefinition))
- );
- }
-
- /**
- * Array of terms for this billing plan.
- *
- * @param \PayPal\Api\Terms[] $terms
- *
- * @return $this
- */
- public function setTerms($terms)
- {
- $this->terms = $terms;
- return $this;
- }
-
- /**
- * Array of terms for this billing plan.
- *
- * @return \PayPal\Api\Terms[]
- */
- public function getTerms()
- {
- return $this->terms;
- }
-
- /**
- * Append Terms to the list.
- *
- * @param \PayPal\Api\Terms $terms
- * @return $this
- */
- public function addTerm($terms)
- {
- if (!$this->getTerms()) {
- return $this->setTerms(array($terms));
- } else {
- return $this->setTerms(
- array_merge($this->getTerms(), array($terms))
- );
- }
- }
-
- /**
- * Remove Terms from the list.
- *
- * @param \PayPal\Api\Terms $terms
- * @return $this
- */
- public function removeTerm($terms)
- {
- return $this->setTerms(
- array_diff($this->getTerms(), array($terms))
- );
- }
-
- /**
- * Specific preferences such as: set up fee, max fail attempts, autobill amount, and others that are configured for this billing plan.
- *
- * @param \PayPal\Api\MerchantPreferences $merchant_preferences
- *
- * @return $this
- */
- public function setMerchantPreferences($merchant_preferences)
- {
- $this->merchant_preferences = $merchant_preferences;
- return $this;
- }
-
- /**
- * Specific preferences such as: set up fee, max fail attempts, autobill amount, and others that are configured for this billing plan.
- *
- * @return \PayPal\Api\MerchantPreferences
- */
- public function getMerchantPreferences()
- {
- return $this->merchant_preferences;
- }
-
- /**
- * Retrieve the details for a particular billing plan by passing the billing plan ID to the request URI.
- *
- * @param string $planId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Plan
- */
- public static function get($planId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($planId, 'planId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/billing-plans/$planId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Plan();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Create a new billing plan by passing the details for the plan, including the plan name, description, and type, to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Plan
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/payments/billing-plans/",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Replace specific fields within a billing plan by passing the ID of the billing plan to the request URI. In addition, pass a patch object in the request JSON that specifies the operation to perform, field to update, and new value for each update.
- *
- * @param PatchRequest $patchRequest
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function update($patchRequest, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patchRequest, 'patchRequest');
- $payLoad = $patchRequest->toJSON();
- self::executeCall(
- "/v1/payments/billing-plans/{$this->getId()}",
- "PATCH",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Delete a billing plan by passing the ID of the billing plan to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function delete($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $patchRequest = new PatchRequest();
- $patch = new Patch();
- $value = new PayPalModel('{
- "state":"DELETED"
- }');
- $patch->setOp('replace')
- ->setPath('/')
- ->setValue($value);
- $patchRequest->addPatch($patch);
- return $this->update($patchRequest, $apiContext, $restCall);
- }
-
- /**
- * List billing plans according to optional query string parameters specified.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return PlanList
- */
- public static function all($params, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($params, 'params');
- $payLoad = "";
- $allowedParams = array(
- 'page_size' => 1,
- 'status' => 1,
- 'page' => 1,
- 'total_required' => 1
- );
- $json = self::executeCall(
- "/v1/payments/billing-plans/" . "?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new PlanList();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PlanList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PlanList.php
deleted file mode 100644
index 495599b..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PlanList.php
+++ /dev/null
@@ -1,173 +0,0 @@
-plans = $plans;
- return $this;
- }
-
- /**
- * Array of billing plans.
- *
- * @return \PayPal\Api\Plan[]
- */
- public function getPlans()
- {
- return $this->plans;
- }
-
- /**
- * Append Plans to the list.
- *
- * @param \PayPal\Api\Plan $plan
- * @return $this
- */
- public function addPlan($plan)
- {
- if (!$this->getPlans()) {
- return $this->setPlans(array($plan));
- } else {
- return $this->setPlans(
- array_merge($this->getPlans(), array($plan))
- );
- }
- }
-
- /**
- * Remove Plans from the list.
- *
- * @param \PayPal\Api\Plan $plan
- * @return $this
- */
- public function removePlan($plan)
- {
- return $this->setPlans(
- array_diff($this->getPlans(), array($plan))
- );
- }
-
- /**
- * Total number of items.
- *
- * @param string $total_items
- *
- * @return $this
- */
- public function setTotalItems($total_items)
- {
- $this->total_items = $total_items;
- return $this;
- }
-
- /**
- * Total number of items.
- *
- * @return string
- */
- public function getTotalItems()
- {
- return $this->total_items;
- }
-
- /**
- * Total number of pages.
- *
- * @param string $total_pages
- *
- * @return $this
- */
- public function setTotalPages($total_pages)
- {
- $this->total_pages = $total_pages;
- return $this;
- }
-
- /**
- * Total number of pages.
- *
- * @return string
- */
- public function getTotalPages()
- {
- return $this->total_pages;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PotentialPayerInfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PotentialPayerInfo.php
deleted file mode 100644
index fc57e17..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PotentialPayerInfo.php
+++ /dev/null
@@ -1,112 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Email address representing the potential payer.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * ExternalRememberMe id representing the potential payer
- *
- * @param string $external_remember_me_id
- *
- * @return $this
- */
- public function setExternalRememberMeId($external_remember_me_id)
- {
- $this->external_remember_me_id = $external_remember_me_id;
- return $this;
- }
-
- /**
- * ExternalRememberMe id representing the potential payer
- *
- * @return string
- */
- public function getExternalRememberMeId()
- {
- return $this->external_remember_me_id;
- }
-
- /**
- * Account Number representing the potential payer
- * @deprecated Not publicly available
- * @param string $account_number
- *
- * @return $this
- */
- public function setAccountNumber($account_number)
- {
- $this->account_number = $account_number;
- return $this;
- }
-
- /**
- * Account Number representing the potential payer
- * @deprecated Not publicly available
- * @return string
- */
- public function getAccountNumber()
- {
- return $this->account_number;
- }
-
- /**
- * Billing address of the potential payer.
- *
- * @param \PayPal\Api\Address $billing_address
- *
- * @return $this
- */
- public function setBillingAddress($billing_address)
- {
- $this->billing_address = $billing_address;
- return $this;
- }
-
- /**
- * Billing address of the potential payer.
- *
- * @return \PayPal\Api\Address
- */
- public function getBillingAddress()
- {
- return $this->billing_address;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Presentation.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Presentation.php
deleted file mode 100644
index e75aa80..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Presentation.php
+++ /dev/null
@@ -1,92 +0,0 @@
-brand_name = $brand_name;
- return $this;
- }
-
- /**
- * A label that overrides the business name in the PayPal account on the PayPal pages.
- *
- * @return string
- */
- public function getBrandName()
- {
- return $this->brand_name;
- }
-
- /**
- * A URL to logo image. Allowed vaues: `.gif`, `.jpg`, or `.png`.
- *
- *
- * @param string $logo_image
- *
- * @return $this
- */
- public function setLogoImage($logo_image)
- {
- $this->logo_image = $logo_image;
- return $this;
- }
-
- /**
- * A URL to logo image. Allowed vaues: `.gif`, `.jpg`, or `.png`.
- *
- * @return string
- */
- public function getLogoImage()
- {
- return $this->logo_image;
- }
-
- /**
- * Locale of pages displayed by PayPal payment experience.
- *
- *
- * @param string $locale_code
- *
- * @return $this
- */
- public function setLocaleCode($locale_code)
- {
- $this->locale_code = $locale_code;
- return $this;
- }
-
- /**
- * Locale of pages displayed by PayPal payment experience.
- *
- * @return string
- */
- public function getLocaleCode()
- {
- return $this->locale_code;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PrivateLabelCard.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PrivateLabelCard.php
deleted file mode 100644
index 385a1cc..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/PrivateLabelCard.php
+++ /dev/null
@@ -1,137 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * encrypted identifier of the private label card instrument.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * last 4 digits of the card number.
- *
- * @param string $card_number
- *
- * @return $this
- */
- public function setCardNumber($card_number)
- {
- $this->card_number = $card_number;
- return $this;
- }
-
- /**
- * last 4 digits of the card number.
- *
- * @return string
- */
- public function getCardNumber()
- {
- return $this->card_number;
- }
-
- /**
- * Merchants providing private label store cards have associated issuer account. This value indicates encrypted account number of the associated issuer account.
- *
- * @param string $issuer_id
- *
- * @return $this
- */
- public function setIssuerId($issuer_id)
- {
- $this->issuer_id = $issuer_id;
- return $this;
- }
-
- /**
- * Merchants providing private label store cards have associated issuer account. This value indicates encrypted account number of the associated issuer account.
- *
- * @return string
- */
- public function getIssuerId()
- {
- return $this->issuer_id;
- }
-
- /**
- * Merchants providing private label store cards have associated issuer account. This value indicates name on the issuer account.
- *
- * @param string $issuer_name
- *
- * @return $this
- */
- public function setIssuerName($issuer_name)
- {
- $this->issuer_name = $issuer_name;
- return $this;
- }
-
- /**
- * Merchants providing private label store cards have associated issuer account. This value indicates name on the issuer account.
- *
- * @return string
- */
- public function getIssuerName()
- {
- return $this->issuer_name;
- }
-
- /**
- * This value indicates URL to access PLCC program logo image
- *
- * @param string $image_key
- *
- * @return $this
- */
- public function setImageKey($image_key)
- {
- $this->image_key = $image_key;
- return $this;
- }
-
- /**
- * This value indicates URL to access PLCC program logo image
- *
- * @return string
- */
- public function getImageKey()
- {
- return $this->image_key;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ProcessorResponse.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ProcessorResponse.php
deleted file mode 100644
index 5854670..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ProcessorResponse.php
+++ /dev/null
@@ -1,162 +0,0 @@
-response_code = $response_code;
- return $this;
- }
-
- /**
- * Paypal normalized response code, generated from the processor's specific response code
- *
- * @return string
- */
- public function getResponseCode()
- {
- return $this->response_code;
- }
-
- /**
- * Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/
- *
- * @param string $avs_code
- *
- * @return $this
- */
- public function setAvsCode($avs_code)
- {
- $this->avs_code = $avs_code;
- return $this;
- }
-
- /**
- * Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/
- *
- * @return string
- */
- public function getAvsCode()
- {
- return $this->avs_code;
- }
-
- /**
- * CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/
- *
- * @param string $cvv_code
- *
- * @return $this
- */
- public function setCvvCode($cvv_code)
- {
- $this->cvv_code = $cvv_code;
- return $this;
- }
-
- /**
- * CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/
- *
- * @return string
- */
- public function getCvvCode()
- {
- return $this->cvv_code;
- }
-
- /**
- * Provides merchant advice on how to handle declines related to recurring payments
- * Valid Values: ["01_NEW_ACCOUNT_INFORMATION", "02_TRY_AGAIN_LATER", "02_STOP_SPECIFIC_PAYMENT", "03_DO_NOT_TRY_AGAIN", "03_REVOKE_AUTHORIZATION_FOR_FUTURE_PAYMENT", "21_DO_NOT_TRY_AGAIN_CARD_HOLDER_CANCELLED_RECURRRING_CHARGE", "21_CANCEL_ALL_RECURRING_PAYMENTS"]
- *
- * @param string $advice_code
- *
- * @return $this
- */
- public function setAdviceCode($advice_code)
- {
- $this->advice_code = $advice_code;
- return $this;
- }
-
- /**
- * Provides merchant advice on how to handle declines related to recurring payments
- *
- * @return string
- */
- public function getAdviceCode()
- {
- return $this->advice_code;
- }
-
- /**
- * Response back from the authorization. Provided by the processor
- *
- * @param string $eci_submitted
- *
- * @return $this
- */
- public function setEciSubmitted($eci_submitted)
- {
- $this->eci_submitted = $eci_submitted;
- return $this;
- }
-
- /**
- * Response back from the authorization. Provided by the processor
- *
- * @return string
- */
- public function getEciSubmitted()
- {
- return $this->eci_submitted;
- }
-
- /**
- * Visa Payer Authentication Service status. Will be return from processor
- *
- * @param string $vpas
- *
- * @return $this
- */
- public function setVpas($vpas)
- {
- $this->vpas = $vpas;
- return $this;
- }
-
- /**
- * Visa Payer Authentication Service status. Will be return from processor
- *
- * @return string
- */
- public function getVpas()
- {
- return $this->vpas;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RecipientBankingInstruction.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RecipientBankingInstruction.php
deleted file mode 100644
index 9c2fd0d..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RecipientBankingInstruction.php
+++ /dev/null
@@ -1,161 +0,0 @@
-bank_name = $bank_name;
- return $this;
- }
-
- /**
- * Name of the financial institution.
- *
- * @return string
- */
- public function getBankName()
- {
- return $this->bank_name;
- }
-
- /**
- * Name of the account holder
- *
- * @param string $account_holder_name
- *
- * @return $this
- */
- public function setAccountHolderName($account_holder_name)
- {
- $this->account_holder_name = $account_holder_name;
- return $this;
- }
-
- /**
- * Name of the account holder
- *
- * @return string
- */
- public function getAccountHolderName()
- {
- return $this->account_holder_name;
- }
-
- /**
- * bank account number
- *
- * @param string $account_number
- *
- * @return $this
- */
- public function setAccountNumber($account_number)
- {
- $this->account_number = $account_number;
- return $this;
- }
-
- /**
- * bank account number
- *
- * @return string
- */
- public function getAccountNumber()
- {
- return $this->account_number;
- }
-
- /**
- * bank routing number
- *
- * @param string $routing_number
- *
- * @return $this
- */
- public function setRoutingNumber($routing_number)
- {
- $this->routing_number = $routing_number;
- return $this;
- }
-
- /**
- * bank routing number
- *
- * @return string
- */
- public function getRoutingNumber()
- {
- return $this->routing_number;
- }
-
- /**
- * IBAN equivalent of the bank
- *
- * @param string $international_bank_account_number
- *
- * @return $this
- */
- public function setInternationalBankAccountNumber($international_bank_account_number)
- {
- $this->international_bank_account_number = $international_bank_account_number;
- return $this;
- }
-
- /**
- * IBAN equivalent of the bank
- *
- * @return string
- */
- public function getInternationalBankAccountNumber()
- {
- return $this->international_bank_account_number;
- }
-
- /**
- * BIC identifier of the financial institution
- *
- * @param string $bank_identifier_code
- *
- * @return $this
- */
- public function setBankIdentifierCode($bank_identifier_code)
- {
- $this->bank_identifier_code = $bank_identifier_code;
- return $this;
- }
-
- /**
- * BIC identifier of the financial institution
- *
- * @return string
- */
- public function getBankIdentifierCode()
- {
- return $this->bank_identifier_code;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RedirectUrls.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RedirectUrls.php
deleted file mode 100644
index 5c97ba4..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RedirectUrls.php
+++ /dev/null
@@ -1,68 +0,0 @@
-return_url = $return_url;
- return $this;
- }
-
- /**
- * Url where the payer would be redirected to after approving the payment. **Required for PayPal account payments.**
- *
- * @return string
- */
- public function getReturnUrl()
- {
- return $this->return_url;
- }
-
- /**
- * Url where the payer would be redirected to after canceling the payment. **Required for PayPal account payments.**
- *
- * @param string $cancel_url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setCancelUrl($cancel_url)
- {
- UrlValidator::validate($cancel_url, "CancelUrl");
- $this->cancel_url = $cancel_url;
- return $this;
- }
-
- /**
- * Url where the payer would be redirected to after canceling the payment. **Required for PayPal account payments.**
- *
- * @return string
- */
- public function getCancelUrl()
- {
- return $this->cancel_url;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Refund.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Refund.php
deleted file mode 100644
index dfddb0c..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Refund.php
+++ /dev/null
@@ -1,286 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the refund transaction. 17 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Details including both refunded amount (to payer) and refunded fee (to payee). 10 characters max.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Details including both refunded amount (to payer) and refunded fee (to payee). 10 characters max.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * State of the refund.
- * Valid Values: ["pending", "completed", "failed"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the refund.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Reason description for the Sale transaction being refunded.
- *
- * @param string $reason
- *
- * @return $this
- */
- public function setReason($reason)
- {
- $this->reason = $reason;
- return $this;
- }
-
- /**
- * Reason description for the Sale transaction being refunded.
- *
- * @return string
- */
- public function getReason()
- {
- return $this->reason;
- }
-
- /**
- * ID of the Sale transaction being refunded.
- *
- * @param string $sale_id
- *
- * @return $this
- */
- public function setSaleId($sale_id)
- {
- $this->sale_id = $sale_id;
- return $this;
- }
-
- /**
- * ID of the Sale transaction being refunded.
- *
- * @return string
- */
- public function getSaleId()
- {
- return $this->sale_id;
- }
-
- /**
- * ID of the sale transaction being refunded.
- *
- * @param string $capture_id
- *
- * @return $this
- */
- public function setCaptureId($capture_id)
- {
- $this->capture_id = $capture_id;
- return $this;
- }
-
- /**
- * ID of the sale transaction being refunded.
- *
- * @return string
- */
- public function getCaptureId()
- {
- return $this->capture_id;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @param string $parent_payment
- *
- * @return $this
- */
- public function setParentPayment($parent_payment)
- {
- $this->parent_payment = $parent_payment;
- return $this;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @return string
- */
- public function getParentPayment()
- {
- return $this->parent_payment;
- }
-
- /**
- * Description of what is being refunded for.
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Description of what is being refunded for.
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Time of refund as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time of refund as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time that the resource was last updated.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Retrieve details about a specific refund by passing the refund_id in the request URI.
- *
- * @param string $refundId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Refund
- */
- public static function get($refundId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($refundId, 'refundId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/refund/$refundId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Refund();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RefundDetail.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RefundDetail.php
deleted file mode 100644
index 26023b0..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RefundDetail.php
+++ /dev/null
@@ -1,90 +0,0 @@
-type = $type;
- return $this;
- }
-
- /**
- * PayPal refund type indicating whether refund was done in invoicing flow via PayPal or externally. In the case of the mark-as-refunded API, refund type is EXTERNAL and this is what is now supported. The PAYPAL value is provided for backward compatibility.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Date when the invoice was marked as refunded. If no date is specified, the current date and time is used as the default. In addition, the date must be after the invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $date
- *
- * @return $this
- */
- public function setDate($date)
- {
- $this->date = $date;
- return $this;
- }
-
- /**
- * Date when the invoice was marked as refunded. If no date is specified, the current date and time is used as the default. In addition, the date must be after the invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getDate()
- {
- return $this->date;
- }
-
- /**
- * Optional note associated with the refund.
- *
- * @param string $note
- *
- * @return $this
- */
- public function setNote($note)
- {
- $this->note = $note;
- return $this;
- }
-
- /**
- * Optional note associated with the refund.
- *
- * @return string
- */
- public function getNote()
- {
- return $this->note;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RelatedResources.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RelatedResources.php
deleted file mode 100644
index e8f9719..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/RelatedResources.php
+++ /dev/null
@@ -1,137 +0,0 @@
-sale = $sale;
- return $this;
- }
-
- /**
- * Sale transaction
- *
- * @return \PayPal\Api\Sale
- */
- public function getSale()
- {
- return $this->sale;
- }
-
- /**
- * Authorization transaction
- *
- * @param \PayPal\Api\Authorization $authorization
- *
- * @return $this
- */
- public function setAuthorization($authorization)
- {
- $this->authorization = $authorization;
- return $this;
- }
-
- /**
- * Authorization transaction
- *
- * @return \PayPal\Api\Authorization
- */
- public function getAuthorization()
- {
- return $this->authorization;
- }
-
- /**
- * Order transaction
- *
- * @param \PayPal\Api\Order $order
- *
- * @return $this
- */
- public function setOrder($order)
- {
- $this->order = $order;
- return $this;
- }
-
- /**
- * Order transaction
- *
- * @return \PayPal\Api\Order
- */
- public function getOrder()
- {
- return $this->order;
- }
-
- /**
- * Capture transaction
- *
- * @param \PayPal\Api\Capture $capture
- *
- * @return $this
- */
- public function setCapture($capture)
- {
- $this->capture = $capture;
- return $this;
- }
-
- /**
- * Capture transaction
- *
- * @return \PayPal\Api\Capture
- */
- public function getCapture()
- {
- return $this->capture;
- }
-
- /**
- * Refund transaction
- *
- * @param \PayPal\Api\Refund $refund
- *
- * @return $this
- */
- public function setRefund($refund)
- {
- $this->refund = $refund;
- return $this;
- }
-
- /**
- * Refund transaction
- *
- * @return \PayPal\Api\Refund
- */
- public function getRefund()
- {
- return $this->refund;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Sale.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Sale.php
deleted file mode 100644
index 856cbe4..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Sale.php
+++ /dev/null
@@ -1,611 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the sale transaction.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Identifier of the purchased unit associated with this object.
- *
- * @param string $purchase_unit_reference_id
- *
- * @return $this
- */
- public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
- {
- $this->purchase_unit_reference_id = $purchase_unit_reference_id;
- return $this;
- }
-
- /**
- * Identifier of the purchased unit associated with this object.
- *
- * @return string
- */
- public function getPurchaseUnitReferenceId()
- {
- return $this->purchase_unit_reference_id;
- }
-
- /**
- * Amount being collected.
- *
- * @param \PayPal\Api\Amount $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Amount being collected.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Specifies payment mode of the transaction. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["INSTANT_TRANSFER", "MANUAL_BANK_TRANSFER", "DELAYED_TRANSFER", "ECHECK"]
- *
- * @param string $payment_mode
- *
- * @return $this
- */
- public function setPaymentMode($payment_mode)
- {
- $this->payment_mode = $payment_mode;
- return $this;
- }
-
- /**
- * Specifies payment mode of the transaction. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getPaymentMode()
- {
- return $this->payment_mode;
- }
-
- /**
- * State of the sale.
- * Valid Values: ["completed", "partially_refunded", "pending", "refunded"]
- *
- * @param string $state
- *
- * @return $this
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * State of the sale.
- *
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Reason code for the transaction state being Pending or Reversed. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["CHARGEBACK", "GUARANTEE", "BUYER_COMPLAINT", "REFUND", "UNCONFIRMED_SHIPPING_ADDRESS", "ECHECK", "INTERNATIONAL_WITHDRAWAL", "RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION", "PAYMENT_REVIEW", "REGULATORY_REVIEW", "UNILATERAL", "VERIFICATION_REQUIRED"]
- *
- * @param string $reason_code
- *
- * @return $this
- */
- public function setReasonCode($reason_code)
- {
- $this->reason_code = $reason_code;
- return $this;
- }
-
- /**
- * Reason code for the transaction state being Pending or Reversed. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getReasonCode()
- {
- return $this->reason_code;
- }
-
- /**
- * The level of seller protection in force for the transaction. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["ELIGIBLE", "PARTIALLY_ELIGIBLE", "INELIGIBLE"]
- *
- * @param string $protection_eligibility
- *
- * @return $this
- */
- public function setProtectionEligibility($protection_eligibility)
- {
- $this->protection_eligibility = $protection_eligibility;
- return $this;
- }
-
- /**
- * The level of seller protection in force for the transaction. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getProtectionEligibility()
- {
- return $this->protection_eligibility;
- }
-
- /**
- * The kind of seller protection in force for the transaction. It is returned only when protection_eligibility is ELIGIBLE or PARTIALLY_ELIGIBLE. Only supported when the `payment_method` is set to `paypal`.
- * Valid Values: ["ITEM_NOT_RECEIVED_ELIGIBLE", "UNAUTHORIZED_PAYMENT_ELIGIBLE", "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE"]
- *
- * @param string $protection_eligibility_type
- *
- * @return $this
- */
- public function setProtectionEligibilityType($protection_eligibility_type)
- {
- $this->protection_eligibility_type = $protection_eligibility_type;
- return $this;
- }
-
- /**
- * The kind of seller protection in force for the transaction. It is returned only when protection_eligibility is ELIGIBLE or PARTIALLY_ELIGIBLE. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getProtectionEligibilityType()
- {
- return $this->protection_eligibility_type;
- }
-
- /**
- * Expected clearing time for eCheck transactions. Only supported when the `payment_method` is set to `paypal`.
- *
- * @param string $clearing_time
- *
- * @return $this
- */
- public function setClearingTime($clearing_time)
- {
- $this->clearing_time = $clearing_time;
- return $this;
- }
-
- /**
- * Expected clearing time for eCheck transactions. Only supported when the `payment_method` is set to `paypal`.
- *
- * @return string
- */
- public function getClearingTime()
- {
- return $this->clearing_time;
- }
-
- /**
- * Status of the Recipient Fund. For now, it will be returned only when fund status is held
- * Valid Values: ["HELD"]
- *
- * @param string $payment_hold_status
- *
- * @return $this
- */
- public function setPaymentHoldStatus($payment_hold_status)
- {
- $this->payment_hold_status = $payment_hold_status;
- return $this;
- }
-
- /**
- * Status of the Recipient Fund. For now, it will be returned only when fund status is held
- *
- * @return string
- */
- public function getPaymentHoldStatus()
- {
- return $this->payment_hold_status;
- }
-
- /**
- * Reasons for PayPal holding recipient fund. It is set only if payment hold status is held
- *
- * @param string[] $payment_hold_reasons
- *
- * @return $this
- */
- public function setPaymentHoldReasons($payment_hold_reasons)
- {
- $this->payment_hold_reasons = $payment_hold_reasons;
- return $this;
- }
-
- /**
- * Reasons for PayPal holding recipient fund. It is set only if payment hold status is held
- *
- * @return string[]
- */
- public function getPaymentHoldReasons()
- {
- return $this->payment_hold_reasons;
- }
-
- /**
- * Append PaymentHoldReasons to the list.
- *
- * @param string $string
- * @return $this
- */
- public function addPaymentHoldReason($string)
- {
- if (!$this->getPaymentHoldReasons()) {
- return $this->setPaymentHoldReasons(array($string));
- } else {
- return $this->setPaymentHoldReasons(
- array_merge($this->getPaymentHoldReasons(), array($string))
- );
- }
- }
-
- /**
- * Remove PaymentHoldReasons from the list.
- *
- * @param string $string
- * @return $this
- */
- public function removePaymentHoldReason($string)
- {
- return $this->setPaymentHoldReasons(
- array_diff($this->getPaymentHoldReasons(), array($string))
- );
- }
-
- /**
- * Transaction fee charged by PayPal for this transaction.
- *
- * @param \PayPal\Api\Currency $transaction_fee
- *
- * @return $this
- */
- public function setTransactionFee($transaction_fee)
- {
- $this->transaction_fee = $transaction_fee;
- return $this;
- }
-
- /**
- * Transaction fee charged by PayPal for this transaction.
- *
- * @return \PayPal\Api\Currency
- */
- public function getTransactionFee()
- {
- return $this->transaction_fee;
- }
-
- /**
- * Net amount the merchant receives for this transaction in their receivable currency. Returned only in cross-currency use cases where a merchant bills a buyer in a non-primary currency for that buyer.
- *
- * @param \PayPal\Api\Currency $receivable_amount
- *
- * @return $this
- */
- public function setReceivableAmount($receivable_amount)
- {
- $this->receivable_amount = $receivable_amount;
- return $this;
- }
-
- /**
- * Net amount the merchant receives for this transaction in their receivable currency. Returned only in cross-currency use cases where a merchant bills a buyer in a non-primary currency for that buyer.
- *
- * @return \PayPal\Api\Currency
- */
- public function getReceivableAmount()
- {
- return $this->receivable_amount;
- }
-
- /**
- * Exchange rate applied for this transaction. Returned only in cross-currency use cases where a merchant bills a buyer in a non-primary currency for that buyer.
- *
- * @param string $exchange_rate
- *
- * @return $this
- */
- public function setExchangeRate($exchange_rate)
- {
- $this->exchange_rate = $exchange_rate;
- return $this;
- }
-
- /**
- * Exchange rate applied for this transaction. Returned only in cross-currency use cases where a merchant bills a buyer in a non-primary currency for that buyer.
- *
- * @return string
- */
- public function getExchangeRate()
- {
- return $this->exchange_rate;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept, deny, or pending action. Returned in a payment response only if the merchant has enabled FMF in the profile settings and one of the fraud filters was triggered based on those settings. See [Fraud Management Filters Summary](/docs/classic/fmf/integration-guide/FMFSummary/) for more information.
- *
- * @param \PayPal\Api\FmfDetails $fmf_details
- *
- * @return $this
- */
- public function setFmfDetails($fmf_details)
- {
- $this->fmf_details = $fmf_details;
- return $this;
- }
-
- /**
- * Fraud Management Filter (FMF) details applied for the payment that could result in accept, deny, or pending action. Returned in a payment response only if the merchant has enabled FMF in the profile settings and one of the fraud filters was triggered based on those settings. See [Fraud Management Filters Summary](/docs/classic/fmf/integration-guide/FMFSummary/) for more information.
- *
- * @return \PayPal\Api\FmfDetails
- */
- public function getFmfDetails()
- {
- return $this->fmf_details;
- }
-
- /**
- * Receipt id is a payment identification number returned for guest users to identify the payment.
- *
- * @param string $receipt_id
- *
- * @return $this
- */
- public function setReceiptId($receipt_id)
- {
- $this->receipt_id = $receipt_id;
- return $this;
- }
-
- /**
- * Receipt id is a payment identification number returned for guest users to identify the payment.
- *
- * @return string
- */
- public function getReceiptId()
- {
- return $this->receipt_id;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @param string $parent_payment
- *
- * @return $this
- */
- public function setParentPayment($parent_payment)
- {
- $this->parent_payment = $parent_payment;
- return $this;
- }
-
- /**
- * ID of the payment resource on which this transaction is based.
- *
- * @return string
- */
- public function getParentPayment()
- {
- return $this->parent_payment;
- }
-
- /**
- * Response codes returned by the processor concerning the submitted payment. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @param \PayPal\Api\ProcessorResponse $processor_response
- *
- * @return $this
- */
- public function setProcessorResponse($processor_response)
- {
- $this->processor_response = $processor_response;
- return $this;
- }
-
- /**
- * Response codes returned by the processor concerning the submitted payment. Only supported when the `payment_method` is set to `credit_card`.
- *
- * @return \PayPal\Api\ProcessorResponse
- */
- public function getProcessorResponse()
- {
- return $this->processor_response;
- }
-
- /**
- * ID of the billing agreement used as reference to execute this transaction.
- *
- * @param string $billing_agreement_id
- *
- * @return $this
- */
- public function setBillingAgreementId($billing_agreement_id)
- {
- $this->billing_agreement_id = $billing_agreement_id;
- return $this;
- }
-
- /**
- * ID of the billing agreement used as reference to execute this transaction.
- *
- * @return string
- */
- public function getBillingAgreementId()
- {
- return $this->billing_agreement_id;
- }
-
- /**
- * Time of sale as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6)
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time of sale as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6)
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Time the resource was last updated in UTC ISO8601 format.
- *
- * @param string $update_time
- *
- * @return $this
- */
- public function setUpdateTime($update_time)
- {
- $this->update_time = $update_time;
- return $this;
- }
-
- /**
- * Time the resource was last updated in UTC ISO8601 format.
- *
- * @return string
- */
- public function getUpdateTime()
- {
- return $this->update_time;
- }
-
- /**
- * Retrieve details about a sale transaction by passing the sale_id in the request URI. This request returns only the sales that were created via the REST API.
- *
- * @param string $saleId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Sale
- */
- public static function get($saleId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($saleId, 'saleId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payments/sale/$saleId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Sale();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Refund a completed payment by passing the sale_id in the request URI. In addition, include an empty JSON payload in the request body for a full refund. For a partial refund, include an amount object in the request body.
- *
- * @param Refund $refund
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Refund
- */
- public function refund($refund, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($refund, 'refund');
- $payLoad = $refund->toJSON();
- $json = self::executeCall(
- "/v1/payments/sale/{$this->getId()}/refund",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Refund();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Search.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Search.php
deleted file mode 100644
index 0594f9a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Search.php
+++ /dev/null
@@ -1,474 +0,0 @@
-email = $email;
- return $this;
- }
-
- /**
- * Initial letters of the email address.
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * Initial letters of the recipient's first name.
- *
- * @param string $recipient_first_name
- *
- * @return $this
- */
- public function setRecipientFirstName($recipient_first_name)
- {
- $this->recipient_first_name = $recipient_first_name;
- return $this;
- }
-
- /**
- * Initial letters of the recipient's first name.
- *
- * @return string
- */
- public function getRecipientFirstName()
- {
- return $this->recipient_first_name;
- }
-
- /**
- * Initial letters of the recipient's last name.
- *
- * @param string $recipient_last_name
- *
- * @return $this
- */
- public function setRecipientLastName($recipient_last_name)
- {
- $this->recipient_last_name = $recipient_last_name;
- return $this;
- }
-
- /**
- * Initial letters of the recipient's last name.
- *
- * @return string
- */
- public function getRecipientLastName()
- {
- return $this->recipient_last_name;
- }
-
- /**
- * Initial letters of the recipient's business name.
- *
- * @param string $recipient_business_name
- *
- * @return $this
- */
- public function setRecipientBusinessName($recipient_business_name)
- {
- $this->recipient_business_name = $recipient_business_name;
- return $this;
- }
-
- /**
- * Initial letters of the recipient's business name.
- *
- * @return string
- */
- public function getRecipientBusinessName()
- {
- return $this->recipient_business_name;
- }
-
- /**
- * The invoice number that appears on the invoice.
- *
- * @param string $number
- *
- * @return $this
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * The invoice number that appears on the invoice.
- *
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * Status of the invoice.
- * Valid Values: ["DRAFT", "SENT", "PAID", "MARKED_AS_PAID", "CANCELLED", "REFUNDED", "PARTIALLY_REFUNDED", "MARKED_AS_REFUNDED"]
- *
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * Status of the invoice.
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Lower limit of total amount.
- *
- * @param \PayPal\Api\Currency $lower_total_amount
- *
- * @return $this
- */
- public function setLowerTotalAmount($lower_total_amount)
- {
- $this->lower_total_amount = $lower_total_amount;
- return $this;
- }
-
- /**
- * Lower limit of total amount.
- *
- * @return \PayPal\Api\Currency
- */
- public function getLowerTotalAmount()
- {
- return $this->lower_total_amount;
- }
-
- /**
- * Upper limit of total amount.
- *
- * @param \PayPal\Api\Currency $upper_total_amount
- *
- * @return $this
- */
- public function setUpperTotalAmount($upper_total_amount)
- {
- $this->upper_total_amount = $upper_total_amount;
- return $this;
- }
-
- /**
- * Upper limit of total amount.
- *
- * @return \PayPal\Api\Currency
- */
- public function getUpperTotalAmount()
- {
- return $this->upper_total_amount;
- }
-
- /**
- * Start invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $start_invoice_date
- *
- * @return $this
- */
- public function setStartInvoiceDate($start_invoice_date)
- {
- $this->start_invoice_date = $start_invoice_date;
- return $this;
- }
-
- /**
- * Start invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getStartInvoiceDate()
- {
- return $this->start_invoice_date;
- }
-
- /**
- * End invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $end_invoice_date
- *
- * @return $this
- */
- public function setEndInvoiceDate($end_invoice_date)
- {
- $this->end_invoice_date = $end_invoice_date;
- return $this;
- }
-
- /**
- * End invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getEndInvoiceDate()
- {
- return $this->end_invoice_date;
- }
-
- /**
- * Start invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $start_due_date
- *
- * @return $this
- */
- public function setStartDueDate($start_due_date)
- {
- $this->start_due_date = $start_due_date;
- return $this;
- }
-
- /**
- * Start invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getStartDueDate()
- {
- return $this->start_due_date;
- }
-
- /**
- * End invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $end_due_date
- *
- * @return $this
- */
- public function setEndDueDate($end_due_date)
- {
- $this->end_due_date = $end_due_date;
- return $this;
- }
-
- /**
- * End invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getEndDueDate()
- {
- return $this->end_due_date;
- }
-
- /**
- * Start invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $start_payment_date
- *
- * @return $this
- */
- public function setStartPaymentDate($start_payment_date)
- {
- $this->start_payment_date = $start_payment_date;
- return $this;
- }
-
- /**
- * Start invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getStartPaymentDate()
- {
- return $this->start_payment_date;
- }
-
- /**
- * End invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $end_payment_date
- *
- * @return $this
- */
- public function setEndPaymentDate($end_payment_date)
- {
- $this->end_payment_date = $end_payment_date;
- return $this;
- }
-
- /**
- * End invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getEndPaymentDate()
- {
- return $this->end_payment_date;
- }
-
- /**
- * Start invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $start_creation_date
- *
- * @return $this
- */
- public function setStartCreationDate($start_creation_date)
- {
- $this->start_creation_date = $start_creation_date;
- return $this;
- }
-
- /**
- * Start invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getStartCreationDate()
- {
- return $this->start_creation_date;
- }
-
- /**
- * End invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @param string $end_creation_date
- *
- * @return $this
- */
- public function setEndCreationDate($end_creation_date)
- {
- $this->end_creation_date = $end_creation_date;
- return $this;
- }
-
- /**
- * End invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
- *
- * @return string
- */
- public function getEndCreationDate()
- {
- return $this->end_creation_date;
- }
-
- /**
- * Offset of the search results.
- *
- * @param \PayPal\Api\number $page
- *
- * @return $this
- */
- public function setPage($page)
- {
- $this->page = $page;
- return $this;
- }
-
- /**
- * Offset of the search results.
- *
- * @return \PayPal\Api\number
- */
- public function getPage()
- {
- return $this->page;
- }
-
- /**
- * Page size of the search results.
- *
- * @param \PayPal\Api\number $page_size
- *
- * @return $this
- */
- public function setPageSize($page_size)
- {
- $this->page_size = $page_size;
- return $this;
- }
-
- /**
- * Page size of the search results.
- *
- * @return \PayPal\Api\number
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * A flag indicating whether total count is required in the response.
- *
- * @param bool $total_count_required
- *
- * @return $this
- */
- public function setTotalCountRequired($total_count_required)
- {
- $this->total_count_required = $total_count_required;
- return $this;
- }
-
- /**
- * A flag indicating whether total count is required in the response.
- *
- * @return bool
- */
- public function getTotalCountRequired()
- {
- return $this->total_count_required;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingAddress.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingAddress.php
deleted file mode 100644
index 9bde918..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingAddress.php
+++ /dev/null
@@ -1,111 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Address ID assigned in PayPal system.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Name of the recipient at this address.
- *
- * @param string $recipient_name
- *
- * @return $this
- */
- public function setRecipientName($recipient_name)
- {
- $this->recipient_name = $recipient_name;
- return $this;
- }
-
- /**
- * Name of the recipient at this address.
- *
- * @return string
- */
- public function getRecipientName()
- {
- return $this->recipient_name;
- }
-
- /**
- * Default shipping address of the Payer.
- *
- * @param bool $default_address
- *
- * @return $this
- */
- public function setDefaultAddress($default_address)
- {
- $this->default_address = $default_address;
- return $this;
- }
-
- /**
- * Default shipping address of the Payer.
- *
- * @return bool
- */
- public function getDefaultAddress()
- {
- return $this->default_address;
- }
-
- /**
- * Shipping Address marked as preferred by Payer.
- *
- * @param bool $preferred_address
- *
- * @return $this
- */
- public function setPreferredAddress($preferred_address)
- {
- $this->preferred_address = $preferred_address;
- return $this;
- }
-
- /**
- * Shipping Address marked as preferred by Payer.
- *
- * @return bool
- */
- public function getPreferredAddress()
- {
- return $this->preferred_address;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingCost.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingCost.php
deleted file mode 100644
index b4beeb8..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingCost.php
+++ /dev/null
@@ -1,65 +0,0 @@
-amount = $amount;
- return $this;
- }
-
- /**
- * Shipping cost in amount. Range of 0 to 999999.99.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * Tax percentage on shipping amount.
- *
- * @param \PayPal\Api\Tax $tax
- *
- * @return $this
- */
- public function setTax($tax)
- {
- $this->tax = $tax;
- return $this;
- }
-
- /**
- * Tax percentage on shipping amount.
- *
- * @return \PayPal\Api\Tax
- */
- public function getTax()
- {
- return $this->tax;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingInfo.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingInfo.php
deleted file mode 100644
index 6937b03..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ShippingInfo.php
+++ /dev/null
@@ -1,158 +0,0 @@
-first_name = $first_name;
- return $this;
- }
-
- /**
- * First name of the invoice recipient. 30 characters max.
- *
- * @return string
- */
- public function getFirstName()
- {
- return $this->first_name;
- }
-
- /**
- * Last name of the invoice recipient. 30 characters max.
- *
- * @param string $last_name
- *
- * @return $this
- */
- public function setLastName($last_name)
- {
- $this->last_name = $last_name;
- return $this;
- }
-
- /**
- * Last name of the invoice recipient. 30 characters max.
- *
- * @return string
- */
- public function getLastName()
- {
- return $this->last_name;
- }
-
- /**
- * Company business name of the invoice recipient. 100 characters max.
- *
- * @param string $business_name
- *
- * @return $this
- */
- public function setBusinessName($business_name)
- {
- $this->business_name = $business_name;
- return $this;
- }
-
- /**
- * Company business name of the invoice recipient. 100 characters max.
- *
- * @return string
- */
- public function getBusinessName()
- {
- return $this->business_name;
- }
-
- /**
- *
- *
- * @param \PayPal\Api\Phone $phone
- * @return $this
- */
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- /**
- *
- *
- * @return \PayPal\Api\Phone
- */
- public function getPhone()
- {
- return $this->phone;
- }
-
- /**
- *
- *
- * @param string $email
- * @return $this
- */
- public function setEmail($email)
- {
- $this->email = $email;
- return $this;
- }
-
- /**
- *
- *
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * Address of the invoice recipient.
- *
- * @param \PayPal\Api\InvoiceAddress $address
- *
- * @return $this
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * Address of the invoice recipient.
- *
- * @return \PayPal\Api\InvoiceAddress
- */
- public function getAddress()
- {
- return $this->address;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Tax.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Tax.php
deleted file mode 100644
index ce6b9f2..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Tax.php
+++ /dev/null
@@ -1,117 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the resource.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Name of the tax. 10 characters max.
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the tax. 10 characters max.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Rate of the specified tax. Range of 0.001 to 99.999.
- *
- * @param string|double $percent
- *
- * @return $this
- */
- public function setPercent($percent)
- {
- NumericValidator::validate($percent, "Percent");
- $percent = FormatConverter::formatToPrice($percent);
- $this->percent = $percent;
- return $this;
- }
-
- /**
- * Rate of the specified tax. Range of 0.001 to 99.999.
- *
- * @return string
- */
- public function getPercent()
- {
- return $this->percent;
- }
-
- /**
- * Tax in the form of money. Cannot be specified in a request.
- *
- * @param \PayPal\Api\Currency $amount
- *
- * @return $this
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * Tax in the form of money. Cannot be specified in a request.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Terms.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Terms.php
deleted file mode 100644
index 8bc1c84..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Terms.php
+++ /dev/null
@@ -1,161 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the terms. 128 characters max.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Term type. Allowed values: `MONTHLY`, `WEEKLY`, `YEARLY`.
- *
- * @param string $type
- *
- * @return $this
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * Term type. Allowed values: `MONTHLY`, `WEEKLY`, `YEARLY`.
- *
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Max Amount associated with this term.
- *
- * @param \PayPal\Api\Currency $max_billing_amount
- *
- * @return $this
- */
- public function setMaxBillingAmount($max_billing_amount)
- {
- $this->max_billing_amount = $max_billing_amount;
- return $this;
- }
-
- /**
- * Max Amount associated with this term.
- *
- * @return \PayPal\Api\Currency
- */
- public function getMaxBillingAmount()
- {
- return $this->max_billing_amount;
- }
-
- /**
- * How many times money can be pulled during this term.
- *
- * @param string $occurrences
- *
- * @return $this
- */
- public function setOccurrences($occurrences)
- {
- $this->occurrences = $occurrences;
- return $this;
- }
-
- /**
- * How many times money can be pulled during this term.
- *
- * @return string
- */
- public function getOccurrences()
- {
- return $this->occurrences;
- }
-
- /**
- * Amount_range associated with this term.
- *
- * @param \PayPal\Api\Currency $amount_range
- *
- * @return $this
- */
- public function setAmountRange($amount_range)
- {
- $this->amount_range = $amount_range;
- return $this;
- }
-
- /**
- * Amount_range associated with this term.
- *
- * @return \PayPal\Api\Currency
- */
- public function getAmountRange()
- {
- return $this->amount_range;
- }
-
- /**
- * Buyer's ability to edit the amount in this term.
- *
- * @param string $buyer_editable
- *
- * @return $this
- */
- public function setBuyerEditable($buyer_editable)
- {
- $this->buyer_editable = $buyer_editable;
- return $this;
- }
-
- /**
- * Buyer's ability to edit the amount in this term.
- *
- * @return string
- */
- public function getBuyerEditable()
- {
- return $this->buyer_editable;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transaction.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transaction.php
deleted file mode 100644
index 9623430..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transaction.php
+++ /dev/null
@@ -1,62 +0,0 @@
-transactions = $transactions;
- return $this;
- }
-
- /**
- * Additional transactions for complex payment scenarios.
- *
- * @return self[]
- */
- public function getTransactions()
- {
- return $this->transactions;
- }
-
- /**
- * Identifier to the purchase unit corresponding to this sale transaction
- *
- * @param string $purchase_unit_reference_id
- *
- * @return $this
- */
- public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
- {
- $this->purchase_unit_reference_id = $purchase_unit_reference_id;
- return $this;
- }
-
- /**
- * Identifier to the purchase unit corresponding to this sale transaction
- *
- * @return string
- */
- public function getPurchaseUnitReferenceId()
- {
- return $this->purchase_unit_reference_id;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/TransactionBase.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/TransactionBase.php
deleted file mode 100644
index bf92833..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/TransactionBase.php
+++ /dev/null
@@ -1,40 +0,0 @@
-related_resources = $related_resources;
- return $this;
- }
-
- /**
- * List of financial transactions (Sale, Authorization, Capture, Refund) related to the payment.
- *
- * @return \PayPal\Api\RelatedResources[]
- */
- public function getRelatedResources()
- {
- return $this->related_resources;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transactions.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transactions.php
deleted file mode 100644
index f7a09c1..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Transactions.php
+++ /dev/null
@@ -1,42 +0,0 @@
-amount = $amount;
- return $this;
- }
-
- /**
- * Amount being collected.
- *
- * @return \PayPal\Api\Amount
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebProfile.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebProfile.php
deleted file mode 100644
index 0d5a8f6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebProfile.php
+++ /dev/null
@@ -1,286 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * ID of the web experience profile.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Name of the web experience profile.
- *
- *
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * Name of the web experience profile.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Parameters for flow configuration.
- *
- *
- * @param \PayPal\Api\FlowConfig $flow_config
- *
- * @return $this
- */
- public function setFlowConfig($flow_config)
- {
- $this->flow_config = $flow_config;
- return $this;
- }
-
- /**
- * Parameters for flow configuration.
- *
- * @return \PayPal\Api\FlowConfig
- */
- public function getFlowConfig()
- {
- return $this->flow_config;
- }
-
- /**
- * Parameters for input fields customization.
- *
- *
- * @param \PayPal\Api\InputFields $input_fields
- *
- * @return $this
- */
- public function setInputFields($input_fields)
- {
- $this->input_fields = $input_fields;
- return $this;
- }
-
- /**
- * Parameters for input fields customization.
- *
- * @return \PayPal\Api\InputFields
- */
- public function getInputFields()
- {
- return $this->input_fields;
- }
-
- /**
- * Parameters for style and presentation.
- *
- *
- * @param \PayPal\Api\Presentation $presentation
- *
- * @return $this
- */
- public function setPresentation($presentation)
- {
- $this->presentation = $presentation;
- return $this;
- }
-
- /**
- * Parameters for style and presentation.
- *
- * @return \PayPal\Api\Presentation
- */
- public function getPresentation()
- {
- return $this->presentation;
- }
-
- /**
- * Create a web experience profile by passing the name of the profile and other profile details in the request JSON to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return CreateProfileResponse
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/payment-experience/web-profiles/",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new CreateProfileResponse();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Update a web experience profile by passing the ID of the profile to the request URI. In addition, pass the profile details in the request JSON. If your request does not include values for all profile detail fields, the previously set values for the omitted fields are removed by this operation.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function update($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = $this->toJSON();
- self::executeCall(
- "/v1/payment-experience/web-profiles/{$this->getId()}",
- "PUT",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Partially update an existing web experience profile by passing the ID of the profile to the request URI. In addition, pass a patch object in the request JSON that specifies the operation to perform, path of the profile location to update, and a new value if needed to complete the operation.
- *
- * @param Patch[] $patch
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function partial_update($patch, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patch, 'patch');
- $payload = array();
- foreach ($patch as $patchObject) {
- $payload[] = $patchObject->toArray();
- }
- $payLoad = json_encode($payload);
- self::executeCall(
- "/v1/payment-experience/web-profiles/{$this->getId()}",
- "PATCH",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
- /**
- * Retrieve the details of a particular web experience profile by passing the ID of the profile to the request URI.
- *
- * @param string $profileId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebProfile
- */
- public static function get($profileId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($profileId, 'profileId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payment-experience/web-profiles/$profileId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebProfile();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Lists all web experience profiles that exist for a merchant (or subject).
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebProfile[]
- */
- public static function get_list($apiContext = null, $restCall = null)
- {
- $payLoad = "";
- $json = self::executeCall(
- "/v1/payment-experience/web-profiles/",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return WebProfile::getList($json);
- }
-
- /**
- * Delete an existing web experience profile by passing the profile ID to the request URI.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function delete($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- self::executeCall(
- "/v1/payment-experience/web-profiles/{$this->getId()}",
- "DELETE",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Webhook.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Webhook.php
deleted file mode 100644
index de02b77..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Webhook.php
+++ /dev/null
@@ -1,241 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the webhook resource.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Webhook notification endpoint url.
- *
- * @param string $url
- * @throws \InvalidArgumentException
- * @return $this
- */
- public function setUrl($url)
- {
- UrlValidator::validate($url, "Url");
- $this->url = $url;
- return $this;
- }
-
- /**
- * Webhook notification endpoint url.
- *
- * @return string
- */
- public function getUrl()
- {
- return $this->url;
- }
-
- /**
- * List of Webhooks event-types.
- *
- * @param \PayPal\Api\WebhookEventType[] $event_types
- *
- * @return $this
- */
- public function setEventTypes($event_types)
- {
- $this->event_types = $event_types;
- return $this;
- }
-
- /**
- * List of Webhooks event-types.
- *
- * @return \PayPal\Api\WebhookEventType[]
- */
- public function getEventTypes()
- {
- return $this->event_types;
- }
-
- /**
- * Append EventTypes to the list.
- *
- * @param \PayPal\Api\WebhookEventType $webhookEventType
- * @return $this
- */
- public function addEventType($webhookEventType)
- {
- if (!$this->getEventTypes()) {
- return $this->setEventTypes(array($webhookEventType));
- } else {
- return $this->setEventTypes(
- array_merge($this->getEventTypes(), array($webhookEventType))
- );
- }
- }
-
- /**
- * Remove EventTypes from the list.
- *
- * @param \PayPal\Api\WebhookEventType $webhookEventType
- * @return $this
- */
- public function removeEventType($webhookEventType)
- {
- return $this->setEventTypes(
- array_diff($this->getEventTypes(), array($webhookEventType))
- );
- }
-
- /**
- * Creates the Webhook for the application associated with the access token.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Webhook
- */
- public function create($apiContext = null, $restCall = null)
- {
- $payLoad = $this->toJSON();
- $json = self::executeCall(
- "/v1/notifications/webhooks",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Retrieves the Webhook identified by webhook_id for the application associated with access token.
- *
- * @param string $webhookId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Webhook
- */
- public static function get($webhookId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($webhookId, 'webhookId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks/$webhookId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new Webhook();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Retrieves all Webhooks for the application associated with access token.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookList
- */
- public static function getAll($apiContext = null, $restCall = null)
- {
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebhookList();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Updates the Webhook identified by webhook_id for the application associated with access token.
- *
- * @param PatchRequest $patchRequest
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return Webhook
- */
- public function update($patchRequest, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- ArgumentValidator::validate($patchRequest, 'patchRequest');
- $payLoad = $patchRequest->toJSON();
- $json = self::executeCall(
- "/v1/notifications/webhooks/{$this->getId()}",
- "PATCH",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Deletes the Webhook identified by webhook_id for the application associated with access token.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return bool
- */
- public function delete($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- self::executeCall(
- "/v1/notifications/webhooks/{$this->getId()}",
- "DELETE",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- return true;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEvent.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEvent.php
deleted file mode 100644
index bc9426f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEvent.php
+++ /dev/null
@@ -1,282 +0,0 @@
-id = $id;
- return $this;
- }
-
- /**
- * Identifier of the Webhooks event resource.
- *
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Time the resource was created.
- *
- * @param string $create_time
- *
- * @return $this
- */
- public function setCreateTime($create_time)
- {
- $this->create_time = $create_time;
- return $this;
- }
-
- /**
- * Time the resource was created.
- *
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- /**
- * Name of the resource contained in resource element.
- *
- * @param string $resource_type
- *
- * @return $this
- */
- public function setResourceType($resource_type)
- {
- $this->resource_type = $resource_type;
- return $this;
- }
-
- /**
- * Name of the resource contained in resource element.
- *
- * @return string
- */
- public function getResourceType()
- {
- return $this->resource_type;
- }
-
- /**
- * Name of the event type that occurred on resource, identified by data_resource element, to trigger the Webhooks event.
- *
- * @param string $event_type
- *
- * @return $this
- */
- public function setEventType($event_type)
- {
- $this->event_type = $event_type;
- return $this;
- }
-
- /**
- * Name of the event type that occurred on resource, identified by data_resource element, to trigger the Webhooks event.
- *
- * @return string
- */
- public function getEventType()
- {
- return $this->event_type;
- }
-
- /**
- * A summary description of the event. E.g. A successful payment authorization was created for $$
- *
- * @param string $summary
- *
- * @return $this
- */
- public function setSummary($summary)
- {
- $this->summary = $summary;
- return $this;
- }
-
- /**
- * A summary description of the event. E.g. A successful payment authorization was created for $$
- *
- * @return string
- */
- public function getSummary()
- {
- return $this->summary;
- }
-
- /**
- * This contains the resource that is identified by resource_type element.
- *
- * @param \PayPal\Common\PayPalModel $resource
- *
- * @return $this
- */
- public function setResource($resource)
- {
- $this->resource = $resource;
- return $this;
- }
-
- /**
- * This contains the resource that is identified by resource_type element.
- *
- * @return \PayPal\Common\PayPalModel
- */
- public function getResource()
- {
- return $this->resource;
- }
-
- /**
- * Validates Received Event from Webhook, and returns the webhook event object. Because security verifications by verifying certificate chain is not enabled in PHP yet,
- * we need to fallback to default behavior of retrieving the ID attribute of the data, and make a separate GET call to PayPal APIs, to retrieve the data.
- * This is important to do again, as hacker could have faked the data, and the retrieved data cannot be trusted without either doing client side security validation, or making a separate call
- * to PayPal APIs to retrieve the actual data. This limits the hacker to mimick a fake data, as hacker wont be able to predict the Id correctly.
- *
- * NOTE: PLEASE DO NOT USE THE DATA PROVIDED IN WEBHOOK DIRECTLY, AS HACKER COULD PASS IN FAKE DATA. IT IS VERY IMPORTANT THAT YOU RETRIEVE THE ID AND MAKE A SEPARATE CALL TO PAYPAL API.
- *
- * @param string $body
- * @param ApiContext $apiContext
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEvent
- * @throws \InvalidArgumentException if input arguments are incorrect, or Id is not found.
- * @throws PayPalConnectionException if any exception from PayPal APIs other than not found is sent.
- */
- public static function validateAndGetReceivedEvent($body, $apiContext = null, $restCall = null)
- {
- if ($body == null | empty($body)){
- throw new \InvalidArgumentException("Body cannot be null or empty");
- }
- if (!JsonValidator::validate($body, true)) {
- throw new \InvalidArgumentException("Request Body is not a valid JSON.");
- }
- $object = new WebhookEvent($body);
- if ($object->getId() == null) {
- throw new \InvalidArgumentException("Id attribute not found in JSON. Possible reason could be invalid JSON Object");
- }
- try {
- return self::get($object->getId(), $apiContext, $restCall);
- } catch(PayPalConnectionException $ex) {
- if ($ex->getCode() == 404) {
- // It means that the given webhook event Id is not found for this merchant.
- throw new \InvalidArgumentException("Webhook Event Id provided in the data is incorrect. This could happen if anyone other than PayPal is faking the incoming webhook data.");
- }
- throw $ex;
- }
- }
-
- /**
- * Retrieves the Webhooks event resource identified by event_id. Can be used to retrieve the payload for an event.
- *
- * @param string $eventId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEvent
- */
- public static function get($eventId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($eventId, 'eventId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks-events/$eventId",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebhookEvent();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Resends the Webhooks event resource identified by event_id.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEvent
- */
- public function resend($apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($this->getId(), "Id");
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks-events/{$this->getId()}/resend",
- "POST",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $this->fromJson($json);
- return $this;
- }
-
- /**
- * Retrieves the list of Webhooks events resources for the application associated with token. The developers can use it to see list of past webhooks events.
- *
- * @param array $params
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEventList
- */
- public static function all($params, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($params, 'params');
- $payLoad = "";
- $allowedParams = array(
- 'page_size' => 1,
- 'start_time' => 1,
- 'end_time' => 1,
- );
- $json = self::executeCall(
- "/v1/notifications/webhooks-events" . "?" . http_build_query(array_intersect_key($params, $allowedParams)),
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebhookEventList();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventList.php
deleted file mode 100644
index 3ad2d8a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventList.php
+++ /dev/null
@@ -1,149 +0,0 @@
-events = $events;
- return $this;
- }
-
- /**
- * A list of Webhooks event resources
- *
- * @return \PayPal\Api\WebhookEvent[]
- */
- public function getEvents()
- {
- return $this->events;
- }
-
- /**
- * Append Events to the list.
- *
- * @param \PayPal\Api\WebhookEvent $webhookEvent
- * @return $this
- */
- public function addEvent($webhookEvent)
- {
- if (!$this->getEvents()) {
- return $this->setEvents(array($webhookEvent));
- } else {
- return $this->setEvents(
- array_merge($this->getEvents(), array($webhookEvent))
- );
- }
- }
-
- /**
- * Remove Events from the list.
- *
- * @param \PayPal\Api\WebhookEvent $webhookEvent
- * @return $this
- */
- public function removeEvent($webhookEvent)
- {
- return $this->setEvents(
- array_diff($this->getEvents(), array($webhookEvent))
- );
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @param int $count
- *
- * @return $this
- */
- public function setCount($count)
- {
- $this->count = $count;
- return $this;
- }
-
- /**
- * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
- *
- * @return int
- */
- public function getCount()
- {
- return $this->count;
- }
-
- /**
- * Sets Links
- *
- * @param \PayPal\Api\Links[] $links
- *
- * @return $this
- */
- public function setLinks($links)
- {
- $this->links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventType.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventType.php
deleted file mode 100644
index ad3d579..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventType.php
+++ /dev/null
@@ -1,116 +0,0 @@
-name = $name;
- return $this;
- }
-
- /**
- * Unique event-type name.
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Human readable description of the event-type
- *
- * @param string $description
- *
- * @return $this
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * Human readable description of the event-type
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Retrieves the list of events-types subscribed by the given Webhook.
- *
- * @param string $webhookId
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEventTypeList
- */
- public static function subscribedEventTypes($webhookId, $apiContext = null, $restCall = null)
- {
- ArgumentValidator::validate($webhookId, 'webhookId');
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks/$webhookId/event-types",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebhookEventTypeList();
- $ret->fromJson($json);
- return $ret;
- }
-
- /**
- * Retrieves the master list of available Webhooks events-types resources for any webhook to subscribe to.
- *
- * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
- * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls
- * @return WebhookEventTypeList
- */
- public static function availableEventTypes($apiContext = null, $restCall = null)
- {
- $payLoad = "";
- $json = self::executeCall(
- "/v1/notifications/webhooks-event-types",
- "GET",
- $payLoad,
- null,
- $apiContext,
- $restCall
- );
- $ret = new WebhookEventTypeList();
- $ret->fromJson($json);
- return $ret;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventTypeList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventTypeList.php
deleted file mode 100644
index 61c0d65..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookEventTypeList.php
+++ /dev/null
@@ -1,71 +0,0 @@
-event_types = $event_types;
- return $this;
- }
-
- /**
- * A list of Webhooks event-types
- *
- * @return \PayPal\Api\WebhookEventType[]
- */
- public function getEventTypes()
- {
- return $this->event_types;
- }
-
- /**
- * Append EventTypes to the list.
- *
- * @param \PayPal\Api\WebhookEventType $webhookEventType
- * @return $this
- */
- public function addEventType($webhookEventType)
- {
- if (!$this->getEventTypes()) {
- return $this->setEventTypes(array($webhookEventType));
- } else {
- return $this->setEventTypes(
- array_merge($this->getEventTypes(), array($webhookEventType))
- );
- }
- }
-
- /**
- * Remove EventTypes from the list.
- *
- * @param \PayPal\Api\WebhookEventType $webhookEventType
- * @return $this
- */
- public function removeEventType($webhookEventType)
- {
- return $this->setEventTypes(
- array_diff($this->getEventTypes(), array($webhookEventType))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookList.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookList.php
deleted file mode 100644
index 4bb5148..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/WebhookList.php
+++ /dev/null
@@ -1,71 +0,0 @@
-webhooks = $webhooks;
- return $this;
- }
-
- /**
- * A list of Webhooks
- *
- * @return \PayPal\Api\Webhook[]
- */
- public function getWebhooks()
- {
- return $this->webhooks;
- }
-
- /**
- * Append Webhooks to the list.
- *
- * @param \PayPal\Api\Webhook $webhook
- * @return $this
- */
- public function addWebhook($webhook)
- {
- if (!$this->getWebhooks()) {
- return $this->setWebhooks(array($webhook));
- } else {
- return $this->setWebhooks(
- array_merge($this->getWebhooks(), array($webhook))
- );
- }
- }
-
- /**
- * Remove Webhooks from the list.
- *
- * @param \PayPal\Api\Webhook $webhook
- * @return $this
- */
- public function removeWebhook($webhook)
- {
- return $this->setWebhooks(
- array_diff($this->getWebhooks(), array($webhook))
- );
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Auth/OAuthTokenCredential.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Auth/OAuthTokenCredential.php
deleted file mode 100644
index 30749d6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Auth/OAuthTokenCredential.php
+++ /dev/null
@@ -1,313 +0,0 @@
-clientId = $clientId;
- $this->clientSecret = $clientSecret;
- $this->cipher = new Cipher($this->clientSecret);
- $this->logger = PayPalLoggingManager::getInstance(__CLASS__);
- }
-
- /**
- * Get Client ID
- *
- * @return string
- */
- public function getClientId()
- {
- return $this->clientId;
- }
-
- /**
- * Get Client Secret
- *
- * @return string
- */
- public function getClientSecret()
- {
- return $this->clientSecret;
- }
-
- /**
- * Get AccessToken
- *
- * @param $config
- *
- * @return null|string
- */
- public function getAccessToken($config)
- {
- // Check if we already have accessToken in Cache
- if ($this->accessToken && (time() - $this->tokenCreateTime) < ($this->tokenExpiresIn - self::$expiryBufferTime)) {
- return $this->accessToken;
- }
- // Check for persisted data first
- $token = AuthorizationCache::pull($config, $this->clientId);
- if ($token) {
- // We found it
- // This code block is for backward compatibility only.
- if (array_key_exists('accessToken', $token)) {
- $this->accessToken = $token['accessToken'];
- }
-
- $this->tokenCreateTime = $token['tokenCreateTime'];
- $this->tokenExpiresIn = $token['tokenExpiresIn'];
-
- // Case where we have an old unencrypted cache file
- if (!array_key_exists('accessTokenEncrypted', $token)) {
- AuthorizationCache::push($config, $this->clientId, $this->encrypt($this->accessToken), $this->tokenCreateTime, $this->tokenExpiresIn);
- } else {
- $this->accessToken = $this->decrypt($token['accessTokenEncrypted']);
- }
- }
-
- // Check if Access Token is not null and has not expired.
- // The API returns expiry time as a relative time unit
- // We use a buffer time when checking for token expiry to account
- // for API call delays and any delay between the time the token is
- // retrieved and subsequently used
- if (
- $this->accessToken != null &&
- (time() - $this->tokenCreateTime) > ($this->tokenExpiresIn - self::$expiryBufferTime)
- ) {
- $this->accessToken = null;
- }
-
-
- // If accessToken is Null, obtain a new token
- if ($this->accessToken == null) {
- // Get a new one by making calls to API
- $this->updateAccessToken($config);
- AuthorizationCache::push($config, $this->clientId, $this->encrypt($this->accessToken), $this->tokenCreateTime, $this->tokenExpiresIn);
- }
-
- return $this->accessToken;
- }
-
-
- /**
- * Get a Refresh Token from Authorization Code
- *
- * @param $config
- * @param $authorizationCode
- * @param array $params optional arrays to override defaults
- * @return string|null
- */
- public function getRefreshToken($config, $authorizationCode = null, $params = array())
- {
- static $allowedParams = array(
- 'grant_type' => 'authorization_code',
- 'code' => 1,
- 'redirect_uri' => 'urn:ietf:wg:oauth:2.0:oob',
- 'response_type' => 'token'
- );
-
- $params = is_array($params) ? $params : array();
- if ($authorizationCode) {
- //Override the authorizationCode if value is explicitly set
- $params['code'] = $authorizationCode;
- }
- $payload = http_build_query(array_merge($allowedParams, array_intersect_key($params, $allowedParams)));
-
- $response = $this->getToken($config, $this->clientId, $this->clientSecret, $payload);
-
- if ($response != null && isset($response["refresh_token"])) {
- return $response['refresh_token'];
- }
-
- return null;
- }
-
- /**
- * Updates Access Token based on given input
- *
- * @param array $config
- * @param string|null $refreshToken
- * @return string
- */
- public function updateAccessToken($config, $refreshToken = null)
- {
- $this->generateAccessToken($config, $refreshToken);
- return $this->accessToken;
- }
-
- /**
- * Retrieves the token based on the input configuration
- *
- * @param array $config
- * @param string $clientId
- * @param string $clientSecret
- * @param string $payload
- * @return mixed
- * @throws PayPalConfigurationException
- * @throws \PayPal\Exception\PayPalConnectionException
- */
- protected function getToken($config, $clientId, $clientSecret, $payload)
- {
- $httpConfig = new PayPalHttpConfig(null, 'POST', $config);
-
- $handlers = array(self::$AUTH_HANDLER);
-
- /** @var IPayPalHandler $handler */
- foreach ($handlers as $handler) {
- if (!is_object($handler)) {
- $fullHandler = "\\" . (string)$handler;
- $handler = new $fullHandler(new ApiContext($this));
- }
- $handler->handle($httpConfig, $payload, array('clientId' => $clientId, 'clientSecret' => $clientSecret));
- }
-
- $connection = new PayPalHttpConnection($httpConfig, $config);
- $res = $connection->execute($payload);
- $response = json_decode($res, true);
-
- return $response;
- }
-
-
- /**
- * Generates a new access token
- *
- * @param array $config
- * @param null|string $refreshToken
- * @return null
- * @throws PayPalConnectionException
- */
- private function generateAccessToken($config, $refreshToken = null)
- {
- $params = array('grant_type' => 'client_credentials');
- if ($refreshToken != null) {
- // If the refresh token is provided, it would get access token using refresh token
- // Used for Future Payments
- $params['grant_type'] = 'refresh_token';
- $params['refresh_token'] = $refreshToken;
- }
- $payload = http_build_query($params);
- $response = $this->getToken($config, $this->clientId, $this->clientSecret, $payload);
-
- if ($response == null || !isset($response["access_token"]) || !isset($response["expires_in"])) {
- $this->accessToken = null;
- $this->tokenExpiresIn = null;
- $this->logger->warning(
- "Could not generate new Access token. Invalid response from server: "
- );
- throw new PayPalConnectionException(null, "Could not generate new Access token. Invalid response from server: ");
- } else {
- $this->accessToken = $response["access_token"];
- $this->tokenExpiresIn = $response["expires_in"];
- }
- $this->tokenCreateTime = time();
-
- return $this->accessToken;
- }
-
- /**
- * Helper method to encrypt data using clientSecret as key
- *
- * @param $data
- * @return string
- */
- public function encrypt($data)
- {
- return $this->cipher->encrypt($data);
- }
-
- /**
- * Helper method to decrypt data using clientSecret as key
- *
- * @param $data
- * @return string
- */
- public function decrypt($data)
- {
- return $this->cipher->decrypt($data);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Cache/AuthorizationCache.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Cache/AuthorizationCache.php
deleted file mode 100644
index 46e86fd..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Cache/AuthorizationCache.php
+++ /dev/null
@@ -1,121 +0,0 @@
- $clientId,
- 'accessTokenEncrypted' => $accessToken,
- 'tokenCreateTime' => $tokenCreateTime,
- 'tokenExpiresIn' => $tokenExpiresIn
- );
- }
- if(!file_put_contents($cachePath, json_encode($tokens))) {
- throw new \Exception("Failed to write cache");
- };
- }
-
- /**
- * Determines from the Configuration if caching is currently enabled/disabled
- *
- * @param $config
- * @return bool
- */
- public static function isEnabled($config)
- {
- $value = self::getConfigValue('cache.enabled', $config);
- return empty($value) ? false : ((trim($value) == true || trim($value) == 'true'));
- }
-
- /**
- * Returns the cache file path
- *
- * @param $config
- * @return string
- */
- public static function cachePath($config)
- {
- $cachePath = self::getConfigValue('cache.FileName', $config);
- return empty($cachePath) ? __DIR__ . self::$CACHE_PATH : $cachePath;
- }
-
- /**
- * Returns the Value of the key if found in given config, or from PayPal Config Manager
- * Returns null if not found
- *
- * @param $key
- * @param $config
- * @return null|string
- */
- private static function getConfigValue($key, $config)
- {
- $config = ($config && is_array($config)) ? $config : PayPalConfigManager::getInstance()->getConfigHashmap();
- return (array_key_exists($key, $config)) ? trim($config[$key]) : null;
- }
-
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/ArrayUtil.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/ArrayUtil.php
deleted file mode 100644
index 4b4ffaf..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/ArrayUtil.php
+++ /dev/null
@@ -1,27 +0,0 @@
- $v) {
- if (is_int($k)) {
- return false;
- }
- }
- return true;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php
deleted file mode 100644
index fdfaba8..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php
+++ /dev/null
@@ -1,307 +0,0 @@
-fromJson($data) later after creating the object.
- *
- * @param null $data
- * @throws \InvalidArgumentException
- */
- public function __construct($data = null)
- {
- switch (gettype($data)) {
- case "NULL":
- break;
- case "string":
- JsonValidator::validate($data);
- $this->fromJson($data);
- break;
- case "array":
- $this->fromArray($data);
- break;
- default:
- }
- }
-
- /**
- * Returns a list of Object from Array or Json String. It is generally used when your json
- * contains an array of this object
- *
- * @param mixed $data Array object or json string representation
- * @return array
- */
- public static function getList($data)
- {
- // Return Null if Null
- if ($data === null) { return null; }
-
- if (is_a($data, get_class(new \stdClass()))) {
- //This means, root element is object
- return new static(json_encode($data));
- }
-
- $list = array();
-
- if (is_array($data)) {
- $data = json_encode($data);
- }
-
- if (JsonValidator::validate($data)) {
- // It is valid JSON
- $decoded = json_decode($data);
- if ($decoded === null) {
- return $list;
- }
- if (is_array($decoded)) {
- foreach ($decoded as $k => $v) {
- $list[] = self::getList($v);
- }
- }
- if (is_a($decoded, get_class(new \stdClass()))) {
- //This means, root element is object
- $list[] = new static(json_encode($decoded));
- }
- }
-
- return $list;
- }
-
- /**
- * Magic Get Method
- *
- * @param $key
- * @return mixed
- */
- public function __get($key)
- {
- if ($this->__isset($key)) {
- return $this->_propMap[$key];
- }
- return null;
- }
-
- /**
- * Magic Set Method
- *
- * @param $key
- * @param $value
- */
- public function __set($key, $value)
- {
- if (!is_array($value) && $value === null) {
- $this->__unset($key);
- } else {
- $this->_propMap[$key] = $value;
- }
- }
-
- /**
- * Converts the input key into a valid Setter Method Name
- *
- * @param $key
- * @return mixed
- */
- private function convertToCamelCase($key)
- {
- return str_replace(' ', '', ucwords(str_replace(array('_', '-'), ' ', $key)));
- }
-
- /**
- * Magic isSet Method
- *
- * @param $key
- * @return bool
- */
- public function __isset($key)
- {
- return isset($this->_propMap[$key]);
- }
-
- /**
- * Magic Unset Method
- *
- * @param $key
- */
- public function __unset($key)
- {
- unset($this->_propMap[$key]);
- }
-
- /**
- * Converts Params to Array
- *
- * @param $param
- * @return array
- */
- private function _convertToArray($param)
- {
- $ret = array();
- foreach ($param as $k => $v) {
- if ($v instanceof PayPalModel) {
- $ret[$k] = $v->toArray();
- } else if (sizeof($v) <= 0 && is_array($v)) {
- $ret[$k] = array();
- } else if (is_array($v)) {
- $ret[$k] = $this->_convertToArray($v);
- } else {
- $ret[$k] = $v;
- }
- }
- // If the array is empty, which means an empty object,
- // we need to convert array to StdClass object to properly
- // represent JSON String
- if (sizeof($ret) <= 0) {
- $ret = new PayPalModel();
- }
- return $ret;
- }
-
- /**
- * Fills object value from Array list
- *
- * @param $arr
- * @return $this
- */
- public function fromArray($arr)
- {
- if (!empty($arr)) {
- // Iterate over each element in array
- foreach ($arr as $k => $v) {
- // If the value is an array, it means, it is an object after conversion
- if (is_array($v)) {
- // Determine the class of the object
- if (($clazz = ReflectionUtil::getPropertyClass(get_class($this), $k)) != null){
- // If the value is an associative array, it means, its an object. Just make recursive call to it.
- if (empty($v)){
- if (ReflectionUtil::isPropertyClassArray(get_class($this), $k)) {
- // It means, it is an array of objects.
- $this->assignValue($k, array());
- continue;
- }
- $o = new $clazz();
- //$arr = array();
- $this->assignValue($k, $o);
- } elseif (ArrayUtil::isAssocArray($v)) {
- /** @var self $o */
- $o = new $clazz();
- $o->fromArray($v);
- $this->assignValue($k, $o);
- } else {
- // Else, value is an array of object/data
- $arr = array();
- // Iterate through each element in that array.
- foreach ($v as $nk => $nv) {
- if (is_array($nv)) {
- $o = new $clazz();
- $o->fromArray($nv);
- $arr[$nk] = $o;
- } else {
- $arr[$nk] = $nv;
- }
- }
- $this->assignValue($k, $arr);
- }
- } else {
- $this->assignValue($k, $v);
- }
- } else {
- $this->assignValue($k, $v);
- }
- }
- }
- return $this;
- }
-
- private function assignValue($key, $value)
- {
- $setter = 'set'. $this->convertToCamelCase($key);
- // If we find the setter, use that, otherwise use magic method.
- if (method_exists($this, $setter)) {
- $this->$setter($value);
- } else {
- $this->__set($key, $value);
- }
- }
-
- /**
- * Fills object value from Json string
- *
- * @param $json
- * @return $this
- */
- public function fromJson($json)
- {
- return $this->fromArray(json_decode($json, true));
- }
-
- /**
- * Returns array representation of object
- *
- * @return array
- */
- public function toArray()
- {
- return $this->_convertToArray($this->_propMap);
- }
-
- /**
- * Returns object JSON representation
- *
- * @param int $options http://php.net/manual/en/json.constants.php
- * @return string
- */
- public function toJSON($options = 0)
- {
- // Because of PHP Version 5.3, we cannot use JSON_UNESCAPED_SLASHES option
- // Instead we would use the str_replace command for now.
- // TODO: Replace this code with return json_encode($this->toArray(), $options | 64); once we support PHP >= 5.4
- if (version_compare(phpversion(), '5.4.0', '>=') === true) {
- return json_encode($this->toArray(), $options | 64);
- }
- return str_replace('\\/', '/', json_encode($this->toArray(), $options));
- }
-
- /**
- * Magic Method for toString
- *
- * @return string
- */
- public function __toString()
- {
- return $this->toJSON(128);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php
deleted file mode 100644
index 7662db1..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php
+++ /dev/null
@@ -1,105 +0,0 @@
-links = $links;
- return $this;
- }
-
- /**
- * Gets Links
- *
- * @return \PayPal\Api\Links[]
- */
- public function getLinks()
- {
- return $this->links;
- }
-
- public function getLink($rel)
- {
- foreach ($this->links as $link) {
- if ($link->getRel() == $rel) {
- return $link->getHref();
- }
- }
- return null;
- }
-
- /**
- * Append Links to the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function addLink($links)
- {
- if (!$this->getLinks()) {
- return $this->setLinks(array($links));
- } else {
- return $this->setLinks(
- array_merge($this->getLinks(), array($links))
- );
- }
- }
-
- /**
- * Remove Links from the list.
- *
- * @param \PayPal\Api\Links $links
- * @return $this
- */
- public function removeLink($links)
- {
- return $this->setLinks(
- array_diff($this->getLinks(), array($links))
- );
- }
-
-
- /**
- * Execute SDK Call to Paypal services
- *
- * @param string $url
- * @param string $method
- * @param string $payLoad
- * @param array $headers
- * @param ApiContext $apiContext
- * @param PayPalRestCall $restCall
- * @param array $handlers
- * @return string json response of the object
- */
- protected static function executeCall($url, $method, $payLoad, $headers = array(), $apiContext = null, $restCall = null, $handlers = array('PayPal\Handler\RestHandler'))
- {
- //Initialize the context and rest call object if not provided explicitly
- $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
- $restCall = $restCall ? $restCall : new PayPalRestCall($apiContext);
-
- //Make the execution call
- $json = $restCall->execute($handlers, $url, $method, $payLoad, $headers);
- return $json;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php
deleted file mode 100644
index d072b2f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php
+++ /dev/null
@@ -1,58 +0,0 @@
-getDocComment(),
- $annots,
- PREG_PATTERN_ORDER)) {
- return null;
- }
- foreach ($annots[1] as $i => $annot) {
- $annotations[strtolower($annot)] = empty($annots[2][$i]) ? TRUE : rtrim($annots[2][$i], " \t\n\r)");
- }
-
- return $annotations;
- }
-
- /**
- * preg_replace_callback callback function
- *
- * @param $match
- * @return string
- */
- private static function replace_callback($match)
- {
- return ucwords($match[2]);
- }
-
- /**
- * Returns the properly formatted getter function name based on class name and property
- * Formats the property name to a standard getter function
- *
- * @param string $class
- * @param string $propertyName
- * @return string getter function name
- */
- public static function getter($class, $propertyName)
- {
- return method_exists($class, "get" . ucfirst($propertyName)) ?
- "get" . ucfirst($propertyName) :
- "get" . preg_replace_callback("/([_\-\s]?([a-z0-9]+))/", "self::replace_callback", $propertyName);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Converter/FormatConverter.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Converter/FormatConverter.php
deleted file mode 100644
index e564742..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Converter/FormatConverter.php
+++ /dev/null
@@ -1,62 +0,0 @@
- 0, 'TWD' => 0);
- if ($currency && array_key_exists($currency, $currencyDecimals)) {
- if (strpos($value, ".") !== false && (floor($value) != $value)) {
- //throw exception if it has decimal values for JPY and TWD which does not ends with .00
- throw new \InvalidArgumentException("value cannot have decimals for $currency currency");
- }
- $decimals = $currencyDecimals[$currency];
- } else if (strpos($value, ".") === false) {
- // Check if value has decimal values. If not no need to assign 2 decimals with .00 at the end
- $decimals = 0;
- }
- return self::formatToNumber($value, $decimals);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConfigManager.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConfigManager.php
deleted file mode 100644
index f884df4..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConfigManager.php
+++ /dev/null
@@ -1,163 +0,0 @@
-addConfigFromIni($configFile);
- }
- }
-
- /**
- * Returns the singleton object
- *
- * @return $this
- */
- public static function getInstance()
- {
- if (!isset(self::$instance)) {
- self::$instance = new self();
- }
- return self::$instance;
- }
-
- /**
- * Add Configuration from configuration.ini files
- *
- * @param string $fileName
- * @return $this
- */
- public function addConfigFromIni($fileName)
- {
- if ($configs = parse_ini_file($fileName)) {
- $this->addConfigs($configs);
- }
- return $this;
- }
-
- /**
- * If a configuration exists in both arrays,
- * then the element from the first array will be used and
- * the matching key's element from the second array will be ignored.
- *
- * @param array $configs
- * @return $this
- */
- public function addConfigs($configs = array())
- {
- $this->configs = $configs + $this->configs;
- return $this;
- }
-
- /**
- * Simple getter for configuration params
- * If an exact match for key is not found,
- * does a "contains" search on the key
- *
- * @param string $searchKey
- * @return array
- */
- public function get($searchKey)
- {
-
- if (array_key_exists($searchKey, $this->configs)) {
- return $this->configs[$searchKey];
- } else {
- $arr = array();
- foreach ($this->configs as $k => $v) {
- if (strstr($k, $searchKey)) {
- $arr[$k] = $v;
- }
- }
-
- return $arr;
- }
-
- }
-
- /**
- * Utility method for handling account configuration
- * return config key corresponding to the API userId passed in
- *
- * If $userId is null, returns config keys corresponding to
- * all configured accounts
- *
- * @param string|null $userId
- * @return array|string
- */
- public function getIniPrefix($userId = null)
- {
-
- if ($userId == null) {
- $arr = array();
- foreach ($this->configs as $key => $value) {
- $pos = strpos($key, '.');
- if (strstr($key, "acct")) {
- $arr[] = substr($key, 0, $pos);
- }
- }
- return array_unique($arr);
- } else {
- $iniPrefix = array_search($userId, $this->configs);
- $pos = strpos($iniPrefix, '.');
- $acct = substr($iniPrefix, 0, $pos);
-
- return $acct;
- }
- }
-
- /**
- * returns the config file hashmap
- */
- public function getConfigHashmap()
- {
- return $this->configs;
- }
-
- /**
- * Disabling __clone call
- */
- public function __clone()
- {
- trigger_error('Clone is not allowed.', E_USER_ERROR);
- }
-
-}
-
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConstants.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConstants.php
deleted file mode 100644
index 1c5ca4b..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalConstants.php
+++ /dev/null
@@ -1,27 +0,0 @@
-initCredential($config);
- } catch (\Exception $e) {
- $this->credentialHashmap = array();
- throw $e;
- }
- }
-
- /**
- * Create singleton instance for this class.
- *
- * @param array|null $config
- * @return PayPalCredentialManager
- */
- public static function getInstance($config = null)
- {
- if (!self::$instance) {
- self::$instance = new self($config == null ? PayPalConfigManager::getInstance()->getConfigHashmap() : $config);
- }
- return self::$instance;
- }
-
- /**
- * Load credentials for multiple accounts, with priority given to Signature credential.
- *
- * @param array $config
- */
- private function initCredential($config)
- {
- $suffix = 1;
- $prefix = "acct";
-
- $arr = array();
- foreach ($config as $k => $v) {
- if (strstr($k, $prefix)) {
- $arr[$k] = $v;
- }
- }
- $credArr = $arr;
-
- $arr = array();
- foreach ($config as $key => $value) {
- $pos = strpos($key, '.');
- if (strstr($key, "acct")) {
- $arr[] = substr($key, 0, $pos);
- }
- }
- $arrayPartKeys = array_unique($arr);
-
- $key = $prefix . $suffix;
- $userName = null;
- while (in_array($key, $arrayPartKeys)) {
- if (isset($credArr[$key . ".ClientId"]) && isset($credArr[$key . ".ClientId"])) {
- $userName = $key;
- $this->credentialHashmap[$userName] = new OAuthTokenCredential(
- $credArr[$key . ".ClientId"],
- $credArr[$key . ".ClientSecret"]
- );
- }
- if ($userName && $this->defaultAccountName == null) {
- if (array_key_exists($key . '.UserName', $credArr)) {
- $this->defaultAccountName = $credArr[$key . '.UserName'];
- } else {
- $this->defaultAccountName = $key;
- }
- }
- $suffix++;
- $key = $prefix . $suffix;
- }
-
- }
-
- /**
- * Sets credential object for users
- *
- * @param \PayPal\Auth\OAuthTokenCredential $credential
- * @param string|null $userId User Id associated with the account
- * @param bool $default If set, it would make it as a default credential for all requests
- *
- * @return $this
- */
- public function setCredentialObject(OAuthTokenCredential $credential, $userId = null, $default = true)
- {
- $key = $userId == null ? 'default' : $userId;
- $this->credentialHashmap[$key] = $credential;
- if ($default) {
- $this->defaultAccountName = $key;
- }
- return $this;
- }
-
- /**
- * Obtain Credential Object based on UserId provided.
- *
- * @param null $userId
- * @return OAuthTokenCredential
- * @throws PayPalInvalidCredentialException
- */
- public function getCredentialObject($userId = null)
- {
- if ($userId == null && array_key_exists($this->defaultAccountName, $this->credentialHashmap)) {
- $credObj = $this->credentialHashmap[$this->defaultAccountName];
- } else if (array_key_exists($userId, $this->credentialHashmap)) {
- $credObj = $this->credentialHashmap[$userId];
- }
-
- if (empty($credObj)) {
- throw new PayPalInvalidCredentialException("Credential not found for " . ($userId ? $userId : " default user") .
- ". Please make sure your configuration/APIContext has credential information");
- }
- return $credObj;
- }
-
- /**
- * Disabling __clone call
- */
- public function __clone()
- {
- trigger_error('Clone is not allowed.', E_USER_ERROR);
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php
deleted file mode 100644
index 3864a96..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php
+++ /dev/null
@@ -1,302 +0,0 @@
- 1,
- CURLOPT_CONNECTTIMEOUT => 10,
- CURLOPT_RETURNTRANSFER => TRUE,
- CURLOPT_TIMEOUT => 60, // maximum number of seconds to allow cURL functions to execute
- CURLOPT_USERAGENT => 'PayPal-PHP-SDK',
- CURLOPT_HTTPHEADER => array(),
- CURLOPT_SSL_VERIFYHOST => 2,
- CURLOPT_SSL_VERIFYPEER => 1,
- CURLOPT_SSL_CIPHER_LIST => 'TLSv1'
- //Allowing TLSv1 cipher list.
- //Adding it like this for backward compatibility with older versions of curl
- );
-
- const HEADER_SEPARATOR = ';';
- const HTTP_GET = 'GET';
- const HTTP_POST = 'POST';
-
- private $headers = array();
-
- private $curlOptions;
-
- private $url;
-
- private $method;
-
- /***
- * Number of times to retry a failed HTTP call
- */
- private $retryCount = 0;
-
- /**
- * Default Constructor
- *
- * @param string $url
- * @param string $method HTTP method (GET, POST etc) defaults to POST
- * @param array $configs All Configurations
- */
- public function __construct($url = null, $method = self::HTTP_POST, $configs = array())
- {
- $this->url = $url;
- $this->method = $method;
- $this->curlOptions = $this->getHttpConstantsFromConfigs($configs, 'http.') + self::$defaultCurlOptions;
- // Update the Cipher List based on OpenSSL or NSS settings
- $curl = curl_version();
- $sslVersion = isset($curl['ssl_version']) ? $curl['ssl_version'] : '';
- if (substr_compare($sslVersion, "NSS/", 0, strlen("NSS/")) === 0) {
- //Remove the Cipher List for NSS
- $this->removeCurlOption(CURLOPT_SSL_CIPHER_LIST);
- }
- }
-
- /**
- * Gets Url
- *
- * @return null|string
- */
- public function getUrl()
- {
- return $this->url;
- }
-
- /**
- * Gets Method
- *
- * @return string
- */
- public function getMethod()
- {
- return $this->method;
- }
-
- /**
- * Gets all Headers
- *
- * @return array
- */
- public function getHeaders()
- {
- return $this->headers;
- }
-
- /**
- * Get Header by Name
- *
- * @param $name
- * @return string|null
- */
- public function getHeader($name)
- {
- if (array_key_exists($name, $this->headers)) {
- return $this->headers[$name];
- }
- return null;
- }
-
- /**
- * Sets Url
- *
- * @param $url
- */
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- /**
- * Set Headers
- *
- * @param array $headers
- */
- public function setHeaders(array $headers = array())
- {
- $this->headers = $headers;
- }
-
- /**
- * Adds a Header
- *
- * @param $name
- * @param $value
- * @param bool $overWrite allows you to override header value
- */
- public function addHeader($name, $value, $overWrite = true)
- {
- if (!array_key_exists($name, $this->headers) || $overWrite) {
- $this->headers[$name] = $value;
- } else {
- $this->headers[$name] = $this->headers[$name] . self::HEADER_SEPARATOR . $value;
- }
- }
-
- /**
- * Removes a Header
- *
- * @param $name
- */
- public function removeHeader($name)
- {
- unset($this->headers[$name]);
- }
-
- /**
- * Gets all curl options
- *
- * @return array
- */
- public function getCurlOptions()
- {
- return $this->curlOptions;
- }
-
- /**
- * Add Curl Option
- *
- * @param string $name
- * @param mixed $value
- */
- public function addCurlOption($name, $value)
- {
- $this->curlOptions[$name] = $value;
- }
-
- /**
- * Removes a curl option from the list
- *
- * @param $name
- */
- public function removeCurlOption($name)
- {
- unset($this->curlOptions[$name]);
- }
-
- /**
- * Set Curl Options. Overrides all curl options
- *
- * @param $options
- */
- public function setCurlOptions($options)
- {
- $this->curlOptions = $options;
- }
-
- /**
- * Set ssl parameters for certificate based client authentication
- *
- * @param $certPath
- * @param null $passPhrase
- */
- public function setSSLCert($certPath, $passPhrase = null)
- {
- $this->curlOptions[CURLOPT_SSLCERT] = realpath($certPath);
- if (isset($passPhrase) && trim($passPhrase) != "") {
- $this->curlOptions[CURLOPT_SSLCERTPASSWD] = $passPhrase;
- }
- }
-
- /**
- * Set connection timeout in seconds
- *
- * @param integer $timeout
- */
- public function setHttpTimeout($timeout)
- {
- $this->curlOptions[CURLOPT_CONNECTTIMEOUT] = $timeout;
- }
-
- /**
- * Set HTTP proxy information
- *
- * @param string $proxy
- * @throws PayPalConfigurationException
- */
- public function setHttpProxy($proxy)
- {
- $urlParts = parse_url($proxy);
- if ($urlParts == false || !array_key_exists("host", $urlParts)) {
- throw new PayPalConfigurationException("Invalid proxy configuration " . $proxy);
- }
- $this->curlOptions[CURLOPT_PROXY] = $urlParts["host"];
- if (isset($urlParts["port"])) {
- $this->curlOptions[CURLOPT_PROXY] .= ":" . $urlParts["port"];
- }
- if (isset($urlParts["user"])) {
- $this->curlOptions[CURLOPT_PROXYUSERPWD] = $urlParts["user"] . ":" . $urlParts["pass"];
- }
- }
-
- /**
- * Set Http Retry Counts
- *
- * @param int $retryCount
- */
- public function setHttpRetryCount($retryCount)
- {
- $this->retryCount = $retryCount;
- }
-
- /**
- * Get Http Retry Counts
- *
- * @return int
- */
- public function getHttpRetryCount()
- {
- return $this->retryCount;
- }
-
- /**
- * Sets the User-Agent string on the HTTP request
- *
- * @param string $userAgentString
- */
- public function setUserAgent($userAgentString)
- {
- $this->curlOptions[CURLOPT_USERAGENT] = $userAgentString;
- }
-
- /**
- * Retrieves an array of constant key, and value based on Prefix
- *
- * @param array $configs
- * @param $prefix
- * @return array
- */
- public function getHttpConstantsFromConfigs($configs = array(), $prefix)
- {
- $arr = array();
- if ($prefix != null && is_array($configs)) {
- foreach ($configs as $k => $v) {
- // Check if it startsWith
- if (substr($k, 0, strlen($prefix)) === $prefix) {
- $newKey = ltrim($k, $prefix);
- if (defined($newKey)) {
- $arr[constant($newKey)] = $v;
- }
- }
- }
- }
- return $arr;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php
deleted file mode 100644
index 0cbe5aa..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php
+++ /dev/null
@@ -1,197 +0,0 @@
-httpConfig = $httpConfig;
- $this->logger = PayPalLoggingManager::getInstance(__CLASS__);
- }
-
- /**
- * Gets all Http Headers
- *
- * @return array
- */
- private function getHttpHeaders()
- {
-
- $ret = array();
- foreach ($this->httpConfig->getHeaders() as $k => $v) {
- $ret[] = "$k: $v";
- }
- return $ret;
- }
-
- /**
- * Executes an HTTP request
- *
- * @param string $data query string OR POST content as a string
- * @throws PayPalConnectionException
- */
- /**
- * Executes an HTTP request
- *
- * @param string $data query string OR POST content as a string
- * @return mixed
- * @throws PayPalConnectionException
- */
- public function execute($data)
- {
- //Initialize the logger
- $this->logger->info($this->httpConfig->getMethod() . ' ' . $this->httpConfig->getUrl());
-
- //Initialize Curl Options
- $ch = curl_init($this->httpConfig->getUrl());
- curl_setopt_array($ch, $this->httpConfig->getCurlOptions());
- curl_setopt($ch, CURLOPT_URL, $this->httpConfig->getUrl());
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLINFO_HEADER_OUT, true);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $this->getHttpHeaders());
-
- //Determine Curl Options based on Method
- switch ($this->httpConfig->getMethod()) {
- case 'POST':
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- break;
- case 'PUT':
- case 'PATCH':
- case 'DELETE':
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- break;
- }
-
- //Default Option if Method not of given types in switch case
- if ($this->httpConfig->getMethod() != NULL) {
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $this->httpConfig->getMethod());
- }
-
- //Logging Each Headers for debugging purposes
- foreach ($this->getHttpHeaders() as $header) {
- //TODO: Strip out credentials and other secure info when logging.
- // $this->logger->debug($header);
- }
-
- //Execute Curl Request
- $result = curl_exec($ch);
- //Retrieve Response Status
- $httpStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);
-
- //Retry if Certificate Exception
- if (curl_errno($ch) == 60) {
- $this->logger->info("Invalid or no certificate authority found - Retrying using bundled CA certs file");
- curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem');
- $result = curl_exec($ch);
- //Retrieve Response Status
- $httpStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- }
-
- //Retry if Failing
- $retries = 0;
- if (in_array($httpStatus, self::$retryCodes) && $this->httpConfig->getHttpRetryCount() != null) {
- $this->logger->info("Got $httpStatus response from server. Retrying");
- do {
- $result = curl_exec($ch);
- //Retrieve Response Status
- $httpStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- } while (in_array($httpStatus, self::$retryCodes) && (++$retries < $this->httpConfig->getHttpRetryCount()));
- }
-
- //Throw Exception if Retries and Certificates doenst work
- if (curl_errno($ch)) {
- $ex = new PayPalConnectionException(
- $this->httpConfig->getUrl(),
- curl_error($ch),
- curl_errno($ch)
- );
- curl_close($ch);
- throw $ex;
- }
-
- // Get Request and Response Headers
- $requestHeaders = curl_getinfo($ch, CURLINFO_HEADER_OUT);
- //Using alternative solution to CURLINFO_HEADER_SIZE as it throws invalid number when called using PROXY.
- $responseHeaderSize = strlen($result) - curl_getinfo($ch, CURLINFO_SIZE_DOWNLOAD);
- $responseHeaders = substr($result, 0, $responseHeaderSize);
- $result = substr($result, $responseHeaderSize);
-
- $this->logger->debug("Request Headers \t: " . str_replace("\r\n", ", ", $requestHeaders));
- $this->logger->debug(($data && $data != '' ? "Request Data\t\t: " . $data : "No Request Payload") . "\n" . str_repeat('-', 128) . "\n");
- $this->logger->info("Response Status \t: " . $httpStatus);
- $this->logger->debug("Response Headers\t: " . str_replace("\r\n", ", ", $responseHeaders));
-
- //Close the curl request
- curl_close($ch);
-
- //More Exceptions based on HttpStatus Code
- if (in_array($httpStatus, self::$retryCodes)) {
- $ex = new PayPalConnectionException(
- $this->httpConfig->getUrl(),
- "Got Http response code $httpStatus when accessing {$this->httpConfig->getUrl()}. " .
- "Retried $retries times."
- );
- $ex->setData($result);
- $this->logger->error("Got Http response code $httpStatus when accessing {$this->httpConfig->getUrl()}. " .
- "Retried $retries times." . $result);
- $this->logger->debug("\n\n" . str_repeat('=', 128) . "\n");
- throw $ex;
- } else if ($httpStatus < 200 || $httpStatus >= 300) {
- $ex = new PayPalConnectionException(
- $this->httpConfig->getUrl(),
- "Got Http response code $httpStatus when accessing {$this->httpConfig->getUrl()}.",
- $httpStatus
- );
- $ex->setData($result);
- $this->logger->error("Got Http response code $httpStatus when accessing {$this->httpConfig->getUrl()}. " . $result );
- $this->logger->debug("\n\n" . str_repeat('=', 128) . "\n");
- throw $ex;
- }
-
- $this->logger->debug(($result && $result != '' ? "Response Data \t: " . $result : "No Response Body") . "\n\n" . str_repeat('=', 128) . "\n");
-
- //Return result object
- return $result;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalLoggingLevel.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalLoggingLevel.php
deleted file mode 100644
index 607420a..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalLoggingLevel.php
+++ /dev/null
@@ -1,26 +0,0 @@
-setLoggerName($loggerName);
- return $instance;
- }
-
- /**
- * Sets Logger Name. Generally defaulted to Logging Class
- *
- * @param string $loggerName
- */
- public function setLoggerName($loggerName = __CLASS__)
- {
- $this->loggerName = $loggerName;
- }
-
- /**
- * Default Constructor
- */
- public function __construct()
- {
- $config = PayPalConfigManager::getInstance()->getConfigHashmap();
-
- $this->isLoggingEnabled = (array_key_exists('log.LogEnabled', $config) && $config['log.LogEnabled'] == '1');
-
- if ($this->isLoggingEnabled) {
- $this->loggerFile = ($config['log.FileName']) ? $config['log.FileName'] : ini_get('error_log');
- $loggingLevel = strtoupper($config['log.LogLevel']);
- $this->loggingLevel =
- (isset($loggingLevel) && defined(__NAMESPACE__ . "\\PayPalLoggingLevel::$loggingLevel")) ?
- constant(__NAMESPACE__ . "\\PayPalLoggingLevel::$loggingLevel") :
- PayPalLoggingManager::DEFAULT_LOGGING_LEVEL;
- }
- }
-
- /**
- * Default Logger
- *
- * @param string $message
- * @param int $level
- */
- private function log($message, $level = PayPalLoggingLevel::INFO)
- {
- if ($this->isLoggingEnabled) {
- $config = PayPalConfigManager::getInstance()->getConfigHashmap();
- // Check if logging in live
- if (array_key_exists('mode', $config) && $config['mode'] == 'live') {
- // Live should not have logging level above INFO.
- if ($this->loggingLevel >= PayPalLoggingLevel::INFO) {
- // If it is at Debug Level, throw an warning in the log.
- if ($this->loggingLevel == PayPalLoggingLevel::DEBUG) {
- error_log("[" . date('d-m-Y h:i:s') . "] " . $this->loggerName . ": ERROR\t: Not allowed to keep 'Debug' level for Live Environments. Reduced to 'INFO'\n", 3, $this->loggerFile);
- }
- // Reducing it to info level
- $this->loggingLevel = PayPalLoggingLevel::INFO;
- }
- }
-
- if ($level <= $this->loggingLevel) {
- error_log("[" . date('d-m-Y h:i:s') . "] " . $this->loggerName . ": $message\n", 3, $this->loggerFile);
- }
- }
- }
-
- /**
- * Log Error
- *
- * @param string $message
- */
- public function error($message)
- {
- $this->log("ERROR\t: " . $message, PayPalLoggingLevel::ERROR);
- }
-
- /**
- * Log Warning
- *
- * @param string $message
- */
- public function warning($message)
- {
- $this->log("WARNING\t: " . $message, PayPalLoggingLevel::WARN);
- }
-
- /**
- * Log Info
- *
- * @param string $message
- */
- public function info($message)
- {
- $this->log("INFO\t: " . $message, PayPalLoggingLevel::INFO);
- }
-
- /**
- * Log Fine
- *
- * @param string $message
- */
- public function fine($message)
- {
- $this->log("FINE\t: " . $message, PayPalLoggingLevel::FINE);
- }
-
- /**
- * Log Fine
- *
- * @param string $message
- */
- public function debug($message)
- {
- $this->log("DEBUG\t: " . $message, PayPalLoggingLevel::DEBUG);
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/cacert.pem b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/cacert.pem
deleted file mode 100644
index 1202c20..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/cacert.pem
+++ /dev/null
@@ -1,171 +0,0 @@
-Verisign Class 3 Public Primary Certification Authority
-=======================================================
------BEGIN CERTIFICATE-----
-MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkGA1UEBhMCVVMx
-FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5
-IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVow
-XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz
-IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA
-A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94
-f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol
-hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtMEivPLCYA
-TxQT3ab7/AoRhIzzKBxnki98tsX63/Dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59Ah
-WM1pF+NEHJwZRDmJXNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2Omuf
-Tqj/ZA1k
------END CERTIFICATE-----
-
-Verisign Class 3 Public Primary Certification Authority - G2
-============================================================
------BEGIN CERTIFICATE-----
-MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT
-MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy
-eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln
-biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz
-dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT
-MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy
-eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln
-biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz
-dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCO
-FoUgRm1HP9SFIIThbbP4pO0M8RcPO/mn+SXXwc+EY/J8Y8+iR/LGWzOOZEAEaMGAuWQcRXfH2G71
-lSk8UOg013gfqLptQ5GVj0VXXn7F+8qkBOvqlzdUMG+7AUcyM83cV5tkaWH4mx0ciU9cZwIDAQAB
-MA0GCSqGSIb3DQEBBQUAA4GBAFFNzb5cy5gZnBWyATl4Lk0PZ3BwmcYQWpSkU01UbSuvDV1Ai2TT
-1+7eVmGSX6bEHRBhNtMsJzzoKQm5EWR0zLVznxxIqbxhAe7iF6YM40AIOw7n60RzKprxaZLvcRTD
-Oaxxp5EJb+RxBrO6WVcmeQD2+A2iMzAo1KpYoJ2daZH9
------END CERTIFICATE-----
-
-
-Verisign Class 3 Public Primary Certification Authority - G3
-============================================================
------BEGIN CERTIFICATE-----
-MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV
-UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
-cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
-IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh
-dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw
-CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy
-dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv
-cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkg
-Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
-ggEBAMu6nFL8eB8aHm8bN3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1
-EUGO+i2tKmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGukxUc
-cLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBmCC+Vk7+qRy+oRpfw
-EuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJXwzw3sJ2zq/3avL6QaaiMxTJ5Xpj
-055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWuimi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA
-ERSWwauSCPc/L8my/uRan2Te2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5f
-j267Cz3qWhMeDGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC
-/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565pF4ErWjfJXir0
-xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa
-t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ==
------END CERTIFICATE-----
-
-Verisign Class 4 Public Primary Certification Authority - G3
-============================================================
------BEGIN CERTIFICATE-----
-MIIEGjCCAwICEQDsoKeLbnVqAc/EfMwvlF7XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV
-UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
-cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
-IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh
-dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw
-CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy
-dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv
-cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkg
-Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
-ggEBAK3LpRFpxlmr8Y+1GQ9Wzsy1HyDkniYlS+BzZYlZ3tCD5PUPtbut8XzoIfzk6AzufEUiGXaS
-tBO3IFsJ+mGuqPKljYXCKtbeZjbSmwL0qJJgfJxptI8kHtCGUvYynEFYHiK9zUVilQhu0GbdU6LM
-8BDcVHOLBKFGMzNcF0C5nk3T875Vg+ixiY5afJqWIpA7iCXy0lOIAgwLePLmNxdLMEYH5IBtptiW
-Lugs+BGzOA1mppvqySNb247i8xOOGlktqgLw7KSHZtzBP/XYufTsgsbSPZUd5cBPhMnZo0QoBmrX
-Razwa2rvTl/4EYIeOGM0ZlDUPpNz+jDDZq3/ky2X7wMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA
-j/ola09b5KROJ1WrIhVZPMq1CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXtt
-mhwwjIDLk5Mqg6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm
-fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c2NU8Qh0XwRJd
-RTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/bLvSHgCwIe34QWKCudiyxLtG
-UPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg==
------END CERTIFICATE-----
-VeriSign Class 3 Public Primary Certification Authority - G5
-============================================================
------BEGIN CERTIFICATE-----
-MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCByjELMAkGA1UE
-BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO
-ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk
-IHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRp
-ZmljYXRpb24gQXV0aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCB
-yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2ln
-biBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZvciBh
-dXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmlt
-YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
-ggEKAoIBAQCvJAgIKXo1nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKz
-j/i5Vbext0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIzSdhD
-Y2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQGBO+QueQA5N06tRn/
-Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+rCpSx4/VBEnkjWNHiDxpg8v+R70r
-fk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/
-BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2Uv
-Z2lmMCEwHzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy
-aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKvMzEzMA0GCSqG
-SIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzEp6B4Eq1iDkVwZMXnl2YtmAl+
-X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKE
-KQsTb47bDN0lAtukixlE0kF6BWlKWE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiC
-Km0oHw0LxOXnGiYZ4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vE
-ZV8NhnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq
------END CERTIFICATE-----
-VeriSign Universal Root Certification Authority
-===============================================
------BEGIN CERTIFICATE-----
-MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCBvTELMAkGA1UE
-BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO
-ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk
-IHVzZSBvbmx5MTgwNgYDVQQDEy9WZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9u
-IEF1dGhvcml0eTAeFw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJV
-UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
-cmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
-IG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNhbCBSb290IENlcnRpZmljYXRpb24gQXV0
-aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj
-1mCOkdeQmIN65lgZOIzF9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGP
-MiJhgsWHH26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+HLL72
-9fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN/BMReYTtXlT2NJ8I
-AfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPTrJ9VAMf2CGqUuV/c4DPxhGD5WycR
-tPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0G
-CCsGAQUFBwEMBGEwX6FdoFswWTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2O
-a8PPgGrUSBgsexkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud
-DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4sAPmLGd75JR3
-Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+seQxIcaBlVZaDrHC1LGmWazx
-Y8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTx
-P/jgdFcrGJ2BtMQo2pSXpXDrrB2+BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+P
-wGZsY6rp2aQW9IHRlRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4
-mJO37M2CYfE45k+XmCpajQ==
------END CERTIFICATE-----
-
-VeriSign Class 3 Public Primary Certification Authority - G4
-============================================================
------BEGIN CERTIFICATE-----
-MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjELMAkGA1UEBhMC
-VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3
-b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVz
-ZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmlj
-YXRpb24gQXV0aG9yaXR5IC0gRzQwHhcNMDcxMTA1MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCByjEL
-MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBU
-cnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRo
-b3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5
-IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAASnVnp8
-Utpkmw4tXNherJI9/gHmGUo9FANL+mAnINmDiWn6VMaaGF5VKmTeBvaNSjutEDxlPZCIBIngMGGz
-rl0Bp3vefLK+ymVhAIau2o970ImtTR1ZmkGxvEeA3J5iw/mjgbIwga8wDwYDVR0TAQH/BAUwAwEB
-/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEw
-HzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVyaXNpZ24u
-Y29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFLMWkf3upm7ktS5Jj4d4gYDs5bG1MAoGCCqGSM49BAMD
-A2gAMGUCMGYhDBgmYFo4e1ZC4Kf8NoRRkSAsdk1DPcQdhCPQrNZ8NQbOzWm9kA3bbEhCHQ6qQgIx
-AJw9SDkjOVgaFRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA==
------END CERTIFICATE-----
-Verisign Class 3 Public Primary Certification Authority
-=======================================================
------BEGIN CERTIFICATE-----
-MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx
-FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5
-IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow
-XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz
-IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA
-A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94
-f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol
-hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBABByUqkFFBky
-CEHwxWsKzH4PIRnN5GfcX6kb5sroc50i2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWX
-bj9T/UWZYB2oK0z5XqcJ2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/
-D/xwzoiQ
------END CERTIFICATE-----
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalConfigurationException.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalConfigurationException.php
deleted file mode 100644
index 5105747..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalConfigurationException.php
+++ /dev/null
@@ -1,23 +0,0 @@
-url = $url;
- }
-
- /**
- * Sets Data
- *
- * @param $data
- */
- public function setData($data)
- {
- $this->data = $data;
- }
-
- /**
- * Gets Data
- *
- * @return string
- */
- public function getData()
- {
- return $this->data;
- }
-
- /**
- * Gets Url
- *
- * @return string
- */
- public function getUrl()
- {
- return $this->url;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalInvalidCredentialException.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalInvalidCredentialException.php
deleted file mode 100644
index 2531f5b..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalInvalidCredentialException.php
+++ /dev/null
@@ -1,36 +0,0 @@
-getLine() . ' in ' . $this->getFile()
- . ': ' . $this->getMessage() . ' ';
- return $errorMsg;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalMissingCredentialException.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalMissingCredentialException.php
deleted file mode 100644
index 9fac996..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Exception/PayPalMissingCredentialException.php
+++ /dev/null
@@ -1,37 +0,0 @@
-getLine() . ' in ' . $this->getFile()
- . ': ' . $this->getMessage() . ' ';
-
- return $errorMsg;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/IPayPalHandler.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/IPayPalHandler.php
deleted file mode 100644
index 0d1c8ff..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/IPayPalHandler.php
+++ /dev/null
@@ -1,20 +0,0 @@
-apiContext = $apiContext;
- }
-
- /**
- * @param PayPalHttpConfig $httpConfig
- * @param string $request
- * @param mixed $options
- * @return mixed|void
- * @throws PayPalConfigurationException
- * @throws PayPalInvalidCredentialException
- * @throws PayPalMissingCredentialException
- */
- public function handle($httpConfig, $request, $options)
- {
- $config = $this->apiContext->getConfig();
-
- $httpConfig->setUrl(
- rtrim(trim($this->_getEndpoint($config)), '/') .
- (isset($options['path']) ? $options['path'] : '')
- );
-
- $headers = array(
- "User-Agent" => PayPalUserAgent::getValue(PayPalConstants::SDK_NAME, PayPalConstants::SDK_VERSION),
- "Authorization" => "Basic " . base64_encode($options['clientId'] . ":" . $options['clientSecret']),
- "Accept" => "*/*"
- );
- $httpConfig->setHeaders($headers);
-
- // Add any additional Headers that they may have provided
- $headers = $this->apiContext->getRequestHeaders();
- foreach ($headers as $key => $value) {
- $httpConfig->addHeader($key, $value);
- }
- }
-
- /**
- * Get HttpConfiguration object for OAuth API
- *
- * @param array $config
- *
- * @return PayPalHttpConfig
- * @throws \PayPal\Exception\PayPalConfigurationException
- */
- private static function _getEndpoint($config)
- {
- if (isset($config['oauth.EndPoint'])) {
- $baseEndpoint = $config['oauth.EndPoint'];
- } else if (isset($config['service.EndPoint'])) {
- $baseEndpoint = $config['service.EndPoint'];
- } else if (isset($config['mode'])) {
- switch (strtoupper($config['mode'])) {
- case 'SANDBOX':
- $baseEndpoint = PayPalConstants::REST_SANDBOX_ENDPOINT;
- break;
- case 'LIVE':
- $baseEndpoint = PayPalConstants::REST_LIVE_ENDPOINT;
- break;
- default:
- throw new PayPalConfigurationException('The mode config parameter must be set to either sandbox/live');
- }
- } else {
- // Defaulting to Sandbox
- $baseEndpoint = PayPalConstants::REST_SANDBOX_ENDPOINT;
- }
-
- $baseEndpoint = rtrim(trim($baseEndpoint), '/') . "/v1/oauth2/token";
-
- return $baseEndpoint;
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php
deleted file mode 100644
index 80c94e4..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php
+++ /dev/null
@@ -1,122 +0,0 @@
-apiContext = $apiContext;
- }
-
- /**
- * @param PayPalHttpConfig $httpConfig
- * @param string $request
- * @param mixed $options
- * @return mixed|void
- * @throws PayPalConfigurationException
- * @throws PayPalInvalidCredentialException
- * @throws PayPalMissingCredentialException
- */
- public function handle($httpConfig, $request, $options)
- {
-
- $credential = $this->apiContext->getCredential();
- $config = $this->apiContext->getConfig();
-
- if ($credential == null) {
- // Try picking credentials from the config file
- $credMgr = PayPalCredentialManager::getInstance($config);
- $credValues = $credMgr->getCredentialObject();
-
- if (!is_array($credValues)) {
- throw new PayPalMissingCredentialException("Empty or invalid credentials passed");
- }
-
- $credential = new OAuthTokenCredential($credValues['clientId'], $credValues['clientSecret']);
- }
-
- if ($credential == null || !($credential instanceof OAuthTokenCredential)) {
- throw new PayPalInvalidCredentialException("Invalid credentials passed");
- }
-
- $httpConfig->setUrl(
- rtrim(trim($this->_getEndpoint($config)), '/') .
- (isset($options['path']) ? $options['path'] : '')
- );
-
- if (!array_key_exists("User-Agent", $httpConfig->getHeaders())) {
- $httpConfig->addHeader("User-Agent", PayPalUserAgent::getValue(PayPalConstants::SDK_NAME, PayPalConstants::SDK_VERSION));
- }
-
- if (!is_null($credential) && $credential instanceof OAuthTokenCredential && is_null($httpConfig->getHeader('Authorization'))) {
- $httpConfig->addHeader('Authorization', "Bearer " . $credential->getAccessToken($config), false);
- }
-
- if ($httpConfig->getMethod() == 'POST' || $httpConfig->getMethod() == 'PUT') {
- $httpConfig->addHeader('PayPal-Request-Id', $this->apiContext->getRequestId());
- }
- // Add any additional Headers that they may have provided
- $headers = $this->apiContext->getRequestHeaders();
- foreach ($headers as $key => $value) {
- $httpConfig->addHeader($key, $value);
- }
- }
-
- /**
- * End Point
- *
- * @param array $config
- *
- * @return string
- * @throws \PayPal\Exception\PayPalConfigurationException
- */
- private function _getEndpoint($config)
- {
- if (isset($config['service.EndPoint'])) {
- return $config['service.EndPoint'];
- } else if (isset($config['mode'])) {
- switch (strtoupper($config['mode'])) {
- case 'SANDBOX':
- return PayPalConstants::REST_SANDBOX_ENDPOINT;
- break;
- case 'LIVE':
- return PayPalConstants::REST_LIVE_ENDPOINT;
- break;
- default:
- throw new PayPalConfigurationException('The mode config parameter must be set to either sandbox/live');
- break;
- }
- } else {
- // Defaulting to Sandbox
- return PayPalConstants::REST_SANDBOX_ENDPOINT;
- }
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/ApiContext.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/ApiContext.php
deleted file mode 100644
index a1be160..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/ApiContext.php
+++ /dev/null
@@ -1,165 +0,0 @@
-requestId = $requestId;
- $this->credential = $credential;
- }
-
- /**
- * Get Credential
- *
- * @return \PayPal\Auth\OAuthTokenCredential
- */
- public function getCredential()
- {
- if ($this->credential == null) {
- return PayPalCredentialManager::getInstance()->getCredentialObject();
- }
- return $this->credential;
- }
-
- public function getRequestHeaders()
- {
- $result = PayPalConfigManager::getInstance()->get('http.headers');
- $headers = array();
- foreach ($result as $header => $value) {
- $headerName = ltrim($header, 'http.headers');
- $headers[$headerName] = $value;
- }
- return $headers;
- }
-
- public function addRequestHeader($name, $value)
- {
- // Determine if the name already has a 'http.headers' prefix. If not, add one.
- if (!(substr($name, 0, strlen('http.headers')) === 'http.headers')) {
- $name = 'http.headers.' . $name;
- }
- PayPalConfigManager::getInstance()->addConfigs(array($name => $value));
- }
-
- /**
- * Get Request ID
- *
- * @return string
- */
- public function getRequestId()
- {
- if ($this->requestId == null) {
- $this->requestId = $this->generateRequestId();
- }
-
- return $this->requestId;
- }
-
- /**
- * Resets the requestId that can be used to set the PayPal-request-id
- * header used for idempotency. In cases where you need to make multiple create calls
- * using the same ApiContext object, you need to reset request Id.
- *
- * @return string
- */
- public function resetRequestId()
- {
- $this->requestId = $this->generateRequestId();
- return $this->getRequestId();
- }
-
- /**
- * Sets Config
- *
- * @param array $config SDK configuration parameters
- */
- public function setConfig(array $config)
- {
- PayPalConfigManager::getInstance()->addConfigs($config);
- }
-
- /**
- * Gets Configurations
- *
- * @return array
- */
- public function getConfig()
- {
- return PayPalConfigManager::getInstance()->getConfigHashmap();
- }
-
- /**
- * Gets a specific configuration from key
- *
- * @param $searchKey
- * @return mixed
- */
- public function get($searchKey)
- {
- return PayPalConfigManager::getInstance()->get($searchKey);
- }
-
- /**
- * Generates a unique per request id that
- * can be used to set the PayPal-Request-Id header
- * that is used for idempotency
- *
- * @return string
- */
- private function generateRequestId()
- {
- static $pid = -1;
- static $addr = -1;
-
- if ($pid == -1) {
- $pid = getmypid();
- }
-
- if ($addr == -1) {
- if (array_key_exists('SERVER_ADDR', $_SERVER)) {
- $addr = ip2long($_SERVER['SERVER_ADDR']);
- } else {
- $addr = php_uname('n');
- }
- }
-
- return $addr . $pid . $_SERVER['REQUEST_TIME'] . mt_rand(0, 0xffff);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/IResource.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/IResource.php
deleted file mode 100644
index 281ac47..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Rest/IResource.php
+++ /dev/null
@@ -1,12 +0,0 @@
-secretKey = $secretKey;
- }
-
- /**
- * Encrypts the input text using the cipher key
- *
- * @param $input
- * @return string
- */
- function encrypt($input)
- {
- // Create a random IV. Not using mcrypt to generate one, as to not have a dependency on it.
- $iv = substr(uniqid("", true), 0, Cipher::IV_SIZE);
- // Encrypt the data
- $encrypted = openssl_encrypt($input, "AES-256-CBC", $this->secretKey, 0, $iv);
- // Encode the data with IV as prefix
- return base64_encode($iv . $encrypted);
- }
-
- /**
- * Decrypts the input text from the cipher key
- *
- * @param $input
- * @return string
- */
- function decrypt($input)
- {
- // Decode the IV + data
- $input = base64_decode($input);
- // Remove the IV
- $iv = substr($input, 0, Cipher::IV_SIZE);
- // Return Decrypted Data
- return openssl_decrypt(substr($input, Cipher::IV_SIZE), "AES-256-CBC", $this->secretKey, 0, $iv);
- }
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php
deleted file mode 100644
index e80f5ec..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php
+++ /dev/null
@@ -1,79 +0,0 @@
-apiContext = $apiContext;
- $this->logger = PayPalLoggingManager::getInstance(__CLASS__);
- }
-
- /**
- * @param array $handlers Array of handlers
- * @param string $path Resource path relative to base service endpoint
- * @param string $method HTTP method - one of GET, POST, PUT, DELETE, PATCH etc
- * @param string $data Request payload
- * @param array $headers HTTP headers
- * @return mixed
- * @throws \PayPal\Exception\PayPalConnectionException
- */
- public function execute($handlers = array(), $path, $method, $data = '', $headers = array())
- {
-
- $config = $this->apiContext->getConfig();
- $httpConfig = new PayPalHttpConfig(null, $method, $config);
- $headers = $headers ? $headers : array();
- $httpConfig->setHeaders($headers +
- array(
- 'Content-Type' => 'application/json'
- )
- );
-
- /** @var \Paypal\Handler\IPayPalHandler $handler */
- foreach ($handlers as $handler) {
- if (!is_object($handler)) {
- $fullHandler = "\\" . (string)$handler;
- $handler = new $fullHandler($this->apiContext);
- }
- $handler->handle($httpConfig, $data, array('path' => $path, 'apiContext' => $this->apiContext));
- }
- $connection = new PayPalHttpConnection($httpConfig, $config);
- $response = $connection->execute($data);
-
- return $response;
- }
-
-}
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php b/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php
deleted file mode 100644
index 5f2d3bf..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/ArgumentValidator.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
- tests
-
-
-
-
-
-
-
-
-
-
-
- ./lib
-
-
-
-
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/phpunit.xml b/_sakura/vendor/paypal/rest-api-sdk-php/phpunit.xml
deleted file mode 100644
index 039146f..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/phpunit.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
- tests
-
-
-
-
-
- integration
-
-
-
-
-
-
-
-
-
-
- ./lib
-
-
-
-
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/release_notes.md b/_sakura/vendor/paypal/rest-api-sdk-php/release_notes.md
deleted file mode 100644
index 0174338..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/release_notes.md
+++ /dev/null
@@ -1,220 +0,0 @@
-PayPal PHP SDK release notes
-============================
-
-v1.6.2
-----
-* TLS Check Sample Added
-* Updated README
-
-v1.6.1
-----
-* User Agent Changes
-* SDK Version Fix
-
-v1.6.0
-----
-* Updated Payments API to latest version
-* Removed ModelAccessValidator
-* Minor Bug Fixes #399
-
-v1.5.1
-----
-* Fixed a bug #343 in Future Payment
-* Minor Improvements
-* Updates to Sample Docs
-
-v1.5.0
-----
-* Enabled Vault List API
-* Added More Fields to Vault Credit Card Object
-* Minor Fixes
-
-v1.4.0
-----
-* Ability to validate Webhook
-* Fixes to Logging Manager to skip if mode is not set
-* SDK updates and fixes
-
-v1.3.2
-----
-* Minor Fix for Agreement Details
-
-v1.3.1
-----
-* PayPalModel to differentiate between empty objects and array
-* Fixed CURLINFO_HEADER_SIZE miscalculations if Proxy Enabled
-
-v1.3.0
-----
-* Updated Payment APIs
-* Updating ModelAccessValidator to be disabled if not set explicitly
-
-v1.2.1
-----
-* Ability to handle missing accesors for unknown objects in json
-
-v1.2.0
-----
-* Order API Support
-* Introduced DEBUG mode in Logging. Deprecated FINE.
-* Ability to not Log on DEBUG, while on live environment
-* Vault APIs Update API Support
-* Transaction Fee Added in Sale Object
-* Fixed #237, #234, #233, #215
-
-v1.1.1
-----
-* Fix to Cipher Encryption (Critical)
-
-v1.1.0
-----
-* Enabled Payouts Cancel API Support for Unclaimed Payouts
-* Encrypting Access Token in Cached Storage
-* Updated Billing Agreement Search Transaction code to pass start_date and end_date
-* Updated OAuthToken to throw proper error on not receiving access token
-* Minor Bug Fixes and Documentation Updates
-
-v1.0.0
-----
-* Enabled Payouts API Support
-* Authorization Cache Custom Path Directory Configuration
-* Helper Functions to retrieve specific HATEOS Links
-* Default Mode set to Sandbox
-* Enabled Rest SDK to work nicely with Classic SDKs.
-* If missing annotation of return type in Getters, it throws a proper exception
-* `echo` on PayPalModel Objects will print nice looking JSON
-* Updated Invoice Object to retrieve payments and refunds
-
-> ## Breaking Changes
-* Removed Deprecated Getter Setters from all Model Classes
- * All Camelcase getters and setters are removed. Please use first letter uppercase syntax
- * E.g. instead of using get_notify_url(), use getNotifyUrl() instead
-* Renamed Classes
- * PayPal\Common\PPModel => PayPal\Common\PayPalModel
- * PayPal\Common\ResourceModel => PayPal\Common\PayPalResourceModel
- * PayPal\Common\PPUserAgent => PayPal\Common\PayPalUserAgent
- * PayPal\Core\PPConfigManager => PayPal\Core\PayPalConfigManager
- * PayPal\Core\PPConstants => PayPal\Core\PayPalConstants
- * PayPal\Core\PPCredentialManager => PayPal\Core\PayPalCredentialManager
- * PayPal\Core\PPHttpConfig => PayPal\Core\PayPalHttpConfig
- * PayPal\Core\PPHttpConnection => PayPal\Core\PayPalHttpConnection
- * PayPal\Core\PPLoggingLevel => PayPal\Core\PayPalLoggingLevel
- * PayPal\Core\PPLoggingManager => PayPal\Core\PayPalLoggingManager
- * PayPal\Exception\PPConfigurationException => PayPal\Exception\PayPalConfigurationException
- * PayPal\Exception\PPConnectionException => PayPal\Exception\PayPalConnectionException
- * PayPal\Exception\PPInvalidCredentialException => PayPal\Exception\PayPalInvalidCredentialException
- * PayPal\Exception\PPMissingCredentialException => PayPal\Exception\PayPalMissingCredentialException
- * PayPal\Handler\IPPHandler => PayPal\Handler\IPayPalHandler
- * PayPal\Transport\PPRestCall => PayPal\Transport\PayPalRestCall
-* Namespace Changes and Class Naming Convention
- * PayPal\Common\FormatConverter => PayPal\Converter\FormatConverter
- * PayPal\Rest\RestHandler => PayPal\Handler\RestHandler
- * PayPal\Rest\OauthHandler => PayPal\Handler\OauthHandler
-* Fixes to Methods
- * PayPal\Api\Invoice->getPaymentDetails() was renamed to getPayments()
- * PayPal\Api\Invoice->getRefundDetails() was renamed to getRefunds()
-
-v1.0.0-beta
-----
-* Namespace Changes and Class Naming Convention
-* Helper Functions to retrieve specific HATEOS Links
-* Default Mode set to Sandbox
-
-v0.16.1
-----
-* Configurable Headers for all requests to PayPal
-* Allows adding additional headers to every call to PayPal APIs
-* SDK Config to add headers with http.headers.* syntax
-
-v0.16.0
-----
-* Enabled Webhook Management Capabilities
-* Enabled Caching Abilities for Access Tokens
-
-v0.15.1
-----
-* Enabled Deleting Billing Plans
-* Updated Samples
-
-v0.15.0
-----
-* Extended Invoicing Capabilities
-* Allows QR Code Generation for Invoices
-* Updated Formatter to work with multiple locales
-* Removed Future Payments mandate on Correlation Id
-
-v0.14.2
-----
-* Quick Patch to Unset Cipher List for NSS
-
-v0.14.1
-----
-* Updated HttpConfig to use TLSv1 as Cipher List
-* Added resetRequestId in ApiContext to enable multiple create calls in succession
-* Sanitize Input for Price Variables
-* Made samples look better and work best
-
-v0.14.0
-----
-* Enabled Billing Plans and Agreements APIs
-* Renamed SDK name to PayPal-PHP-SDK
-
-v0.13.2
-----
-* Updated Future Payments and LIPP Support
-* Updated Logging Syntax
-
-v0.13.1
-----
-* Enabled TLS version 1.x for SSL Negotiation
-* Updated Identity Support from SDK Core
-* Fixed Backward Compatibility changes
-
-v0.13.0
-----
-* Enabled Payment Experience
-
-v0.12.0
-----
-* Enabled EC Parameters Support for Payment APIs
-* Enabled Validation for Missing Accessors
-
-v0.11.1
-----
-* Removed Dependency from SDK Core Project
-* Enabled Future Payments
-
-v0.11.0
-----
-* Ability for PUT and PATCH requests
-* Invoice number, custom and soft descriptor
-* Order API and tests, more Authorization tests
-* remove references to sdk-packages
-* patch for retrieving paid invoices
-* Shipping address docs patch
-* Remove @array annotation
-* Validate return cancel url
-* type hinting, comment cleaning, and getters and setters for Shipping
-
-v0.8.0
------
-* Invoicing API support added
-
-v0.7.1
------
-* Added support for Reauthorization
-
-v0.7.0
------
-* Added support for Auth and Capture APIs
-* Types modified to match the API Spec
-* Updated SDK to use namespace supported core library
-
-v0.6.0
------
-* Adding support for dynamic configuration of SDK (Upgrading sdk-core-php dependency to V1.4.0)
-* Deprecating the setCredential method and changing resource class methods to take an ApiContext argument instead of a OauthTokenCredential argument.
-
-v0.5.0
------
-* Initial Release
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/sample/.htaccess b/_sakura/vendor/paypal/rest-api-sdk-php/sample/.htaccess
deleted file mode 100644
index eaf2fb9..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/sample/.htaccess
+++ /dev/null
@@ -1,7 +0,0 @@
-
-php_value display_errors On
-php_flag magic_quotes 1
-php_flag magic_quotes_gpc 1
-php_value mbstring.http_input auto
-php_value date.timezone America/Los_Angeles
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/sample/README.md b/_sakura/vendor/paypal/rest-api-sdk-php/sample/README.md
deleted file mode 100644
index 286f0f6..0000000
--- a/_sakura/vendor/paypal/rest-api-sdk-php/sample/README.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# Rest API Samples
-
-
-
-These examples are created to experiment with the PayPal-PHP-SDK capabilities. Each examples are designed to demonstrate the default use-cases in each segment.
-
-This sample project is a simple web app that you can explore to understand what each PayPal APIs can do for you. Irrespective of how you [installed your SDK](https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation), you should be able to get the samples running by following the instructions below:
-
-## Viewing Sample Code
-You can [view sample source codes here](http://paypal.github.io/PayPal-PHP-SDK/sample/). However, we recommend you run samples locally to get a better idea.
-
-## Instructions
-
-If you are running PHP 5.4 or greater, PHP provides a [ built-in support ]( http://php.net/manual/en/features.commandline.webserver.php) for hosting PHP sites.
-
-Note: The root directory for composer based download would be `vendor` and for direct download it would be `PayPal-PHP-SDK`. Please update the commands accordingly.
-
-1. Run `php -f PayPal-PHP-SDK/paypal/rest-api-sdk-php/sample/index.php` from your project root directory.
-2. This would host a PHP server at `localhost:5000`. The output should look something like this:
-
- ```
-
-
-
-
-
-
-
-
-
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/sample/images/favicon.ico b/_sakura/vendor/paypal/rest-api-sdk-php/sample/images/favicon.ico
deleted file mode 100644
index 78713f95a2a32253a8990262b7f3c687dacc1ac0..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 5430
zcmeHLdr(wW7(e&2iNhbsG&WHYkeLrqLoJ&e1;)&A_=AeZ$w+HN5JF?dMnepb?eCHCv5uUiX5ExxZu00_$2qE?`;_qMyAq{Xp3+CVv;swBY!v*uhFUA;oiYLPc
zbZF2~f4|?Inqau6)b4TluR6oy{EZ`osnU(;QW93FT%Gf{_|GfXD7%4EB{xEoN!ah{
zPU^wIdy^(whmLmj^xCTOC3U}6E=F7gl*j|*-9MPuug)N>EpzffXNTHpqWO<){-9Ad
zo3I3TBVt_%%UZ=#jl#^2e(25u8`Pcim}vgvyVm~_1N?Ds7$J2dENul(+cFSl9eT1M
z21*VFOf>(=RM{RGtXT&9h?u#ACBMVd=I?l_K4j+Cfy7t3nevE-@nfAA<3brIx6-9@iE!rE}c;V#ATiUMYA4R9j^|cRa==CoT}}<;V>ROy1Q;VM$er*up8n};E$R`*vX9&
zT?gi%sRmdY+rdXYIfPwRPHR=GnrB$6gKltelFVybYrKd*8tjp^N}}t6_uhc@c8Y*H
zwL?7+$0q951<(AUaBmzKxNB>z4#|GYPbG@@(GF5Tny(F2thJ#>KDD9B&z{l!xPhmo
zVLZK*4EYK5akzglN2-2K3$&L1;Py@Xk{6imkGUv?JP3S=W9u9^<}X43%zZhXV~NXc
zXhjrHJHZ};Ejl1xYYr_bx0b&!<3P|J5x)=zp|5c)*o9+X3`39;==37THoU^I+yI_-
zK&?U@+Q1Lj(x2_4LprN+qWa9~W#aWCKgQ!%uLHmHgZzR%20g$wg&U1_z&Jo1aKE(1
z2JLMs=lC}#-HQ{&0P=^;+&X@!eQoCC-o
z4t3yR{HVja7dWO^%hQ{X11*Q_Z_}as&soEd&!(*LIxEfrv_<3`@__FJ+l$A*mpQg`
z5yyISA^r<@MOn*@&!>MAoGOk1%z+rF#UZa6eSmhb2#Ck6vpIGqds`f(L)>`ykIDCj
z4$lG90euiQ(=xV0t=t8B=5Bblx#_a&c(_rfx~yb{c>O{Sq8~689)_g(gf-S)cx$};
zs+PZ|$1jxVaLoeuSVxT8#HCZUy}h@mjF-Q^|BhYKyN()h4vd8#_5F4sVFd>gwv3ls
zkc;8j8a|uPRCY
zI=7-gu^IYTtM}YT(ebJ5lW~R|!A~$Hy3`SjnJ`2mm=T^#Pn-d;hY}J2@HD}h5%}Xl
zc(OuMU(*N;`llD#_<^LO~m^TWK0uS3sj=ub|E>>sPV+;8zEtbqxOc-kuGDav2T
zUsg6&`P?mQa#0@6RJ19@DBqec(Ot>&IDfUsw?I>$7C73O`qX~uPOPtZCai&86VF2k
z;arAmYANzAwzTKgo;doEP|qXh6B@PHhQ=)A>46V^ny5I-<9KUd`C}RWb#PzxTnOwZP$-Bz+Og>7kU@$9~%-0?Wv1M8c81KQhZ#S
z3^s&b1bbn8hX9n%32{>QX;sdaJ)#X`fL8Hn3KmS4TfkHC`P)C^HOh})t
S2{teygx^yLxd;EF4B{VbL36kO
diff --git a/_sakura/vendor/paypal/rest-api-sdk-php/sample/images/pp_v_rgb.png b/_sakura/vendor/paypal/rest-api-sdk-php/sample/images/pp_v_rgb.png
deleted file mode 100644
index 4d9aaf6085527f1947d9c777503f81be97a8d46d..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 7715
zcma)B2R9tf*H%{Vy|a2Gx)mkb2CIhXk?2HL@1mE*>a5hD!yloeB1-kd{Peo)+Vn?-Sy9oef7;w
zd>7_7gMYC154AUKPTquWHI3JXy|zVkeL~sXXutT{l9+iF26*4iAho$I0?5w#X2(=B
zt(SO0S`#-$I}Pt4Oy8{sRGERd?JfRV-TIqC?5B7QMKy{MPM>BH7}H4c^|H0x>+V>K5C40M%D>|l+kcyoVc?s3&|7WcGd
zX9hD_7PVe%y>_opRKwKqkO>{U`^Zle@n}86)8lDfnq};+ZCB;nlRLL1XH~?^F$vSas=G^c#
zs0EFxco#WDOI8=v$UgXT3Oa*@BFfCb+5il~o_Pb<<2+d#ooB{O@iRcFe^W{}_p+5G
z&bCBkA3Ryx_8W?TsQ#hI2S311-=&z8lWAaqf!;m(GL!^n0W$M{+3SqxF}r60erO5`
zwIn9_<_tS1ccz`DgJi(BUgkmTQrz>OooKv7adb>&$X5#3%HjHaUB4io2jhNV>?W&2
zMxh9J?m<;Eq+~D&uqP#8T8d#1WQ!L)%WZjs_rjy)2Q?BG)K79RR{S_bNc}c+k{Vg#
zHB;$NZIq;DhH0|&I+3-vn|QKZf}de$$g-_8Zbxi*w*g2Z`~-k}NtFhCdLwL!FEo~5
zla#iepqV`e^h<8cQPmi<;~ijlYTZ^&V^!MR^hdyOLdUQHZ&3hkNK)Z1$1wQ)n1sxh
z0OLGx&AH@fQ2L&i)t;iInZ%AD`zb@E3n|mqL=LxC|KRJ2FX9yRA&+J;P^Xw|f2fm2
zgRjbmXVoK2Lvwxd_lgNhY9-tjyx@tMXyr(cZD(m=bbN`zq(&IyEr)vAP?_%eSKWx&
zo$O-d>)0O6C$0%xO6x-^tN5(t1-sa4?$y`1UXeVX@tC1bI-bo$U;4u|CkiUF9KI<0
z{7Rz99uZZm@*l)3@WOeL56FqPsOWJ&iF3