From 128b0775bae87e3507fde183e8fb307e2a598b60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 30 Jan 2018 10:59:40 +0100 Subject: [PATCH] PriceSource: unknown Flag um "fast" korrekt durchzureichen --- SL/PriceSource/Discount.pm | 8 +++++++- SL/PriceSource/Price.pm | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/SL/PriceSource/Discount.pm b/SL/PriceSource/Discount.pm index ae4592bd9..66f9532c5 100644 --- a/SL/PriceSource/Discount.pm +++ b/SL/PriceSource/Discount.pm @@ -4,7 +4,7 @@ use strict; use parent 'SL::DB::Object'; use Rose::Object::MakeMethods::Generic ( - scalar => [ qw(discount description spec price_source invalid missing) ], + scalar => [ qw(discount description spec price_source invalid missing unknown) ], 'scalar --get_set_init' => [ qw(priority) ], ); @@ -133,6 +133,12 @@ discount are no longer valid, and that the discount should be changed. If discount is missing, you do not need to supply anything except C. +=item C + +OPTIONAL. Boolean indicator that this discount was not computed for performance +reasons. This is only valid for PriceSources flagged as C. This discount +must be ignored. + =back =head1 SEE ALSO diff --git a/SL/PriceSource/Price.pm b/SL/PriceSource/Price.pm index 89a23e858..52558470c 100644 --- a/SL/PriceSource/Price.pm +++ b/SL/PriceSource/Price.pm @@ -4,7 +4,7 @@ use strict; use parent 'SL::DB::Object'; use Rose::Object::MakeMethods::Generic ( - scalar => [ qw(price description spec price_source invalid missing) ], + scalar => [ qw(price description spec price_source invalid missing unknown) ], 'scalar --get_set_init' => [ qw(priority editable) ], ); @@ -149,6 +149,12 @@ price are no longer valid, and that the price should be changed. If price is missing, you do not need to supply anything except C. +=item C + +OPTIONAL. Boolean indicator that this price was not computed for performance +reasons. This is only valid for PriceSources flagged as C. This price +must be ignored. + =back =head1 SEE ALSO -- 2.20.1