Struct xpcom::interfaces::nsIPaymentCompleteActionResponse [] [src]

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

interface nsIPaymentCompleteActionResponse : nsIPaymentActionResponse

Methods

impl nsIPaymentCompleteActionResponse
[src]

[src]

Cast this nsIPaymentCompleteActionResponse to one of its base interfaces.

impl nsIPaymentCompleteActionResponse
[src]

[src]

/**
   *  The complete action status.
   *  Using the defined consts(COMPLETE_XXX) in nsIPaymentActionResponse.
   */

readonly attribute uint32_t completeStatus;

[src]

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

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

[src]

/**
   *  Check if the complete action is succeeded.
   */

bool isCompleted ();

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

IID: nsIID = nsID(1656757865, 40100, 16480, [153, 228, 185, 95, 98, 140, 142, 109])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPaymentCompleteActionResponse
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.