package js.html;
/**
This Payment Request API interface is returned after a user selects a payment method and approves a payment request.
**/
@:native("PaymentResponse") extern class PaymentResponse {
function new();
final details : Dynamic;
final methodName : String;
final payerEmail : Null;
final payerName : Null;
final payerPhone : Null;
final requestId : String;
final shippingAddress : Null;
final shippingOption : Null;
function complete(?result:PaymentComplete):js.lib.Promise;
function toJSON():Dynamic;
static var prototype : PaymentResponse;
}