Could someone confirm my reading of the price coding in TMF622 and TMF679?
My reading of the spec is that a discounted price would be encoded as the original price and a price alteration block containing the _delta_ on that price.
E.g. if we have a tax-exclusive price of £50 with a £5 discount for 6 months would we have the structure below?
{"productPrice" : [{"priceType" : "Recurring",
"recurringChargePeriod" : "Month",
"price" : {"taxRate" : 20.0,
"dutyFreeAmount" : {"unit" : "GBP",
"value" : 50}},
"productPriceAlteration" : [{"applicationDuration" : 6,
"name" : "Summer discount",
"priceType" : "Discount",
"price" : {"dutyFreeAmount" : {"unit" : "GBP",
"value" : 5}}}]}]}
I assume we can make common fields implicit - e.g. taxRate, recurring ChargePeriod?
Is there any convention for encoding the net price? I.e. £(original - discount), £45?
Thanks, Alasdair
------------------------------
Alasdair MacLeod
BT Group plc
------------------------------