From: <wis...@us...> - 2015-10-13 21:07:40
|
Revision: 13161 http://sourceforge.net/p/xoops/svn/13161 Author: wishcraft Date: 2015-10-13 21:07:36 +0000 (Tue, 13 Oct 2015) Log Message: ----------- PayPal REST API - XPayment Gateway - Not Completely Tested Added Paths: ----------- XoopsModules/xpayment/branches/wishcraft/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Address.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Agreement.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementDetails.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementStateDescriptor.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransaction.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransactions.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AlternatePayment.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Amount.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Authorization.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BankAccount.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BankAccountsList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BankToken.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BaseAddress.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Billing.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BillingAgreementToken.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/BillingInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CancelNotification.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Capture.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CarrierAccount.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CarrierAccountToken.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CartBase.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ChargeModel.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Cost.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CountryCode.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreateProfileResponse.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Credit.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreditCard.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreditCardHistory.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreditCardList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreditCardToken.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CreditFinancingOffered.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Currency.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CurrencyConversion.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/CustomAmount.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Details.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Error.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ErrorDetails.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ExtendedBankAccount.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ExternalFunding.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FlowConfig.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FmfDetails.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FundingDetail.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FundingInstrument.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FundingOption.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FundingSource.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/FuturePayment.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/HyperSchema.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Image.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Incentive.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InputFields.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InstallmentInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InstallmentOption.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Invoice.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InvoiceAddress.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InvoiceItem.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/InvoiceSearchResponse.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Item.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ItemList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Links.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Measurement.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/MerchantInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/MerchantPreferences.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Metadata.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/NameValuePair.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Notification.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OpenIdAddress.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OpenIdError.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OpenIdSession.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OpenIdTokeninfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OpenIdUserinfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Order.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/OverrideChargeModel.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Patch.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PatchRequest.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Payee.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Payer.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayerInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Payment.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentCard.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentCardToken.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentDefinition.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentDetail.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentExecution.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentHistory.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentInstruction.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentOptions.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PaymentTerm.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Payout.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayoutBatch.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayoutBatchHeader.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayoutItem.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayoutItemDetails.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PayoutSenderBatchHeader.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Phone.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Plan.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PlanList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PotentialPayerInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Presentation.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/PrivateLabelCard.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ProcessorResponse.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/RecipientBankingInstruction.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/RedirectUrls.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Refund.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/RefundDetail.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/RelatedResources.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Sale.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Search.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ShippingAddress.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ShippingCost.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/ShippingInfo.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Tax.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Terms.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Transaction.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/TransactionBase.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Transactions.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebProfile.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Webhook.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebhookEvent.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebhookEventList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebhookEventType.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebhookEventTypeList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/WebhookList.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Auth/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Auth/OAuthTokenCredential.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Cache/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Cache/AuthorizationCache.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/ArrayUtil.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/PayPalModel.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/PayPalResourceModel.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/PayPalUserAgent.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Common/ReflectionUtil.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Converter/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Converter/FormatConverter.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalConfigManager.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalConstants.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalCredentialManager.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalHttpConfig.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalHttpConnection.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalLoggingLevel.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/PayPalLoggingManager.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Core/cacert.pem XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Exception/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Exception/PayPalConfigurationException.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Exception/PayPalConnectionException.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Exception/PayPalInvalidCredentialException.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Exception/PayPalMissingCredentialException.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Handler/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Handler/IPayPalHandler.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Handler/OauthHandler.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Handler/RestHandler.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Rest/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Rest/ApiContext.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Rest/IResource.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Security/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Security/Cipher.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Transport/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Transport/PayPalRestCall.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Validation/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Validation/ArgumentValidator.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Validation/JsonValidator.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Validation/NumericValidator.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Validation/UrlValidator.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/common.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/gateway_info.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/index.html XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/paypalapi.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/language/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/language/english/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/language/english/paypalapi.php XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/language/index.html XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/preloads/ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/preloads/paypalapi.php Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Address.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Address.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Address.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,39 @@ +<?php + +namespace PayPal\Api; + +/** + * Class Address + * + * Base Address object used as billing address in a payment or extended for Shipping Address. + * + * @package PayPal\Api + * + * @property string phone + */ +class Address extends BaseAddress +{ + /** + * Phone number in E.123 format. + * + * @param string $phone + * + * @return $this + */ + public function setPhone($phone) + { + $this->phone = $phone; + return $this; + } + + /** + * Phone number in E.123 format. + * + * @return string + */ + public function getPhone() + { + return $this->phone; + } + +} Property changes on: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Address.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Agreement.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Agreement.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Agreement.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,647 @@ +<?php + +namespace PayPal\Api; + +use PayPal\Common\PayPalResourceModel; +use PayPal\Core\PayPalConstants; +use PayPal\Rest\ApiContext; +use PayPal\Transport\PayPalRestCall; +use PayPal\Validation\ArgumentValidator; + +/** + * Class Agreement + * + * A resource representing an agreement. + * + * @package PayPal\Api + * + * @property string id + * @property string state + * @property string name + * @property string description + * @property string start_date + * @property \PayPal\Api\Payer payer + * @property \PayPal\Api\Address shipping_address + * @property \PayPal\Api\MerchantPreferences override_merchant_preferences + * @property \PayPal\Api\OverrideChargeModel[] override_charge_models + * @property \PayPal\Api\Plan plan + * @property string create_time + * @property string update_time + * @property \PayPal\Api\AgreementDetails agreement_details + */ +class Agreement extends PayPalResourceModel +{ + /** + * Identifier of the agreement. + * + * @param string $id + * + * @return $this + */ + public function setId($id) + { + $this->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; + } + +} Property changes on: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/Agreement.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementDetails.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementDetails.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementDetails.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,209 @@ +<?php + +namespace PayPal\Api; + +use PayPal\Common\PayPalModel; + +/** + * Class AgreementDetails + * + * A resource representing the agreement details. + * + * @package PayPal\Api + * + * @property \PayPal\Api\Currency outstanding_balance + * @property string cycles_remaining + * @property string cycles_completed + * @property string next_billing_date + * @property string last_payment_date + * @property \PayPal\Api\Currency last_payment_amount + * @property string final_payment_date + * @property string failed_payment_count + */ +class AgreementDetails extends PayPalModel +{ + /** + * The outstanding balance for this agreement. + * + * @param \PayPal\Api\Currency $outstanding_balance + * + * @return $this + */ + public function setOutstandingBalance($outstanding_balance) + { + $this->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; + } + +} Property changes on: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementDetails.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementStateDescriptor.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementStateDescriptor.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementStateDescriptor.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,65 @@ +<?php + +namespace PayPal\Api; + +use PayPal\Common\PayPalModel; + +/** + * Class AgreementStateDescriptor + * + * Description of the current state of the agreement. + * + * @package PayPal\Api + * + * @property string note + * @property \PayPal\Api\Currency amount + */ +class AgreementStateDescriptor extends PayPalModel +{ + /** + * Reason for changing the state of the agreement. + * + * @param string $note + * + * @return $this + */ + public function setNote($note) + { + $this->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; + } + +} Property changes on: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementStateDescriptor.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransaction.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransaction.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransaction.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,257 @@ +<?php + +namespace PayPal\Api; + +use PayPal\Common\PayPalModel; + +/** + * Class AgreementTransaction + * + * A resource representing an agreement_transaction that is returned during a transaction search. + * + * @package PayPal\Api + * + * @property string transaction_id + * @property string status + * @property string transaction_type + * @property \PayPal\Api\Currency amount + * @property \PayPal\Api\Currency fee_amount + * @property \PayPal\Api\Currency net_amount + * @property string payer_email + * @property string payer_name + * @property string time_stamp + * @property string time_zone + */ +class AgreementTransaction extends PayPalModel +{ + /** + * Id corresponding to this transaction. + * + * @param string $transaction_id + * + * @return $this + */ + public function setTransactionId($transaction_id) + { + $this->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; + } + +} Property changes on: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransaction.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransactions.php =================================================================== --- XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransactions.php (rev 0) +++ XoopsModules/xpayment/branches/wishcraft/paypal-rest-api/xpayment/class/gateway/paypalapi/PayPal/Api/AgreementTransactions.php 2015-10-13 21:07:36 UTC (rev 13161) @@ -0,0 +1,71 @@ +<?php + +namespace PayPal\Api; + +use PayPal\Common\PayPalModel; + +/** + * Class AgreementTransactions + * + * A resource representing agreement_transactions that is returned during a transaction search. + * + * @package PayPal\Api + * + * @property \PayPal\Api\AgreementTransaction[] agreement_transaction_list + */ +class AgreementTransactions extends PayPalModel +{ + /** + * Array of agreement_transaction object. + * + * @param \PayPal\Api\AgreementTransaction[] $agreement_transaction_list + * + * @return $this + */ + public function setAgreementTransactionList($agreement_transaction_list) + { + $this->agreement_transaction_list = $agreement_transaction_list; + return $this; + } + + /** + * Array of agreement_transaction object. + * + * @return \PayPal\Api\AgreementTransaction[] + */ + public function getAgreementT... [truncated message content] |