PHP Класс Recurly_Subscription, recurly-client-php

Наследование: extends Recurly_Resource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $href = null, $client = null )
buildUsage ( $addOnCode, $client = null )
cancel ( ) Cancel the subscription; it will remain active until it renews.
create ( )
get ( $uuid, $client = null )
postpone ( $nextRenewalDate, $bulk = false ) Postpone a subscription's renewal date.
preview ( ) Preview the creation and check for errors.
reactivate ( ) Reactivate a canceled subscription. The subscription will return back to the active, auto renewing state.
terminateAndPartialRefund ( ) Terminate the subscription immediately and issue a prorated/partial refund of the last renewal
terminateAndRefund ( ) Terminate the subscription immediately and issue a full refund of the last renewal
terminateWithoutRefund ( ) Terminate the subscription immediately without a refund
updateAtRenewal ( ) Make an update that applies when the subscription renews.
updateImmediately ( ) Make an update that takes effect immediately.
updateNotes ( $notes ) Updates the notes fields of the subscription without generating a SubscriptionChange.
usages ( $addOnCode, $params = null )

Защищенные методы

Метод Описание
getNodeName ( )
getWriteableAttributes ( )
uri ( )
uriForSubscription ( $uuid )

Приватные методы

Метод Описание
terminate ( $refundType )

Описание методов

__construct() публичный Метод

public __construct ( $href = null, $client = null )

buildUsage() публичный Метод

public buildUsage ( $addOnCode, $client = null )

cancel() публичный Метод

Cancel the subscription; it will remain active until it renews.
public cancel ( )

create() публичный Метод

public create ( )

get() публичный статический Метод

public static get ( $uuid, $client = null )

getNodeName() защищенный Метод

protected getNodeName ( )

getWriteableAttributes() защищенный Метод

protected getWriteableAttributes ( )

postpone() публичный Метод

Postpone a subscription's renewal date.
public postpone ( $nextRenewalDate, $bulk = false )

preview() публичный Метод

Note: once preview() has been called you will not be able to call create() or save() without reassiging all the attributes.
public preview ( )

reactivate() публичный Метод

Reactivate a canceled subscription. The subscription will return back to the active, auto renewing state.
public reactivate ( )

terminateAndPartialRefund() публичный Метод

Terminate the subscription immediately and issue a prorated/partial refund of the last renewal

terminateAndRefund() публичный Метод

Terminate the subscription immediately and issue a full refund of the last renewal
public terminateAndRefund ( )

terminateWithoutRefund() публичный Метод

Terminate the subscription immediately without a refund

updateAtRenewal() публичный Метод

Make an update that applies when the subscription renews.
public updateAtRenewal ( )

updateImmediately() публичный Метод

Make an update that takes effect immediately.
public updateImmediately ( )

updateNotes() публичный Метод

Updates the notes fields of the subscription without generating a SubscriptionChange.
public updateNotes ( $notes )

uri() защищенный Метод

protected uri ( )

uriForSubscription() защищенный статический Метод

protected static uriForSubscription ( $uuid )

usages() публичный Метод

public usages ( $addOnCode, $params = null )