PHP 클래스 Smalot\Magento\Order\OrderInvoice

상속: extends Smalot\Magento\MagentoModuleAbstract
파일 보기 프로젝트 열기: smalot/magento-client

공개 메소드들

메소드 설명
addComment ( string $invoiceIncrementId, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface Allows you to add a new comment to the order invoice.
cancel ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface Allows you to cancel the required invoice.
capture ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface Allows you to capture the required invoice.
create ( string $orderIncrementId, array $itemsQty, string $comment, string $email, string $includeComment ) : Smalot\Magento\ActionInterface Allows you to create a new invoice for an order.
getInfo ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
getList ( array $filters = null ) : Smalot\Magento\ActionInterface

메소드 상세

addComment() 공개 메소드

Allows you to add a new comment to the order invoice.
public addComment ( string $invoiceIncrementId, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
$comment string
$email integer
$includeComment integer
리턴 Smalot\Magento\ActionInterface

cancel() 공개 메소드

Note that not all order invoices can be canceled. Only some payment methods support canceling the order invoice (e.g., Google Checkout, PayPal Pro, PayPal Express Checkout).
public cancel ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
리턴 Smalot\Magento\ActionInterface

capture() 공개 메소드

Note that not all order invoices can be captured. Only some payment methods support capturing the order invoice (e.g., PayPal Pro).
public capture ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
리턴 Smalot\Magento\ActionInterface

create() 공개 메소드

Allows you to create a new invoice for an order.
public create ( string $orderIncrementId, array $itemsQty, string $comment, string $email, string $includeComment ) : Smalot\Magento\ActionInterface
$orderIncrementId string
$itemsQty array
$comment string
$email string
$includeComment string
리턴 Smalot\Magento\ActionInterface

getInfo() 공개 메소드

public getInfo ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
리턴 Smalot\Magento\ActionInterface

getList() 공개 메소드

public getList ( array $filters = null ) : Smalot\Magento\ActionInterface
$filters array
리턴 Smalot\Magento\ActionInterface