com.logicommerce.sdk.models.order.implementations.OrderCurrencyImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for developing Logicommerce plugins.
package com.logicommerce.sdk.models.order.implementations;
import com.logicommerce.sdk.enums.CurrencyMode;
import com.logicommerce.sdk.models.order.OrderCurrency;
/**
* OrderCurrencyImpl class.
*
* @author Logicommerce
* @since 1.0.16
*/
public class OrderCurrencyImpl implements OrderCurrency {
private Integer id;
private CurrencyMode mode;
private int currencyId;
private String name;
private String code;
private String codeNumber;
private String symbol;
private double usdValue;
/**
* Getter for the field id
.
*
* @return a {@link java.lang.Integer} object
*/
public Integer getId() {
return id;
}
/**
* Getter for the field mode
.
*
* @return a {@link com.logicommerce.sdk.enums.CurrencyMode} object
*/
public CurrencyMode getMode() {
return mode;
}
/**
* Getter for the field currencyId
.
*
* @return a int
*/
public int getCurrencyId() {
return currencyId;
}
/**
* Getter for the field name
.
*
* @return a {@link java.lang.String} object
*/
public String getName() {
return name;
}
/**
* Getter for the field code
.
*
* @return a {@link java.lang.String} object
*/
public String getCode() {
return code;
}
/**
* Getter for the field codeNumber
.
*
* @return a {@link java.lang.String} object
*/
public String getCodeNumber() {
return codeNumber;
}
/**
* Getter for the field symbol
.
*
* @return a {@link java.lang.String} object
*/
public String getSymbol() {
return symbol;
}
/**
* Getter for the field usdValue
.
*
* @return a double
*/
public double getUsdValue() {
return usdValue;
}
/**
* Setter for the field id
.
*
* @param id a {@link java.lang.Integer} object
*/
public void setId(Integer id) {
this.id = id;
}
/**
* Setter for the field mode
.
*
* @param mode a {@link com.logicommerce.sdk.enums.CurrencyMode} object
*/
public void setMode(CurrencyMode mode) {
this.mode = mode;
}
/**
* Setter for the field currencyId
.
*
* @param currencyId a int
*/
public void setCurrencyId(int currencyId) {
this.currencyId = currencyId;
}
/**
* Setter for the field name
.
*
* @param name a {@link java.lang.String} object
*/
public void setName(String name) {
this.name = name;
}
/**
* Setter for the field code
.
*
* @param code a {@link java.lang.String} object
*/
public void setCode(String code) {
this.code = code;
}
/**
* Setter for the field codeNumber
.
*
* @param codeNumber a {@link java.lang.String} object
*/
public void setCodeNumber(String codeNumber) {
this.codeNumber = codeNumber;
}
/**
* Setter for the field symbol
.
*
* @param symbol a {@link java.lang.String} object
*/
public void setSymbol(String symbol) {
this.symbol = symbol;
}
/**
* Setter for the field usdValue
.
*
* @param usdValue a double
*/
public void setUsdValue(double usdValue) {
this.usdValue = usdValue;
}
}