#[repr(C)]pub struct _tagEOS_Ecom_CheckoutOptions {
pub ApiVersion: i32,
pub LocalUserId: EOS_EpicAccountId,
pub OverrideCatalogNamespace: *const c_char,
pub EntryCount: u32,
pub Entries: *const EOS_Ecom_CheckoutEntry,
pub PreferredOrientation: EOS_ECheckoutOrientation,
}Expand description
Input parameters for the EOS_Ecom_Checkout function.
Fields§
§ApiVersion: i32API Version: Set this to EOS_ECOM_CHECKOUT_API_LATEST.
LocalUserId: EOS_EpicAccountIdThe Epic Account ID of the local user who is making the purchase
OverrideCatalogNamespace: *const c_charThe catalog namespace will be the current Sandbox ID (in EOS_Platform_Options) unless overridden by this field
EntryCount: u32The number of EOS_Ecom_CheckoutEntry elements contained in Entries
Entries: *const EOS_Ecom_CheckoutEntryAn array of EOS_Ecom_CheckoutEntry elements, each containing the details of a single offer
PreferredOrientation: EOS_ECheckoutOrientationPreferred device orientation, specifies Default, Portrait or Landscape. This is used only on mobile platforms currently. SDK can use it to optimize how the Checkout page should be displayed. Please check the mobile SDK documentation for additional required setup.
Trait Implementations§
Source§impl Clone for _tagEOS_Ecom_CheckoutOptions
impl Clone for _tagEOS_Ecom_CheckoutOptions
Source§fn clone(&self) -> _tagEOS_Ecom_CheckoutOptions
fn clone(&self) -> _tagEOS_Ecom_CheckoutOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _tagEOS_Ecom_CheckoutOptions
impl Debug for _tagEOS_Ecom_CheckoutOptions
impl Copy for _tagEOS_Ecom_CheckoutOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_Ecom_CheckoutOptions
impl RefUnwindSafe for _tagEOS_Ecom_CheckoutOptions
impl !Send for _tagEOS_Ecom_CheckoutOptions
impl !Sync for _tagEOS_Ecom_CheckoutOptions
impl Unpin for _tagEOS_Ecom_CheckoutOptions
impl UnsafeUnpin for _tagEOS_Ecom_CheckoutOptions
impl UnwindSafe for _tagEOS_Ecom_CheckoutOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more