Hi, sorry for the simple question but I am stuck.
I am upgrading from one API to a new API.
In the old app the var I was interested in was
int totalQuantity;
I could change its value with
parent.totalQuantity = 5;
Now the API has changed and it is part of a class defined as:
private Decimal m_totalQuantity = Decimal.INVALID;
It has a setter method
public Decimal totalQuantity() { return m_totalQuantity; }
I cannot figure out how to set this var and have tried:
order.totalQuantity(Decimal(1));/
order.totalQuantity(Decimal.valueOf(5));
How do I change the value of the private totalQuantity var????
Thank you for your help.
Miamimike