PUT | /payment/payson/checkstatus | PaymentPayments Check Status |
---|
import 'package:servicestack/servicestack.dart';
class CheckPaymentsStatusResponse implements IConvertible
{
String? ResentCount;
ResponseStatus? ResponseStatus;
CheckPaymentsStatusResponse({this.ResentCount,this.ResponseStatus});
CheckPaymentsStatusResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ResentCount = json['ResentCount'];
ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
return this;
}
Map<String, dynamic> toJson() => {
'ResentCount': ResentCount,
'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
};
getTypeName() => "CheckPaymentsStatusResponse";
TypeContext? context = _ctx;
}
class CheckPaymentStatus extends CheckPaymentsStatusResponse implements IConvertible
{
CheckPaymentStatus();
CheckPaymentStatus.fromJson(Map<String, dynamic> json) : super.fromJson(json);
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
return this;
}
Map<String, dynamic> toJson() => super.toJson();
getTypeName() => "CheckPaymentStatus";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: <String, TypeInfo> {
'CheckPaymentsStatusResponse': TypeInfo(TypeOf.Class, create:() => CheckPaymentsStatusResponse()),
'CheckPaymentStatus': TypeInfo(TypeOf.Class, create:() => CheckPaymentStatus()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /payment/payson/checkstatus HTTP/1.1
Host: api.bokamera.se
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ResentCount":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {}