fromEntity static method

FixedAmountPayModel fromEntity(
  1. FixedAmountPayEntity entity
)
override

Implementation

static FixedAmountPayModel fromEntity(FixedAmountPayEntity entity) =>
    FixedAmountPayModel(
        identifier: entity.identifier,
        paymentType: PayTypeModel.fromEntity(entity.paymentType),
        description: entity.description,
        executeInstantly: entity.executeInstantly,
        ccy: entity.ccy,
        amount: entity.amount);