AdditionalRecipient.php
7 years ago
AdditionalRecipientReceivable.php
7 years ago
AdditionalRecipientReceivableRefund.php
7 years ago
Address.php
7 years ago
BalancePaymentDetails.php
7 years ago
BatchChangeInventoryRequest.php
7 years ago
BatchChangeInventoryResponse.php
7 years ago
BatchDeleteCatalogObjectsRequest.php
7 years ago
BatchDeleteCatalogObjectsResponse.php
7 years ago
BatchRetrieveCatalogObjectsRequest.php
7 years ago
BatchRetrieveCatalogObjectsResponse.php
7 years ago
BatchRetrieveInventoryChangesRequest.php
7 years ago
BatchRetrieveInventoryChangesResponse.php
7 years ago
BatchRetrieveInventoryCountsRequest.php
7 years ago
BatchRetrieveInventoryCountsResponse.php
7 years ago
BatchRetrieveOrdersRequest.php
7 years ago
BatchRetrieveOrdersResponse.php
7 years ago
BatchUpsertCatalogObjectsRequest.php
7 years ago
BatchUpsertCatalogObjectsResponse.php
7 years ago
BreakType.php
7 years ago
BusinessHours.php
7 years ago
BusinessHoursPeriod.php
7 years ago
CancelPaymentByIdempotencyKeyRequest.php
7 years ago
CancelPaymentByIdempotencyKeyResponse.php
7 years ago
CancelPaymentRequest.php
7 years ago
CancelPaymentResponse.php
7 years ago
CaptureTransactionRequest.php
7 years ago
CaptureTransactionResponse.php
7 years ago
Card.php
7 years ago
CardBrand.php
7 years ago
CardPaymentDetails.php
7 years ago
CatalogCategory.php
7 years ago
CatalogDiscount.php
7 years ago
CatalogDiscountType.php
7 years ago
CatalogIdMapping.php
7 years ago
CatalogImage.php
7 years ago
CatalogInfoRequest.php
7 years ago
CatalogInfoResponse.php
7 years ago
CatalogInfoResponseLimits.php
7 years ago
CatalogItem.php
7 years ago
CatalogItemModifierListInfo.php
7 years ago
CatalogItemOption.php
7 years ago
CatalogItemOptionForItem.php
7 years ago
CatalogItemOptionValue.php
7 years ago
CatalogItemOptionValueForItemVariation.php
7 years ago
CatalogItemProductType.php
7 years ago
CatalogItemVariation.php
7 years ago
CatalogMeasurementUnit.php
7 years ago
CatalogModifier.php
7 years ago
CatalogModifierList.php
7 years ago
CatalogModifierListSelectionType.php
7 years ago
CatalogModifierOverride.php
7 years ago
CatalogObject.php
7 years ago
CatalogObjectBatch.php
7 years ago
CatalogObjectType.php
7 years ago
CatalogPricingRule.php
7 years ago
CatalogPricingType.php
7 years ago
CatalogProductSet.php
7 years ago
CatalogQuery.php
7 years ago
CatalogQueryExact.php
7 years ago
CatalogQueryItemVariationsForItemOptionValues.php
7 years ago
CatalogQueryItemsForItemOptions.php
7 years ago
CatalogQueryItemsForModifierList.php
7 years ago
CatalogQueryItemsForTax.php
7 years ago
CatalogQueryPrefix.php
7 years ago
CatalogQueryRange.php
7 years ago
CatalogQuerySortedAttribute.php
7 years ago
CatalogQueryText.php
7 years ago
CatalogTax.php
7 years ago
CatalogTimePeriod.php
7 years ago
CatalogV1Id.php
7 years ago
ChargeRequest.php
7 years ago
ChargeRequestAdditionalRecipient.php
7 years ago
ChargeResponse.php
7 years ago
Checkout.php
7 years ago
CompletePaymentRequest.php
7 years ago
CompletePaymentResponse.php
7 years ago
Coordinates.php
7 years ago
Country.php
7 years ago
CreateBreakTypeRequest.php
7 years ago
CreateBreakTypeResponse.php
7 years ago
CreateCheckoutRequest.php
7 years ago
CreateCheckoutResponse.php
7 years ago
CreateCustomerCardRequest.php
7 years ago
CreateCustomerCardResponse.php
7 years ago
CreateCustomerRequest.php
7 years ago
CreateCustomerResponse.php
7 years ago
CreateMobileAuthorizationCodeRequest.php
7 years ago
CreateMobileAuthorizationCodeResponse.php
7 years ago
CreateOrderRequest.php
7 years ago
CreateOrderRequestDiscount.php
7 years ago
CreateOrderRequestLineItem.php
7 years ago
CreateOrderRequestModifier.php
7 years ago
CreateOrderRequestTax.php
7 years ago
CreateOrderResponse.php
7 years ago
CreatePaymentRequest.php
7 years ago
CreatePaymentResponse.php
7 years ago
CreateRefundRequest.php
7 years ago
CreateRefundResponse.php
7 years ago
CreateShiftRequest.php
7 years ago
CreateShiftResponse.php
7 years ago
Currency.php
7 years ago
Customer.php
7 years ago
CustomerCreationSource.php
7 years ago
CustomerCreationSourceFilter.php
7 years ago
CustomerFilter.php
7 years ago
CustomerGroupInfo.php
7 years ago
CustomerInclusionExclusion.php
7 years ago
CustomerPreferences.php
7 years ago
CustomerQuery.php
7 years ago
CustomerSort.php
7 years ago
CustomerSortField.php
7 years ago
DateRange.php
7 years ago
DayOfWeek.php
7 years ago
DeleteBreakTypeRequest.php
7 years ago
DeleteBreakTypeResponse.php
7 years ago
DeleteCatalogObjectRequest.php
7 years ago
DeleteCatalogObjectResponse.php
7 years ago
DeleteCustomerCardRequest.php
7 years ago
DeleteCustomerCardResponse.php
7 years ago
DeleteCustomerRequest.php
7 years ago
DeleteCustomerResponse.php
7 years ago
DeleteShiftRequest.php
7 years ago
DeleteShiftResponse.php
7 years ago
Device.php
7 years ago
Employee.php
7 years ago
EmployeeStatus.php
7 years ago
EmployeeWage.php
7 years ago
Error.php
7 years ago
ErrorCategory.php
7 years ago
ErrorCode.php
7 years ago
GetBreakTypeRequest.php
7 years ago
GetBreakTypeResponse.php
7 years ago
GetEmployeeWageRequest.php
7 years ago
GetEmployeeWageResponse.php
7 years ago
GetPaymentRefundRequest.php
7 years ago
GetPaymentRefundResponse.php
7 years ago
GetPaymentRequest.php
7 years ago
GetPaymentResponse.php
7 years ago
GetShiftRequest.php
7 years ago
GetShiftResponse.php
7 years ago
InventoryAdjustment.php
7 years ago
InventoryAlertType.php
7 years ago
InventoryChange.php
7 years ago
InventoryChangeType.php
7 years ago
InventoryCount.php
7 years ago
InventoryPhysicalCount.php
7 years ago
InventoryState.php
7 years ago
InventoryTransfer.php
7 years ago
ItemVariationLocationOverrides.php
7 years ago
ListAdditionalRecipientReceivableRefundsRequest.php
7 years ago
ListAdditionalRecipientReceivableRefundsResponse.php
7 years ago
ListAdditionalRecipientReceivablesRequest.php
7 years ago
ListAdditionalRecipientReceivablesResponse.php
7 years ago
ListBreakTypesRequest.php
7 years ago
ListBreakTypesResponse.php
7 years ago
ListCatalogRequest.php
7 years ago
ListCatalogResponse.php
7 years ago
ListCustomersRequest.php
7 years ago
ListCustomersResponse.php
7 years ago
ListEmployeeWagesRequest.php
7 years ago
ListEmployeeWagesResponse.php
7 years ago
ListEmployeesRequest.php
7 years ago
ListEmployeesResponse.php
7 years ago
ListLocationsRequest.php
7 years ago
ListLocationsResponse.php
7 years ago
ListPaymentRefundsRequest.php
7 years ago
ListPaymentRefundsResponse.php
7 years ago
ListPaymentsRequest.php
7 years ago
ListPaymentsResponse.php
7 years ago
ListRefundsRequest.php
7 years ago
ListRefundsResponse.php
7 years ago
ListTransactionsRequest.php
7 years ago
ListTransactionsResponse.php
7 years ago
ListWorkweekConfigsRequest.php
7 years ago
ListWorkweekConfigsResponse.php
7 years ago
Location.php
7 years ago
LocationCapability.php
7 years ago
LocationStatus.php
7 years ago
LocationType.php
7 years ago
MeasurementUnit.php
7 years ago
MeasurementUnitArea.php
7 years ago
MeasurementUnitCustom.php
7 years ago
MeasurementUnitGeneric.php
7 years ago
MeasurementUnitLength.php
7 years ago
MeasurementUnitUnitType.php
7 years ago
MeasurementUnitVolume.php
7 years ago
MeasurementUnitWeight.php
7 years ago
ModelBreak.php
7 years ago
Money.php
7 years ago
ObtainTokenRequest.php
7 years ago
ObtainTokenResponse.php
7 years ago
Order.php
7 years ago
OrderEntry.php
7 years ago
OrderFulfillment.php
7 years ago
OrderFulfillmentPickupDetails.php
7 years ago
OrderFulfillmentPickupDetailsScheduleType.php
7 years ago
OrderFulfillmentRecipient.php
7 years ago
OrderFulfillmentShipmentDetails.php
7 years ago
OrderFulfillmentState.php
7 years ago
OrderFulfillmentType.php
7 years ago
OrderLineItem.php
7 years ago
OrderLineItemAppliedDiscount.php
7 years ago
OrderLineItemAppliedTax.php
7 years ago
OrderLineItemDiscount.php
7 years ago
OrderLineItemDiscountScope.php
7 years ago
OrderLineItemDiscountType.php
7 years ago
OrderLineItemModifier.php
7 years ago
OrderLineItemTax.php
7 years ago
OrderLineItemTaxScope.php
7 years ago
OrderLineItemTaxType.php
7 years ago
OrderMoneyAmounts.php
7 years ago
OrderQuantityUnit.php
7 years ago
OrderReturn.php
7 years ago
OrderReturnDiscount.php
7 years ago
OrderReturnLineItem.php
7 years ago
OrderReturnLineItemModifier.php
7 years ago
OrderReturnServiceCharge.php
7 years ago
OrderReturnTax.php
7 years ago
OrderRoundingAdjustment.php
7 years ago
OrderServiceCharge.php
7 years ago
OrderServiceChargeCalculationPhase.php
7 years ago
OrderSource.php
7 years ago
OrderState.php
7 years ago
PayOrderRequest.php
7 years ago
PayOrderResponse.php
7 years ago
Payment.php
7 years ago
PaymentRefund.php
7 years ago
ProcessingFee.php
7 years ago
Product.php
7 years ago
Refund.php
7 years ago
RefundPaymentRequest.php
7 years ago
RefundPaymentResponse.php
7 years ago
RefundStatus.php
7 years ago
RegisterDomainRequest.php
7 years ago
RegisterDomainResponse.php
7 years ago
RegisterDomainResponseStatus.php
7 years ago
RenewTokenRequest.php
7 years ago
RenewTokenResponse.php
7 years ago
RetrieveCatalogObjectRequest.php
7 years ago
RetrieveCatalogObjectResponse.php
7 years ago
RetrieveCustomerRequest.php
7 years ago
RetrieveCustomerResponse.php
7 years ago
RetrieveEmployeeRequest.php
7 years ago
RetrieveEmployeeResponse.php
7 years ago
RetrieveInventoryAdjustmentRequest.php
7 years ago
RetrieveInventoryAdjustmentResponse.php
7 years ago
RetrieveInventoryChangesRequest.php
7 years ago
RetrieveInventoryChangesResponse.php
7 years ago
RetrieveInventoryCountRequest.php
7 years ago
RetrieveInventoryCountResponse.php
7 years ago
RetrieveInventoryPhysicalCountRequest.php
7 years ago
RetrieveInventoryPhysicalCountResponse.php
7 years ago
RetrieveLocationRequest.php
7 years ago
RetrieveLocationResponse.php
7 years ago
RetrieveTransactionRequest.php
7 years ago
RetrieveTransactionResponse.php
7 years ago
RevokeTokenRequest.php
7 years ago
RevokeTokenResponse.php
7 years ago
SearchCatalogObjectsRequest.php
7 years ago
SearchCatalogObjectsResponse.php
7 years ago
SearchCustomersRequest.php
7 years ago
SearchCustomersResponse.php
7 years ago
SearchOrdersCustomerFilter.php
7 years ago
SearchOrdersDateTimeFilter.php
7 years ago
SearchOrdersFilter.php
7 years ago
SearchOrdersFulfillmentFilter.php
7 years ago
SearchOrdersQuery.php
7 years ago
SearchOrdersRequest.php
7 years ago
SearchOrdersResponse.php
7 years ago
SearchOrdersSort.php
7 years ago
SearchOrdersSortField.php
7 years ago
SearchOrdersSourceFilter.php
7 years ago
SearchOrdersStateFilter.php
7 years ago
SearchShiftsRequest.php
7 years ago
SearchShiftsResponse.php
7 years ago
Shift.php
7 years ago
ShiftFilter.php
7 years ago
ShiftFilterStatus.php
7 years ago
ShiftQuery.php
7 years ago
ShiftSort.php
7 years ago
ShiftSortField.php
7 years ago
ShiftStatus.php
7 years ago
ShiftWage.php
7 years ago
ShiftWorkday.php
7 years ago
ShiftWorkdayMatcher.php
7 years ago
SortOrder.php
7 years ago
SourceApplication.php
7 years ago
StandardUnitDescription.php
7 years ago
StandardUnitDescriptionGroup.php
7 years ago
TaxCalculationPhase.php
7 years ago
TaxInclusionType.php
7 years ago
Tender.php
7 years ago
TenderCardDetails.php
7 years ago
TenderCardDetailsEntryMethod.php
7 years ago
TenderCardDetailsStatus.php
7 years ago
TenderCashDetails.php
7 years ago
TenderType.php
7 years ago
TimeRange.php
7 years ago
Transaction.php
7 years ago
TransactionProduct.php
7 years ago
UpdateBreakTypeRequest.php
7 years ago
UpdateBreakTypeResponse.php
7 years ago
UpdateCustomerRequest.php
7 years ago
UpdateCustomerResponse.php
7 years ago
UpdateItemModifierListsRequest.php
7 years ago
UpdateItemModifierListsResponse.php
7 years ago
UpdateItemTaxesRequest.php
7 years ago
UpdateItemTaxesResponse.php
7 years ago
UpdateOrderRequest.php
7 years ago
UpdateOrderResponse.php
7 years ago
UpdateShiftRequest.php
7 years ago
UpdateShiftResponse.php
7 years ago
UpdateWorkweekConfigRequest.php
7 years ago
UpdateWorkweekConfigResponse.php
7 years ago
UpsertCatalogObjectRequest.php
7 years ago
UpsertCatalogObjectResponse.php
7 years ago
V1AdjustInventoryRequest.php
7 years ago
V1AdjustInventoryRequestAdjustmentType.php
7 years ago
V1ApplyFeeRequest.php
7 years ago
V1ApplyModifierListRequest.php
7 years ago
V1BankAccount.php
7 years ago
V1BankAccountType.php
7 years ago
V1CashDrawerEvent.php
7 years ago
V1CashDrawerEventEventType.php
7 years ago
V1CashDrawerShift.php
7 years ago
V1CashDrawerShiftEventType.php
7 years ago
V1Category.php
7 years ago
V1CreateCategoryRequest.php
7 years ago
V1CreateDiscountRequest.php
7 years ago
V1CreateEmployeeRoleRequest.php
7 years ago
V1CreateFeeRequest.php
7 years ago
V1CreateItemRequest.php
7 years ago
V1CreateModifierListRequest.php
7 years ago
V1CreateModifierOptionRequest.php
7 years ago
V1CreatePageRequest.php
7 years ago
V1CreateRefundRequest.php
7 years ago
V1CreateRefundRequestType.php
7 years ago
V1CreateVariationRequest.php
7 years ago
V1DeleteCategoryRequest.php
7 years ago
V1DeleteDiscountRequest.php
7 years ago
V1DeleteFeeRequest.php
7 years ago
V1DeleteItemRequest.php
7 years ago
V1DeleteModifierListRequest.php
7 years ago
V1DeleteModifierOptionRequest.php
7 years ago
V1DeletePageCellRequest.php
7 years ago
V1DeletePageRequest.php
7 years ago
V1DeleteTimecardRequest.php
7 years ago
V1DeleteTimecardResponse.php
7 years ago
V1DeleteVariationRequest.php
7 years ago
V1Discount.php
7 years ago
V1DiscountColor.php
7 years ago
V1DiscountDiscountType.php
7 years ago
V1Employee.php
7 years ago
V1EmployeeRole.php
7 years ago
V1EmployeeRolePermissions.php
7 years ago
V1EmployeeStatus.php
7 years ago
V1Fee.php
7 years ago
V1FeeAdjustmentType.php
7 years ago
V1FeeCalculationPhase.php
7 years ago
V1FeeInclusionType.php
7 years ago
V1FeeType.php
7 years ago
V1InventoryEntry.php
7 years ago
V1Item.php
7 years ago
V1ItemColor.php
7 years ago
V1ItemImage.php
7 years ago
V1ItemType.php
7 years ago
V1ItemVisibility.php
7 years ago
V1ListBankAccountsRequest.php
7 years ago
V1ListBankAccountsResponse.php
7 years ago
V1ListCashDrawerShiftsRequest.php
7 years ago
V1ListCashDrawerShiftsResponse.php
7 years ago
V1ListCategoriesRequest.php
7 years ago
V1ListCategoriesResponse.php
7 years ago
V1ListDiscountsRequest.php
7 years ago
V1ListDiscountsResponse.php
7 years ago
V1ListEmployeeRolesRequest.php
7 years ago
V1ListEmployeeRolesResponse.php
7 years ago
V1ListEmployeesRequest.php
7 years ago
V1ListEmployeesRequestStatus.php
7 years ago
V1ListEmployeesResponse.php
7 years ago
V1ListFeesRequest.php
7 years ago
V1ListFeesResponse.php
7 years ago
V1ListInventoryRequest.php
7 years ago
V1ListInventoryResponse.php
7 years ago
V1ListItemsRequest.php
7 years ago
V1ListItemsResponse.php
7 years ago
V1ListLocationsRequest.php
7 years ago
V1ListLocationsResponse.php
7 years ago
V1ListModifierListsRequest.php
7 years ago
V1ListModifierListsResponse.php
7 years ago
V1ListOrdersRequest.php
7 years ago
V1ListOrdersResponse.php
7 years ago
V1ListPagesRequest.php
7 years ago
V1ListPagesResponse.php
7 years ago
V1ListPaymentsRequest.php
7 years ago
V1ListPaymentsResponse.php
7 years ago
V1ListRefundsRequest.php
7 years ago
V1ListRefundsResponse.php
7 years ago
V1ListSettlementsRequest.php
7 years ago
V1ListSettlementsRequestStatus.php
7 years ago
V1ListSettlementsResponse.php
7 years ago
V1ListTimecardEventsRequest.php
7 years ago
V1ListTimecardEventsResponse.php
7 years ago
V1ListTimecardsRequest.php
7 years ago
V1ListTimecardsResponse.php
7 years ago
V1Merchant.php
7 years ago
V1MerchantAccountType.php
7 years ago
V1MerchantBusinessType.php
7 years ago
V1MerchantLocationDetails.php
7 years ago
V1ModifierList.php
7 years ago
V1ModifierListSelectionType.php
7 years ago
V1ModifierOption.php
7 years ago
V1Money.php
7 years ago
V1Order.php
7 years ago
V1OrderHistoryEntry.php
7 years ago
V1OrderHistoryEntryAction.php
7 years ago
V1OrderState.php
7 years ago
V1Page.php
7 years ago
V1PageCell.php
7 years ago
V1PageCellObjectType.php
7 years ago
V1PageCellPlaceholderType.php
7 years ago
V1Payment.php
7 years ago
V1PaymentDiscount.php
7 years ago
V1PaymentItemDetail.php
7 years ago
V1PaymentItemization.php
7 years ago
V1PaymentItemizationItemizationType.php
7 years ago
V1PaymentModifier.php
7 years ago
V1PaymentSurcharge.php
7 years ago
V1PaymentSurchargeType.php
7 years ago
V1PaymentTax.php
7 years ago
V1PaymentTaxInclusionType.php
7 years ago
V1PhoneNumber.php
7 years ago
V1Refund.php
7 years ago
V1RefundType.php
7 years ago
V1RemoveFeeRequest.php
7 years ago
V1RemoveModifierListRequest.php
7 years ago
V1RetrieveBankAccountRequest.php
7 years ago
V1RetrieveBusinessRequest.php
7 years ago
V1RetrieveCashDrawerShiftRequest.php
7 years ago
V1RetrieveEmployeeRequest.php
7 years ago
V1RetrieveEmployeeRoleRequest.php
7 years ago
V1RetrieveItemRequest.php
7 years ago
V1RetrieveModifierListRequest.php
7 years ago
V1RetrieveOrderRequest.php
7 years ago
V1RetrievePaymentRequest.php
7 years ago
V1RetrieveSettlementRequest.php
7 years ago
V1RetrieveTimecardRequest.php
7 years ago
V1Settlement.php
7 years ago
V1SettlementEntry.php
7 years ago
V1SettlementEntryType.php
7 years ago
V1SettlementStatus.php
7 years ago
V1Tender.php
7 years ago
V1TenderCardBrand.php
7 years ago
V1TenderEntryMethod.php
7 years ago
V1TenderType.php
7 years ago
V1Timecard.php
7 years ago
V1TimecardEvent.php
7 years ago
V1TimecardEventEventType.php
7 years ago
V1UpdateCategoryRequest.php
7 years ago
V1UpdateDiscountRequest.php
7 years ago
V1UpdateEmployeeRequest.php
7 years ago
V1UpdateEmployeeRoleRequest.php
7 years ago
V1UpdateFeeRequest.php
7 years ago
V1UpdateItemRequest.php
7 years ago
V1UpdateModifierListRequest.php
7 years ago
V1UpdateModifierListRequestSelectionType.php
7 years ago
V1UpdateModifierOptionRequest.php
7 years ago
V1UpdateOrderRequest.php
7 years ago
V1UpdateOrderRequestAction.php
7 years ago
V1UpdatePageCellRequest.php
7 years ago
V1UpdatePageRequest.php
7 years ago
V1UpdateTimecardRequest.php
7 years ago
V1UpdateVariationRequest.php
7 years ago
V1Variation.php
7 years ago
V1VariationInventoryAlertType.php
7 years ago
V1VariationPricingType.php
7 years ago
VoidTransactionRequest.php
7 years ago
VoidTransactionResponse.php
7 years ago
WebhookEvents.php
7 years ago
Weekday.php
7 years ago
WorkweekConfig.php
7 years ago
CatalogQuery.php
411 lines
| 1 | <?php |
| 2 | /** |
| 3 | * NOTE: This class is auto generated by the swagger code generator program. |
| 4 | * https://github.com/swagger-api/swagger-codegen |
| 5 | * Do not edit the class manually. |
| 6 | */ |
| 7 | |
| 8 | namespace SquareConnect\Model; |
| 9 | |
| 10 | use \ArrayAccess; |
| 11 | /** |
| 12 | * CatalogQuery Class Doc Comment |
| 13 | * |
| 14 | * @category Class |
| 15 | * @package SquareConnect |
| 16 | * @author Square Inc. |
| 17 | * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2 |
| 18 | * @link https://squareup.com/developers |
| 19 | */ |
| 20 | class CatalogQuery implements ArrayAccess |
| 21 | { |
| 22 | /** |
| 23 | * Array of property to type mappings. Used for (de)serialization |
| 24 | * @var string[] |
| 25 | */ |
| 26 | static $swaggerTypes = array( |
| 27 | 'sorted_attribute_query' => '\SquareConnect\Model\CatalogQuerySortedAttribute', |
| 28 | 'exact_query' => '\SquareConnect\Model\CatalogQueryExact', |
| 29 | 'prefix_query' => '\SquareConnect\Model\CatalogQueryPrefix', |
| 30 | 'range_query' => '\SquareConnect\Model\CatalogQueryRange', |
| 31 | 'text_query' => '\SquareConnect\Model\CatalogQueryText', |
| 32 | 'items_for_tax_query' => '\SquareConnect\Model\CatalogQueryItemsForTax', |
| 33 | 'items_for_modifier_list_query' => '\SquareConnect\Model\CatalogQueryItemsForModifierList', |
| 34 | 'items_for_item_options_query' => '\SquareConnect\Model\CatalogQueryItemsForItemOptions', |
| 35 | 'item_variations_for_item_option_values_query' => '\SquareConnect\Model\CatalogQueryItemVariationsForItemOptionValues' |
| 36 | ); |
| 37 | |
| 38 | /** |
| 39 | * Array of attributes where the key is the local name, and the value is the original name |
| 40 | * @var string[] |
| 41 | */ |
| 42 | static $attributeMap = array( |
| 43 | 'sorted_attribute_query' => 'sorted_attribute_query', |
| 44 | 'exact_query' => 'exact_query', |
| 45 | 'prefix_query' => 'prefix_query', |
| 46 | 'range_query' => 'range_query', |
| 47 | 'text_query' => 'text_query', |
| 48 | 'items_for_tax_query' => 'items_for_tax_query', |
| 49 | 'items_for_modifier_list_query' => 'items_for_modifier_list_query', |
| 50 | 'items_for_item_options_query' => 'items_for_item_options_query', |
| 51 | 'item_variations_for_item_option_values_query' => 'item_variations_for_item_option_values_query' |
| 52 | ); |
| 53 | |
| 54 | /** |
| 55 | * Array of attributes to setter functions (for deserialization of responses) |
| 56 | * @var string[] |
| 57 | */ |
| 58 | static $setters = array( |
| 59 | 'sorted_attribute_query' => 'setSortedAttributeQuery', |
| 60 | 'exact_query' => 'setExactQuery', |
| 61 | 'prefix_query' => 'setPrefixQuery', |
| 62 | 'range_query' => 'setRangeQuery', |
| 63 | 'text_query' => 'setTextQuery', |
| 64 | 'items_for_tax_query' => 'setItemsForTaxQuery', |
| 65 | 'items_for_modifier_list_query' => 'setItemsForModifierListQuery', |
| 66 | 'items_for_item_options_query' => 'setItemsForItemOptionsQuery', |
| 67 | 'item_variations_for_item_option_values_query' => 'setItemVariationsForItemOptionValuesQuery' |
| 68 | ); |
| 69 | |
| 70 | /** |
| 71 | * Array of attributes to getter functions (for serialization of requests) |
| 72 | * @var string[] |
| 73 | */ |
| 74 | static $getters = array( |
| 75 | 'sorted_attribute_query' => 'getSortedAttributeQuery', |
| 76 | 'exact_query' => 'getExactQuery', |
| 77 | 'prefix_query' => 'getPrefixQuery', |
| 78 | 'range_query' => 'getRangeQuery', |
| 79 | 'text_query' => 'getTextQuery', |
| 80 | 'items_for_tax_query' => 'getItemsForTaxQuery', |
| 81 | 'items_for_modifier_list_query' => 'getItemsForModifierListQuery', |
| 82 | 'items_for_item_options_query' => 'getItemsForItemOptionsQuery', |
| 83 | 'item_variations_for_item_option_values_query' => 'getItemVariationsForItemOptionValuesQuery' |
| 84 | ); |
| 85 | |
| 86 | /** |
| 87 | * $sorted_attribute_query A query that returns all objects, sorted by the given attribute. |
| 88 | * @var \SquareConnect\Model\CatalogQuerySortedAttribute |
| 89 | */ |
| 90 | protected $sorted_attribute_query; |
| 91 | /** |
| 92 | * $exact_query A query that returns only objects for which the given (string-valued) attribute has the given case-insensitive value. |
| 93 | * @var \SquareConnect\Model\CatalogQueryExact |
| 94 | */ |
| 95 | protected $exact_query; |
| 96 | /** |
| 97 | * $prefix_query A query that returns only objects for which the given (string-valued) attribute has the given case-insensitive prefix. |
| 98 | * @var \SquareConnect\Model\CatalogQueryPrefix |
| 99 | */ |
| 100 | protected $prefix_query; |
| 101 | /** |
| 102 | * $range_query A query that returns only objects for which the given (integer-valued) attribute lies in the given range. |
| 103 | * @var \SquareConnect\Model\CatalogQueryRange |
| 104 | */ |
| 105 | protected $range_query; |
| 106 | /** |
| 107 | * $text_query A query that returns only objects whose searchable attributes contain all of the given keywords as prefixes. For example, if a [CatalogItem](#type-catalogitem) contains attributes `{\"name\": \"t-shirt\"}` and `{\"description\": \"Small, Purple\"}`, it will be matched by the query `{\"keywords\": [\"shirt\", \"sma\", \"purp\"]}`. |
| 108 | * @var \SquareConnect\Model\CatalogQueryText |
| 109 | */ |
| 110 | protected $text_query; |
| 111 | /** |
| 112 | * $items_for_tax_query A query that returns all [CatalogItem](#type-catalogitem)s that have any of the given [CatalogTax](#type-catalogtax)es enabled. |
| 113 | * @var \SquareConnect\Model\CatalogQueryItemsForTax |
| 114 | */ |
| 115 | protected $items_for_tax_query; |
| 116 | /** |
| 117 | * $items_for_modifier_list_query A query that returns all [CatalogItem](#type-catalogitem)s that have any of the given [CatalogModifierList](#type-catalogmodifierlist)s enabled. |
| 118 | * @var \SquareConnect\Model\CatalogQueryItemsForModifierList |
| 119 | */ |
| 120 | protected $items_for_modifier_list_query; |
| 121 | /** |
| 122 | * $items_for_item_options_query A query that returns all [CatalogItem](#type-catalogitem)s that have all of the given [CatalogItemOption](#type-catalogitemoption)s. |
| 123 | * @var \SquareConnect\Model\CatalogQueryItemsForItemOptions |
| 124 | */ |
| 125 | protected $items_for_item_options_query; |
| 126 | /** |
| 127 | * $item_variations_for_item_option_values_query A query that returns all [CatalogItemVariation](#type-catalogitemvariations)s that have all of the given [CatalogItemOption](#type-catalogitemoption) values. |
| 128 | * @var \SquareConnect\Model\CatalogQueryItemVariationsForItemOptionValues |
| 129 | */ |
| 130 | protected $item_variations_for_item_option_values_query; |
| 131 | |
| 132 | /** |
| 133 | * Constructor |
| 134 | * @param mixed[] $data Associated array of property value initializing the model |
| 135 | */ |
| 136 | public function __construct(array $data = null) |
| 137 | { |
| 138 | if ($data != null) { |
| 139 | if (isset($data["sorted_attribute_query"])) { |
| 140 | $this->sorted_attribute_query = $data["sorted_attribute_query"]; |
| 141 | } else { |
| 142 | $this->sorted_attribute_query = null; |
| 143 | } |
| 144 | if (isset($data["exact_query"])) { |
| 145 | $this->exact_query = $data["exact_query"]; |
| 146 | } else { |
| 147 | $this->exact_query = null; |
| 148 | } |
| 149 | if (isset($data["prefix_query"])) { |
| 150 | $this->prefix_query = $data["prefix_query"]; |
| 151 | } else { |
| 152 | $this->prefix_query = null; |
| 153 | } |
| 154 | if (isset($data["range_query"])) { |
| 155 | $this->range_query = $data["range_query"]; |
| 156 | } else { |
| 157 | $this->range_query = null; |
| 158 | } |
| 159 | if (isset($data["text_query"])) { |
| 160 | $this->text_query = $data["text_query"]; |
| 161 | } else { |
| 162 | $this->text_query = null; |
| 163 | } |
| 164 | if (isset($data["items_for_tax_query"])) { |
| 165 | $this->items_for_tax_query = $data["items_for_tax_query"]; |
| 166 | } else { |
| 167 | $this->items_for_tax_query = null; |
| 168 | } |
| 169 | if (isset($data["items_for_modifier_list_query"])) { |
| 170 | $this->items_for_modifier_list_query = $data["items_for_modifier_list_query"]; |
| 171 | } else { |
| 172 | $this->items_for_modifier_list_query = null; |
| 173 | } |
| 174 | if (isset($data["items_for_item_options_query"])) { |
| 175 | $this->items_for_item_options_query = $data["items_for_item_options_query"]; |
| 176 | } else { |
| 177 | $this->items_for_item_options_query = null; |
| 178 | } |
| 179 | if (isset($data["item_variations_for_item_option_values_query"])) { |
| 180 | $this->item_variations_for_item_option_values_query = $data["item_variations_for_item_option_values_query"]; |
| 181 | } else { |
| 182 | $this->item_variations_for_item_option_values_query = null; |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | /** |
| 187 | * Gets sorted_attribute_query |
| 188 | * @return \SquareConnect\Model\CatalogQuerySortedAttribute |
| 189 | */ |
| 190 | public function getSortedAttributeQuery() |
| 191 | { |
| 192 | return $this->sorted_attribute_query; |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Sets sorted_attribute_query |
| 197 | * @param \SquareConnect\Model\CatalogQuerySortedAttribute $sorted_attribute_query A query that returns all objects, sorted by the given attribute. |
| 198 | * @return $this |
| 199 | */ |
| 200 | public function setSortedAttributeQuery($sorted_attribute_query) |
| 201 | { |
| 202 | $this->sorted_attribute_query = $sorted_attribute_query; |
| 203 | return $this; |
| 204 | } |
| 205 | /** |
| 206 | * Gets exact_query |
| 207 | * @return \SquareConnect\Model\CatalogQueryExact |
| 208 | */ |
| 209 | public function getExactQuery() |
| 210 | { |
| 211 | return $this->exact_query; |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Sets exact_query |
| 216 | * @param \SquareConnect\Model\CatalogQueryExact $exact_query A query that returns only objects for which the given (string-valued) attribute has the given case-insensitive value. |
| 217 | * @return $this |
| 218 | */ |
| 219 | public function setExactQuery($exact_query) |
| 220 | { |
| 221 | $this->exact_query = $exact_query; |
| 222 | return $this; |
| 223 | } |
| 224 | /** |
| 225 | * Gets prefix_query |
| 226 | * @return \SquareConnect\Model\CatalogQueryPrefix |
| 227 | */ |
| 228 | public function getPrefixQuery() |
| 229 | { |
| 230 | return $this->prefix_query; |
| 231 | } |
| 232 | |
| 233 | /** |
| 234 | * Sets prefix_query |
| 235 | * @param \SquareConnect\Model\CatalogQueryPrefix $prefix_query A query that returns only objects for which the given (string-valued) attribute has the given case-insensitive prefix. |
| 236 | * @return $this |
| 237 | */ |
| 238 | public function setPrefixQuery($prefix_query) |
| 239 | { |
| 240 | $this->prefix_query = $prefix_query; |
| 241 | return $this; |
| 242 | } |
| 243 | /** |
| 244 | * Gets range_query |
| 245 | * @return \SquareConnect\Model\CatalogQueryRange |
| 246 | */ |
| 247 | public function getRangeQuery() |
| 248 | { |
| 249 | return $this->range_query; |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Sets range_query |
| 254 | * @param \SquareConnect\Model\CatalogQueryRange $range_query A query that returns only objects for which the given (integer-valued) attribute lies in the given range. |
| 255 | * @return $this |
| 256 | */ |
| 257 | public function setRangeQuery($range_query) |
| 258 | { |
| 259 | $this->range_query = $range_query; |
| 260 | return $this; |
| 261 | } |
| 262 | /** |
| 263 | * Gets text_query |
| 264 | * @return \SquareConnect\Model\CatalogQueryText |
| 265 | */ |
| 266 | public function getTextQuery() |
| 267 | { |
| 268 | return $this->text_query; |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * Sets text_query |
| 273 | * @param \SquareConnect\Model\CatalogQueryText $text_query A query that returns only objects whose searchable attributes contain all of the given keywords as prefixes. For example, if a [CatalogItem](#type-catalogitem) contains attributes `{\"name\": \"t-shirt\"}` and `{\"description\": \"Small, Purple\"}`, it will be matched by the query `{\"keywords\": [\"shirt\", \"sma\", \"purp\"]}`. |
| 274 | * @return $this |
| 275 | */ |
| 276 | public function setTextQuery($text_query) |
| 277 | { |
| 278 | $this->text_query = $text_query; |
| 279 | return $this; |
| 280 | } |
| 281 | /** |
| 282 | * Gets items_for_tax_query |
| 283 | * @return \SquareConnect\Model\CatalogQueryItemsForTax |
| 284 | */ |
| 285 | public function getItemsForTaxQuery() |
| 286 | { |
| 287 | return $this->items_for_tax_query; |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Sets items_for_tax_query |
| 292 | * @param \SquareConnect\Model\CatalogQueryItemsForTax $items_for_tax_query A query that returns all [CatalogItem](#type-catalogitem)s that have any of the given [CatalogTax](#type-catalogtax)es enabled. |
| 293 | * @return $this |
| 294 | */ |
| 295 | public function setItemsForTaxQuery($items_for_tax_query) |
| 296 | { |
| 297 | $this->items_for_tax_query = $items_for_tax_query; |
| 298 | return $this; |
| 299 | } |
| 300 | /** |
| 301 | * Gets items_for_modifier_list_query |
| 302 | * @return \SquareConnect\Model\CatalogQueryItemsForModifierList |
| 303 | */ |
| 304 | public function getItemsForModifierListQuery() |
| 305 | { |
| 306 | return $this->items_for_modifier_list_query; |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * Sets items_for_modifier_list_query |
| 311 | * @param \SquareConnect\Model\CatalogQueryItemsForModifierList $items_for_modifier_list_query A query that returns all [CatalogItem](#type-catalogitem)s that have any of the given [CatalogModifierList](#type-catalogmodifierlist)s enabled. |
| 312 | * @return $this |
| 313 | */ |
| 314 | public function setItemsForModifierListQuery($items_for_modifier_list_query) |
| 315 | { |
| 316 | $this->items_for_modifier_list_query = $items_for_modifier_list_query; |
| 317 | return $this; |
| 318 | } |
| 319 | /** |
| 320 | * Gets items_for_item_options_query |
| 321 | * @return \SquareConnect\Model\CatalogQueryItemsForItemOptions |
| 322 | */ |
| 323 | public function getItemsForItemOptionsQuery() |
| 324 | { |
| 325 | return $this->items_for_item_options_query; |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * Sets items_for_item_options_query |
| 330 | * @param \SquareConnect\Model\CatalogQueryItemsForItemOptions $items_for_item_options_query A query that returns all [CatalogItem](#type-catalogitem)s that have all of the given [CatalogItemOption](#type-catalogitemoption)s. |
| 331 | * @return $this |
| 332 | */ |
| 333 | public function setItemsForItemOptionsQuery($items_for_item_options_query) |
| 334 | { |
| 335 | $this->items_for_item_options_query = $items_for_item_options_query; |
| 336 | return $this; |
| 337 | } |
| 338 | /** |
| 339 | * Gets item_variations_for_item_option_values_query |
| 340 | * @return \SquareConnect\Model\CatalogQueryItemVariationsForItemOptionValues |
| 341 | */ |
| 342 | public function getItemVariationsForItemOptionValuesQuery() |
| 343 | { |
| 344 | return $this->item_variations_for_item_option_values_query; |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * Sets item_variations_for_item_option_values_query |
| 349 | * @param \SquareConnect\Model\CatalogQueryItemVariationsForItemOptionValues $item_variations_for_item_option_values_query A query that returns all [CatalogItemVariation](#type-catalogitemvariations)s that have all of the given [CatalogItemOption](#type-catalogitemoption) values. |
| 350 | * @return $this |
| 351 | */ |
| 352 | public function setItemVariationsForItemOptionValuesQuery($item_variations_for_item_option_values_query) |
| 353 | { |
| 354 | $this->item_variations_for_item_option_values_query = $item_variations_for_item_option_values_query; |
| 355 | return $this; |
| 356 | } |
| 357 | /** |
| 358 | * Returns true if offset exists. False otherwise. |
| 359 | * @param integer $offset Offset |
| 360 | * @return boolean |
| 361 | */ |
| 362 | public function offsetExists($offset) |
| 363 | { |
| 364 | return isset($this->$offset); |
| 365 | } |
| 366 | |
| 367 | /** |
| 368 | * Gets offset. |
| 369 | * @param integer $offset Offset |
| 370 | * @return mixed |
| 371 | */ |
| 372 | public function offsetGet($offset) |
| 373 | { |
| 374 | return $this->$offset; |
| 375 | } |
| 376 | |
| 377 | /** |
| 378 | * Sets value based on offset. |
| 379 | * @param integer $offset Offset |
| 380 | * @param mixed $value Value to be set |
| 381 | * @return void |
| 382 | */ |
| 383 | public function offsetSet($offset, $value) |
| 384 | { |
| 385 | $this->$offset = $value; |
| 386 | } |
| 387 | |
| 388 | /** |
| 389 | * Unsets offset. |
| 390 | * @param integer $offset Offset |
| 391 | * @return void |
| 392 | */ |
| 393 | public function offsetUnset($offset) |
| 394 | { |
| 395 | unset($this->$offset); |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Gets the string presentation of the object |
| 400 | * @return string |
| 401 | */ |
| 402 | public function __toString() |
| 403 | { |
| 404 | if (defined('JSON_PRETTY_PRINT')) { |
| 405 | return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); |
| 406 | } else { |
| 407 | return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this)); |
| 408 | } |
| 409 | } |
| 410 | } |
| 411 |