conversions
This commit is contained in:
Binary file not shown.
@@ -132,7 +132,7 @@ pub struct PreviewEcbConversionResponse {
|
||||
#[prost(string, tag = "2")]
|
||||
pub original_currency: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "3")]
|
||||
pub eur_amount: ::prost::alloc::string::String,
|
||||
pub converted_amount: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "4")]
|
||||
pub conversion_basis_date: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "5")]
|
||||
@@ -174,6 +174,17 @@ pub struct PreviewEcbConversionResponse {
|
||||
pub applied_source: i32,
|
||||
#[prost(string, tag = "21")]
|
||||
pub selection_reason: ::prost::alloc::string::String,
|
||||
/// The currency converted_amount is stated in: the profile's accounting
|
||||
/// currency (EUR unless the profile keeps its books in something else).
|
||||
#[prost(string, tag = "22")]
|
||||
pub converted_currency: ::prost::alloc::string::String,
|
||||
/// True when reaching converted_currency needed two hops (original currency
|
||||
/// to EUR, then EUR to converted_currency) because neither is EUR. The
|
||||
/// fields above then describe only the second, final hop; the full
|
||||
/// provenance of both hops is available from ListEcbConversionEvidence
|
||||
/// after posting.
|
||||
#[prost(bool, tag = "23")]
|
||||
pub via_two_hop_conversion: bool,
|
||||
}
|
||||
/// Identify one logical money cell whose conversion history should be inspected.
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
@@ -211,7 +222,7 @@ pub struct EcbConversionEvidence {
|
||||
#[prost(string, tag = "4")]
|
||||
pub original_currency: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "5")]
|
||||
pub eur_amount: ::prost::alloc::string::String,
|
||||
pub converted_amount: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "6")]
|
||||
pub conversion_context: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "7")]
|
||||
@@ -254,6 +265,16 @@ pub struct EcbConversionEvidence {
|
||||
pub selection_reason: ::prost::alloc::string::String,
|
||||
#[prost(string, optional, tag = "24")]
|
||||
pub selected_by_user_id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
/// The currency converted_amount is stated in. Always EUR for the
|
||||
/// original-currency-to-EUR leg; the profile's native currency for the
|
||||
/// EUR-to-native leg that follows it when that native currency is not EUR.
|
||||
#[prost(string, tag = "25")]
|
||||
pub converted_currency: ::prost::alloc::string::String,
|
||||
/// Set only on the EUR-to-native-currency leg of a two-hop conversion. Names
|
||||
/// the original-currency-to-EUR leg's evidence_id, which produced this row's
|
||||
/// original_amount/original_currency (always EUR).
|
||||
#[prost(int64, optional, tag = "26")]
|
||||
pub derived_from_evidence_id: ::core::option::Option<i64>,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListEcbConversionEvidenceResponse {
|
||||
|
||||
Reference in New Issue
Block a user