init method

void init(
  1. String paymentRef
)

Implementation

void init(String paymentRef) {
  _paymentService = PaymentService(baseUrl, endpointMode);
  paymentReference = paymentRef;
  getTransactionInfo();
  rebuildUi();
}