PluginProbe ʕ •ᴥ•ʔ
WooCommerce Square / 2.2.5
WooCommerce Square v2.2.5
5.5.0 5.4.3 5.4.2 5.4.1 5.4.0 trunk 1.0.25 1.0.26 1.0.27 1.0.28 1.0.29 1.0.30 1.0.31 1.0.32 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.38 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.7.0 2.8.0 2.9.0 2.9.1 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0 3.2.0 3.3.0 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.7.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 4.0.0 4.1.0 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.9.0 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 4.9.6 4.9.7 4.9.8 4.9.9 5.0.0 5.0.1 5.1.0 5.1.1 5.1.2 5.2.0 5.3.0 5.3.1 5.3.2 5.3.3
woocommerce-square / vendor / square / connect / lib / Model / Location.php
woocommerce-square / vendor / square / connect / lib / Model Last commit date
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
Location.php
906 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 * Location 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 Location implements ArrayAccess
21 {
22 /**
23 * Array of property to type mappings. Used for (de)serialization
24 * @var string[]
25 */
26 static $swaggerTypes = array(
27 'id' => 'string',
28 'name' => 'string',
29 'address' => '\SquareConnect\Model\Address',
30 'timezone' => 'string',
31 'capabilities' => 'string[]',
32 'status' => 'string',
33 'created_at' => 'string',
34 'merchant_id' => 'string',
35 'country' => 'string',
36 'language_code' => 'string',
37 'currency' => 'string',
38 'phone_number' => 'string',
39 'business_name' => 'string',
40 'type' => 'string',
41 'website_url' => 'string',
42 'business_hours' => '\SquareConnect\Model\BusinessHours',
43 'business_email' => 'string',
44 'description' => 'string',
45 'twitter_username' => 'string',
46 'instagram_username' => 'string',
47 'facebook_url' => 'string',
48 'coordinates' => '\SquareConnect\Model\Coordinates',
49 'logo_url' => 'string',
50 'pos_background_url' => 'string'
51 );
52
53 /**
54 * Array of attributes where the key is the local name, and the value is the original name
55 * @var string[]
56 */
57 static $attributeMap = array(
58 'id' => 'id',
59 'name' => 'name',
60 'address' => 'address',
61 'timezone' => 'timezone',
62 'capabilities' => 'capabilities',
63 'status' => 'status',
64 'created_at' => 'created_at',
65 'merchant_id' => 'merchant_id',
66 'country' => 'country',
67 'language_code' => 'language_code',
68 'currency' => 'currency',
69 'phone_number' => 'phone_number',
70 'business_name' => 'business_name',
71 'type' => 'type',
72 'website_url' => 'website_url',
73 'business_hours' => 'business_hours',
74 'business_email' => 'business_email',
75 'description' => 'description',
76 'twitter_username' => 'twitter_username',
77 'instagram_username' => 'instagram_username',
78 'facebook_url' => 'facebook_url',
79 'coordinates' => 'coordinates',
80 'logo_url' => 'logo_url',
81 'pos_background_url' => 'pos_background_url'
82 );
83
84 /**
85 * Array of attributes to setter functions (for deserialization of responses)
86 * @var string[]
87 */
88 static $setters = array(
89 'id' => 'setId',
90 'name' => 'setName',
91 'address' => 'setAddress',
92 'timezone' => 'setTimezone',
93 'capabilities' => 'setCapabilities',
94 'status' => 'setStatus',
95 'created_at' => 'setCreatedAt',
96 'merchant_id' => 'setMerchantId',
97 'country' => 'setCountry',
98 'language_code' => 'setLanguageCode',
99 'currency' => 'setCurrency',
100 'phone_number' => 'setPhoneNumber',
101 'business_name' => 'setBusinessName',
102 'type' => 'setType',
103 'website_url' => 'setWebsiteUrl',
104 'business_hours' => 'setBusinessHours',
105 'business_email' => 'setBusinessEmail',
106 'description' => 'setDescription',
107 'twitter_username' => 'setTwitterUsername',
108 'instagram_username' => 'setInstagramUsername',
109 'facebook_url' => 'setFacebookUrl',
110 'coordinates' => 'setCoordinates',
111 'logo_url' => 'setLogoUrl',
112 'pos_background_url' => 'setPosBackgroundUrl'
113 );
114
115 /**
116 * Array of attributes to getter functions (for serialization of requests)
117 * @var string[]
118 */
119 static $getters = array(
120 'id' => 'getId',
121 'name' => 'getName',
122 'address' => 'getAddress',
123 'timezone' => 'getTimezone',
124 'capabilities' => 'getCapabilities',
125 'status' => 'getStatus',
126 'created_at' => 'getCreatedAt',
127 'merchant_id' => 'getMerchantId',
128 'country' => 'getCountry',
129 'language_code' => 'getLanguageCode',
130 'currency' => 'getCurrency',
131 'phone_number' => 'getPhoneNumber',
132 'business_name' => 'getBusinessName',
133 'type' => 'getType',
134 'website_url' => 'getWebsiteUrl',
135 'business_hours' => 'getBusinessHours',
136 'business_email' => 'getBusinessEmail',
137 'description' => 'getDescription',
138 'twitter_username' => 'getTwitterUsername',
139 'instagram_username' => 'getInstagramUsername',
140 'facebook_url' => 'getFacebookUrl',
141 'coordinates' => 'getCoordinates',
142 'logo_url' => 'getLogoUrl',
143 'pos_background_url' => 'getPosBackgroundUrl'
144 );
145
146 /**
147 * $id The location's unique ID.
148 * @var string
149 */
150 protected $id;
151 /**
152 * $name The location's name. Location names are set by the account owner and displayed in the dashboard as the location's nickname
153 * @var string
154 */
155 protected $name;
156 /**
157 * $address The location's physical address.
158 * @var \SquareConnect\Model\Address
159 */
160 protected $address;
161 /**
162 * $timezone The [IANA Timezone Database](https://www.iana.org/time-zones) identifier for the location's timezone.
163 * @var string
164 */
165 protected $timezone;
166 /**
167 * $capabilities Indicates which Square features are enabled for the location. See [LocationCapability](#type-locationcapability) for possible values
168 * @var string[]
169 */
170 protected $capabilities;
171 /**
172 * $status The location's status See [LocationStatus](#type-locationstatus) for possible values
173 * @var string
174 */
175 protected $status;
176 /**
177 * $created_at The time when the location was created, in RFC 3339 format.
178 * @var string
179 */
180 protected $created_at;
181 /**
182 * $merchant_id The identifier of the merchant that owns the location.
183 * @var string
184 */
185 protected $merchant_id;
186 /**
187 * $country The location's country, in ISO 3166-1-alpha-2 format. See [Country](#type-country) for possible values
188 * @var string
189 */
190 protected $country;
191 /**
192 * $language_code The language associated with the location in [BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A).
193 * @var string
194 */
195 protected $language_code;
196 /**
197 * $currency The currency used for all transactions at this location, specified in __ISO 4217 format__. For example, the currency for a location processing transactions in the United States is 'USD'. See [Currency](#type-currency) for possible values
198 * @var string
199 */
200 protected $currency;
201 /**
202 * $phone_number The location's phone_number.
203 * @var string
204 */
205 protected $phone_number;
206 /**
207 * $business_name The location's business_name which is shown to its customers. For example, this is the name printed on its customer's receipts.
208 * @var string
209 */
210 protected $business_name;
211 /**
212 * $type The location's type, as set by the account owner in the Square dashboard. Typically used to indicate whether or not the location object represents a physical space like a building or mall space. See [LocationType](#type-locationtype) for possible values
213 * @var string
214 */
215 protected $type;
216 /**
217 * $website_url The location's website, as set by the account owner in the Square dashboard. Default: none; only exists if explicitly set.
218 * @var string
219 */
220 protected $website_url;
221 /**
222 * $business_hours The hours of operation for a business location. Default: none; only exists if explicitly set.
223 * @var \SquareConnect\Model\BusinessHours
224 */
225 protected $business_hours;
226 /**
227 * $business_email The email of the location.
228 * @var string
229 */
230 protected $business_email;
231 /**
232 * $description The business description of the location.
233 * @var string
234 */
235 protected $description;
236 /**
237 * $twitter_username The Twitter username of the location without the '
238 * @var string
239 */
240 protected $twitter_username;
241 /**
242 * $instagram_username The Instagram username of the location without the '
243 * @var string
244 */
245 protected $instagram_username;
246 /**
247 * $facebook_url The Facebook profile URL of the location. The URL should begin with 'facebook.com/'.
248 * @var string
249 */
250 protected $facebook_url;
251 /**
252 * $coordinates The physical coordinates (latitude and longitude) of the location.
253 * @var \SquareConnect\Model\Coordinates
254 */
255 protected $coordinates;
256 /**
257 * $logo_url The logo image URL of the location.
258 * @var string
259 */
260 protected $logo_url;
261 /**
262 * $pos_background_url The Point of Sale background image URL of the location.
263 * @var string
264 */
265 protected $pos_background_url;
266
267 /**
268 * Constructor
269 * @param mixed[] $data Associated array of property value initializing the model
270 */
271 public function __construct(array $data = null)
272 {
273 if ($data != null) {
274 if (isset($data["id"])) {
275 $this->id = $data["id"];
276 } else {
277 $this->id = null;
278 }
279 if (isset($data["name"])) {
280 $this->name = $data["name"];
281 } else {
282 $this->name = null;
283 }
284 if (isset($data["address"])) {
285 $this->address = $data["address"];
286 } else {
287 $this->address = null;
288 }
289 if (isset($data["timezone"])) {
290 $this->timezone = $data["timezone"];
291 } else {
292 $this->timezone = null;
293 }
294 if (isset($data["capabilities"])) {
295 $this->capabilities = $data["capabilities"];
296 } else {
297 $this->capabilities = null;
298 }
299 if (isset($data["status"])) {
300 $this->status = $data["status"];
301 } else {
302 $this->status = null;
303 }
304 if (isset($data["created_at"])) {
305 $this->created_at = $data["created_at"];
306 } else {
307 $this->created_at = null;
308 }
309 if (isset($data["merchant_id"])) {
310 $this->merchant_id = $data["merchant_id"];
311 } else {
312 $this->merchant_id = null;
313 }
314 if (isset($data["country"])) {
315 $this->country = $data["country"];
316 } else {
317 $this->country = null;
318 }
319 if (isset($data["language_code"])) {
320 $this->language_code = $data["language_code"];
321 } else {
322 $this->language_code = null;
323 }
324 if (isset($data["currency"])) {
325 $this->currency = $data["currency"];
326 } else {
327 $this->currency = null;
328 }
329 if (isset($data["phone_number"])) {
330 $this->phone_number = $data["phone_number"];
331 } else {
332 $this->phone_number = null;
333 }
334 if (isset($data["business_name"])) {
335 $this->business_name = $data["business_name"];
336 } else {
337 $this->business_name = null;
338 }
339 if (isset($data["type"])) {
340 $this->type = $data["type"];
341 } else {
342 $this->type = null;
343 }
344 if (isset($data["website_url"])) {
345 $this->website_url = $data["website_url"];
346 } else {
347 $this->website_url = null;
348 }
349 if (isset($data["business_hours"])) {
350 $this->business_hours = $data["business_hours"];
351 } else {
352 $this->business_hours = null;
353 }
354 if (isset($data["business_email"])) {
355 $this->business_email = $data["business_email"];
356 } else {
357 $this->business_email = null;
358 }
359 if (isset($data["description"])) {
360 $this->description = $data["description"];
361 } else {
362 $this->description = null;
363 }
364 if (isset($data["twitter_username"])) {
365 $this->twitter_username = $data["twitter_username"];
366 } else {
367 $this->twitter_username = null;
368 }
369 if (isset($data["instagram_username"])) {
370 $this->instagram_username = $data["instagram_username"];
371 } else {
372 $this->instagram_username = null;
373 }
374 if (isset($data["facebook_url"])) {
375 $this->facebook_url = $data["facebook_url"];
376 } else {
377 $this->facebook_url = null;
378 }
379 if (isset($data["coordinates"])) {
380 $this->coordinates = $data["coordinates"];
381 } else {
382 $this->coordinates = null;
383 }
384 if (isset($data["logo_url"])) {
385 $this->logo_url = $data["logo_url"];
386 } else {
387 $this->logo_url = null;
388 }
389 if (isset($data["pos_background_url"])) {
390 $this->pos_background_url = $data["pos_background_url"];
391 } else {
392 $this->pos_background_url = null;
393 }
394 }
395 }
396 /**
397 * Gets id
398 * @return string
399 */
400 public function getId()
401 {
402 return $this->id;
403 }
404
405 /**
406 * Sets id
407 * @param string $id The location's unique ID.
408 * @return $this
409 */
410 public function setId($id)
411 {
412 $this->id = $id;
413 return $this;
414 }
415 /**
416 * Gets name
417 * @return string
418 */
419 public function getName()
420 {
421 return $this->name;
422 }
423
424 /**
425 * Sets name
426 * @param string $name The location's name. Location names are set by the account owner and displayed in the dashboard as the location's nickname
427 * @return $this
428 */
429 public function setName($name)
430 {
431 $this->name = $name;
432 return $this;
433 }
434 /**
435 * Gets address
436 * @return \SquareConnect\Model\Address
437 */
438 public function getAddress()
439 {
440 return $this->address;
441 }
442
443 /**
444 * Sets address
445 * @param \SquareConnect\Model\Address $address The location's physical address.
446 * @return $this
447 */
448 public function setAddress($address)
449 {
450 $this->address = $address;
451 return $this;
452 }
453 /**
454 * Gets timezone
455 * @return string
456 */
457 public function getTimezone()
458 {
459 return $this->timezone;
460 }
461
462 /**
463 * Sets timezone
464 * @param string $timezone The [IANA Timezone Database](https://www.iana.org/time-zones) identifier for the location's timezone.
465 * @return $this
466 */
467 public function setTimezone($timezone)
468 {
469 $this->timezone = $timezone;
470 return $this;
471 }
472 /**
473 * Gets capabilities
474 * @return string[]
475 */
476 public function getCapabilities()
477 {
478 return $this->capabilities;
479 }
480
481 /**
482 * Sets capabilities
483 * @param string[] $capabilities Indicates which Square features are enabled for the location. See [LocationCapability](#type-locationcapability) for possible values
484 * @return $this
485 */
486 public function setCapabilities($capabilities)
487 {
488 $this->capabilities = $capabilities;
489 return $this;
490 }
491 /**
492 * Gets status
493 * @return string
494 */
495 public function getStatus()
496 {
497 return $this->status;
498 }
499
500 /**
501 * Sets status
502 * @param string $status The location's status See [LocationStatus](#type-locationstatus) for possible values
503 * @return $this
504 */
505 public function setStatus($status)
506 {
507 $this->status = $status;
508 return $this;
509 }
510 /**
511 * Gets created_at
512 * @return string
513 */
514 public function getCreatedAt()
515 {
516 return $this->created_at;
517 }
518
519 /**
520 * Sets created_at
521 * @param string $created_at The time when the location was created, in RFC 3339 format.
522 * @return $this
523 */
524 public function setCreatedAt($created_at)
525 {
526 $this->created_at = $created_at;
527 return $this;
528 }
529 /**
530 * Gets merchant_id
531 * @return string
532 */
533 public function getMerchantId()
534 {
535 return $this->merchant_id;
536 }
537
538 /**
539 * Sets merchant_id
540 * @param string $merchant_id The identifier of the merchant that owns the location.
541 * @return $this
542 */
543 public function setMerchantId($merchant_id)
544 {
545 $this->merchant_id = $merchant_id;
546 return $this;
547 }
548 /**
549 * Gets country
550 * @return string
551 */
552 public function getCountry()
553 {
554 return $this->country;
555 }
556
557 /**
558 * Sets country
559 * @param string $country The location's country, in ISO 3166-1-alpha-2 format. See [Country](#type-country) for possible values
560 * @return $this
561 */
562 public function setCountry($country)
563 {
564 $this->country = $country;
565 return $this;
566 }
567 /**
568 * Gets language_code
569 * @return string
570 */
571 public function getLanguageCode()
572 {
573 return $this->language_code;
574 }
575
576 /**
577 * Sets language_code
578 * @param string $language_code The language associated with the location in [BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A).
579 * @return $this
580 */
581 public function setLanguageCode($language_code)
582 {
583 $this->language_code = $language_code;
584 return $this;
585 }
586 /**
587 * Gets currency
588 * @return string
589 */
590 public function getCurrency()
591 {
592 return $this->currency;
593 }
594
595 /**
596 * Sets currency
597 * @param string $currency The currency used for all transactions at this location, specified in __ISO 4217 format__. For example, the currency for a location processing transactions in the United States is 'USD'. See [Currency](#type-currency) for possible values
598 * @return $this
599 */
600 public function setCurrency($currency)
601 {
602 $this->currency = $currency;
603 return $this;
604 }
605 /**
606 * Gets phone_number
607 * @return string
608 */
609 public function getPhoneNumber()
610 {
611 return $this->phone_number;
612 }
613
614 /**
615 * Sets phone_number
616 * @param string $phone_number The location's phone_number.
617 * @return $this
618 */
619 public function setPhoneNumber($phone_number)
620 {
621 $this->phone_number = $phone_number;
622 return $this;
623 }
624 /**
625 * Gets business_name
626 * @return string
627 */
628 public function getBusinessName()
629 {
630 return $this->business_name;
631 }
632
633 /**
634 * Sets business_name
635 * @param string $business_name The location's business_name which is shown to its customers. For example, this is the name printed on its customer's receipts.
636 * @return $this
637 */
638 public function setBusinessName($business_name)
639 {
640 $this->business_name = $business_name;
641 return $this;
642 }
643 /**
644 * Gets type
645 * @return string
646 */
647 public function getType()
648 {
649 return $this->type;
650 }
651
652 /**
653 * Sets type
654 * @param string $type The location's type, as set by the account owner in the Square dashboard. Typically used to indicate whether or not the location object represents a physical space like a building or mall space. See [LocationType](#type-locationtype) for possible values
655 * @return $this
656 */
657 public function setType($type)
658 {
659 $this->type = $type;
660 return $this;
661 }
662 /**
663 * Gets website_url
664 * @return string
665 */
666 public function getWebsiteUrl()
667 {
668 return $this->website_url;
669 }
670
671 /**
672 * Sets website_url
673 * @param string $website_url The location's website, as set by the account owner in the Square dashboard. Default: none; only exists if explicitly set.
674 * @return $this
675 */
676 public function setWebsiteUrl($website_url)
677 {
678 $this->website_url = $website_url;
679 return $this;
680 }
681 /**
682 * Gets business_hours
683 * @return \SquareConnect\Model\BusinessHours
684 */
685 public function getBusinessHours()
686 {
687 return $this->business_hours;
688 }
689
690 /**
691 * Sets business_hours
692 * @param \SquareConnect\Model\BusinessHours $business_hours The hours of operation for a business location. Default: none; only exists if explicitly set.
693 * @return $this
694 */
695 public function setBusinessHours($business_hours)
696 {
697 $this->business_hours = $business_hours;
698 return $this;
699 }
700 /**
701 * Gets business_email
702 * @return string
703 */
704 public function getBusinessEmail()
705 {
706 return $this->business_email;
707 }
708
709 /**
710 * Sets business_email
711 * @param string $business_email The email of the location.
712 * @return $this
713 */
714 public function setBusinessEmail($business_email)
715 {
716 $this->business_email = $business_email;
717 return $this;
718 }
719 /**
720 * Gets description
721 * @return string
722 */
723 public function getDescription()
724 {
725 return $this->description;
726 }
727
728 /**
729 * Sets description
730 * @param string $description The business description of the location.
731 * @return $this
732 */
733 public function setDescription($description)
734 {
735 $this->description = $description;
736 return $this;
737 }
738 /**
739 * Gets twitter_username
740 * @return string
741 */
742 public function getTwitterUsername()
743 {
744 return $this->twitter_username;
745 }
746
747 /**
748 * Sets twitter_username
749 * @param string $twitter_username The Twitter username of the location without the '
750 * @return $this
751 */
752 public function setTwitterUsername($twitter_username)
753 {
754 $this->twitter_username = $twitter_username;
755 return $this;
756 }
757 /**
758 * Gets instagram_username
759 * @return string
760 */
761 public function getInstagramUsername()
762 {
763 return $this->instagram_username;
764 }
765
766 /**
767 * Sets instagram_username
768 * @param string $instagram_username The Instagram username of the location without the '
769 * @return $this
770 */
771 public function setInstagramUsername($instagram_username)
772 {
773 $this->instagram_username = $instagram_username;
774 return $this;
775 }
776 /**
777 * Gets facebook_url
778 * @return string
779 */
780 public function getFacebookUrl()
781 {
782 return $this->facebook_url;
783 }
784
785 /**
786 * Sets facebook_url
787 * @param string $facebook_url The Facebook profile URL of the location. The URL should begin with 'facebook.com/'.
788 * @return $this
789 */
790 public function setFacebookUrl($facebook_url)
791 {
792 $this->facebook_url = $facebook_url;
793 return $this;
794 }
795 /**
796 * Gets coordinates
797 * @return \SquareConnect\Model\Coordinates
798 */
799 public function getCoordinates()
800 {
801 return $this->coordinates;
802 }
803
804 /**
805 * Sets coordinates
806 * @param \SquareConnect\Model\Coordinates $coordinates The physical coordinates (latitude and longitude) of the location.
807 * @return $this
808 */
809 public function setCoordinates($coordinates)
810 {
811 $this->coordinates = $coordinates;
812 return $this;
813 }
814 /**
815 * Gets logo_url
816 * @return string
817 */
818 public function getLogoUrl()
819 {
820 return $this->logo_url;
821 }
822
823 /**
824 * Sets logo_url
825 * @param string $logo_url The logo image URL of the location.
826 * @return $this
827 */
828 public function setLogoUrl($logo_url)
829 {
830 $this->logo_url = $logo_url;
831 return $this;
832 }
833 /**
834 * Gets pos_background_url
835 * @return string
836 */
837 public function getPosBackgroundUrl()
838 {
839 return $this->pos_background_url;
840 }
841
842 /**
843 * Sets pos_background_url
844 * @param string $pos_background_url The Point of Sale background image URL of the location.
845 * @return $this
846 */
847 public function setPosBackgroundUrl($pos_background_url)
848 {
849 $this->pos_background_url = $pos_background_url;
850 return $this;
851 }
852 /**
853 * Returns true if offset exists. False otherwise.
854 * @param integer $offset Offset
855 * @return boolean
856 */
857 public function offsetExists($offset)
858 {
859 return isset($this->$offset);
860 }
861
862 /**
863 * Gets offset.
864 * @param integer $offset Offset
865 * @return mixed
866 */
867 public function offsetGet($offset)
868 {
869 return $this->$offset;
870 }
871
872 /**
873 * Sets value based on offset.
874 * @param integer $offset Offset
875 * @param mixed $value Value to be set
876 * @return void
877 */
878 public function offsetSet($offset, $value)
879 {
880 $this->$offset = $value;
881 }
882
883 /**
884 * Unsets offset.
885 * @param integer $offset Offset
886 * @return void
887 */
888 public function offsetUnset($offset)
889 {
890 unset($this->$offset);
891 }
892
893 /**
894 * Gets the string presentation of the object
895 * @return string
896 */
897 public function __toString()
898 {
899 if (defined('JSON_PRETTY_PRINT')) {
900 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
901 } else {
902 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this));
903 }
904 }
905 }
906