pub struct Builder<T, U>where
T: Validate,
U: ParentBuilder,{ /* private fields */ }Implementations§
Source§impl<T: ParentBuilder> Builder<PaymentRequest, T>
impl<T: ParentBuilder> Builder<PaymentRequest, T>
Source§impl<T: ParentBuilder> Builder<UpdatePaymentBody, T>
impl<T: ParentBuilder> Builder<UpdatePaymentBody, T>
pub fn amount_money(self, amount_money: Money) -> Self
pub fn app_fee_money(self, app_fee_money: Money) -> Self
pub fn approved_money(self, approved_money: Money) -> Self
pub fn cash_details(self, cash_details: CashPaymentDetails) -> Self
pub fn tip_money(self, tip_money: Money) -> Self
pub fn version_token(self, version_token: String) -> Self
Source§impl<T: ParentBuilder> Builder<BookingsPost, T>
impl<T: ParentBuilder> Builder<BookingsPost, T>
Source§impl<T: ParentBuilder> Builder<BookingsCancel, T>
impl<T: ParentBuilder> Builder<BookingsCancel, T>
pub fn booking_id<S: Into<String>>(self, booking_id: S) -> Self
pub fn booking_version(self, booking_version: i32) -> Self
Source§impl<T: ParentBuilder> Builder<SearchAvailabilityQuery, T>
impl<T: ParentBuilder> Builder<SearchAvailabilityQuery, T>
pub fn start_at_range<S: Into<String>>(self, start: S, end: S) -> Self
pub fn location_id<S: Into<String>>(self, location_id: S) -> Self
pub fn segment_filters<S: Into<String>>(self, service_variation_id: S) -> Self
Source§impl<T: ParentBuilder> Builder<LocationCreationWrapper, T>
impl<T: ParentBuilder> Builder<LocationCreationWrapper, T>
pub fn name(self, name: String) -> Self
pub fn address(self, address: Address) -> Self
pub fn business_email(self, business_email: String) -> Self
Sourcepub fn add_business_hours_period(
self,
business_hours_period: BusinessHoursPeriod,
) -> Self
pub fn add_business_hours_period( self, business_hours_period: BusinessHoursPeriod, ) -> Self
Add individual BusinessHoursPeriod’s by the use of this method.
Sourcepub fn business_hours(self, business_hours: BusinessHours) -> Self
pub fn business_hours(self, business_hours: BusinessHours) -> Self
Add a complete BusinessHours object by using this method.
pub fn business_name(self, business_name: String) -> Self
Sourcepub fn add_capability(self, capability: String) -> Self
pub fn add_capability(self, capability: String) -> Self
Add an individual capability by the use of this method.
Sourcepub fn capabilities(self, capabilities: Vec<String>) -> Self
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.
pub fn coordinates(self, coordinates: Coordinates) -> Self
pub fn country(self, country: String) -> Self
pub fn currency(self, currency: Currency) -> Self
pub fn description(self, description: String) -> Self
pub fn facebook_url(self, facebook_url: String) -> Self
pub fn full_format_logo_url(self, full_format_logo_url: String) -> Self
pub fn instagram_username(self, instagram_username: String) -> Self
pub fn language_code(self, language_code: String) -> Self
pub fn logo_url(self, logo_url: String) -> Self
pub fn mcc(self, mcc: String) -> Self
pub fn merchant_id(self, merchant_id: String) -> Self
pub fn phone_number(self, phone_number: String) -> Self
pub fn pos_background_url(self, pos_background_url: String) -> Self
pub fn status(self, status: LocationStatus) -> Self
pub fn tax_ids(self, tax_ids: TaxIds) -> Self
pub fn timezone(self, timezone: String) -> Self
pub fn twitter_username(self, twitter_username: String) -> Self
pub fn location_type(self, location_type: LocationType) -> Self
pub fn website_url(self, website_url: String) -> Self
Source§impl<T: ParentBuilder> Builder<ObjectUpsertRequest, T>
impl<T: ParentBuilder> Builder<ObjectUpsertRequest, T>
pub fn id(self, id: String) -> Self
pub fn object_type(self, object_type: CatalogObjectType) -> Self
pub fn item_data(self, item_data: CatalogItem) -> Self
pub fn add_variations(self, variation: CatalogObjectVariation) -> Self
Source§impl<T: ParentBuilder> Builder<SearchCatalogObjectsBody, T>
impl<T: ParentBuilder> Builder<SearchCatalogObjectsBody, T>
pub fn begin_time(self, begin_time: String) -> Self
pub fn cursor(self, cursor: String) -> Self
pub fn include_deleted_objects(self) -> Self
pub fn exclude_deleted_objects(self) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn set_object_types(self, object_types: Vec<CatalogObjectType>) -> Self
pub fn add_object_type(self, object_type: CatalogObjectType) -> Self
pub fn query(self, query: CatalogQuery) -> Self
Source§impl<T: ParentBuilder> Builder<SearchCatalogItemsBody, T>
impl<T: ParentBuilder> Builder<SearchCatalogItemsBody, T>
pub fn low_stock_level(self) -> Self
Source§impl<T: ParentBuilder> Builder<BatchRetrieveObjects, T>
impl<T: ParentBuilder> Builder<BatchRetrieveObjects, T>
pub fn object_ids(self, ids: Vec<String>) -> Self
pub fn add_object_id(self, id: String) -> Self
pub fn catalog_version(self, version: i32) -> Self
pub fn include_deleted_objects(self) -> Self
Source§impl<T: ParentBuilder> Builder<Customer, T>
impl<T: ParentBuilder> Builder<Customer, T>
pub fn given_name(self, given_name: String) -> Self
pub fn family_name(self, family_name: String) -> Self
pub fn nickname(self, nickname: String) -> Self
pub fn email_address(self, email_address: String) -> Self
pub fn address_from_address(self, address: Address) -> Self
pub fn birthday(self, birthday: String) -> Self
pub fn phone_number(self, phone_number: String) -> Self
pub fn note(self, note: String) -> Self
Source§impl<T: ParentBuilder> Builder<CustomerDelete, T>
impl<T: ParentBuilder> Builder<CustomerDelete, T>
Source§impl<T: ParentBuilder> Builder<CustomerSearchQuery, T>
impl<T: ParentBuilder> Builder<CustomerSearchQuery, T>
pub fn cursor(self, cursor: String) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn created_at(self, start: String, end: String) -> Self
pub fn updated_at(self, start: String, end: String) -> Self
pub fn exact_email_address(self, email: String) -> Self
pub fn fuzzy_email_address(self, email: String) -> Self
pub fn exact_phone_number(self, number: String) -> Self
pub fn fuzzy_phone_number(self, number: String) -> Self
pub fn exact_reference_id(self, id: String) -> Self
pub fn fuzzy_reference_id(self, id: String) -> Self
pub fn set_creation_source_exclude(self) -> Self
pub fn set_creation_source_include(self) -> Self
pub fn creation_source_value(self, value: CustomerCreationSource) -> Self
Source§impl<T: ParentBuilder> Builder<CardWrapper, T>
impl<T: ParentBuilder> Builder<CardWrapper, T>
Source§impl<T: ParentBuilder> Builder<CreateOrderRequestWrapper, T>
impl<T: ParentBuilder> Builder<CreateOrderRequestWrapper, T>
pub fn idempotency_key(self, idempotency_key: String) -> Self
pub fn order(self, order: CreateOrderRequest) -> Self
pub fn ask_for_shipping_address(self, ask_for_shipping_address: bool) -> Self
pub fn merchant_support_email(self, merchant_support_email: String) -> Self
pub fn pre_populate_buyer_email(self, pre_populate_buyer_email: bool) -> Self
pub fn pre_populate_shipping_address( self, pre_populate_shipping_address: Address, ) -> Self
pub fn redirect_url(self, redirect_url: String) -> Self
pub fn additional_recipients( self, additional_recipients: Vec<ChargeRequestAdditionalRecipient>, ) -> Self
pub fn note(self, note: String) -> Self
Source§impl<T: ParentBuilder> Builder<CreatePaymentLinkWrapper, T>
impl<T: ParentBuilder> Builder<CreatePaymentLinkWrapper, T>
pub fn checkout_options(self, checkout_options: CheckoutOptions) -> Self
pub fn description(self, description: String) -> Self
pub fn order(self, order: Order) -> Self
pub fn payment_note(self, payment_note: String) -> Self
pub fn pre_populated_data(self, pre_populated_data: PrePopulatedData) -> Self
pub fn quick_pay(self, quick_pay: QuickPay) -> Self
pub fn source(self, source: String) -> Self
Source§impl<T: ParentBuilder> Builder<UpdatePaymentLinkWrapper, T>
impl<T: ParentBuilder> Builder<UpdatePaymentLinkWrapper, T>
pub fn payment_link(self, payment_link: PaymentLink) -> Self
Source§impl<T: ParentBuilder> Builder<InventoryChangeBody, T>
impl<T: ParentBuilder> Builder<InventoryChangeBody, T>
pub fn idempotency_key(self, idempotency_key: String) -> Self
pub fn changes(self, changes: Vec<InventoryChange>) -> Self
pub fn ignore_unchanged_counts(self, ignore_unchanged_counts: bool) -> Self
Source§impl<T: ParentBuilder> Builder<BatchRetrieveCounts, T>
impl<T: ParentBuilder> Builder<BatchRetrieveCounts, T>
pub fn object_ids(self, ids: Vec<String>) -> Self
pub fn location_ids(self, ids: Vec<String>) -> Self
pub fn add_location_id(self, id: String) -> Self
Source§impl<T: ParentBuilder> Builder<CreateTerminalCheckoutBody, T>
impl<T: ParentBuilder> Builder<CreateTerminalCheckoutBody, T>
pub fn amount_money(self, amount: Money) -> Self
pub fn device_options(self, device_options: DeviceCheckoutOptions) -> Self
pub fn customer_id(self, customer_id: String) -> Self
pub fn deadline_duration(self, deadline_duration: String) -> Self
pub fn note(self, note: String) -> Self
pub fn order_id(self, order_id: String) -> Self
pub fn payment_type(self, payment_type: CheckoutOptionsPaymentType) -> Self
pub fn payment_options(self, payment_options: PaymentOptions) -> Self
pub fn reference_id(self, reference_id: String) -> Self
Source§impl<T: ParentBuilder> Builder<SearchTerminalCheckoutBody, T>
impl<T: ParentBuilder> Builder<SearchTerminalCheckoutBody, T>
Source§impl<T: ParentBuilder> Builder<CreateTerminalRefundBody, T>
impl<T: ParentBuilder> Builder<CreateTerminalRefundBody, T>
pub fn amount_money(self, amount_money: Money) -> Self
pub fn device_id(self, device_id: String) -> Self
pub fn payment_id(self, payment_id: String) -> Self
pub fn reason(self, reason: String) -> Self
pub fn deadline_duration(self, reason: String) -> Self
Source§impl<T: ParentBuilder> Builder<SearchTerminalRefundBody, T>
impl<T: ParentBuilder> Builder<SearchTerminalRefundBody, T>
Source§impl<T: ParentBuilder> Builder<CreateOrderBody, T>
impl<T: ParentBuilder> Builder<CreateOrderBody, T>
Source§impl<T: ParentBuilder> Builder<SearchOrderBody, T>
impl<T: ParentBuilder> Builder<SearchOrderBody, T>
Source§impl<T: ParentBuilder> Builder<OrderUpdateBody, T>
impl<T: ParentBuilder> Builder<OrderUpdateBody, T>
pub fn fields_to_clear(self, fields_to_clear: Vec<String>) -> Self
pub fn idempotency_key(self, idempotency_key: String) -> Self
pub fn order(self, order: Order) -> Self
Source§impl<T: ParentBuilder> Builder<PayOrderBody, T>
impl<T: ParentBuilder> Builder<PayOrderBody, T>
pub fn idempotency_key(self, idempotency_key: String) -> Self
pub fn order_version(self, order_version: i64) -> Self
pub fn payment_ids(self, payment_ids: Vec<String>) -> Self
Source§impl<T: ParentBuilder> Builder<OrderCalculateBody, T>
impl<T: ParentBuilder> Builder<OrderCalculateBody, T>
pub fn order(self, order: Order) -> Self
pub fn proposed_rewards(self, proposed_rewards: Vec<OrderReward>) -> Self
Source§impl<T: ParentBuilder> Builder<Location, T>
impl<T: ParentBuilder> Builder<Location, T>
pub fn name(self, name: String) -> Self
pub fn business_email(self, business_email: String) -> Self
pub fn address(self, address: Address) -> Self
pub fn timezone(self, timezone: String) -> Self
pub fn capabilities(self, capabilities: Vec<String>) -> Self
pub fn status(self, status: LocationStatus) -> Self
pub fn created_id(self, created_id: String) -> Self
pub fn coordinates(self, coordinates: Coordinates) -> Self
pub fn country(self, country: String) -> Self
pub fn currency(self, currency: Currency) -> Self
pub fn description(self, description: String) -> Self
pub fn facebook_url(self, facebook_url: String) -> Self
pub fn full_format_logo_url(self, full_format_logo_url: String) -> Self
pub fn logo_url(self, logo_url: String) -> Self
pub fn instagram_username(self, instagram_username: String) -> Self
pub fn language_code(self, language_code: String) -> Self
pub fn mcc(self, mcc: String) -> Self
pub fn merchant_id(self, merchant_id: String) -> Self
pub fn phone_number(self, phone_number: String) -> Self
pub fn pos_background_url(self, pos_background_url: String) -> Self
pub fn tax_ids(self, tax_ids: TaxIds) -> Self
pub fn twitter_username(self, twitter_username: String) -> Self
pub fn type_name(self, type_name: LocationType) -> Self
pub fn business_name(self, business_name: String) -> Self
pub fn business_hours(self, business_hours: BusinessHours) -> Self
pub fn website_url(self, website_url: String) -> Self
Source§impl<T: ParentBuilder> Builder<AppointmentSegment, T>
impl<T: ParentBuilder> Builder<AppointmentSegment, T>
pub fn duration_minutes(self, duration_minutes: f64) -> Self
pub fn team_member_id<I: Into<String>>(self, team_member_id: I) -> Self
pub fn any_team_member_id<I: Into<String>>(self, any_team_member_id: I) -> Self
pub fn intermission_minutes(self, intermission_minutes: i32) -> Self
pub fn resource_ids<I: Into<String>>(self, resource_ids: I) -> Self
pub fn service_variation_id<I: Into<String>>( self, service_variation_id: I, ) -> Self
pub fn service_variation_version(self, service_variation_version: i64) -> Self
Source§impl<T: ParentBuilder> Builder<Card, T>
impl<T: ParentBuilder> Builder<Card, T>
pub fn billing_address(self, billing_address: Address) -> Self
pub fn bin<I: Into<String>>(self, bin: I) -> Self
pub fn card_brand<I: Into<String>>(self, card_brand: I) -> Self
pub fn card_co_brand<I: Into<String>>(self, card_co_brand: I) -> Self
pub fn card_type<I: Into<String>>(self, card_type: I) -> Self
pub fn cardholder_name<I: Into<String>>(self, cardholder_name: I) -> Self
pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self
pub fn enabled(self, enabled: bool) -> Self
pub fn exp_month(self, exp_month: i64) -> Self
pub fn exp_year(self, exp_year: i64) -> Self
pub fn fingerprint<I: Into<String>>(self, fingerprint: I) -> Self
pub fn last_4<I: Into<String>>(self, last_4: I) -> Self
pub fn merchant_id<I: Into<String>>(self, merchant_id: I) -> Self
pub fn prepaid_type<I: Into<String>>(self, prepaid_type: I) -> Self
pub fn reference_id<I: Into<String>>(self, reference_id: I) -> Self
pub fn version(self, version: i64) -> Self
Source§impl<T: ParentBuilder> Builder<Booking, T>
impl<T: ParentBuilder> Builder<Booking, T>
pub fn all_day(self, all_day: bool) -> Self
pub fn appointment_segments( self, appointment_segments: Vec<AppointmentSegment>, ) -> Self
pub fn created_at(self, created_at: String) -> Self
pub fn booking_creator_details( self, booking_creator_details: BookingCreatorDetails, ) -> Self
pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self
pub fn customer_note<I: Into<String>>(self, customer_note: I) -> Self
pub fn location_id<I: Into<String>>(self, location_id: I) -> Self
pub fn location_type( self, location_type: BusinessAppointmentSettingsBookingLocationType, ) -> Self
pub fn seller_note<I: Into<String>>(self, seller_note: I) -> Self
pub fn source<I: Into<String>>(self, source: I) -> Self
pub fn start_at<I: Into<String>>(self, start_at: I) -> Self
pub fn status<I: Into<String>>(self, status: I) -> Self
pub fn transition_time_minutes(self, transition_time_minutes: i32) -> Self
pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self
pub fn version(self, version: i32) -> Self
Source§impl<T: ParentBuilder> Builder<CreateOrderRequest, T>
impl<T: ParentBuilder> Builder<CreateOrderRequest, T>
Source§impl<T: ParentBuilder> Builder<Order, T>
impl<T: ParentBuilder> Builder<Order, T>
pub fn id<I: Into<String>>(self, id: I) -> Self
pub fn location_id<I: Into<String>>(self, location_id: I) -> Self
pub fn close_at<I: Into<String>>(self, close_at: I) -> Self
pub fn created_at<I: Into<String>>(self, created_at: I) -> Self
pub fn customer_id<I: Into<String>>(self, customer_id: I) -> Self
pub fn discounts(self, discounts: Vec<OrderLineItemDiscount>) -> Self
pub fn fulfillments(self, fulfillments: OrderFulfillment) -> Self
pub fn line_items(self, line_items: Vec<OrderLineItem>) -> Self
pub fn metadata(self, metadata: HashMap<String, String>) -> Self
pub fn net_amounts(self, net_amounts: OrderMoneyAmounts) -> Self
pub fn pricing_options(self, pricing_options: OrderPricingOptions) -> Self
pub fn reference_id<I: Into<String>>(self, reference_id: I) -> Self
pub fn refunds(self, refunds: Vec<Refund>) -> Self
pub fn return_amounts(self, return_amounts: OrderMoneyAmounts) -> Self
pub fn returns(self, returns: Vec<OrderReturn>) -> Self
pub fn rewards(self, rewards: Vec<OrderReward>) -> Self
pub fn rounding_adjustment( self, rounding_adjustment: OrderRoundingAdjustment, ) -> Self
pub fn service_charges(self, service_charges: Vec<OrderServiceCharge>) -> Self
pub fn source(self, source: OrderSource) -> Self
pub fn state(self, state: OrderState) -> Self
pub fn taxes(self, taxes: Vec<OrderLineItemTax>) -> Self
pub fn tenders(self, tenders: Vec<Tender>) -> Self
pub fn ticket_name<I: Into<String>>(self, ticket_name: I) -> Self
pub fn total_discount_money(self, total_discount_money: Money) -> Self
pub fn total_money(self, total_money: Money) -> Self
pub fn total_service_charge_money( self, total_service_charge_money: Money, ) -> Self
pub fn total_tax_money(self, total_tax_money: Money) -> Self
pub fn total_tip_money(self, total_tip_money: Money) -> Self
pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self
pub fn version(self, version: i64) -> Self
Source§impl<T: ParentBuilder> Builder<OrderLineItem, T>
impl<T: ParentBuilder> Builder<OrderLineItem, T>
pub fn quantity<I: Into<String>>(self, quantity: I) -> Self
pub fn applied_discounts( self, applied_discounts: Vec<OrderLineItemAppliedDiscount>, ) -> Self
pub fn applied_taxes(self, applied_taxes: Vec<OrderLineItemAppliedTax>) -> Self
pub fn base_price_money(self, base_price_money: Money) -> Self
pub fn catalog_object_id<I: Into<String>>(self, catalog_object_id: I) -> Self
pub fn catalog_version(self, catalog_version: i64) -> Self
pub fn gross_sales_money(self, gross_sales_money: Money) -> Self
pub fn item_type(self, item_type: OrderLineItemItemType) -> Self
pub fn metadata(self, metadata: HashMap<String, String>) -> Self
pub fn modifiers(self, modifiers: Vec<OrderLineItemModifier>) -> Self
pub fn name(self, name: String) -> Self
pub fn note(self, note: String) -> Self
pub fn pricing_blocklists( self, pricing_blocklists: OrderLineItemPricingBlocklists, ) -> Self
pub fn quantity_unit(self, quantity_unit: OrderQuantityUnit) -> Self
pub fn total_discount_money(self, total_discount_money: Money) -> Self
pub fn total_money(self, total_money: Money) -> Self
pub fn total_tax_money(self, total_tax_money: Money) -> Self
pub fn uid(self, uid: String) -> Self
pub fn variation_name(self, variation_name: String) -> Self
pub fn variation_total_price_money( self, variation_total_price_money: Money, ) -> Self
pub fn api_reference_ids( self, api_reference_ids: HashMap<String, String>, ) -> Self
Source§impl<T: ParentBuilder> Builder<OrderServiceCharge, T>
impl<T: ParentBuilder> Builder<OrderServiceCharge, T>
pub fn amount_money(self, amount_money: Money) -> Self
pub fn applied_money(self, applied_money: Money) -> Self
pub fn applied_taxes(self, applied_taxes: Vec<OrderLineItemAppliedTax>) -> Self
pub fn calculation_phase( self, calculation_phase: OrderServiceChargeCalculationPhase, ) -> Self
pub fn catalog_object_id<I: Into<String>>(self, catalog_object_id: I) -> Self
pub fn catalog_version(self, catalog_version: i64) -> Self
pub fn metadata(self, metadata: HashMap<String, String>) -> Self
pub fn name<I: Into<String>>(self, name: I) -> Self
pub fn percentage<I: Into<String>>(self, percentage: I) -> Self
pub fn taxable(self, taxable: bool) -> Self
pub fn total_money(self, total_money: Money) -> Self
pub fn total_tax_money(self, total_tax_money: Money) -> Self
pub fn service_charge_type( self, service_charge_type: OrderServiceChargeType, ) -> Self
pub fn uid(self, uid: String) -> Self
Source§impl<T: ParentBuilder> Builder<PaymentLink, T>
impl<T: ParentBuilder> Builder<PaymentLink, T>
pub fn version(self, version: i32) -> Self
pub fn checkout_options(self, checkout_options: CheckoutOptions) -> Self
pub fn created_at<I: Into<String>>(self, created_at: I) -> Self
pub fn description<I: Into<String>>(self, description: I) -> Self
pub fn order_id<I: Into<String>>(self, order_id: I) -> Self
pub fn payment_note<I: Into<String>>(self, payment_note: I) -> Self
pub fn pre_populated_data(self, pre_populated_data: PrePopulatedData) -> Self
pub fn updated_at<I: Into<String>>(self, updated_at: I) -> Self
pub fn url<I: Into<String>>(self, url: I) -> Self
Source§impl<T: ParentBuilder> Builder<InventoryPhysicalCount, T>
impl<T: ParentBuilder> Builder<InventoryPhysicalCount, T>
pub fn catalog_object_id(self, catalog_object_id: String) -> Self
pub fn catalog_object_type(self, catalog_object_type: CatalogObjectType) -> Self
pub fn created_at(self, created_at: String) -> Self
pub fn location_id(self, location_id: String) -> Self
pub fn occurred_at(self, occurred_at: String) -> Self
pub fn quantity(self, quantity: String) -> Self
pub fn reference_id(self, reference_id: String) -> Self
pub fn source(self, source: SourceApplication) -> Self
pub fn state(self, state: InventoryState) -> Self
pub fn team_member_id(self, team_member_id: String) -> Self
Source§impl<T: ParentBuilder> Builder<SearchOrdersQuery, T>
impl<T: ParentBuilder> Builder<SearchOrdersQuery, T>
pub fn filter(self, filter: SearchOrdersFilter) -> Self
pub fn sort_ascending(self) -> Self
pub fn sort_descending(self) -> Self
pub fn sort_field(self, sort_field: SearchOrdersSortField) -> Self
Source§impl<T: ParentBuilder> Builder<DeviceCheckoutOptions, T>
impl<T: ParentBuilder> Builder<DeviceCheckoutOptions, T>
pub fn device_id(self, device_id: String) -> Self
pub fn collect_signature(self) -> Self
pub fn show_itemized_cart(self) -> Self
pub fn skip_receipt_screen(self) -> Self
pub fn tip_settings(self, tip_settings: TipSettings) -> Self
Source§impl<T: ParentBuilder> Builder<TerminalCheckoutQuery, T>
impl<T: ParentBuilder> Builder<TerminalCheckoutQuery, T>
pub fn sort_ascending(self) -> Self
pub fn sort_descending(self) -> Self
pub fn created_at(self, created_at: TimeRange) -> Self
pub fn device_id(self, device_id: String) -> Self
pub fn status(self, status: TerminalCheckoutStatus) -> Self
Source§impl<T: ParentBuilder> Builder<TerminalRefundQuery, T>
impl<T: ParentBuilder> Builder<TerminalRefundQuery, T>
pub fn created_at(self, created_at: TimeRange) -> Self
pub fn device_id(self, device_id: String) -> Self
pub fn pending(self) -> Self
pub fn in_progress(self) -> Self
pub fn cancel_requested(self) -> Self
pub fn canceled(self) -> Self
pub fn completed(self) -> Self
pub fn sort_ascending(self) -> Self
pub fn sort_descending(self) -> Self
Source§impl<T: ParentBuilder> Builder<InventoryChange, T>
impl<T: ParentBuilder> Builder<InventoryChange, T>
pub fn change_type(self, change_type: InventoryChangeType) -> Self
pub fn physical_count(self, physical_count: InventoryPhysicalCount) -> Self
pub fn adjustment(self, adjustment: InventoryAdjustment) -> Self
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>
impl<V: AddField<T> + Validate, U: ParentBuilder, T: Validate> BackIntoBuilder<T, Builder<V, U>> for Builder<V, U>
Source§impl<T: Validate> Buildable<T> for Builder<T, Nil>
impl<T: Validate> Buildable<T> for Builder<T, Nil>
fn build(self) -> Result<T, BuildError>
Source§impl<T: Validate, V: ParentBuilder + BackIntoBuilder<T, V>> Buildable<V> for Builder<T, V>
impl<T: Validate, V: ParentBuilder + BackIntoBuilder<T, V>> Buildable<V> for Builder<T, V>
fn build(self) -> Result<V, BuildError>
impl<T: Validate, U: ParentBuilder> ParentBuilder for Builder<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Builder<T, U>
impl<T, U> RefUnwindSafe for Builder<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Builder<T, U>
impl<T, U> Sync for Builder<T, U>
impl<T, U> Unpin for Builder<T, U>
impl<T, U> UnwindSafe for Builder<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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