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

co.omise.models.Transaction Maven / Gradle / Ivy

There is a newer version: 5.1.0
Show newest version
package co.omise.models;

import org.joda.time.DateTime;

/**
 * Represents Omise Transaction object.
 *
 * @see Transactions API
 */
public class Transaction extends Model {
    private long amount;
    private String currency;
    private TransactionType type;
    private String source;
    private DateTime transferable;

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public TransactionType getType() {
        return type;
    }

    public void setType(TransactionType type) {
        this.type = type;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public DateTime getTransferable() {
        return transferable;
    }

    public void setTransferable(DateTime transferable) {
        this.transferable = transferable;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy