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

io.github.eendroroy.sdk.bkash.request.IntraAccTransferRequest.kt Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonRootName
import io.github.eendroroy.sdk.bkash.definition.Currency

/**
 * @author indrajit
 */
@JsonRootName("request")
data class IntraAccTransferRequest(
    @field:JsonProperty("amount") var amount: String? = null,
    @field:JsonProperty("currency") var currency: String? = Currency.BDT.value(),
    @field:JsonProperty("transferType") var transferType: String? = null
) {
    fun amount(amount: String) = apply { this.amount = amount }
    fun currency(currency: String) = apply { this.currency = currency }
    fun transferType(transferType: String) = apply { this.transferType = transferType }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy