Bug 1492727 [wpt PR 13097] - Update interfaces/payment-method-basic-card.idl, a=testonly

Automatic update from web-platform-testsUpdate interfaces/payment-method-basic-card.idl (#13097)

Source: https://github.com/tidoust/reffy-reports/blob/fb94b83/whatwg/idl/payment-method-basic-card.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/431349655
--

wpt-commits: a515ab78d1dcb02899e5605421dd39f74218c474
wpt-pr: 13097
This commit is contained in:
autofoolip 2018-09-26 10:46:35 +00:00 committed by moz-wptsync-bot
parent 7558a1a212
commit 61af94fc93

View File

@ -4,17 +4,30 @@
// Source: Payment Method: Basic Card (https://w3c.github.io/payment-method-basic-card/)
dictionary BasicCardRequest {
sequence<DOMString> supportedNetworks;
sequence<BasicCardType> supportedTypes;
};
sequence<DOMString> supportedNetworks;
sequence<BasicCardType> supportedTypes;
};
dictionary BasicCardChangeDetails {
PaymentAddress? billingAddress;
};
enum BasicCardType { "credit", "debit", "prepaid" };
dictionary BasicCardResponse {
required DOMString cardNumber;
DOMString cardholderName;
DOMString cardSecurityCode;
DOMString expiryMonth;
DOMString expiryYear;
PaymentAddress? billingAddress;
};
required DOMString cardNumber;
DOMString cardholderName;
DOMString cardSecurityCode;
DOMString expiryMonth;
DOMString expiryYear;
PaymentAddress? billingAddress;
};
dictionary BasicCardErrors {
DOMString cardNumber;
DOMString cardholderName;
DOMString cardSecurityCode;
DOMString expiryMonth;
DOMString expiryYear;
AddressErrors billingAddress;
};