C# 클래스 ModernWebStore.Domain.Entities.Product

파일 보기 프로젝트 열기: andrebaltieri/mwa-api 1 사용 예제들

공개 메소드들

메소드 설명
Product ( string title, string description, decimal price, int quantityOnHand, int category, string image = "" ) : System
Register ( ) : void
UpdateInfo ( string title, string description, int category ) : void
UpdatePrice ( decimal price ) : void
UpdateQuantityOnHand ( int amount ) : void

보호된 메소드들

메소드 설명
Product ( ) : System

메소드 상세

Product() 보호된 메소드

protected Product ( ) : System
리턴 System

Product() 공개 메소드

public Product ( string title, string description, decimal price, int quantityOnHand, int category, string image = "" ) : System
title string
description string
price decimal
quantityOnHand int
category int
image string
리턴 System

Register() 공개 메소드

public Register ( ) : void
리턴 void

UpdateInfo() 공개 메소드

public UpdateInfo ( string title, string description, int category ) : void
title string
description string
category int
리턴 void

UpdatePrice() 공개 메소드

public UpdatePrice ( decimal price ) : void
price decimal
리턴 void

UpdateQuantityOnHand() 공개 메소드

public UpdateQuantityOnHand ( int amount ) : void
amount int
리턴 void