com.checkout.forex.QuoteResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.forex;
import com.checkout.HttpMetadata;
import com.checkout.common.Currency;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.Instant;
@Data
@EqualsAndHashCode(callSuper = true)
public final class QuoteResponse extends HttpMetadata {
private String id;
@SerializedName("source_currency")
private Currency sourceCurrency;
@SerializedName("source_amount")
private Long sourceAmount;
@SerializedName("destination_currency")
private Currency destinationCurrency;
@SerializedName("destination_amount")
private Long destinationAmount;
private Double rate;
@SerializedName("expires_on")
private Instant expiresOn;
@SerializedName("is_single_use")
private boolean isSingleUse;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy