All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.eendroroy.sdk.bkash.response.SearchTransactionResponse.kt Maven / Gradle / Ivy

The newest version!
package io.github.eendroroy.sdk.bkash.response

import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonRootName

/**
 * @author indrajit
 */
@JsonRootName("response")
data class SearchTransactionResponse(
    @field:JsonProperty("amount") var amount: String? = null,
    @field:JsonProperty("completedTime") var completedTime: String? = null,
    @field:JsonProperty("currency") var currency: String? = null,
    @field:JsonProperty("customerMsisdn") var customerMsisdn: String? = null,
    @field:JsonProperty("initiationTime") var initiationTime: String? = null,
    @field:JsonProperty("organizationShortCode") var organizationShortCode: String? = null,
    @field:JsonProperty("transactionReference") var transactionReference: String? = null,
    @field:JsonProperty("transactionStatus") var transactionStatus: String? = null,
    @field:JsonProperty("transactionType") var transactionType: String? = null,
    @field:JsonProperty("trxID") var trxID: String? = null,
    @field:JsonProperty("errorCode") var errorCode: String? = null,
    @field:JsonProperty("errorMessage") var errorMessage: String? = null,
    @field:JsonProperty("errorType") var errorType: String? = null,
    @field:JsonProperty("stackTrace") var stackTrace: List? = null
) : BaseResponse() {
    @JsonProperty("message")
    var message: String? = null
    override fun httpResponseCode(httpResponseCode: Int): BaseResponse {
        this.httpResponseCode = httpResponseCode
        return this
    }

    override fun httpResponseMessage(httpResponseMessage: String): BaseResponse {
        this.httpResponseMessage = httpResponseMessage
        return this
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy