pub struct AccountsCustomBatchRequestEntry {
pub account: Option<Account>,
pub account_id: Option<u64>,
pub batch_id: Option<u32>,
pub force: Option<bool>,
pub label_ids: Option<Vec<u64>>,
pub link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>,
pub merchant_id: Option<u64>,
pub method: Option<String>,
pub overwrite: Option<bool>,
}Expand description
A batch entry encoding a single non-batch accounts request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§account: Option<Account>The account to create or update. Only defined if the method is insert or update.
account_id: Option<u64>The ID of the targeted account. Only defined if the method is not insert.
batch_id: Option<u32>An entry ID, unique within the batch request.
force: Option<bool>Whether the account should be deleted if the account has offers. Only applicable if the method is delete.
label_ids: Option<Vec<u64>>Label IDs for the ‘updatelabels’ request.
link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>Details about the link request.
merchant_id: Option<u64>The ID of the managing account.
method: Option<String>The method of the batch entry. Acceptable values are: - “claimWebsite” - “delete” - “get” - “insert” - “link” - “update”
overwrite: Option<bool>Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.
Trait Implementations§
Source§impl Clone for AccountsCustomBatchRequestEntry
impl Clone for AccountsCustomBatchRequestEntry
Source§fn clone(&self) -> AccountsCustomBatchRequestEntry
fn clone(&self) -> AccountsCustomBatchRequestEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more