Changed PaymentMethod.Type and Transaction.DetailedStatus to enum