Repository URL to install this package:
|
Version:
4.36.0 ▾
|
braintree
/
monetary_amount.py
|
|---|
from decimal import Decimal
from braintree.attribute_getter import AttributeGetter
class MonetaryAmount(AttributeGetter):
def __init__(self,attributes):
AttributeGetter.__init__(self,attributes)
if getattr(self, "value", None) is not None:
self.value = Decimal(self.value)