retrieve method
Retrieve data R
Implementation
@override
Future<PaymentAttributesResponse> retrieve(int id) async {
final options = PayMongoOptions(
path: '/payments/$id',
);
final response = await _httpClient.fetch(options);
final json = serialize<Map<String, dynamic>>(response, options.path);
return PaymentAttributesResponse.fromMap(json);
}