On 15/02/18 01:27, Leo Silver wrote:
> Hello.
>
> I'm trying to create a class to represent products which includes a list of
> volume based pricing and sets the first of these as the unit price:
>
> def __init__(self, RatePlanID):
> self.id = RatePlanID
> self.name = RatePlan
Leo Silver wrote:
> Hello.
>
> I'm trying to create a class to represent products which includes a list
> of volume based pricing and sets the first of these as the unit price:
>
> def __init__(self, RatePlanID):
> self.id = RatePlanID
> self.name = RatePlans.toggleids[self.i
Hello.
I'm trying to create a class to represent products which includes a list of
volume based pricing and sets the first of these as the unit price:
def __init__(self, RatePlanID):
self.id = RatePlanID
self.name = RatePlans.toggleids[self.id]
self.pricing = RatePlans