Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 1.16 KB | None | 0 0
  1. struct LoginRequestable: Codable {
  2.     let success: Bool
  3.     let error: String
  4.     let result = [Result]()
  5.     let key: String?
  6.     let statusCode: String
  7.  
  8.     struct Result: Codable {
  9.         let accountID: Int
  10.         let email, username, name: String
  11.         let workingLocation: JSONNull?
  12.         let userKey: String
  13.         let isOnline, isActive, hasBankingDetails: Bool
  14.         let abn, bankBSB, bankAccount: JSONNull?
  15.         let remoteImagePath, distanceUom: String
  16.         let handlerID: Int
  17.         let requiresABN: Bool
  18.         let ratingString, merchantIdentifier, modeOfTransport, dispatchPhoneNumber: String
  19.         let cashBalanceTotal, cashBalancePaid, cashBalanceReceived, totalUnpaidIncentives: Double
  20.         let totalCashCollected: Double
  21.         let merchantCulture: String
  22.         let logoRemotePath: JSONNull?
  23.         let applyWhiteLabelingToMobile, cashManagementEnabled, acceptNotifiedJobs, strictDriverWorkflowEnabled: Bool
  24.         let shiftManagementEnabled, driverDestinationProximity, enableSingleEnRoute, allowPartialDeliveries: Bool
  25.         let driverChangePaymentType, isMobileEntity, hideAbandonBtnFromHandler: Bool
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement