C# 클래스 Agathas.Storefront.Shopping.Model.Baskets.BasketItem

파일 보기 프로젝트 열기: elbandit/PPPDDD

공개 메소드들

메소드 설명
BasketItem ( Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot product_snapshot, NonNegativeQuantity quantity ) : System
change_item_quantity_to ( NonNegativeQuantity quantity ) : void
contains ( Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot product_snapshot ) : bool
contains_product_that_is_in_same_category_as ( string category ) : bool
increase_item_quantity_by ( NonNegativeQuantity quantity ) : void
line_total ( ) : Agathas.Storefront.Common.Money

비공개 메소드들

메소드 설명
BasketItem ( ) : System

메소드 상세

BasketItem() 공개 메소드

public BasketItem ( Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot product_snapshot, NonNegativeQuantity quantity ) : System
product_snapshot Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot
quantity NonNegativeQuantity
리턴 System

change_item_quantity_to() 공개 메소드

public change_item_quantity_to ( NonNegativeQuantity quantity ) : void
quantity NonNegativeQuantity
리턴 void

contains() 공개 메소드

public contains ( Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot product_snapshot ) : bool
product_snapshot Agathas.Storefront.Shopping.Model.Baskets.ProductSnapshot
리턴 bool

contains_product_that_is_in_same_category_as() 공개 메소드

public contains_product_that_is_in_same_category_as ( string category ) : bool
category string
리턴 bool

increase_item_quantity_by() 공개 메소드

public increase_item_quantity_by ( NonNegativeQuantity quantity ) : void
quantity NonNegativeQuantity
리턴 void

line_total() 공개 메소드

public line_total ( ) : Agathas.Storefront.Common.Money
리턴 Agathas.Storefront.Common.Money