specifically need to ask for custom conversion rates
This commit is contained in:
@@ -13,11 +13,15 @@ pub struct PreviewEcbConversionRequest {
|
||||
/// conversion_context: transaction, statement, or decisive date.
|
||||
#[prost(string, tag = "4")]
|
||||
pub anchor_date: ::prost::alloc::string::String,
|
||||
/// Required. Profile whose custom exchange rate table is consulted before the
|
||||
/// ECB observations, so the preview matches what posting into that profile
|
||||
/// would do.
|
||||
/// Required. Profile whose rates apply. Only consulted when use_custom_rate is
|
||||
/// set, but always required so a preview names the books it describes.
|
||||
#[prost(string, tag = "5")]
|
||||
pub profile_name: ::prost::alloc::string::String,
|
||||
/// Preview the profile's own rate for the publication date rather than the ECB
|
||||
/// reference rate. Must match what the posting will ask for, or the preview
|
||||
/// describes a conversion that will not happen.
|
||||
#[prost(bool, tag = "6")]
|
||||
pub use_custom_rate: bool,
|
||||
}
|
||||
/// The conversion and immutable local ECB observation that would be used now.
|
||||
/// No rounding is performed and no conversion evidence is persisted.
|
||||
|
||||
Reference in New Issue
Block a user