Readonly
billingThe billing address.
Readonly
cardThe card number.
Readonly
cardThe card security number.
Readonly
cardholderThe cardholder name.
Readonly
expiryThe expiry month.
Readonly
expiryThe expiry year.
Readonly
typeThe response data type. Using the above defined consts(GENERAL_RESPONSE or BASICCARD_RESPONSE).
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
The initial method for nsIBasicCardResponseData.
the cardholder name.
the card number.
the expiry month.
the expiry year.
the card security code.
Generated using TypeDoc
The basic card response data. Since PaymentAddress is an no constructor interface type, UI code can not easy create PaymentAddress by calling new PaymentAddress(). Unfortunately, BasicCardResponse has a PaymentAddress attribute, billingAddress , it means UI can not create BsaicCardResponse by calling the init() with a given JSObject directly, because PaymentAddress creation in JS code is hard. To let UI code can create BasicCardResponse easier, nsIBasicCardResponse is provided for UI by passing the raw data of BasicCardResponse,