Struct xpcom::interfaces::nsIPaymentDetails
[−]
[src]
#[repr(C)]pub struct nsIPaymentDetails { /* fields omitted */ }
interface nsIPaymentDetails : nsISupports
Methods
impl nsIPaymentDetails
[src]
pub fn coerce<T: nsIPaymentDetailsCoerce>(&self) -> &T
[src]
Cast this nsIPaymentDetails
to one of its base interfaces.
impl nsIPaymentDetails
[src]
pub unsafe fn GetId(&self, aId: &mut nsAString) -> nsresult
[src]
readonly attribute AString id;
pub unsafe fn GetTotalItem(
&self,
aTotalItem: *mut *const nsIPaymentItem
) -> nsresult
[src]
&self,
aTotalItem: *mut *const nsIPaymentItem
) -> nsresult
readonly attribute nsIPaymentItem totalItem;
pub unsafe fn GetDisplayItems(
&self,
aDisplayItems: *mut *const nsIArray
) -> nsresult
[src]
&self,
aDisplayItems: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray displayItems;
pub unsafe fn GetShippingOptions(
&self,
aShippingOptions: *mut *const nsIArray
) -> nsresult
[src]
&self,
aShippingOptions: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray shippingOptions;
pub unsafe fn GetModifiers(&self, aModifiers: *mut *const nsIArray) -> nsresult
[src]
readonly attribute nsIArray modifiers;
pub unsafe fn GetError(&self, aError: &mut nsAString) -> nsresult
[src]
readonly attribute AString error;
pub unsafe fn Update(&self, aDetails: *const nsIPaymentDetails) -> nsresult
[src]
void update (in nsIPaymentDetails aDetails);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIPaymentDetails
[src]
const IID: nsIID
IID: nsIID = nsID(1940235249, 17849, 17925, [166, 230, 122, 166, 13, 170, 144, 57])
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 nsIPaymentDetails
[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 nsIPaymentDetails
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.