Struct xpcom::interfaces::nsIPaymentCreateActionRequest
[−]
[src]
#[repr(C)]pub struct nsIPaymentCreateActionRequest { /* fields omitted */ }
interface nsIPaymentCreateActionRequest : nsIPaymentActionRequest
Methods
impl nsIPaymentCreateActionRequest
[src]
pub fn coerce<T: nsIPaymentCreateActionRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentCreateActionRequest
to one of its base interfaces.
impl nsIPaymentCreateActionRequest
[src]
pub unsafe fn GetTabId(&self, aTabId: *mut uint64_t) -> nsresult
[src]
readonly attribute uint64_t tabId;
pub unsafe fn GetTopLevelPrincipal(
&self,
aTopLevelPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aTopLevelPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal topLevelPrincipal;
pub unsafe fn GetMethodData(
&self,
aMethodData: *mut *const nsIArray
) -> nsresult
[src]
&self,
aMethodData: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray methodData;
pub unsafe fn GetDetails(
&self,
aDetails: *mut *const nsIPaymentDetails
) -> nsresult
[src]
&self,
aDetails: *mut *const nsIPaymentDetails
) -> nsresult
readonly attribute nsIPaymentDetails details;
pub unsafe fn GetOptions(
&self,
aOptions: *mut *const nsIPaymentOptions
) -> nsresult
[src]
&self,
aOptions: *mut *const nsIPaymentOptions
) -> nsresult
readonly attribute nsIPaymentOptions options;
pub unsafe fn InitRequest(
&self,
aRequestId: &nsAString,
aCallback: *const nsIPaymentActionCallback,
aTabId: uint64_t,
aPrincipal: *const nsIPrincipal,
aMethodData: *const nsIArray,
aDetails: *const nsIPaymentDetails,
aOptions: *const nsIPaymentOptions
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aCallback: *const nsIPaymentActionCallback,
aTabId: uint64_t,
aPrincipal: *const nsIPrincipal,
aMethodData: *const nsIArray,
aDetails: *const nsIPaymentDetails,
aOptions: *const nsIPaymentOptions
) -> nsresult
void initRequest (in AString aRequestId, in nsIPaymentActionCallback aCallback, in uint64_t aTabId, in nsIPrincipal aPrincipal, in nsIArray aMethodData, in nsIPaymentDetails aDetails, in nsIPaymentOptions aOptions);
Methods from Deref<Target = nsIPaymentActionRequest>
pub fn coerce<T: nsIPaymentActionRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentActionRequest
to one of its base interfaces.
pub const UNKNOWN_ACTION: i64
pub const CREATE_ACTION: i64
pub const CANMAKE_ACTION: i64
pub const SHOW_ACTION: i64
pub const ABORT_ACTION: i64
pub const COMPLETE_ACTION: i64
pub const UPDATE_ACTION: 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;
pub unsafe fn GetCallback(
&self,
aCallback: *mut *const nsIPaymentActionCallback
) -> nsresult
[src]
&self,
aCallback: *mut *const nsIPaymentActionCallback
) -> nsresult
readonly attribute nsIPaymentActionCallback callback;
pub unsafe fn Init(
&self,
aRequestId: &nsAString,
aType: uint32_t,
aCallback: *const nsIPaymentActionCallback
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aType: uint32_t,
aCallback: *const nsIPaymentActionCallback
) -> nsresult
void init (in AString aRequestId, in uint32_t aType, in nsIPaymentActionCallback aCallback);
Trait Implementations
impl XpCom for nsIPaymentCreateActionRequest
[src]
const IID: nsIID
IID: nsIID = nsID(490265830, 35789, 17435, [170, 148, 104, 227, 0, 182, 225, 117])
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 nsIPaymentCreateActionRequest
[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 nsIPaymentCreateActionRequest
[src]
type Target = nsIPaymentActionRequest
The resulting type after dereferencing.
fn deref(&self) -> &nsIPaymentActionRequest
[src]
Dereferences the value.