PHP 클래스 Dumplie\Customer\Domain\Checkout

파일 보기 프로젝트 열기: dumplie/dumplie 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( CartId $cartId, Address $billingAddress )
billingAddress ( ) : Address
cartId ( ) : CartId
changeBillingAddress ( Address $address )
changeShippingAddress ( Address $address )
placeOrder ( OrderId $id, Dumplie\Customer\Domain\Products $products, Dumplie\Customer\Domain\Carts $carts ) : Order
shippingAddress ( ) : Address

메소드 상세

__construct() 공개 메소드

public __construct ( CartId $cartId, Address $billingAddress )
$cartId CartId
$billingAddress Address

billingAddress() 공개 메소드

public billingAddress ( ) : Address
리턴 Address

cartId() 공개 메소드

public cartId ( ) : CartId
리턴 CartId

changeBillingAddress() 공개 메소드

public changeBillingAddress ( Address $address )
$address Address

changeShippingAddress() 공개 메소드

public changeShippingAddress ( Address $address )
$address Address

placeOrder() 공개 메소드

public placeOrder ( OrderId $id, Dumplie\Customer\Domain\Products $products, Dumplie\Customer\Domain\Carts $carts ) : Order
$id OrderId
$products Dumplie\Customer\Domain\Products
$carts Dumplie\Customer\Domain\Carts
리턴 Order

shippingAddress() 공개 메소드

public shippingAddress ( ) : Address
리턴 Address