示例#1
0
 public MailPieceClass(string mailPieceName)
 {
     this.MailPieceName   = mailPieceName;
     this.MailPiece       = MailPieceClass.GetMailPieceEnum(mailPieceName);
     this.IsDomestic      = MailPieceClass.IsDomesticPiece(this.MailPiece);
     this.IsInternational = MailPieceClass.IsInternationalPiece(this.MailPiece);
 }
示例#2
0
 public MailPieceClass(MailpieceShapeEnum mailpiece)
 {
     this.MailPiece       = mailpiece;
     this.MailPieceName   = MailPieceClass.GetMailPieceName(mailpiece);
     this.IsDomestic      = MailPieceClass.IsDomesticPiece(MailPiece);
     this.IsInternational = MailPieceClass.IsInternationalPiece(MailPiece);
 }