CardPayment.fromBasePayment constructor

CardPayment.fromBasePayment(
  1. PaylikeCard card,
  2. BasePayment options
)

Used for creating a card payment from an already defined BasePayment

Implementation

CardPayment.fromBasePayment(this.card, BasePayment options)
    : super(
          amount: options.amount,
          plans: options.plans,
          unplanned: options.unplanned,
          custom: options.custom);