Skip to content

Commit 9fc18d7

Browse files
authored
Merge pull request #28 from MadBrains/add_models
[2.2.4] Add models & bump version
2 parents 6be19a3 + 8f6a28f commit 9fc18d7

File tree

11 files changed

+52
-11
lines changed

11 files changed

+52
-11
lines changed

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ SPEC CHECKSUMS:
2626

2727
PODFILE CHECKSUM: a75497545d4391e2d394c3668e20cfb1c2bbd4aa
2828

29-
COCOAPODS: 1.10.1
29+
COCOAPODS: 1.10.2

example/lib/main.dart

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,27 @@ class _MyAppState extends State<MyApp> {
2424
merchantIdentifier: 'example_id',
2525
billingContact: Contact(
2626
emailAddres: 'test@test.com',
27+
postalAddress: PostalAddress(
28+
street: 's',
29+
city: 'c',
30+
state: 'st',
31+
postalCode: '123321',
32+
country: 'ct',
33+
),
34+
name: PersonNameComponents(
35+
familyName: 'qwe',
36+
middleName: 'ewq',
37+
namePrefix: 'a',
38+
nameSuffix: 'h',
39+
nickname: 'test',
40+
phoneticRepresentation: PersonNameComponents(
41+
middleName: 'ewq2',
42+
givenName: 'rty2',
43+
namePrefix: 'a2',
44+
nameSuffix: 'h2',
45+
nickname: 'test2',
46+
),
47+
),
2748
),
2849
shippingContact: Contact(
2950
emailAddres: 'test@test.com',

packages/mad_pay/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.2.4
2+
3+
* Bump `mad_pay_android` version
4+
* Bump `mad_pay_ios` version
5+
* Bump `mad_pay_platform_interface` version
6+
17
## 2.2.3
28

39
* [iOS] Fix nil arguments

packages/mad_pay/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mad_pay
22
description: Mad Pay will help you make payments through Apple Pay and Google Pay
3-
version: 2.2.3
3+
version: 2.2.4
44
repository: https://github.com/MadBrains/Mad-Pay-Flutter
55
issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues
66
homepage: https://madbrains.ru/
@@ -12,9 +12,9 @@ environment:
1212
dependencies:
1313
flutter:
1414
sdk: flutter
15-
mad_pay_platform_interface: ^2.2.0
16-
mad_pay_android: ^2.2.2
17-
mad_pay_ios: ^2.2.1
15+
mad_pay_platform_interface: ^2.2.1
16+
mad_pay_android: ^2.2.3
17+
mad_pay_ios: ^2.2.2
1818

1919
# For development. Remove/comment before publishing to pub.
2020
# dependency_overrides:

packages/mad_pay_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.3
2+
3+
* Bump `mad_pay_platform_interface` version
4+
15
## 2.2.1-2.2.2
26

37
* Fix release build

packages/mad_pay_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mad_pay_android
22
description: A plug-in to add support for payments on the Android side of Mad Pay
3-
version: 2.2.2
3+
version: 2.2.3
44
repository: https://github.com/MadBrains/Mad-Pay-Flutter
55
issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues
66
homepage: https://madbrains.ru/
@@ -14,7 +14,7 @@ dependencies:
1414
sdk: flutter
1515
flutter_localizations:
1616
sdk: flutter
17-
mad_pay_platform_interface: ^2.2.0
17+
mad_pay_platform_interface: ^2.2.1
1818
flutter_svg: ^0.22.0
1919

2020
# For development. Remove/comment before publishing to pub.

packages/mad_pay_ios/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.2
2+
3+
* Bump `mad_pay_platform_interface` version
4+
15
## 2.2.1
26

37
* Fix nil arguments

packages/mad_pay_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mad_pay_ios
22
description: A plug-in to add support for payments on the iOS side of Mad Pay
3-
version: 2.2.1
3+
version: 2.2.2
44
repository: https://github.com/MadBrains/Mad-Pay-Flutter
55
issue_tracker: https://github.com/MadBrains/Mad-Pay-Flutter/issues
66
homepage: https://madbrains.ru/
@@ -12,7 +12,7 @@ environment:
1212
dependencies:
1313
flutter:
1414
sdk: flutter
15-
mad_pay_platform_interface: ^2.2.0
15+
mad_pay_platform_interface: ^2.2.1
1616

1717
# For development. Remove/comment before publishing to pub.
1818
# dependency_overrides:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.1
2+
3+
* Add `PersonNameComponents` & `PostalAddress` models.
4+
15
## 2.2.0
26

37
* Initial `mad_pay_platform_interface` module.

packages/mad_pay_platform_interface/lib/mad_pay_platform_interface.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ export 'src/models/models.dart'
1010
PaymentNetwork,
1111
AppleParameters,
1212
MerchantCapabilities,
13+
ShippingType,
1314
Contact,
15+
PersonNameComponents,
16+
PostalAddress,
1417
ShippingMethod,
15-
ShippingType,
1618
GoogleParameters,
1719
CardParameters,
1820
CardAuthMethods,

0 commit comments

Comments
 (0)