PHP 클래스 Recurly_Subscription, recurly-client-php

상속: extends Recurly_Resource
파일 보기 프로젝트 열기: recurly/recurly-client-php 1 사용 예제들

공개 메소드들

메소드 설명
__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 )