class ShippingOption {
  String shippingRateComputationMethodSystemName;
  double rate;
  double rateVat;
  double rateVatPercent;
  String name;
  String namen;
  String description;
  String descriptionn;
  bool allowShippingSunday;
  bool allowShippingMonday;
  bool allowShippingTuesday;
  bool allowShippingWednesday;
  bool allowShippingThursday;
  bool allowShippingFriday;
  bool allowShippingSaturday;
  String allowShippingTime1From;
  String allowShippingTime1To;
  String allowShippingTime2From;
  String allowShippingTime2To;
  String allowShippingNote;
  String allowShippingNoten;

  ShippingOption(
      {this.shippingRateComputationMethodSystemName,
        this.rate,
        this.rateVat,
        this.rateVatPercent,
        this.name,
        this.namen,
        this.description,
        this.descriptionn,
        this.allowShippingSunday,
        this.allowShippingMonday,
        this.allowShippingTuesday,
        this.allowShippingWednesday,
        this.allowShippingThursday,
        this.allowShippingFriday,
        this.allowShippingSaturday,
        this.allowShippingTime1From,
        this.allowShippingTime1To,
        this.allowShippingTime2From,
        this.allowShippingTime2To,
        this.allowShippingNote,
        this.allowShippingNoten});

  ShippingOption.fromJson(Map<String, dynamic> json) {
    shippingRateComputationMethodSystemName = json['shipping_rate_computation_method_system_name'];
    rate = json['rate'];
    rateVat = json['rate_vat'];
    rateVatPercent = json['rate_vat_percent'];
    name = json['name'];
    namen = json['namen'];
    description = json['description'];
    descriptionn = json['descriptionn'];
    allowShippingSunday = json['AllowShippingSunday'];
    allowShippingMonday = json['AllowShippingMonday'];
    allowShippingTuesday = json['AllowShippingTuesday'];
    allowShippingWednesday = json['AllowShippingWednesday'];
    allowShippingThursday = json['AllowShippingThursday'];
    allowShippingFriday = json['AllowShippingFriday'];
    allowShippingSaturday = json['AllowShippingSaturday'];
    allowShippingTime1From = json['AllowShippingTime1From'];
    allowShippingTime1To = json['AllowShippingTime1To'];
    allowShippingTime2From = json['AllowShippingTime2From'];
    allowShippingTime2To = json['AllowShippingTime2To'];
    allowShippingNote = json['AllowShippingNote'];
    allowShippingNoten = json['AllowShippingNoten'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['shipping_rate_computation_method_system_name'] =
        this.shippingRateComputationMethodSystemName;
    data['rate'] = this.rate;
    data['rate_vat'] = this.rateVat;
    data['rate_vat_percent'] = this.rateVatPercent;
    data['name'] = this.name;
    data['namen'] = this.namen;
    data['description'] = this.description;
    data['descriptionn'] = this.descriptionn;
    data['AllowShippingSunday'] = this.allowShippingSunday;
    data['AllowShippingMonday'] = this.allowShippingMonday;
    data['AllowShippingTuesday'] = this.allowShippingTuesday;
    data['AllowShippingWednesday'] = this.allowShippingWednesday;
    data['AllowShippingThursday'] = this.allowShippingThursday;
    data['AllowShippingFriday'] = this.allowShippingFriday;
    data['AllowShippingSaturday'] = this.allowShippingSaturday;
    data['AllowShippingTime1From'] = this.allowShippingTime1From;
    data['AllowShippingTime1To'] = this.allowShippingTime1To;
    data['AllowShippingTime2From'] = this.allowShippingTime2From;
    data['AllowShippingTime2To'] = this.allowShippingTime2To;
    data['AllowShippingNote'] = this.allowShippingNote;
    data['AllowShippingNoten'] = this.allowShippingNoten;
    return data;
  }
}
