Struct xpcom::interfaces::nsIPaymentAbortActionResponse [] [src]

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

interface nsIPaymentAbortActionResponse : nsIPaymentActionResponse

/**
 *  The response for abort action.
 */

Methods

impl nsIPaymentAbortActionResponse
[src]

[src]

Cast this nsIPaymentAbortActionResponse to one of its base interfaces.

impl nsIPaymentAbortActionResponse
[src]

[src]

/**
   *  The abort action status.
   *  Using the defined consts(ABORT_XXX) in nsIPaymentActionResponse.
   */

readonly attribute uint32_t abortStatus;

[src]

/**
   *  The Initial method.
   *  @param aRequestId - the request identifier of payment request.
   *  @param aAbortStatus - the abort action result.
   */

void init (in AString aRequestId, in uint32_t aAbortStatus);

[src]

/**
   *  Check if the abort action is succeeded
   */

bool isSucceeded ();

Methods from Deref<Target = nsIPaymentActionResponse>

[src]

Cast this nsIPaymentActionResponse to one of its base interfaces.

[src]

readonly attribute AString requestId;

[src]

readonly attribute uint32_t type;

Trait Implementations

impl XpCom for nsIPaymentAbortActionResponse
[src]

IID: nsIID = nsID(2356329691, 3127, 18310, [169, 229, 81, 10, 250, 47, 142, 222])

[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 nsIPaymentAbortActionResponse
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPaymentAbortActionResponse
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.