Skip to content

Commit 09e2268

Browse files
author
WooSignal
committed
Resolved bug with MetaData on models, header update and removed shipping zone method (v1.0.9)
1 parent dfc7fdf commit 09e2268

25 files changed

+52
-697
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [1.0.9] - 2020-06-03
2+
3+
* Resolved bug with MetaData on models
4+
* Removed Shipping Zone Methods (use Shipping Methods going forward for WooCommerce shipping)
5+
6+
## [1.0.8] - 2020-05-08
7+
8+
* Readme update
9+
110
## [1.0.7] - 2020-05-08
211

312
* Tweaks and bugs resolved

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 by WooSignal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1+
Copyright (c) 2020 by WooSignal Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
22

33
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
44
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In your flutter project add the dependency:
1515
``` dart
1616
dependencies:
1717
...
18-
woosignal: ^1.0.8
18+
woosignal: ^1.0.9
1919
```
2020

2121
### Usage example #
@@ -122,13 +122,6 @@ _getProducts() async {
122122
[See Shipping Zone Locations API](https://woosignal.com/docs/api/1.0/shipping-zone-locations)
123123

124124

125-
#### WooCommerce - Shipping Zone Methods
126-
- Get Shipping Zone Methods
127-
- Retrive a Shipping Zone Method by id
128-
129-
[See Shipping Zone Methods API](https://woosignal.com/docs/api/1.0/shipping-zone-methods)
130-
131-
132125
#### WooCommerce - Shipping Methods
133126
- Get Shipping Methods
134127

lib/env.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/helpers/shared_pref.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/payload/order_wc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/response/customer.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted
@@ -110,8 +110,8 @@ class MetaData {
110110
MetaData(this.id, this.key, this.value);
111111

112112
MetaData.fromJson(Map<String, dynamic> json)
113-
: id = json['name'],
114-
key = json['email'],
113+
: id = json['id'],
114+
key = json['key'],
115115
value = json['value'];
116116

117117
Map<String, dynamic> toJson() => {'id': id, 'key': key, 'value': value};

lib/models/response/order.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/response/product_attribute_term.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/response/product_attributes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, WooSignal.
1+
// Copyright (c) 2020, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

0 commit comments

Comments
 (0)