GET | /api/v1/onepay/payment-step-one |
---|
import 'package:servicestack/servicestack.dart';
class OnePayPaymentStepOneRequest implements IConvertible
{
int? price;
String? captcha;
OnePayPaymentStepOneRequest({this.price,this.captcha});
OnePayPaymentStepOneRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
price = json['price'];
captcha = json['captcha'];
return this;
}
Map<String, dynamic> toJson() => {
'price': price,
'captcha': captcha
};
getTypeName() => "OnePayPaymentStepOneRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'efun_id_api_sandbox.efun.vn', types: <String, TypeInfo> {
'OnePayPaymentStepOneRequest': TypeInfo(TypeOf.Class, create:() => OnePayPaymentStepOneRequest()),
});
Dart OnePayPaymentStepOneRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/v1/onepay/payment-step-one HTTP/1.1 Host: efun-id-api-sandbox.efun.vn Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { }