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

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

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

Метод Описание
create ( )
delete ( )
get ( $adjustment_uuid, $client = null )
refund ( $quantity = null, $prorate = false, $refund_apply_order = 'credit' ) : Recurly_Invoice 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.
toRefundAttributes ( $quantity = null, $prorate = false ) : Array Converts this adjustment into the attributes needed for a refund.

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

Метод Описание
createUriForAccount ( )
getNodeName ( )
getWriteableAttributes ( )

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

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

public create ( )

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

protected createUriForAccount ( )

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

public delete ( )

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

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

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

protected getNodeName ( )

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

protected getWriteableAttributes ( )

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

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.
public refund ( $quantity = null, $prorate = false, $refund_apply_order = 'credit' ) : Recurly_Invoice
Результат Recurly_Invoice the new refund invoice

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

Converts this adjustment into the attributes needed for a refund.
public toRefundAttributes ( $quantity = null, $prorate = false ) : Array
Результат Array an array of refund attributes to be fed into invoice->refund()