Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/13 16:30:39 (12 years ago)
Author:
fschoepp
Message:

#1888:

  • Added an overview for users to inspect their orders
  • Order Administrators may now suspend or reactivate orders
  • When creating an order, its necessary to enter payment information (paypal, credit card,...) before
  • Also, the billing period and type must be entered during the creation of an order.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Billing/Model/Model.cs

    r9579 r9582  
    1515  }
    1616
     17  public class PaymentInformation {
     18    public long PaymentInformationId { get; set; }
     19    public string CardNumber { get; set; }
     20    public PaymentMethod PaymentMethod { get; set; }
     21    public string AdditionalInformation { get; set; }
     22  }
     23
    1724  public enum PaymentMethod {
    1825    Cheque,
     
    2128    PayPal,
    2229    Diners
     30  }
     31
     32  public enum BillingType {
     33    Pre,
     34    Post
     35  }
     36
     37  public enum BillingPeriod {
     38    Weekly,
     39    Monthly,
     40    Yearly
    2341  }
    2442
     
    3452    public long UserId { get; set; }
    3553    public string Name { get; set; }
     54    public virtual IList<PaymentInformation> PaymentInformation { get; set; }
    3655  }
    3756
     
    4766    public long OrderId { get; set; }
    4867    public long UserId { get; set; }
    49     public string BillingType { get; set; }
     68    public BillingType BillingType { get; set; }
    5069    public long OrderStateId { get; set; }
    51     public string BillingPeriod { get; set; }
    52     public DateTime ActiveSince { get; set; }
    53     public DateTime ActiveUntil { get; set; }
     70    public BillingPeriod BillingPeriod { get; set; }
     71    public DateTime? ActiveSince { get; set; }
     72    public DateTime? ActiveUntil { get; set; }
    5473
    5574
Note: See TracChangeset for help on using the changeset viewer.