| Requires any of the roles: | Client, Admin, Partner |
| GET | /payment_gateways |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
// @DataContract
class PaymentGatewaysLookup implements IConvertible
{
// @DataMember(Order=2)
int? TenantsId;
// @DataMember(Order=3)
int? PaymentActionsId;
// @DataMember(Order=4)
String? Name;
// @DataMember(Order=5)
String? ServiceKey;
// @DataMember(Order=6)
String? NotifyUrl;
// @DataMember(Order=7)
String? RedirectUrl;
PaymentGatewaysLookup({this.TenantsId,this.PaymentActionsId,this.Name,this.ServiceKey,this.NotifyUrl,this.RedirectUrl});
PaymentGatewaysLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
PaymentActionsId = json['PaymentActionsId'];
Name = json['Name'];
ServiceKey = json['ServiceKey'];
NotifyUrl = json['NotifyUrl'];
RedirectUrl = json['RedirectUrl'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId,
'PaymentActionsId': PaymentActionsId,
'Name': Name,
'ServiceKey': ServiceKey,
'NotifyUrl': NotifyUrl,
'RedirectUrl': RedirectUrl
};
getTypeName() => "PaymentGatewaysLookup";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'PaymentGatewaysLookup': TypeInfo(TypeOf.Class, create:() => PaymentGatewaysLookup()),
});
Dart PaymentGatewaysLookup DTOs
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.
GET /payment_gateways HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"TenantsId":0,"PaymentActionsId":0,"Name":"String","ServiceKey":"String","NotifyUrl":"String","RedirectUrl":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]