WebIDLpedia

CanMakePaymentEvent interface

Definition

Payment Handler API defines CanMakePaymentEvent



[Exposed=ServiceWorker]
interface CanMakePaymentEvent : ExtendableEvent {
  constructor(DOMString type);
  undefined respondWith(Promise<boolean> canMakePaymentResponse);
};

Methods and attributes that return objects implementing CanMakePaymentEvent