BokaMera.API.Host

<back to all web services

QvicklyCheckoutConfirmUrl

The following routes are available for this service:
POST,GET/payment/billmate/v1/confirmConfirm url for Qvickly checkout 1.0 that will redirect the user to the homepageConfirm url for Qvickly checkout 1.0
import 'package:servicestack/servicestack.dart';

class QvicklyCheckoutConfirmUrl implements IConvertible
{
    /**
    * Optional to set your own confirmation url after payment completed.
    */
    // @ApiMember(Description="Optional to set your own confirmation url after payment completed.")
    Uri? ConfirmationUrl;

    QvicklyCheckoutConfirmUrl({this.ConfirmationUrl});
    QvicklyCheckoutConfirmUrl.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ConfirmationUrl = JsonConverters.fromJson(json['ConfirmationUrl'],'Uri',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ConfirmationUrl': JsonConverters.toJson(ConfirmationUrl,'Uri',context!)
    };

    getTypeName() => "QvicklyCheckoutConfirmUrl";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: <String, TypeInfo> {
    'QvicklyCheckoutConfirmUrl': TypeInfo(TypeOf.Class, create:() => QvicklyCheckoutConfirmUrl()),
    'Uri': TypeInfo(TypeOf.Class, create:() => Uri()),
});

Dart QvicklyCheckoutConfirmUrl 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /payment/billmate/v1/confirm HTTP/1.1 
Host: api.bokamera.se 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}