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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}