Created
May 17, 2019 09:03
-
-
Save varshabhatia007/06000d2ea258a684ad98c62beab4a24c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class CustomerDetailResponse( | |
@SerializedName("data") val data: CustomerDetail, | |
@SerializedName("success") val success: Boolean = false, | |
@SerializedName("errors") val errors: List<Error>?) | |
data class CustomerDetail( | |
@SerializedName("first_name") val firstName: String, | |
@SerializedName("last_name") val lastName: String, | |
@SerializedName("email") val email: String, | |
@SerializedName("phone_number") val phoneNumber: Int) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment