Struct xpcom::interfaces::nsIPaymentResponseData [] [src]

#[repr(C)]
pub struct nsIPaymentResponseData { /* fields omitted */ }

interface nsIPaymentResponseData : nsISupports

/**
 *  The base interface of response data for the specified payment method.
 *  The response data is the content of the PaymentResponse's detail attribute.
 */

Methods

impl nsIPaymentResponseData
[src]

[src]

Cast this nsIPaymentResponseData to one of its base interfaces.

impl nsIPaymentResponseData
[src]

GENERAL_RESPONSE: i64 = 0
/**
   *  The consts for representing the response data type.
   *  GENERAL_RESPONSE is the general purpose response data type. Except basic
   *  card response data, all response data should belong to this type.
   *  BASICCARD_RESPONSE is a special response data type for basic card response.
   */

BASICCARD_RESPONSE: i64 = 1

[src]

/**
   *  The response data type.
   *  Using the above defined consts(GENERAL_RESPONSE or BASICCARD_RESPONSE).
   */

readonly attribute uint32_t type;

[src]

/**
   *  The initial method.
   *  @param aType - the response data type.
   */

void init (in uint32_t aType);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIPaymentResponseData
[src]

IID: nsIID = nsID(708019573, 50824, 16622, [161, 87, 116, 136, 171, 41, 46, 242])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIPaymentResponseData
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPaymentResponseData
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.