PHP 클래스 Recurly_GiftCard, recurly-client-php

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

공개 메소드들

메소드 설명
create ( )
get ( $giftCardId, $client = null ) Get a gift card by the id
preview ( ) Preview the creation and check for errors.
redeem ( $accountCode ) Redeem a gift card given an account code

보호된 메소드들

메소드 설명
getNodeName ( )
getWriteableAttributes ( )
uri ( )
uriForGiftCard ( $giftCardIdentifier )

메소드 상세

create() 공개 메소드

public create ( )

get() 공개 정적인 메소드

Get a gift card by the id
public static get ( $giftCardId, $client = null )

getNodeName() 보호된 메소드

protected getNodeName ( )

getWriteableAttributes() 보호된 메소드

protected getWriteableAttributes ( )

preview() 공개 메소드

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

redeem() 공개 메소드

Redeem a gift card given an account code
public redeem ( $accountCode )

uri() 보호된 메소드

protected uri ( )

uriForGiftCard() 보호된 정적인 메소드

protected static uriForGiftCard ( $giftCardIdentifier )