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 / V1Merchant.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
V1Merchant.php
609 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 * V1Merchant 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 V1Merchant 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 'email' => 'string',
30 'account_type' => 'string',
31 'account_capabilities' => 'string[]',
32 'country_code' => 'string',
33 'language_code' => 'string',
34 'currency_code' => 'string',
35 'business_name' => 'string',
36 'business_address' => '\SquareConnect\Model\Address',
37 'business_phone' => '\SquareConnect\Model\V1PhoneNumber',
38 'business_type' => 'string',
39 'shipping_address' => '\SquareConnect\Model\Address',
40 'location_details' => '\SquareConnect\Model\V1MerchantLocationDetails',
41 'market_url' => 'string'
42 );
43
44 /**
45 * Array of attributes where the key is the local name, and the value is the original name
46 * @var string[]
47 */
48 static $attributeMap = array(
49 'id' => 'id',
50 'name' => 'name',
51 'email' => 'email',
52 'account_type' => 'account_type',
53 'account_capabilities' => 'account_capabilities',
54 'country_code' => 'country_code',
55 'language_code' => 'language_code',
56 'currency_code' => 'currency_code',
57 'business_name' => 'business_name',
58 'business_address' => 'business_address',
59 'business_phone' => 'business_phone',
60 'business_type' => 'business_type',
61 'shipping_address' => 'shipping_address',
62 'location_details' => 'location_details',
63 'market_url' => 'market_url'
64 );
65
66 /**
67 * Array of attributes to setter functions (for deserialization of responses)
68 * @var string[]
69 */
70 static $setters = array(
71 'id' => 'setId',
72 'name' => 'setName',
73 'email' => 'setEmail',
74 'account_type' => 'setAccountType',
75 'account_capabilities' => 'setAccountCapabilities',
76 'country_code' => 'setCountryCode',
77 'language_code' => 'setLanguageCode',
78 'currency_code' => 'setCurrencyCode',
79 'business_name' => 'setBusinessName',
80 'business_address' => 'setBusinessAddress',
81 'business_phone' => 'setBusinessPhone',
82 'business_type' => 'setBusinessType',
83 'shipping_address' => 'setShippingAddress',
84 'location_details' => 'setLocationDetails',
85 'market_url' => 'setMarketUrl'
86 );
87
88 /**
89 * Array of attributes to getter functions (for serialization of requests)
90 * @var string[]
91 */
92 static $getters = array(
93 'id' => 'getId',
94 'name' => 'getName',
95 'email' => 'getEmail',
96 'account_type' => 'getAccountType',
97 'account_capabilities' => 'getAccountCapabilities',
98 'country_code' => 'getCountryCode',
99 'language_code' => 'getLanguageCode',
100 'currency_code' => 'getCurrencyCode',
101 'business_name' => 'getBusinessName',
102 'business_address' => 'getBusinessAddress',
103 'business_phone' => 'getBusinessPhone',
104 'business_type' => 'getBusinessType',
105 'shipping_address' => 'getShippingAddress',
106 'location_details' => 'getLocationDetails',
107 'market_url' => 'getMarketUrl'
108 );
109
110 /**
111 * $id The merchant account's unique identifier.
112 * @var string
113 */
114 protected $id;
115 /**
116 * $name The name associated with the merchant account.
117 * @var string
118 */
119 protected $name;
120 /**
121 * $email The email address associated with the merchant account.
122 * @var string
123 */
124 protected $email;
125 /**
126 * $account_type Indicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION. See [V1MerchantAccountType](#type-v1merchantaccounttype) for possible values
127 * @var string
128 */
129 protected $account_type;
130 /**
131 * $account_capabilities Capabilities that are enabled for the merchant's Square account. Capabilities that are not listed in this array are not enabled for the account.
132 * @var string[]
133 */
134 protected $account_capabilities;
135 /**
136 * $country_code The country associated with the merchant account, in ISO 3166-1-alpha-2 format.
137 * @var string
138 */
139 protected $country_code;
140 /**
141 * $language_code The language associated with the merchant account, in BCP 47 format.
142 * @var string
143 */
144 protected $language_code;
145 /**
146 * $currency_code The currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD.
147 * @var string
148 */
149 protected $currency_code;
150 /**
151 * $business_name The name of the merchant's business.
152 * @var string
153 */
154 protected $business_name;
155 /**
156 * $business_address The address of the merchant's business.
157 * @var \SquareConnect\Model\Address
158 */
159 protected $business_address;
160 /**
161 * $business_phone The phone number of the merchant's business.
162 * @var \SquareConnect\Model\V1PhoneNumber
163 */
164 protected $business_phone;
165 /**
166 * $business_type The type of business operated by the merchant. See [V1MerchantBusinessType](#type-v1merchantbusinesstype) for possible values
167 * @var string
168 */
169 protected $business_type;
170 /**
171 * $shipping_address The merchant's shipping address.
172 * @var \SquareConnect\Model\Address
173 */
174 protected $shipping_address;
175 /**
176 * $location_details Additional information for a single-location account specified by its associated business account, if it has one.
177 * @var \SquareConnect\Model\V1MerchantLocationDetails
178 */
179 protected $location_details;
180 /**
181 * $market_url The URL of the merchant's online store.
182 * @var string
183 */
184 protected $market_url;
185
186 /**
187 * Constructor
188 * @param mixed[] $data Associated array of property value initializing the model
189 */
190 public function __construct(array $data = null)
191 {
192 if ($data != null) {
193 if (isset($data["id"])) {
194 $this->id = $data["id"];
195 } else {
196 $this->id = null;
197 }
198 if (isset($data["name"])) {
199 $this->name = $data["name"];
200 } else {
201 $this->name = null;
202 }
203 if (isset($data["email"])) {
204 $this->email = $data["email"];
205 } else {
206 $this->email = null;
207 }
208 if (isset($data["account_type"])) {
209 $this->account_type = $data["account_type"];
210 } else {
211 $this->account_type = null;
212 }
213 if (isset($data["account_capabilities"])) {
214 $this->account_capabilities = $data["account_capabilities"];
215 } else {
216 $this->account_capabilities = null;
217 }
218 if (isset($data["country_code"])) {
219 $this->country_code = $data["country_code"];
220 } else {
221 $this->country_code = null;
222 }
223 if (isset($data["language_code"])) {
224 $this->language_code = $data["language_code"];
225 } else {
226 $this->language_code = null;
227 }
228 if (isset($data["currency_code"])) {
229 $this->currency_code = $data["currency_code"];
230 } else {
231 $this->currency_code = null;
232 }
233 if (isset($data["business_name"])) {
234 $this->business_name = $data["business_name"];
235 } else {
236 $this->business_name = null;
237 }
238 if (isset($data["business_address"])) {
239 $this->business_address = $data["business_address"];
240 } else {
241 $this->business_address = null;
242 }
243 if (isset($data["business_phone"])) {
244 $this->business_phone = $data["business_phone"];
245 } else {
246 $this->business_phone = null;
247 }
248 if (isset($data["business_type"])) {
249 $this->business_type = $data["business_type"];
250 } else {
251 $this->business_type = null;
252 }
253 if (isset($data["shipping_address"])) {
254 $this->shipping_address = $data["shipping_address"];
255 } else {
256 $this->shipping_address = null;
257 }
258 if (isset($data["location_details"])) {
259 $this->location_details = $data["location_details"];
260 } else {
261 $this->location_details = null;
262 }
263 if (isset($data["market_url"])) {
264 $this->market_url = $data["market_url"];
265 } else {
266 $this->market_url = null;
267 }
268 }
269 }
270 /**
271 * Gets id
272 * @return string
273 */
274 public function getId()
275 {
276 return $this->id;
277 }
278
279 /**
280 * Sets id
281 * @param string $id The merchant account's unique identifier.
282 * @return $this
283 */
284 public function setId($id)
285 {
286 $this->id = $id;
287 return $this;
288 }
289 /**
290 * Gets name
291 * @return string
292 */
293 public function getName()
294 {
295 return $this->name;
296 }
297
298 /**
299 * Sets name
300 * @param string $name The name associated with the merchant account.
301 * @return $this
302 */
303 public function setName($name)
304 {
305 $this->name = $name;
306 return $this;
307 }
308 /**
309 * Gets email
310 * @return string
311 */
312 public function getEmail()
313 {
314 return $this->email;
315 }
316
317 /**
318 * Sets email
319 * @param string $email The email address associated with the merchant account.
320 * @return $this
321 */
322 public function setEmail($email)
323 {
324 $this->email = $email;
325 return $this;
326 }
327 /**
328 * Gets account_type
329 * @return string
330 */
331 public function getAccountType()
332 {
333 return $this->account_type;
334 }
335
336 /**
337 * Sets account_type
338 * @param string $account_type Indicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION. See [V1MerchantAccountType](#type-v1merchantaccounttype) for possible values
339 * @return $this
340 */
341 public function setAccountType($account_type)
342 {
343 $this->account_type = $account_type;
344 return $this;
345 }
346 /**
347 * Gets account_capabilities
348 * @return string[]
349 */
350 public function getAccountCapabilities()
351 {
352 return $this->account_capabilities;
353 }
354
355 /**
356 * Sets account_capabilities
357 * @param string[] $account_capabilities Capabilities that are enabled for the merchant's Square account. Capabilities that are not listed in this array are not enabled for the account.
358 * @return $this
359 */
360 public function setAccountCapabilities($account_capabilities)
361 {
362 $this->account_capabilities = $account_capabilities;
363 return $this;
364 }
365 /**
366 * Gets country_code
367 * @return string
368 */
369 public function getCountryCode()
370 {
371 return $this->country_code;
372 }
373
374 /**
375 * Sets country_code
376 * @param string $country_code The country associated with the merchant account, in ISO 3166-1-alpha-2 format.
377 * @return $this
378 */
379 public function setCountryCode($country_code)
380 {
381 $this->country_code = $country_code;
382 return $this;
383 }
384 /**
385 * Gets language_code
386 * @return string
387 */
388 public function getLanguageCode()
389 {
390 return $this->language_code;
391 }
392
393 /**
394 * Sets language_code
395 * @param string $language_code The language associated with the merchant account, in BCP 47 format.
396 * @return $this
397 */
398 public function setLanguageCode($language_code)
399 {
400 $this->language_code = $language_code;
401 return $this;
402 }
403 /**
404 * Gets currency_code
405 * @return string
406 */
407 public function getCurrencyCode()
408 {
409 return $this->currency_code;
410 }
411
412 /**
413 * Sets currency_code
414 * @param string $currency_code The currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD.
415 * @return $this
416 */
417 public function setCurrencyCode($currency_code)
418 {
419 $this->currency_code = $currency_code;
420 return $this;
421 }
422 /**
423 * Gets business_name
424 * @return string
425 */
426 public function getBusinessName()
427 {
428 return $this->business_name;
429 }
430
431 /**
432 * Sets business_name
433 * @param string $business_name The name of the merchant's business.
434 * @return $this
435 */
436 public function setBusinessName($business_name)
437 {
438 $this->business_name = $business_name;
439 return $this;
440 }
441 /**
442 * Gets business_address
443 * @return \SquareConnect\Model\Address
444 */
445 public function getBusinessAddress()
446 {
447 return $this->business_address;
448 }
449
450 /**
451 * Sets business_address
452 * @param \SquareConnect\Model\Address $business_address The address of the merchant's business.
453 * @return $this
454 */
455 public function setBusinessAddress($business_address)
456 {
457 $this->business_address = $business_address;
458 return $this;
459 }
460 /**
461 * Gets business_phone
462 * @return \SquareConnect\Model\V1PhoneNumber
463 */
464 public function getBusinessPhone()
465 {
466 return $this->business_phone;
467 }
468
469 /**
470 * Sets business_phone
471 * @param \SquareConnect\Model\V1PhoneNumber $business_phone The phone number of the merchant's business.
472 * @return $this
473 */
474 public function setBusinessPhone($business_phone)
475 {
476 $this->business_phone = $business_phone;
477 return $this;
478 }
479 /**
480 * Gets business_type
481 * @return string
482 */
483 public function getBusinessType()
484 {
485 return $this->business_type;
486 }
487
488 /**
489 * Sets business_type
490 * @param string $business_type The type of business operated by the merchant. See [V1MerchantBusinessType](#type-v1merchantbusinesstype) for possible values
491 * @return $this
492 */
493 public function setBusinessType($business_type)
494 {
495 $this->business_type = $business_type;
496 return $this;
497 }
498 /**
499 * Gets shipping_address
500 * @return \SquareConnect\Model\Address
501 */
502 public function getShippingAddress()
503 {
504 return $this->shipping_address;
505 }
506
507 /**
508 * Sets shipping_address
509 * @param \SquareConnect\Model\Address $shipping_address The merchant's shipping address.
510 * @return $this
511 */
512 public function setShippingAddress($shipping_address)
513 {
514 $this->shipping_address = $shipping_address;
515 return $this;
516 }
517 /**
518 * Gets location_details
519 * @return \SquareConnect\Model\V1MerchantLocationDetails
520 */
521 public function getLocationDetails()
522 {
523 return $this->location_details;
524 }
525
526 /**
527 * Sets location_details
528 * @param \SquareConnect\Model\V1MerchantLocationDetails $location_details Additional information for a single-location account specified by its associated business account, if it has one.
529 * @return $this
530 */
531 public function setLocationDetails($location_details)
532 {
533 $this->location_details = $location_details;
534 return $this;
535 }
536 /**
537 * Gets market_url
538 * @return string
539 */
540 public function getMarketUrl()
541 {
542 return $this->market_url;
543 }
544
545 /**
546 * Sets market_url
547 * @param string $market_url The URL of the merchant's online store.
548 * @return $this
549 */
550 public function setMarketUrl($market_url)
551 {
552 $this->market_url = $market_url;
553 return $this;
554 }
555 /**
556 * Returns true if offset exists. False otherwise.
557 * @param integer $offset Offset
558 * @return boolean
559 */
560 public function offsetExists($offset)
561 {
562 return isset($this->$offset);
563 }
564
565 /**
566 * Gets offset.
567 * @param integer $offset Offset
568 * @return mixed
569 */
570 public function offsetGet($offset)
571 {
572 return $this->$offset;
573 }
574
575 /**
576 * Sets value based on offset.
577 * @param integer $offset Offset
578 * @param mixed $value Value to be set
579 * @return void
580 */
581 public function offsetSet($offset, $value)
582 {
583 $this->$offset = $value;
584 }
585
586 /**
587 * Unsets offset.
588 * @param integer $offset Offset
589 * @return void
590 */
591 public function offsetUnset($offset)
592 {
593 unset($this->$offset);
594 }
595
596 /**
597 * Gets the string presentation of the object
598 * @return string
599 */
600 public function __toString()
601 {
602 if (defined('JSON_PRETTY_PRINT')) {
603 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
604 } else {
605 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this));
606 }
607 }
608 }
609