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

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

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

Метод Описание
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 )