"""Account Payee History marshmallow schemas.""" from abacus_common_logic.marshalling.custom_fields import ma class AccountPayeeHistorySchema(ma.Schema): """Account payee history fields.""" account_id = ma.IntegerId(required=True) account_payee_history_id = ma.IntegerId(required=True) account_payee_id = ma.IntegerId(required=True) payoneer_program_id = ma.IntegerId() payoneer_payee_id = ma.IntegerId() payoneer_payee_name = ma.String() payoneer_iframe_url = ma.String() payoneer_iframe_url_date = ma.FormattedDate() payoneer_session_id = ma.String() sap_vendor_id = ma.IntegerId() reference_payment_type_id = ma.IntegerId() payment_description = ma.String(required=True) created_at = ma.FormattedDate(required=True) last_modified = ma.FormattedDate(required=True)