Exemplo n.º 1
0
 /// <summary>
 /// Constructor with the specified initial values.
 /// </summary>
 /// <param name="designId">Internal identifier of the design.</param>
 /// <param name="userId">Internal identifier of the agent.</param>
 /// <param name="category">Category of the design.</param>
 /// <param name="type">Type of the design.</param>
 /// <param name="size">Size of the design.</param>
 /// <param name="gender">Gender of the Agent that should be used for the
 /// message on the design.</param>
 /// <param name="onDesignName">Name of the Agent that should be used for the
 /// message on the design.</param>
 /// <param name="justification">Justification of the message on the
 /// design.</param>
 /// <param name="gutter">Gutter of the message on the design.</param>
 /// <param name="messageRectangle">The rectangle in which the message should be
 /// displayed on the design.</param>
 /// <param name="lowResolutionFile">Low resolution file location of the
 /// design.</param>
 /// <param name="highResolutionFile">High resolution file location of the
 /// design.</param>
 /// <param name="extraFile">Extra file location of the design.</param>
 /// <param name="status">Status of the design.</param>
 /// <param name="createDate">Created date of the design.</param>
 /// <param name="lastModifyDate">Last modified date of the design.</param>
 /// <param name="lastModifyBy">The internal idetifier of the user that recently
 /// modified the design.</param>
 /// <param name="approveDate">Date on which the design is approved.</param>
 /// <param name="approveBy">The internal idetifier of the user that approved
 /// the design.</param>
 /// <param name="comments">Comments about the design.</param>
 /// <param name="history">History of the design.</param>
 /// <param name="used">Usage status of the design.</param>
 public DesignInfo(int designId, int userId, LookupInfo category, LookupInfo type,
                   SizeF size, string gender, string onDesignName, JustificationType justification,
                   string gutter, RectangleF messageRectangle, string lowResolutionFile,
                   string highResolutionFile, string extraFile, LookupInfo status,
                   DateTime createDate, DateTime lastModifyDate, int lastModifyBy,
                   DateTime approveDate, int approveBy, string comments, string history,
                   DesignUsed used)
 {
     this.designId           = designId;
     this.userId             = userId;
     this.category           = category;
     this.type               = type;
     this.size               = size;
     this.gender             = gender;
     this.onDesignName       = onDesignName;
     this.justification      = justification;
     this.gutter             = gutter;
     this.messageRectangle   = messageRectangle;
     this.lowResolutionFile  = lowResolutionFile;
     this.highResolutionFile = highResolutionFile;
     this.extraFile          = extraFile;
     this.status             = status;
     this.createDate         = createDate;
     this.lastModifyDate     = lastModifyDate;
     this.lastModifyBy       = lastModifyBy;
     this.approveDate        = approveDate;
     this.approveBy          = approveBy;
     this.comments           = comments;
     this.history            = history;
     this.used               = used;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor with the specified initial values.
 /// </summary>
 /// <param name="designId">Internal identifier of the design.</param>
 /// <param name="category">Category of the design.</param>
 /// <param name="type">Type of the design.</param>
 /// <param name="size">Size of the design.</param>
 /// <param name="lowResolutionFile">Low resolution file location of the
 /// design.</param>
 /// <param name="status">Status of the design.</param>
 public DesignInfo(int designId, LookupInfo category, LookupInfo type, SizeF size,
                   string lowResolutionFile, LookupInfo status)
 {
     this.designId          = designId;
     this.category          = category;
     this.type              = type;
     this.size              = size;
     this.lowResolutionFile = lowResolutionFile;
     this.status            = status;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor with the specified initial values.
 /// </summary>
 /// <param name="type">Type of the credit card</param>
 /// <param name="number">Number of the credit card</param>
 /// <param name="cvvNumber">CVV number of the credit card</param>
 /// <param name="holderName">Holder name of the credit card</param>
 /// <param name="expirationMonth">Expiration month of the credit card</param>
 /// <param name="expirationYear">Expiration year of the credit card</param>
 /// <param name="address">Billing address of the credit card</param>
 public CreditCardInfo(LookupInfo type,
                       string number, string cvvNumber, string holderName, int expirationMonth,
                       int expirationYear, AddressInfo address)
 {
     this.type            = type;
     this.number          = number;
     this.cvvNumber       = cvvNumber;
     this.holderName      = holderName;
     this.expirationMonth = expirationMonth;
     this.expirationYear  = expirationYear;
     this.address         = address;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor with the specified initial values.
 /// </summary>
 /// <param name="eventId">Internal identifier of the event.</param>
 /// <param name="eventNumber">Number of the event.</param>
 /// <param name="eventDate">Date of the event.</param>
 /// <param name="productType">Product type used for the event.</param>
 /// <param name="postalTariff">Postal tariff used for the event.</param>
 /// <param name="numberOfPlots">Number of the plots that are part of the
 /// event.</param>
 /// <param name="numberOfContacts">Number of the contacts that are part of the
 /// event.</param>
 /// <param name="status">Status of the event.</param>
 /// <param name="completedOn">Complted date of the event.</param>
 public ScheduleEventInfo(int eventId, int eventNumber, DateTime eventDate,
                          LookupInfo productType, string postalTariff, int numberOfPlots,
                          int numberOfContacts, LookupInfo status, DateTime completedOn)
 {
     this.eventId          = eventId;
     this.eventNumber      = eventNumber;
     this.eventDate        = eventDate;
     this.productType      = productType;
     this.postalTariff     = postalTariff;
     this.numberOfPlots    = numberOfPlots;
     this.numberOfContacts = numberOfContacts;
     this.status           = status;
     this.completedOn      = completedOn;
 }