@classmethod
def from_dict(cls, amount_dict):
    """Retrieve data from dict and place it as object properties."""
    return cls(electronic=amount_dict.get('Electronic'), advance_payment=
        amount_dict.get('AdvancePayment'), credit=amount_dict.get('Credit'),
        provision=amount_dict.get('Provision'))
