pub struct AbsolutePriceSchedule<const ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP: usize = 1024> {Show 13 fields
pub additional_selected_services: Option<Vec<AdditionalSelectedServices, 5usize>>,
pub currency: String<3usize>,
pub custom_data: Option<CustomData>,
pub language: String<8usize>,
pub maximum_cost: Option<RationalNumber>,
pub minimum_cost: Option<RationalNumber>,
pub overstay_rule_list: Option<OverstayRuleList>,
pub price_algorithm: String<2000usize>,
pub price_rule_stacks: Vec<PriceRuleStack, 1024usize>,
pub price_schedule_description: Option<String<160usize>>,
pub price_schedule_i_d: i64,
pub tax_rules: Option<Vec<TaxRule, 10usize>>,
pub time_anchor: String<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>,
}Expand description
The AbsolutePriceScheduleType is modeled after the same type that is defined in ISO 15118-20, such that if it is supplied by an EMSP as a signed EXI message, the conversion from EXI to JSON (in OCPP) and back to EXI (for ISO 15118-20) does not change the digest and therefore does not invalidate the signature.
image::images/AbsolutePriceSchedule-Simple.png[]
Fields§
§additional_selected_services: Option<Vec<AdditionalSelectedServices, 5usize>>§currency: String<3usize>Currency according to ISO 4217.
custom_data: Option<CustomData>§language: String<8usize>String that indicates what language is used for the human readable strings in the price schedule. Based on ISO 639.
maximum_cost: Option<RationalNumber>§minimum_cost: Option<RationalNumber>§overstay_rule_list: Option<OverstayRuleList>§price_algorithm: String<2000usize>A string in URN notation which shall uniquely identify an algorithm that defines how to compute an energy fee sum for a specific power profile based on the EnergyFee information from the PriceRule elements.
price_rule_stacks: Vec<PriceRuleStack, 1024usize>§price_schedule_description: Option<String<160usize>>Description of the price schedule.
price_schedule_i_d: i64Unique ID of price schedule
tax_rules: Option<Vec<TaxRule, 10usize>>§time_anchor: String<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>Starting point of price schedule.
Trait Implementations§
Source§impl<const ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP: usize> Clone for AbsolutePriceSchedule<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>
impl<const ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP: usize> Clone for AbsolutePriceSchedule<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>
Source§fn clone(
&self,
) -> AbsolutePriceSchedule<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>
fn clone( &self, ) -> AbsolutePriceSchedule<ABSOLUTE_PRICE_SCHEDULE_TIME_ANCHOR_CAP>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more