NF_Recurly_Actions_Subscribe
-
Method
- __construct public
- Constructor Method
- save public
- Method
- process public
- Method
- enqueue_scripts public
- Method
- output_form public
- Method
- get_active_recurly_actions private
- Method
- get_currency private
NF_Recurly_Admin_Metaboxes_Submission
-
Method
- __construct public
- Method
- render_metabox public
NF_Recurly_Admin_Settings
-
Method
- __construct public
- Method
- plugin_settings public
- Method
- plugin_settings_groups public
- Method
- validate_recurly_public_key_required public
- Method
- validate_recurly_private_key_required public
- Method
- validate_recurly_subdomain public
- Method
- sanitize_recurly_subdomain public
NF_Recurly_Fields_CreditCard
Class NF_Field_RecurlyExample
-
Method
- __construct public
Recurly_Account
Class Recurly_Account
-
Method
- __construct
- Static Method
- get public
- Method
- create public
- Method
- update public
- Method
- close public
- Static Method
- closeAccount public
- Method
- reopen public
- Static Method
- reopenAccount public
- Method
- createShippingAddress public
- Method
- uri protected
- Static Method
- uriForAccount protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- getRequiredAttributes protected
Recurly_AccountAcquisition
-
Static Method
- get public
- Static Method
- deleteForAccount public
- Static Method
- uriForAccountAcquisition protected
- Method
- create public
- Method
- update public
- Method
- delete public
- Method
- uri protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_AccountBalance
-
Static Method
- get public
- Method
- __construct
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_AccountList
-
Static Method
- getActive public
- Static Method
- getClosed public
- Static Method
- getPastDue public
- Static Method
- get public
- Method
- getNodeName protected
Recurly_Addon
-
Method
- __construct
- Static Method
- get public
- Method
- create public
- Method
- update public
- Method
- delete public
- Method
- uri protected
- Static Method
- uriForAddOn protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_AddonList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Address
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_Adjustment
class Recurly_Adjustment
-
Static Method
- get public
- Method
- create public
- Method
- delete public
- Method
- refund public
-
Allows you to refund this particular item if it's a part of
an invoice. It does this by calling the invoice's refund()
Only 'invoiced' adjustments can be refunded.
ParamInteger the quantity you wish to refund, defaults to refunding the entire quantityParamBoolean indicates whether you want this adjustment refund proratedParamString indicates the refund order to apply, valid options: {'credit','transaction'}, defaults to 'credit'ReturnRecurly_Invoice the new refund invoiceThrowsRecurly_Error if the adjustment cannot be refunded.
Method
- toRefundAttributes public
-
Converts this adjustment into the attributes needed for a refund.
ParamInteger the quantity you wish to refund, defaults to refunding the entire quantityParamBoolean indicates whether you want this adjustment refund proratedReturnArray an array of refund attributes to be fed into invoice->refund()
Method
- createUriForAccount protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_AdjustmentList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Base
-
Method
- __construct public
- Static Method
- _get public
- Static Method
- _post protected
- Static Method
- _put protected
- Static Method
- _delete protected
- Static Method
- _uriWithParams protected
- Method
- __toString public
- Pretty string version of the object Method
- __valuesString protected
- Method
- getHref public
- Method
- setHref public
- Method
- getType public
-
Refers to the `type` root xml attribute
Method
- addLink private
- Method
- getLinks public
- Static Method
- __parseResponseToNewObject protected
- Method
- _afterParseResponse protected
- Method
- __parseXmlToUpdateObject protected
- Static Method
- __parseXmlToObject protected
- Static Method
- parseErrorNode private
- Static Method
- __createNodeObject private
Recurly_Object
Recurly_BillingInfo
class Recurly_BillingInfo
-
Static Method
- get public
- Method
- create public
- Method
- update public
- Method
- delete public
- Static Method
- deleteForAccount public
- Method
- uri protected
- Static Method
- uriForBillingInfo protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_Client
Recurly_Client provides methods for interacting with the {
@category Recurly
-
Method
- __construct /** * Create a new Recurly Client * @param string API key. Do not specify to use the default API key (which must be set at the static variable) * @param string "Accept-language" header variable from the current user's browser. Localizes validation messages. */
- Method
- request public
- Method
- baseUri public
- Method
- apiKey public
-
Current API key
Returnstring API key
Method
- _sendRequest private
-
Sends an HTTP request to the Recurly API
Paramstring $method Specifies the HTTP method to be used for this requestParamstring $uri Target URI for this request (relative to the API root)Parammixed $data x-www-form-urlencoded data (or array) to be sent in a POST request body
Return$code, $response
Static Method
- __userAgent private
- Method
- _getHeaders private
- Method
- _raiseCurlError private
- Method
- getFile public
-
Saves the contents of a URI into a file handle.
Paramstring $uri Target URI for the request (complete URL)Paramresource $file_pointer Resourced returned from fopen() with write mode.
Method
- getPdf public
-
Requests a PDF document from the given URI
Paramstring $uri Target URI for this request (relative to the API root)Paramstring $locale Locale for the PDF invoice (e.g. "en-GB", "en-US", "fr")Returnstring $response PDF document
Recurly_Coupon
-
Method
- __construct
- Static Method
- get public
- Method
- create public
- Method
- redeemCoupon public
- Method
- update public
- Method
- restore public
- Method
- delete public
- Static Method
- deleteCoupon public
- Method
- createUpdateXML public
- Method
- generate public
- Method
- uri protected
- Static Method
- uriForCoupon protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- getUpdatableAttributes protected
Recurly_CouponList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Currency
An amount with a currency.
-
Method
- __construct
- Method
- amount public
-
Amount in dollars, or whatever your currency may be.
Returnfloat Amount in dollars
Method
- __toString public
Recurly_CurrencyList
-
Method
- __construct
- Method
- addCurrency public
- Method
- getCurrency public
- Method
- offsetSet public
- Method
- offsetExists public
- Method
- offsetUnset public
- Method
- offsetGet public
- Method
- __set public
- Method
- __get public
- Method
- count public
- Method
- getIterator public
- Method
- populateXmlDoc public
- Method
- __toString public
Recurly_Delivery
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_ErrorList
Array of errors
-
Method
- __construct
- Method
- offsetSet public
- Method
- offsetExists public
- Method
- offsetUnset public
- Method
- offsetGet public
- Method
- count public
- Method
- getIterator public
- Method
- __toString public
Recurly_Error
Exception class used by the Recurly PHP Client.
@category Recurly
-
Method
- __construct public
- Method
- getRecurlyCode public
Recurly_NotFoundError
Recurly_UnauthorizedError
Recurly_ConfigurationError
Recurly_ConnectionError
Recurly_RequestError
Recurly_ApiRateLimitError
Recurly_ForgedQueryStringError
Recurly_ValidationError
-
Method
- __construct
Recurly_ServerError
Recurly_FieldError
-
Method
- __toString public
- Method
- __readableField private
Recurly_ExportDate
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_ExportDateList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_ExportFile
-
Static Method
- get public
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- download /** * Download the file. * * @param resource $file_pointer Resourced returned from fopen() with write mode. */
Recurly_ExportFileList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_FraudInfo
Represents the
-
Method
- __toString public
Recurly_GiftCard
-
Static Method
- get public
- Method
- redeem public
- Redeem a gift card given an account code Method
- create public
- Method
- preview public
-
Preview the creation and check for errors.
Note: once preview() has been called you will not be able to call create() without reassiging all the attributes.
Method
- uri protected
- Static Method
- uriForGiftCard protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_GiftCardList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Invoice
-
Static Method
- get public
- Method
- getPdf public
- Retrieve the PDF version of this invoice Static Method
- getInvoicePdf public
- Static Method
- invoicePendingCharges public
- Static Method
- previewPendingCharges public
- Method
- markSuccessful public
- Method
- markFailed public
- Method
- invoiceNumberWithPrefix public
- Method
- refundAmount public
-
Refunds an open amount from the invoice and returns a new refund invoice
ParamInteger amount in cents to refund from this invoiceParamString indicates the refund order to apply, valid options: {'credit','transaction'}, defaults to 'credit'ReturnRecurly_Invoice a new refund invoice
Method
- refund public
-
Refunds given line items from an invoice and returns new refund invoice
ParamArray refund attributes or Array of refund attributes to refund (see 'REFUND ATTRIBUTES' in docs or Recurly_Adjustment#toRefundAttributes)ParamString indicates the refund order to apply, valid options: {'credit','transaction'}, defaults to 'credit'ReturnRecurly_Invoice a new refund invoice
Method
- createRefundInvoice protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- uri protected
- Static Method
- uriForInvoice protected
Recurly_InvoiceList
-
Static Method
- getOpen public
- Static Method
- getCollected public
- Static Method
- getFailed public
- Static Method
- getPastDue public
- Static Method
- get public
- Static Method
- getForAccount public
- Method
- getNodeName protected
Recurly_Link
-
Method
- __construct
- Method
- __toString public
Recurly_MeasuredUnit
-
Method
- create public
- Static Method
- get public
- Method
- uri protected
- Static Method
- uriForMeasuredUnit protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_MeasuredUnitList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Note
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_NoteList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Pager
-
Method
- count public
-
Number of records in this list.
Returninteger number of records in list
Method
- rewind public
- Rewind to the beginning Method
- current public
-
The current object
ReturnRecurly_Resource the current object
Method
- key public
-
Returninteger current position within the current page
Method
- next public
- Increments the position to the next element Method
- valid public
-
Returnboolean True if the current position is valid.
Method
- _loadFrom protected
- Load another page of results into this pager. Method
- _afterParseResponse protected
- Static Method
- _setState protected
- Method
- _loadLinks private
- The 'Links' header contains links to the next, previous, and starting pages. This parses the links header into an array of links if the header is present. Method
- _loadRecordCount private
- Find the total number of results in the collection from the 'X-Records' header. Method
- updateErrorAttributes protected
- Method
- __toString public
Recurly_Plan
class Recurly_Plan
-
Method
- __construct
- Static Method
- get public
- Method
- create public
- Method
- update public
- Method
- delete public
- Static Method
- deletePlan public
- Method
- uri protected
- Static Method
- uriForPlan protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_PlanList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_PushNotification
Example: $post_xml = file_get_contents ("php://input"); $notification = new Recurly_PushNotification($post_xml);
-
Method
- __construct
- Method
- parseXml
Recurly_js
-
Method
- __construct
- Method
- get_signature public
- Static Method
- sign public
- Static Method
- fetch public
- Static Method
- _hash public
- Method
- utc_timestamp protected
- Method
- get_nonce protected
Recurly_CouponRedemption
-
Static Method
- get public
- Method
- delete public
- Method
- uri protected
- Static Method
- uriForAccount protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_CouponRedemptionList
-
Static Method
- getForAccount public
- Static Method
- getForInvoice public
- Static Method
- getForSubscription public
- Method
- getNodeName protected
Recurly_Resource
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- getRequiredAttributes protected
- Method
- __construct public
- Method
- __set public
- Method
- __isset public
- Method
- __unset public
- Method
- getValues public
-
Return all of the values associated with this resource.
Returnarray The array of values stored with this resource.
Method
- getErrors public
- Method
- setValues public
-
Does a mass assignment on this resource's values
Paramarray The array of values to set on the resource.
Method
- _save protected
- Method
- xml public
- Method
- createDocument public
- Method
- renderXML public
- Method
- populateXmlDoc protected
- Method
- getChangedAttributes protected
- Method
- updateErrorAttributes protected
Recurly_ClientResponse
-
Method
- __construct
- Method
- assertSuccessResponse public
- Method
- assertValidResponse public
- Method
- parseErrorXml private
- Static Method
- parseErrorNode private
Recurly_ShippingAddress
-
Method
- update public
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- populateXmlDoc protected
- Method
- isEmbedded private
Recurly_ShippingAddressList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Stub
Resource stub for Recurly API. Call get() to retrieve the stubbed resource.
-
Method
- __construct
- Method
- get /** * Retrieve the stubbed resource. */
- Method
- __toString public
Recurly_Subscription
-
Method
- __construct public
- Static Method
- get public
- Method
- create public
- Method
- preview public
-
Preview the creation and check for errors.
Note: once preview() has been called you will not be able to call create() or save() without reassiging all the attributes.
Method
- cancel public
- Cancel the subscription; it will remain active until it renews. Method
- reactivate public
- Reactivate a canceled subscription. The subscription will return back to the active, auto renewing state. Method
- updateImmediately public
- Make an update that takes effect immediately. Method
- updateAtRenewal public
- Make an update that applies when the subscription renews. Method
- terminateAndRefund public
- Terminate the subscription immediately and issue a full refund of the last renewal Method
- terminateAndPartialRefund public
- Terminate the subscription immediately and issue a prorated/partial refund of the last renewal Method
- terminateWithoutRefund public
- Terminate the subscription immediately without a refund Method
- terminate private
- Method
- postpone public
-
Postpone a subscription's renewal date.
ParamString ISO8601 DateTime String, postpone the subscription to this dateParamBoolean bulk is for making bulk updates, setting to true bypasses api check for accidental duplicate subscriptions.
Method
- updateNotes public
-
Updates the notes fields of the subscription without generating a SubscriptionChange.
Paramarray of notes, allowed keys: (customer_notes, terms_and_conditions, vat_reverse_charge_notes)
Method
- buildUsage public
- Method
- usages public
- Method
- uri protected
- Static Method
- uriForSubscription protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_SubscriptionAddOn
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
- Method
- populateXmlDoc protected
- Method
- getChangedAttributes protected
- Method
- __toString public
- Pretty string version of the object
Recurly_SubscriptionList
-
Static Method
- getActive public
- Static Method
- getCanceled public
- Static Method
- getExpired public
- Static Method
- getFuture public
- Static Method
- getLive public
- Static Method
- getPastDue public
- Static Method
- getTrials public
- Static Method
- get public
- Static Method
- getForAccount public
- Method
- getNodeName protected
Recurly_Tax_Detail
-
Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_Transaction
Class Recurly_Transaction
-
Static Method
- get public
- Method
- create public
- Method
- refund public
- Refund a previous, successful transaction Method
- void public
- Attempt a void, otherwise refund Method
- uri protected
- Static Method
- uriForTransaction protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_TransactionError
-
Method
- __toString public
Recurly_TransactionList
-
Static Method
- getSuccessful public
- Static Method
- getVoided public
- Static Method
- get public
- Static Method
- getForAccount public
- Method
- getNodeName protected
Recurly_UniqueCouponCodeList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_Usage
-
Static Method
- build public
- Method
- create public
- Method
- update public
- Static Method
- get public
- Method
- uri protected
- Static Method
- uriForUsages protected
- Static Method
- uriForUsage protected
- Method
- getNodeName protected
- Method
- getWriteableAttributes protected
Recurly_UsageList
-
Static Method
- get public
- Method
- getNodeName protected
Recurly_HmacHash
-
Static Method
- hash public
NF_Recurly
-
Static Method
- instance public
- Method
- __construct public
- Method
- setup_vars public
- Method
- ninja_forms_before_container public
- Method
- builder_scripts public
- Method
- register_actions public
- Optional. If your extension processes or alters form submission data on a per form basis... Method
- enqueue_scripts public
- Method
- autoloader public
- Static Method
- template public
- Static Method
- config public
- Method
- setup_license public
- Method
- custom_template_path public
- Method
- setup_admin public
-
Setup Admin
Setup admin classes for Ninja Forms and WordPress.
Method
- NF_Recurly /** * The main function responsible for returning The Highlander Plugin * Instance to functions everywhere. * * Use this function like you would a global variable, except without needing * to declare the global. * * @since 3.0 * @return {class} Highlander Instance */