Builder

Struct Builder 

Source
pub struct Builder<T, U>
where T: Validate, U: ParentBuilder,
{ /* private fields */ }

Implementations§

Source§

impl<T: ParentBuilder> Builder<PaymentRequest, T>

Source

pub fn source_id(self, source_id: String) -> Self

Source

pub fn amount(self, amount: i64, currency: Currency) -> Self

Source

pub fn verification_token(self, token: String) -> Self

Source§

impl<T: ParentBuilder> Builder<UpdatePaymentBody, T>

Source

pub fn amount_money(self, amount_money: Money) -> Self

Source

pub fn app_fee_money(self, app_fee_money: Money) -> Self

Source

pub fn approved_money(self, approved_money: Money) -> Self

Source

pub fn cash_details(self, cash_details: CashPaymentDetails) -> Self

Source

pub fn tip_money(self, tip_money: Money) -> Self

Source

pub fn version_token(self, version_token: String) -> Self

Source§

impl<T: ParentBuilder> Builder<BookingsPost, T>

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn booking(self, booking: Booking) -> Self

Source§

impl<T: ParentBuilder> Builder<BookingsCancel, T>

Source

pub fn booking_id<S: Into<String>>(self, booking_id: S) -> Self

Source

pub fn booking_version(self, booking_version: i32) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchAvailabilityQuery, T>

Source

pub fn start_at_range<S: Into<String>>(self, start: S, end: S) -> Self

Source

pub fn location_id<S: Into<String>>(self, location_id: S) -> Self

Source

pub fn segment_filters<S: Into<String>>(self, service_variation_id: S) -> Self

Source§

impl<T: ParentBuilder> Builder<LocationCreationWrapper, T>

Source

pub fn name(self, name: String) -> Self

Source

pub fn address(self, address: Address) -> Self

Source

pub fn business_email(self, business_email: String) -> Self

Source

pub fn add_business_hours_period( self, business_hours_period: BusinessHoursPeriod, ) -> Self

Add individual BusinessHoursPeriod’s by the use of this method.

Source

pub fn business_hours(self, business_hours: BusinessHours) -> Self

Add a complete BusinessHours object by using this method.

Source

pub fn business_name(self, business_name: String) -> Self

Source

pub fn add_capability(self, capability: String) -> Self

Add an individual capability by the use of this method.

Source

pub fn capabilities(self, capabilities: Vec<String>) -> Self

Add multiple capabilities at once through this method. This method will overwrite all other capabilities that are already held by the Location object.

Source

pub fn coordinates(self, coordinates: Coordinates) -> Self

Source

pub fn country(self, country: String) -> Self

Source

pub fn currency(self, currency: Currency) -> Self

Source

pub fn description(self, description: String) -> Self

Source

pub fn facebook_url(self, facebook_url: String) -> Self

Source

pub fn full_format_logo_url(self, full_format_logo_url: String) -> Self

Source

pub fn instagram_username(self, instagram_username: String) -> Self

Source

pub fn language_code(self, language_code: String) -> Self

Source

pub fn logo_url(self, logo_url: String) -> Self

Source

pub fn mcc(self, mcc: String) -> Self

Source

pub fn merchant_id(self, merchant_id: String) -> Self

Source

pub fn phone_number(self, phone_number: String) -> Self

Source

pub fn pos_background_url(self, pos_background_url: String) -> Self

Source

pub fn status(self, status: LocationStatus) -> Self

Source

pub fn tax_ids(self, tax_ids: TaxIds) -> Self

Source

pub fn timezone(self, timezone: String) -> Self

Source

pub fn twitter_username(self, twitter_username: String) -> Self

Source

pub fn location_type(self, location_type: LocationType) -> Self

Source

pub fn website_url(self, website_url: String) -> Self

Source§

impl<T: ParentBuilder> Builder<ObjectUpsertRequest, T>

Source

pub fn id(self, id: String) -> Self

Source

pub fn object_type(self, object_type: CatalogObjectType) -> Self

Source

pub fn item_data(self, item_data: CatalogItem) -> Self

Source

pub fn add_variations(self, variation: CatalogObjectVariation) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchCatalogObjectsBody, T>

Source

pub fn begin_time(self, begin_time: String) -> Self

Source

pub fn cursor(self, cursor: String) -> Self

Source

pub fn include_deleted_objects(self) -> Self

Source

pub fn exclude_deleted_objects(self) -> Self

Source

pub fn limit(self, limit: i64) -> Self

Source

pub fn set_object_types(self, object_types: Vec<CatalogObjectType>) -> Self

Source

pub fn add_object_type(self, object_type: CatalogObjectType) -> Self

Source

pub fn query(self, query: CatalogQuery) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchCatalogItemsBody, T>

Source

pub fn low_stock_level(self) -> Self

Source§

impl<T: ParentBuilder> Builder<BatchRetrieveObjects, T>

Source

pub fn object_ids(self, ids: Vec<String>) -> Self

Source

pub fn add_object_id(self, id: String) -> Self

Source

pub fn catalog_version(self, version: i32) -> Self

Source

pub fn include_deleted_objects(self) -> Self

Source§

impl<T: ParentBuilder> Builder<Customer, T>

Source

pub fn given_name(self, given_name: String) -> Self

Source

pub fn family_name(self, family_name: String) -> Self

Source

pub fn nickname(self, nickname: String) -> Self

Source

pub fn email_address(self, email_address: String) -> Self

Source

pub fn address_from_address(self, address: Address) -> Self

Source

pub fn birthday(self, birthday: String) -> Self

Source

pub fn phone_number(self, phone_number: String) -> Self

Source

pub fn note(self, note: String) -> Self

Source§

impl<T: ParentBuilder> Builder<CustomerDelete, T>

Source

pub fn customer_id(self, customer_id: String) -> Self

Source

pub fn version(self, version: i64) -> Self

Source§

impl<T: ParentBuilder> Builder<CustomerSearchQuery, T>

Source

pub fn cursor(self, cursor: String) -> Self

Source

pub fn limit(self, limit: i64) -> Self

Source

pub fn created_at(self, start: String, end: String) -> Self

Source

pub fn updated_at(self, start: String, end: String) -> Self

Source

pub fn exact_email_address(self, email: String) -> Self

Source

pub fn fuzzy_email_address(self, email: String) -> Self

Source

pub fn exact_phone_number(self, number: String) -> Self

Source

pub fn fuzzy_phone_number(self, number: String) -> Self

Source

pub fn exact_reference_id(self, id: String) -> Self

Source

pub fn fuzzy_reference_id(self, id: String) -> Self

Source

pub fn set_creation_source_exclude(self) -> Self

Source

pub fn set_creation_source_include(self) -> Self

Source

pub fn creation_source_value(self, value: CustomerCreationSource) -> Self

Source§

impl<T: ParentBuilder> Builder<CardWrapper, T>

Source

pub fn card(self, card: Card) -> Self

Source

pub fn idempotency_key<I: Into<String>>(self, idempotency_key: I) -> Self

Source

pub fn source_id<I: Into<String>>(self, source_id: I) -> Self

Source§

impl<T: ParentBuilder> Builder<CreateOrderRequestWrapper, T>

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn order(self, order: CreateOrderRequest) -> Self

Source

pub fn ask_for_shipping_address(self, ask_for_shipping_address: bool) -> Self

Source

pub fn merchant_support_email(self, merchant_support_email: String) -> Self

Source

pub fn pre_populate_buyer_email(self, pre_populate_buyer_email: bool) -> Self

Source

pub fn pre_populate_shipping_address( self, pre_populate_shipping_address: Address, ) -> Self

Source

pub fn redirect_url(self, redirect_url: String) -> Self

Source

pub fn additional_recipients( self, additional_recipients: Vec<ChargeRequestAdditionalRecipient>, ) -> Self

Source

pub fn note(self, note: String) -> Self

Source§

impl<T: ParentBuilder> Builder<CreatePaymentLinkWrapper, T>

Source

pub fn checkout_options(self, checkout_options: CheckoutOptions) -> Self

Source

pub fn description(self, description: String) -> Self

Source

pub fn order(self, order: Order) -> Self

Source

pub fn payment_note(self, payment_note: String) -> Self

Source

pub fn pre_populated_data(self, pre_populated_data: PrePopulatedData) -> Self

Source

pub fn quick_pay(self, quick_pay: QuickPay) -> Self

Source

pub fn source(self, source: String) -> Self

Source§

impl<T: ParentBuilder> Builder<UpdatePaymentLinkWrapper, T>

Source§

impl<T: ParentBuilder> Builder<InventoryChangeBody, T>

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn changes(self, changes: Vec<InventoryChange>) -> Self

Source

pub fn ignore_unchanged_counts(self, ignore_unchanged_counts: bool) -> Self

Source§

impl<T: ParentBuilder> Builder<BatchRetrieveCounts, T>

Source

pub fn object_ids(self, ids: Vec<String>) -> Self

Source

pub fn location_ids(self, ids: Vec<String>) -> Self

Source

pub fn add_location_id(self, id: String) -> Self

Source§

impl<T: ParentBuilder> Builder<CreateTerminalCheckoutBody, T>

Source

pub fn amount_money(self, amount: Money) -> Self

Source

pub fn device_options(self, device_options: DeviceCheckoutOptions) -> Self

Source

pub fn customer_id(self, customer_id: String) -> Self

Source

pub fn deadline_duration(self, deadline_duration: String) -> Self

Source

pub fn note(self, note: String) -> Self

Source

pub fn order_id(self, order_id: String) -> Self

Source

pub fn payment_type(self, payment_type: CheckoutOptionsPaymentType) -> Self

Source

pub fn payment_options(self, payment_options: PaymentOptions) -> Self

Source

pub fn reference_id(self, reference_id: String) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchTerminalCheckoutBody, T>

Source

pub fn query(self, query: TerminalCheckoutQuery) -> Self

Source

pub fn cursor(self, cursor: String) -> Self

Source

pub fn limit(self, limit: i32) -> Self

Source§

impl<T: ParentBuilder> Builder<CreateTerminalRefundBody, T>

Source

pub fn amount_money(self, amount_money: Money) -> Self

Source

pub fn device_id(self, device_id: String) -> Self

Source

pub fn payment_id(self, payment_id: String) -> Self

Source

pub fn reason(self, reason: String) -> Self

Source

pub fn deadline_duration(self, reason: String) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchTerminalRefundBody, T>

Source

pub fn query(self, query: TerminalRefundQuery) -> Self

Source

pub fn limit(self, limit: i32) -> Self

Source

pub fn cursor(self, cursor: String) -> Self

Source§

impl<T: ParentBuilder> Builder<CreateOrderBody, T>

Source

pub fn order(self, order: Order) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchOrderBody, T>

Source

pub fn cursor(self, cursor: String) -> Self

Source

pub fn limit(self, limit: i32) -> Self

Source

pub fn location_ids<I: Into<Vec<String>>>(self, location_ids: I) -> Self

Source

pub fn query(self, query: SearchOrdersQuery) -> Self

Source

pub fn return_entries(self, return_entries: bool) -> Self

Source§

impl<T: ParentBuilder> Builder<OrderUpdateBody, T>

Source

pub fn fields_to_clear(self, fields_to_clear: Vec<String>) -> Self

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn order(self, order: Order) -> Self

Source§

impl<T: ParentBuilder> Builder<PayOrderBody, T>

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn order_version(self, order_version: i64) -> Self

Source

pub fn payment_ids(self, payment_ids: Vec<String>) -> Self

Source§

impl<T: ParentBuilder> Builder<OrderCalculateBody, T>

Source

pub fn order(self, order: Order) -> Self

Source

pub fn proposed_rewards(self, proposed_rewards: Vec<OrderReward>) -> Self

Source§

impl<T: ParentBuilder> Builder<Location, T>

Source

pub fn name(self, name: String) -> Self

Source

pub fn business_email(self, business_email: String) -> Self

Source

pub fn address(self, address: Address) -> Self

Source

pub fn timezone(self, timezone: String) -> Self

Source

pub fn capabilities(self, capabilities: Vec<String>) -> Self

Source

pub fn status(self, status: LocationStatus) -> Self

Source

pub fn created_id(self, created_id: String) -> Self

Source

pub fn coordinates(self, coordinates: Coordinates) -> Self

Source

pub fn country(self, country: String) -> Self

Source

pub fn currency(self, currency: Currency) -> Self

Source

pub fn description(self, description: String) -> Self

Source

pub fn facebook_url(self, facebook_url: String) -> Self

Source

pub fn full_format_logo_url(self, full_format_logo_url: String) -> Self

Source

pub fn logo_url(self, logo_url: String) -> Self

Source

pub fn instagram_username(self, instagram_username: String) -> Self

Source

pub fn language_code(self, language_code: String) -> Self

Source

pub fn mcc(self, mcc: String) -> Self

Source

pub fn merchant_id(self, merchant_id: String) -> Self

Source

pub fn phone_number(self, phone_number: String) -> Self

Source

pub fn pos_background_url(self, pos_background_url: String) -> Self

Source

pub fn tax_ids(self, tax_ids: TaxIds) -> Self

Source

pub fn twitter_username(self, twitter_username: String) -> Self

Source

pub fn type_name(self, type_name: LocationType) -> Self

Source

pub fn business_name(self, business_name: String) -> Self

Source

pub fn business_hours(self, business_hours: BusinessHours) -> Self

Source

pub fn website_url(self, website_url: String) -> Self

Source§

impl<T: ParentBuilder> Builder<AppointmentSegment, T>

Source

pub fn duration_minutes(self, duration_minutes: f64) -> Self

Source

pub fn team_member_id<I: Into<String>>(self, team_member_id: I) -> Self

Source

pub fn any_team_member_id<I: Into<String>>(self, any_team_member_id: I) -> Self

Source

pub fn intermission_minutes(self, intermission_minutes: i32) -> Self

Source

pub fn resource_ids<I: Into<String>>(self, resource_ids: I) -> Self

Source

pub fn service_variation_id<I: Into<String>>( self, service_variation_id: I, ) -> Self

Source

pub fn service_variation_version(self, service_variation_version: i64) -> Self

Source§

impl<T: ParentBuilder> Builder<Card, T>

Source

pub fn billing_address(self, billing_address: Address) -> Self

Source

pub fn bin<I: Into<String>>(self, bin: I) -> Self

Source

pub fn card_brand<I: Into<String>>(self, card_brand: I) -> Self

Source

pub fn card_co_brand<I: Into<String>>(self, card_co_brand: I) -> Self

Source

pub fn card_type<I: Into<String>>(self, card_type: I) -> Self

Source

pub fn cardholder_name<I: Into<String>>(self, cardholder_name: I) -> Self

Source

pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self

Source

pub fn enabled(self, enabled: bool) -> Self

Source

pub fn exp_month(self, exp_month: i64) -> Self

Source

pub fn exp_year(self, exp_year: i64) -> Self

Source

pub fn fingerprint<I: Into<String>>(self, fingerprint: I) -> Self

Source

pub fn last_4<I: Into<String>>(self, last_4: I) -> Self

Source

pub fn merchant_id<I: Into<String>>(self, merchant_id: I) -> Self

Source

pub fn prepaid_type<I: Into<String>>(self, prepaid_type: I) -> Self

Source

pub fn reference_id<I: Into<String>>(self, reference_id: I) -> Self

Source

pub fn version(self, version: i64) -> Self

Source§

impl<T: ParentBuilder> Builder<Booking, T>

Source

pub fn all_day(self, all_day: bool) -> Self

Source

pub fn appointment_segments( self, appointment_segments: Vec<AppointmentSegment>, ) -> Self

Source

pub fn created_at(self, created_at: String) -> Self

Source

pub fn booking_creator_details( self, booking_creator_details: BookingCreatorDetails, ) -> Self

Source

pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self

Source

pub fn customer_note<I: Into<String>>(self, customer_note: I) -> Self

Source

pub fn location_id<I: Into<String>>(self, location_id: I) -> Self

Source

pub fn location_type( self, location_type: BusinessAppointmentSettingsBookingLocationType, ) -> Self

Source

pub fn seller_note<I: Into<String>>(self, seller_note: I) -> Self

Source

pub fn source<I: Into<String>>(self, source: I) -> Self

Source

pub fn start_at<I: Into<String>>(self, start_at: I) -> Self

Source

pub fn status<I: Into<String>>(self, status: I) -> Self

Source

pub fn transition_time_minutes(self, transition_time_minutes: i32) -> Self

Source

pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self

Source

pub fn version(self, version: i32) -> Self

Source§

impl<T: ParentBuilder> Builder<CreateOrderRequest, T>

Source

pub fn idempotency_key(self, idempotency_key: String) -> Self

Source

pub fn order(self, order: Order) -> Self

Source§

impl<T: ParentBuilder> Builder<Order, T>

Source

pub fn id<I: Into<String>>(self, id: I) -> Self

Source

pub fn location_id<I: Into<String>>(self, location_id: I) -> Self

Source

pub fn close_at<I: Into<String>>(self, close_at: I) -> Self

Source

pub fn created_at<I: Into<String>>(self, created_at: I) -> Self

Source

pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self

Source

pub fn discounts(self, discounts: Vec<OrderLineItemDiscount>) -> Self

Source

pub fn fulfillments(self, fulfillments: OrderFulfillment) -> Self

Source

pub fn line_items(self, line_items: Vec<OrderLineItem>) -> Self

Source

pub fn metadata(self, metadata: HashMap<String, String>) -> Self

Source

pub fn net_amounts(self, net_amounts: OrderMoneyAmounts) -> Self

Source

pub fn pricing_options(self, pricing_options: OrderPricingOptions) -> Self

Source

pub fn reference_id<I: Into<String>>(self, reference_id: I) -> Self

Source

pub fn refunds(self, refunds: Vec<Refund>) -> Self

Source

pub fn return_amounts(self, return_amounts: OrderMoneyAmounts) -> Self

Source

pub fn returns(self, returns: Vec<OrderReturn>) -> Self

Source

pub fn rewards(self, rewards: Vec<OrderReward>) -> Self

Source

pub fn rounding_adjustment( self, rounding_adjustment: OrderRoundingAdjustment, ) -> Self

Source

pub fn service_charges(self, service_charges: Vec<OrderServiceCharge>) -> Self

Source

pub fn source(self, source: OrderSource) -> Self

Source

pub fn state(self, state: OrderState) -> Self

Source

pub fn taxes(self, taxes: Vec<OrderLineItemTax>) -> Self

Source

pub fn tenders(self, tenders: Vec<Tender>) -> Self

Source

pub fn ticket_name<I: Into<String>>(self, ticket_name: I) -> Self

Source

pub fn total_discount_money(self, total_discount_money: Money) -> Self

Source

pub fn total_money(self, total_money: Money) -> Self

Source

pub fn total_service_charge_money( self, total_service_charge_money: Money, ) -> Self

Source

pub fn total_tax_money(self, total_tax_money: Money) -> Self

Source

pub fn total_tip_money(self, total_tip_money: Money) -> Self

Source

pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self

Source

pub fn version(self, version: i64) -> Self

Source§

impl<T: ParentBuilder> Builder<OrderLineItem, T>

Source

pub fn quantity<I: Into<String>>(self, quantity: I) -> Self

Source

pub fn applied_discounts( self, applied_discounts: Vec<OrderLineItemAppliedDiscount>, ) -> Self

Source

pub fn applied_taxes(self, applied_taxes: Vec<OrderLineItemAppliedTax>) -> Self

Source

pub fn base_price_money(self, base_price_money: Money) -> Self

Source

pub fn catalog_object_id<I: Into<String>>(self, catalog_object_id: I) -> Self

Source

pub fn catalog_version(self, catalog_version: i64) -> Self

Source

pub fn gross_sales_money(self, gross_sales_money: Money) -> Self

Source

pub fn item_type(self, item_type: OrderLineItemItemType) -> Self

Source

pub fn metadata(self, metadata: HashMap<String, String>) -> Self

Source

pub fn modifiers(self, modifiers: Vec<OrderLineItemModifier>) -> Self

Source

pub fn name(self, name: String) -> Self

Source

pub fn note(self, note: String) -> Self

Source

pub fn pricing_blocklists( self, pricing_blocklists: OrderLineItemPricingBlocklists, ) -> Self

Source

pub fn quantity_unit(self, quantity_unit: OrderQuantityUnit) -> Self

Source

pub fn total_discount_money(self, total_discount_money: Money) -> Self

Source

pub fn total_money(self, total_money: Money) -> Self

Source

pub fn total_tax_money(self, total_tax_money: Money) -> Self

Source

pub fn uid(self, uid: String) -> Self

Source

pub fn variation_name(self, variation_name: String) -> Self

Source

pub fn variation_total_price_money( self, variation_total_price_money: Money, ) -> Self

Source

pub fn api_reference_ids( self, api_reference_ids: HashMap<String, String>, ) -> Self

Source§

impl<T: ParentBuilder> Builder<OrderServiceCharge, T>

Source

pub fn amount_money(self, amount_money: Money) -> Self

Source

pub fn applied_money(self, applied_money: Money) -> Self

Source

pub fn applied_taxes(self, applied_taxes: Vec<OrderLineItemAppliedTax>) -> Self

Source

pub fn calculation_phase( self, calculation_phase: OrderServiceChargeCalculationPhase, ) -> Self

Source

pub fn catalog_object_id<I: Into<String>>(self, catalog_object_id: I) -> Self

Source

pub fn catalog_version(self, catalog_version: i64) -> Self

Source

pub fn metadata(self, metadata: HashMap<String, String>) -> Self

Source

pub fn name<I: Into<String>>(self, name: I) -> Self

Source

pub fn percentage<I: Into<String>>(self, percentage: I) -> Self

Source

pub fn taxable(self, taxable: bool) -> Self

Source

pub fn total_money(self, total_money: Money) -> Self

Source

pub fn total_tax_money(self, total_tax_money: Money) -> Self

Source

pub fn service_charge_type( self, service_charge_type: OrderServiceChargeType, ) -> Self

Source

pub fn uid(self, uid: String) -> Self

Source§

impl<T: ParentBuilder> Builder<PaymentLink, T>

Source

pub fn version(self, version: i32) -> Self

Source

pub fn checkout_options(self, checkout_options: CheckoutOptions) -> Self

Source

pub fn created_at<I: Into<String>>(self, created_at: I) -> Self

Source

pub fn description<I: Into<String>>(self, description: I) -> Self

Source

pub fn order_id<I: Into<String>>(self, order_id: I) -> Self

Source

pub fn payment_note<I: Into<String>>(self, payment_note: I) -> Self

Source

pub fn pre_populated_data(self, pre_populated_data: PrePopulatedData) -> Self

Source

pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self

Source

pub fn url<I: Into<String>>(self, url: I) -> Self

Source§

impl<T: ParentBuilder> Builder<InventoryPhysicalCount, T>

Source

pub fn catalog_object_id(self, catalog_object_id: String) -> Self

Source

pub fn catalog_object_type(self, catalog_object_type: CatalogObjectType) -> Self

Source

pub fn created_at(self, created_at: String) -> Self

Source

pub fn location_id(self, location_id: String) -> Self

Source

pub fn occurred_at(self, occurred_at: String) -> Self

Source

pub fn quantity(self, quantity: String) -> Self

Source

pub fn reference_id(self, reference_id: String) -> Self

Source

pub fn source(self, source: SourceApplication) -> Self

Source

pub fn state(self, state: InventoryState) -> Self

Source

pub fn team_member_id(self, team_member_id: String) -> Self

Source§

impl<T: ParentBuilder> Builder<SearchOrdersQuery, T>

Source

pub fn filter(self, filter: SearchOrdersFilter) -> Self

Source

pub fn sort_ascending(self) -> Self

Source

pub fn sort_descending(self) -> Self

Source

pub fn sort_field(self, sort_field: SearchOrdersSortField) -> Self

Source§

impl<T: ParentBuilder> Builder<DeviceCheckoutOptions, T>

Source

pub fn device_id(self, device_id: String) -> Self

Source

pub fn collect_signature(self) -> Self

Source

pub fn show_itemized_cart(self) -> Self

Source

pub fn skip_receipt_screen(self) -> Self

Source

pub fn tip_settings(self, tip_settings: TipSettings) -> Self

Source§

impl<T: ParentBuilder> Builder<TerminalCheckoutQuery, T>

Source

pub fn sort_ascending(self) -> Self

Source

pub fn sort_descending(self) -> Self

Source

pub fn created_at(self, created_at: TimeRange) -> Self

Source

pub fn device_id(self, device_id: String) -> Self

Source

pub fn status(self, status: TerminalCheckoutStatus) -> Self

Source§

impl<T: ParentBuilder> Builder<TerminalRefundQuery, T>

Source

pub fn created_at(self, created_at: TimeRange) -> Self

Source

pub fn device_id(self, device_id: String) -> Self

Source

pub fn pending(self) -> Self

Source

pub fn in_progress(self) -> Self

Source

pub fn cancel_requested(self) -> Self

Source

pub fn canceled(self) -> Self

Source

pub fn completed(self) -> Self

Source

pub fn sort_ascending(self) -> Self

Source

pub fn sort_descending(self) -> Self

Source§

impl<T: ParentBuilder> Builder<InventoryChange, T>

Source

pub fn change_type(self, change_type: InventoryChangeType) -> Self

Source

pub fn physical_count(self, physical_count: InventoryPhysicalCount) -> Self

Source

pub fn adjustment(self, adjustment: InventoryAdjustment) -> Self

Source

pub fn transfer(self, transfer: InventoryTransfer) -> Self

Trait Implementations§

Source§

impl<V: AddField<T> + Validate, U: ParentBuilder, T: Validate> BackIntoBuilder<T, Builder<V, U>> for Builder<V, U>

Source§

fn add_field(self, field: T) -> Self

Source§

fn sub_builder_from(self, body: T) -> Builder<T, Builder<V, U>>

Source§

impl<T: Validate> Buildable<T> for Builder<T, Nil>

Source§

impl<T: Validate, V: ParentBuilder + BackIntoBuilder<T, V>> Buildable<V> for Builder<T, V>

Source§

impl<T: Validate> From<T> for Builder<T, Nil>

Source§

fn from(body: T) -> Self

Converts to this type from the input type.
Source§

impl<T: Validate, U: ParentBuilder> ParentBuilder for Builder<T, U>

Auto Trait Implementations§

§

impl<T, U> Freeze for Builder<T, U>
where T: Freeze, U: Freeze,

§

impl<T, U> RefUnwindSafe for Builder<T, U>

§

impl<T, U> Send for Builder<T, U>
where T: Send, U: Send,

§

impl<T, U> Sync for Builder<T, U>
where T: Sync, U: Sync,

§

impl<T, U> Unpin for Builder<T, U>
where T: Unpin, U: Unpin,

§

impl<T, U> UnwindSafe for Builder<T, U>
where T: UnwindSafe, U: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,