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 / CreateCustomerRequest.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
CreateCustomerRequest.php
477 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 * CreateCustomerRequest 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 CreateCustomerRequest implements ArrayAccess
21 {
22 /**
23 * Array of property to type mappings. Used for (de)serialization
24 * @var string[]
25 */
26 static $swaggerTypes = array(
27 'idempotency_key' => 'string',
28 'given_name' => 'string',
29 'family_name' => 'string',
30 'company_name' => 'string',
31 'nickname' => 'string',
32 'email_address' => 'string',
33 'address' => '\SquareConnect\Model\Address',
34 'phone_number' => 'string',
35 'reference_id' => 'string',
36 'note' => 'string',
37 'birthday' => 'string'
38 );
39
40 /**
41 * Array of attributes where the key is the local name, and the value is the original name
42 * @var string[]
43 */
44 static $attributeMap = array(
45 'idempotency_key' => 'idempotency_key',
46 'given_name' => 'given_name',
47 'family_name' => 'family_name',
48 'company_name' => 'company_name',
49 'nickname' => 'nickname',
50 'email_address' => 'email_address',
51 'address' => 'address',
52 'phone_number' => 'phone_number',
53 'reference_id' => 'reference_id',
54 'note' => 'note',
55 'birthday' => 'birthday'
56 );
57
58 /**
59 * Array of attributes to setter functions (for deserialization of responses)
60 * @var string[]
61 */
62 static $setters = array(
63 'idempotency_key' => 'setIdempotencyKey',
64 'given_name' => 'setGivenName',
65 'family_name' => 'setFamilyName',
66 'company_name' => 'setCompanyName',
67 'nickname' => 'setNickname',
68 'email_address' => 'setEmailAddress',
69 'address' => 'setAddress',
70 'phone_number' => 'setPhoneNumber',
71 'reference_id' => 'setReferenceId',
72 'note' => 'setNote',
73 'birthday' => 'setBirthday'
74 );
75
76 /**
77 * Array of attributes to getter functions (for serialization of requests)
78 * @var string[]
79 */
80 static $getters = array(
81 'idempotency_key' => 'getIdempotencyKey',
82 'given_name' => 'getGivenName',
83 'family_name' => 'getFamilyName',
84 'company_name' => 'getCompanyName',
85 'nickname' => 'getNickname',
86 'email_address' => 'getEmailAddress',
87 'address' => 'getAddress',
88 'phone_number' => 'getPhoneNumber',
89 'reference_id' => 'getReferenceId',
90 'note' => 'getNote',
91 'birthday' => 'getBirthday'
92 );
93
94 /**
95 * $idempotency_key The idempotency key for the request. See the [Idempotency](/basics/api101/idempotency) guide for more information.
96 * @var string
97 */
98 protected $idempotency_key;
99 /**
100 * $given_name The customer's given (i.e., first) name.
101 * @var string
102 */
103 protected $given_name;
104 /**
105 * $family_name The customer's family (i.e., last) name.
106 * @var string
107 */
108 protected $family_name;
109 /**
110 * $company_name The name of the customer's company.
111 * @var string
112 */
113 protected $company_name;
114 /**
115 * $nickname A nickname for the customer.
116 * @var string
117 */
118 protected $nickname;
119 /**
120 * $email_address The customer's email address.
121 * @var string
122 */
123 protected $email_address;
124 /**
125 * $address The customer's physical address.
126 * @var \SquareConnect\Model\Address
127 */
128 protected $address;
129 /**
130 * $phone_number The customer's phone number.
131 * @var string
132 */
133 protected $phone_number;
134 /**
135 * $reference_id An optional second ID you can set to associate the customer with an entity in another system.
136 * @var string
137 */
138 protected $reference_id;
139 /**
140 * $note An optional note to associate with the customer.
141 * @var string
142 */
143 protected $note;
144 /**
145 * $birthday The customer birthday in RFC-3339 format. Year is optional, timezone and times are not allowed. Example: `0000-09-01T00:00:00-00:00` for a birthday on September 1st. `1998-09-01T00:00:00-00:00` for a birthday on September 1st 1998.
146 * @var string
147 */
148 protected $birthday;
149
150 /**
151 * Constructor
152 * @param mixed[] $data Associated array of property value initializing the model
153 */
154 public function __construct(array $data = null)
155 {
156 if ($data != null) {
157 if (isset($data["idempotency_key"])) {
158 $this->idempotency_key = $data["idempotency_key"];
159 } else {
160 $this->idempotency_key = null;
161 }
162 if (isset($data["given_name"])) {
163 $this->given_name = $data["given_name"];
164 } else {
165 $this->given_name = null;
166 }
167 if (isset($data["family_name"])) {
168 $this->family_name = $data["family_name"];
169 } else {
170 $this->family_name = null;
171 }
172 if (isset($data["company_name"])) {
173 $this->company_name = $data["company_name"];
174 } else {
175 $this->company_name = null;
176 }
177 if (isset($data["nickname"])) {
178 $this->nickname = $data["nickname"];
179 } else {
180 $this->nickname = null;
181 }
182 if (isset($data["email_address"])) {
183 $this->email_address = $data["email_address"];
184 } else {
185 $this->email_address = null;
186 }
187 if (isset($data["address"])) {
188 $this->address = $data["address"];
189 } else {
190 $this->address = null;
191 }
192 if (isset($data["phone_number"])) {
193 $this->phone_number = $data["phone_number"];
194 } else {
195 $this->phone_number = null;
196 }
197 if (isset($data["reference_id"])) {
198 $this->reference_id = $data["reference_id"];
199 } else {
200 $this->reference_id = null;
201 }
202 if (isset($data["note"])) {
203 $this->note = $data["note"];
204 } else {
205 $this->note = null;
206 }
207 if (isset($data["birthday"])) {
208 $this->birthday = $data["birthday"];
209 } else {
210 $this->birthday = null;
211 }
212 }
213 }
214 /**
215 * Gets idempotency_key
216 * @return string
217 */
218 public function getIdempotencyKey()
219 {
220 return $this->idempotency_key;
221 }
222
223 /**
224 * Sets idempotency_key
225 * @param string $idempotency_key The idempotency key for the request. See the [Idempotency](/basics/api101/idempotency) guide for more information.
226 * @return $this
227 */
228 public function setIdempotencyKey($idempotency_key)
229 {
230 $this->idempotency_key = $idempotency_key;
231 return $this;
232 }
233 /**
234 * Gets given_name
235 * @return string
236 */
237 public function getGivenName()
238 {
239 return $this->given_name;
240 }
241
242 /**
243 * Sets given_name
244 * @param string $given_name The customer's given (i.e., first) name.
245 * @return $this
246 */
247 public function setGivenName($given_name)
248 {
249 $this->given_name = $given_name;
250 return $this;
251 }
252 /**
253 * Gets family_name
254 * @return string
255 */
256 public function getFamilyName()
257 {
258 return $this->family_name;
259 }
260
261 /**
262 * Sets family_name
263 * @param string $family_name The customer's family (i.e., last) name.
264 * @return $this
265 */
266 public function setFamilyName($family_name)
267 {
268 $this->family_name = $family_name;
269 return $this;
270 }
271 /**
272 * Gets company_name
273 * @return string
274 */
275 public function getCompanyName()
276 {
277 return $this->company_name;
278 }
279
280 /**
281 * Sets company_name
282 * @param string $company_name The name of the customer's company.
283 * @return $this
284 */
285 public function setCompanyName($company_name)
286 {
287 $this->company_name = $company_name;
288 return $this;
289 }
290 /**
291 * Gets nickname
292 * @return string
293 */
294 public function getNickname()
295 {
296 return $this->nickname;
297 }
298
299 /**
300 * Sets nickname
301 * @param string $nickname A nickname for the customer.
302 * @return $this
303 */
304 public function setNickname($nickname)
305 {
306 $this->nickname = $nickname;
307 return $this;
308 }
309 /**
310 * Gets email_address
311 * @return string
312 */
313 public function getEmailAddress()
314 {
315 return $this->email_address;
316 }
317
318 /**
319 * Sets email_address
320 * @param string $email_address The customer's email address.
321 * @return $this
322 */
323 public function setEmailAddress($email_address)
324 {
325 $this->email_address = $email_address;
326 return $this;
327 }
328 /**
329 * Gets address
330 * @return \SquareConnect\Model\Address
331 */
332 public function getAddress()
333 {
334 return $this->address;
335 }
336
337 /**
338 * Sets address
339 * @param \SquareConnect\Model\Address $address The customer's physical address.
340 * @return $this
341 */
342 public function setAddress($address)
343 {
344 $this->address = $address;
345 return $this;
346 }
347 /**
348 * Gets phone_number
349 * @return string
350 */
351 public function getPhoneNumber()
352 {
353 return $this->phone_number;
354 }
355
356 /**
357 * Sets phone_number
358 * @param string $phone_number The customer's phone number.
359 * @return $this
360 */
361 public function setPhoneNumber($phone_number)
362 {
363 $this->phone_number = $phone_number;
364 return $this;
365 }
366 /**
367 * Gets reference_id
368 * @return string
369 */
370 public function getReferenceId()
371 {
372 return $this->reference_id;
373 }
374
375 /**
376 * Sets reference_id
377 * @param string $reference_id An optional second ID you can set to associate the customer with an entity in another system.
378 * @return $this
379 */
380 public function setReferenceId($reference_id)
381 {
382 $this->reference_id = $reference_id;
383 return $this;
384 }
385 /**
386 * Gets note
387 * @return string
388 */
389 public function getNote()
390 {
391 return $this->note;
392 }
393
394 /**
395 * Sets note
396 * @param string $note An optional note to associate with the customer.
397 * @return $this
398 */
399 public function setNote($note)
400 {
401 $this->note = $note;
402 return $this;
403 }
404 /**
405 * Gets birthday
406 * @return string
407 */
408 public function getBirthday()
409 {
410 return $this->birthday;
411 }
412
413 /**
414 * Sets birthday
415 * @param string $birthday The customer birthday in RFC-3339 format. Year is optional, timezone and times are not allowed. Example: `0000-09-01T00:00:00-00:00` for a birthday on September 1st. `1998-09-01T00:00:00-00:00` for a birthday on September 1st 1998.
416 * @return $this
417 */
418 public function setBirthday($birthday)
419 {
420 $this->birthday = $birthday;
421 return $this;
422 }
423 /**
424 * Returns true if offset exists. False otherwise.
425 * @param integer $offset Offset
426 * @return boolean
427 */
428 public function offsetExists($offset)
429 {
430 return isset($this->$offset);
431 }
432
433 /**
434 * Gets offset.
435 * @param integer $offset Offset
436 * @return mixed
437 */
438 public function offsetGet($offset)
439 {
440 return $this->$offset;
441 }
442
443 /**
444 * Sets value based on offset.
445 * @param integer $offset Offset
446 * @param mixed $value Value to be set
447 * @return void
448 */
449 public function offsetSet($offset, $value)
450 {
451 $this->$offset = $value;
452 }
453
454 /**
455 * Unsets offset.
456 * @param integer $offset Offset
457 * @return void
458 */
459 public function offsetUnset($offset)
460 {
461 unset($this->$offset);
462 }
463
464 /**
465 * Gets the string presentation of the object
466 * @return string
467 */
468 public function __toString()
469 {
470 if (defined('JSON_PRETTY_PRINT')) {
471 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
472 } else {
473 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this));
474 }
475 }
476 }
477