public MailPieceClass(string mailPieceName) { this.MailPieceName = mailPieceName; this.MailPiece = MailPieceClass.GetMailPieceEnum(mailPieceName); this.IsDomestic = MailPieceClass.IsDomesticPiece(this.MailPiece); this.IsInternational = MailPieceClass.IsInternationalPiece(this.MailPiece); }
public MailPieceClass(MailpieceShapeEnum mailpiece) { this.MailPiece = mailpiece; this.MailPieceName = MailPieceClass.GetMailPieceName(mailpiece); this.IsDomestic = MailPieceClass.IsDomesticPiece(MailPiece); this.IsInternational = MailPieceClass.IsInternationalPiece(MailPiece); }