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

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<QvicklyCheckoutConfirmUrl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
  <ConfirmationUrl i:nil="true" />
</QvicklyCheckoutConfirmUrl>