Skip to content

Commit

Permalink
adds a fix for coupon max discunt
Browse files Browse the repository at this point in the history
  • Loading branch information
abmomen committed May 25, 2023
1 parent 01b890d commit 3b6f425
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 70 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -230226,143 +230226,150 @@
"length": 5,
"value": "100.0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 4225,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "FloatLiteral",
"offset": 4489,
"offset": 4513,
"length": 3,
"value": "0.0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 4930,
"offset": 4954,
"length": 5,
"value": "\"iOS\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 4973,
"offset": 4997,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 5141,
"offset": 5165,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 5175,
"offset": 5199,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5209,
"offset": 5233,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5357,
"offset": 5381,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5406,
"offset": 5430,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5519,
"offset": 5543,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5576,
"offset": 5600,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5581,
"offset": 5605,
"length": 2,
"value": "60"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5713,
"offset": 5737,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 6172,
"offset": 6196,
"length": 19,
"value": "\"Not a gpstar user\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 7086,
"offset": 7110,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 7925,
"offset": 7949,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8281,
"offset": 8305,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8404,
"offset": 8428,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8590,
"offset": 8614,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 8918,
"offset": 8942,
"length": 7,
"value": "\"APPLY\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 8975,
"offset": 8999,
"length": 8,
"value": "\"REMOVE\""
},
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</data>
<key>Assets.car</key>
<data>
bY/xve+Vo1ecnkmJjsbz6my2jlw=
twNq5AYyAtbHOSi2qcUtLmOAZDk=
</data>
<key>BaggageInfoTVCell.nib</key>
<data>
Expand Down Expand Up @@ -474,7 +474,7 @@
</data>
<key>Modules/ShareTripSDK.swiftmodule/arm64-apple-ios.abi.json</key>
<data>
BJC6FVmH++uC7UQVxlUYbhtUZ9s=
6oukPrqdF6lDyhnxfbQgZSxzIYg=
</data>
<key>Modules/ShareTripSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<data>
Expand Down Expand Up @@ -720,7 +720,7 @@
<dict>
<key>hash2</key>
<data>
Ue//ru0FqdCqRxP4pmeYiSV+fZB9OGMp+eHE95/Ek7o=
QJYVsQ1DCqb/o+/qwk1Rlnm5mjfDHjwfQz8MARDzcrA=
</data>
</dict>
<key>BaggageInfoTVCell.nib</key>
Expand Down Expand Up @@ -1511,7 +1511,7 @@
<dict>
<key>hash2</key>
<data>
4XlzAl7vY+l2huyybdxIfEkFWwGEnKtv9Dwqi2af5YQ=
yrBBUEmjXjvF0wJ28fqj2pFjRypryiBkANuH0DDnUdA=
</data>
</dict>
<key>Modules/ShareTripSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -230226,143 +230226,150 @@
"length": 5,
"value": "100.0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 4225,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "FloatLiteral",
"offset": 4489,
"offset": 4513,
"length": 3,
"value": "0.0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 4930,
"offset": 4954,
"length": 5,
"value": "\"iOS\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 4973,
"offset": 4997,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 5141,
"offset": 5165,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 5175,
"offset": 5199,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5209,
"offset": 5233,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5357,
"offset": 5381,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5406,
"offset": 5430,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5519,
"offset": 5543,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5576,
"offset": 5600,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "IntegerLiteral",
"offset": 5581,
"offset": 5605,
"length": 2,
"value": "60"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 5713,
"offset": 5737,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 6172,
"offset": 6196,
"length": 19,
"value": "\"Not a gpstar user\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 7086,
"offset": 7110,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 7925,
"offset": 7949,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8281,
"offset": 8305,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8404,
"offset": 8428,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "BooleanLiteral",
"offset": 8590,
"offset": 8614,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 8918,
"offset": 8942,
"length": 7,
"value": "\"APPLY\""
},
{
"filePath": "\/Users\/st-ios\/Workspace\/ShareTrip-iOS\/Development-SDK\/STSDK\/ShareTripSDK\/STCoreKit\/Coupon\/ViewModel\/UseCouponViewModel.swift",
"kind": "StringLiteral",
"offset": 8975,
"offset": 8999,
"length": 8,
"value": "\"REMOVE\""
},
Expand Down
Loading

0 comments on commit 3b6f425

Please sign in to comment.