Struct xpcom::interfaces::nsIPaymentCompleteActionResponse
[−]
[src]
#[repr(C)]pub struct nsIPaymentCompleteActionResponse { /* fields omitted */ }
interface nsIPaymentCompleteActionResponse : nsIPaymentActionResponse
Methods
impl nsIPaymentCompleteActionResponse
[src]
pub fn coerce<T: nsIPaymentCompleteActionResponseCoerce>(&self) -> &T
[src]
Cast this nsIPaymentCompleteActionResponse
to one of its base interfaces.
impl nsIPaymentCompleteActionResponse
[src]
pub unsafe fn GetCompleteStatus(
&self,
aCompleteStatus: *mut uint32_t
) -> nsresult
[src]
&self,
aCompleteStatus: *mut uint32_t
) -> nsresult
/**
* The complete action status.
* Using the defined consts(COMPLETE_XXX) in nsIPaymentActionResponse.
*/
readonly attribute uint32_t completeStatus;
pub unsafe fn Init(
&self,
aRequestId: &nsAString,
aCompleteStatus: uint32_t
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aCompleteStatus: uint32_t
) -> nsresult
/**
* 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);
pub unsafe fn IsCompleted(&self, _retval: *mut bool) -> nsresult
[src]
/**
* Check if the complete action is succeeded.
*/
bool isCompleted ();
Methods from Deref<Target = nsIPaymentActionResponse>
pub fn coerce<T: nsIPaymentActionResponseCoerce>(&self) -> &T
[src]
Cast this nsIPaymentActionResponse
to one of its base interfaces.
pub const NO_TYPE: i64
pub const CANMAKE_ACTION: i64
pub const SHOW_ACTION: i64
pub const ABORT_ACTION: i64
pub const COMPLETE_ACTION: i64
pub const ABORT_SUCCEEDED: i64
pub const ABORT_FAILED: i64
pub const PAYMENT_REJECTED: i64
pub const PAYMENT_ACCEPTED: i64
pub const PAYMENT_NOTSUPPORTED: i64
pub const COMPLETE_SUCCEEDED: i64
pub const COMPLETE_FAILED: i64
pub unsafe fn GetRequestId(&self, aRequestId: &mut nsAString) -> nsresult
[src]
readonly attribute AString requestId;
pub unsafe fn GetType(&self, aType: *mut uint32_t) -> nsresult
[src]
readonly attribute uint32_t type;
Trait Implementations
impl XpCom for nsIPaymentCompleteActionResponse
[src]
const IID: nsIID
IID: nsIID = nsID(1656757865, 40100, 16480, [153, 228, 185, 95, 98, 140, 142, 109])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIPaymentCompleteActionResponse
[src]
type Target = nsIPaymentActionResponse
The resulting type after dereferencing.
fn deref(&self) -> &nsIPaymentActionResponse
[src]
Dereferences the value.