PHP 클래스 Sonata\Component\Event\PaymentEvent

저자: Hugo Briand ([email protected])
상속: extends Symfony\Component\EventDispatcher\Event
파일 보기 프로젝트 열기: sonata-project/ecommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$order Sonata\Component\Order\OrderInterface
$response Symfony\Component\HttpFoundation\Response
$transaction Sonata\Component\Payment\TransactionInterface

공개 메소드들

메소드 설명
__construct ( Sonata\Component\Order\OrderInterface $order, Sonata\Component\Payment\TransactionInterface $transaction = null, Response $response = null ) Constructor.
getOrder ( ) : Sonata\Component\Order\OrderInterface
getResponse ( ) : Response
getTransaction ( ) : Sonata\Component\Payment\TransactionInterface

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Sonata\Component\Order\OrderInterface $order, Sonata\Component\Payment\TransactionInterface $transaction = null, Response $response = null )
$order Sonata\Component\Order\OrderInterface
$transaction Sonata\Component\Payment\TransactionInterface
$response Symfony\Component\HttpFoundation\Response

getOrder() 공개 메소드

public getOrder ( ) : Sonata\Component\Order\OrderInterface
리턴 Sonata\Component\Order\OrderInterface

getResponse() 공개 메소드

public getResponse ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

getTransaction() 공개 메소드

public getTransaction ( ) : Sonata\Component\Payment\TransactionInterface
리턴 Sonata\Component\Payment\TransactionInterface

프로퍼티 상세

$order 보호되어 있는 프로퍼티

protected OrderInterface,Sonata\Component\Order $order
리턴 Sonata\Component\Order\OrderInterface

$response 보호되어 있는 프로퍼티

protected Response,Symfony\Component\HttpFoundation $response
리턴 Symfony\Component\HttpFoundation\Response

$transaction 보호되어 있는 프로퍼티

protected TransactionInterface,Sonata\Component\Payment $transaction
리턴 Sonata\Component\Payment\TransactionInterface