PHP 클래스 Recurly_Adjustment, recurly-client-php

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

공개 메소드들

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