purchaseVerificationRequestMapper property
BaseRequest Function(Request request, Transaction transaction)?
purchaseVerificationRequestMapper
final
Provides a custom function that allows you to customize the way your request's body is sent to the API
It provides you access to the original Request
and Transaction being verified
Example
function(productItem) {
return Request('PATCH', Uri.parse())..body={}
}
Implementation
final BaseRequest Function(Request request, Transaction transaction)? purchaseVerificationRequestMapper;