getPaymentForm method
Future<Result<PaymentsPaymentFormBase> >
getPaymentForm({
- required InputInvoiceBase invoice,
- DataJSONBase? themeParams,
Get Payment Form.
ID: 37148dbb
.
Implementation
Future<Result<PaymentsPaymentFormBase>> getPaymentForm({
required InputInvoiceBase invoice,
DataJSONBase? themeParams,
}) async {
// Preparing the request.
final request = PaymentsGetPaymentForm(
invoice: invoice,
themeParams: themeParams,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<PaymentsPaymentFormBase>();
}