export class OrderDim {
  public static orderMethod = class {
    public static api = 'api'
    public static upload = 'upload'
    public static all = [this.api, this.upload]
  }

  public static orderStatus = class {
    public static wait = 'wait'
    public static ordering = 'ordering'
    public static success = 'success'
    public static failure = 'failure'
    public static lackmoney = 'lackmoney'
    public static giveup = 'giveup'
    public static cancel = 'cancel'
  }

  
  public static orderStorehouseStatus = class {
    public static init = 'init'
    public static success = 'success'
  }

  public static serviceProvider = class {
    public static usps = 'usps'
  }

  public static serviceType = class {
    public static groundAdvantage = 'groundAdvantage'
    public static priorityMail = 'priorityMail'
  }

  public static serviceTypeMap = {
    [OrderDim.serviceType.groundAdvantage]: 'Ground Advantage Package',
    [OrderDim.serviceType.priorityMail]: 'Priority Mail Delivery',
  }

  public static serviceElapsedTimeMap = {
    [OrderDim.serviceType.groundAdvantage]: '4',
    [OrderDim.serviceType.priorityMail]: '3',
  } 
}
