From c1fd135495ece19dd781139dcaba0621d3082c63 Mon Sep 17 00:00:00 2001 From: autobot Date: Wed, 17 Jul 2024 13:37:43 +0000 Subject: [PATCH] Generated PR for Release: 37.1.1 --- Square.Tests/ApiTestBase.cs | 26 +++--- Square.Tests/Properties/AssemblyInfo.cs | 38 ++++---- Square.Tests/Square.Tests.csproj | 14 +-- Square.Tests/Utilities/WebhooksHelperTest.cs | 12 +++ Square.sln | 20 ++--- Square/Apis/ApplePayApi.cs | 36 ++++---- Square/Apis/BankAccountsApi.cs | 22 ++--- Square/Apis/BaseApi.cs | 10 +-- Square/Apis/BookingCustomAttributesApi.cs | 22 ++--- Square/Apis/BookingsApi.cs | 22 ++--- Square/Apis/CardsApi.cs | 22 ++--- Square/Apis/CashDrawersApi.cs | 22 ++--- Square/Apis/CatalogApi.cs | 22 ++--- Square/Apis/CheckoutApi.cs | 22 ++--- Square/Apis/CustomerCustomAttributesApi.cs | 22 ++--- Square/Apis/CustomerGroupsApi.cs | 22 ++--- Square/Apis/CustomerSegmentsApi.cs | 22 ++--- Square/Apis/CustomersApi.cs | 22 ++--- Square/Apis/DevicesApi.cs | 22 ++--- Square/Apis/DisputesApi.cs | 22 ++--- Square/Apis/EmployeesApi.cs | 22 ++--- Square/Apis/EventsApi.cs | 22 ++--- Square/Apis/GiftCardActivitiesApi.cs | 22 ++--- Square/Apis/GiftCardsApi.cs | 22 ++--- Square/Apis/IApplePayApi.cs | 14 ++- Square/Apis/IInvoicesApi.cs | 16 ++-- Square/Apis/InventoryApi.cs | 22 ++--- Square/Apis/InvoicesApi.cs | 38 ++++---- Square/Apis/LaborApi.cs | 22 ++--- Square/Apis/LocationCustomAttributesApi.cs | 22 ++--- Square/Apis/LocationsApi.cs | 22 ++--- Square/Apis/LoyaltyApi.cs | 22 ++--- Square/Apis/MerchantCustomAttributesApi.cs | 22 ++--- Square/Apis/MerchantsApi.cs | 22 ++--- Square/Apis/MobileAuthorizationApi.cs | 22 ++--- Square/Apis/OAuthApi.cs | 22 ++--- Square/Apis/OrderCustomAttributesApi.cs | 22 ++--- Square/Apis/OrdersApi.cs | 22 ++--- Square/Apis/PaymentsApi.cs | 22 ++--- Square/Apis/PayoutsApi.cs | 22 ++--- Square/Apis/RefundsApi.cs | 22 ++--- Square/Apis/SitesApi.cs | 22 ++--- Square/Apis/SnippetsApi.cs | 22 ++--- Square/Apis/SubscriptionsApi.cs | 22 ++--- Square/Apis/TeamApi.cs | 22 ++--- Square/Apis/TerminalApi.cs | 22 ++--- Square/Apis/TransactionsApi.cs | 22 ++--- Square/Apis/V1TransactionsApi.cs | 22 ++--- Square/Apis/VendorsApi.cs | 22 ++--- Square/Apis/WebhookSubscriptionsApi.cs | 22 ++--- Square/Http/Client/FileStreamInfo.cs | 38 ++++---- Square/Http/Client/HttpContext.cs | 34 +++---- Square/Http/Response/HttpResponse.cs | 36 ++++---- Square/Http/Response/HttpStringResponse.cs | 56 ++++++------ Square/Models/ACHDetails.cs | 26 +++--- Square/Models/AcceptDisputeResponse.cs | 26 +++--- Square/Models/AcceptedPaymentMethods.cs | 26 +++--- .../Models/AccumulateLoyaltyPointsRequest.cs | 26 +++--- .../Models/AccumulateLoyaltyPointsResponse.cs | 26 +++--- Square/Models/AddGroupToCustomerResponse.cs | 26 +++--- Square/Models/AdditionalRecipient.cs | 26 +++--- Square/Models/Address.cs | 26 +++--- Square/Models/AdjustLoyaltyPointsRequest.cs | 26 +++--- Square/Models/AdjustLoyaltyPointsResponse.cs | 26 +++--- Square/Models/AfterpayDetails.cs | 26 +++--- Square/Models/ApplicationDetails.cs | 26 +++--- Square/Models/AppointmentSegment.cs | 26 +++--- Square/Models/Availability.cs | 26 +++--- Square/Models/BankAccount.cs | 26 +++--- Square/Models/BankAccountPaymentDetails.cs | 26 +++--- Square/Models/BatchChangeInventoryRequest.cs | 26 +++--- Square/Models/BatchChangeInventoryResponse.cs | 26 +++--- .../BatchDeleteCatalogObjectsRequest.cs | 26 +++--- .../BatchDeleteCatalogObjectsResponse.cs | 26 +++--- .../BatchRetrieveCatalogObjectsRequest.cs | 26 +++--- .../BatchRetrieveCatalogObjectsResponse.cs | 26 +++--- .../BatchRetrieveInventoryChangesRequest.cs | 26 +++--- .../BatchRetrieveInventoryChangesResponse.cs | 26 +++--- .../BatchRetrieveInventoryCountsRequest.cs | 26 +++--- .../BatchRetrieveInventoryCountsResponse.cs | 26 +++--- Square/Models/BatchRetrieveOrdersRequest.cs | 26 +++--- Square/Models/BatchRetrieveOrdersResponse.cs | 26 +++--- .../BatchUpsertCatalogObjectsRequest.cs | 26 +++--- .../BatchUpsertCatalogObjectsResponse.cs | 26 +++--- Square/Models/Booking.cs | 26 +++--- Square/Models/BookingCreatorDetails.cs | 26 +++--- .../BookingCustomAttributeDeleteRequest.cs | 26 +++--- .../BookingCustomAttributeDeleteResponse.cs | 26 +++--- .../BookingCustomAttributeUpsertRequest.cs | 26 +++--- .../BookingCustomAttributeUpsertResponse.cs | 26 +++--- Square/Models/Break.cs | 26 +++--- Square/Models/BreakType.cs | 26 +++--- Square/Models/BulkCreateCustomerData.cs | 26 +++--- Square/Models/BulkCreateCustomersRequest.cs | 26 +++--- Square/Models/BulkCreateCustomersResponse.cs | 26 +++--- Square/Models/BulkCreateTeamMembersRequest.cs | 26 +++--- .../Models/BulkCreateTeamMembersResponse.cs | 26 +++--- Square/Models/BulkCreateVendorsRequest.cs | 26 +++--- Square/Models/BulkCreateVendorsResponse.cs | 26 +++--- ...ulkDeleteBookingCustomAttributesRequest.cs | 26 +++--- ...lkDeleteBookingCustomAttributesResponse.cs | 26 +++--- Square/Models/BulkDeleteCustomersRequest.cs | 26 +++--- Square/Models/BulkDeleteCustomersResponse.cs | 26 +++--- ...lkDeleteLocationCustomAttributesRequest.cs | 26 +++--- ...estLocationCustomAttributeDeleteRequest.cs | 26 +++--- ...kDeleteLocationCustomAttributesResponse.cs | 26 +++--- ...seLocationCustomAttributeDeleteResponse.cs | 26 +++--- ...lkDeleteMerchantCustomAttributesRequest.cs | 26 +++--- ...estMerchantCustomAttributeDeleteRequest.cs | 26 +++--- ...kDeleteMerchantCustomAttributesResponse.cs | 26 +++--- ...seMerchantCustomAttributeDeleteResponse.cs | 26 +++--- .../BulkDeleteOrderCustomAttributesRequest.cs | 26 +++--- ...mAttributesRequestDeleteCustomAttribute.cs | 26 +++--- ...BulkDeleteOrderCustomAttributesResponse.cs | 26 +++--- Square/Models/BulkRetrieveBookingsRequest.cs | 26 +++--- Square/Models/BulkRetrieveBookingsResponse.cs | 26 +++--- Square/Models/BulkRetrieveCustomersRequest.cs | 26 +++--- .../Models/BulkRetrieveCustomersResponse.cs | 26 +++--- ...etrieveTeamMemberBookingProfilesRequest.cs | 26 +++--- ...trieveTeamMemberBookingProfilesResponse.cs | 26 +++--- Square/Models/BulkRetrieveVendorsRequest.cs | 26 +++--- Square/Models/BulkRetrieveVendorsResponse.cs | 26 +++--- Square/Models/BulkSwapPlanRequest.cs | 26 +++--- Square/Models/BulkSwapPlanResponse.cs | 26 +++--- Square/Models/BulkUpdateCustomerData.cs | 26 +++--- Square/Models/BulkUpdateCustomersRequest.cs | 26 +++--- Square/Models/BulkUpdateCustomersResponse.cs | 26 +++--- Square/Models/BulkUpdateTeamMembersRequest.cs | 26 +++--- .../Models/BulkUpdateTeamMembersResponse.cs | 26 +++--- Square/Models/BulkUpdateVendorsRequest.cs | 26 +++--- Square/Models/BulkUpdateVendorsResponse.cs | 26 +++--- ...ulkUpsertBookingCustomAttributesRequest.cs | 26 +++--- ...lkUpsertBookingCustomAttributesResponse.cs | 26 +++--- ...lkUpsertCustomerCustomAttributesRequest.cs | 26 +++--- ...estCustomerCustomAttributeUpsertRequest.cs | 26 +++--- ...kUpsertCustomerCustomAttributesResponse.cs | 26 +++--- ...seCustomerCustomAttributeUpsertResponse.cs | 26 +++--- ...lkUpsertLocationCustomAttributesRequest.cs | 26 +++--- ...estLocationCustomAttributeUpsertRequest.cs | 26 +++--- ...kUpsertLocationCustomAttributesResponse.cs | 26 +++--- ...seLocationCustomAttributeUpsertResponse.cs | 26 +++--- ...lkUpsertMerchantCustomAttributesRequest.cs | 26 +++--- ...estMerchantCustomAttributeUpsertRequest.cs | 26 +++--- ...kUpsertMerchantCustomAttributesResponse.cs | 26 +++--- ...seMerchantCustomAttributeUpsertResponse.cs | 26 +++--- .../BulkUpsertOrderCustomAttributesRequest.cs | 26 +++--- ...mAttributesRequestUpsertCustomAttribute.cs | 26 +++--- ...BulkUpsertOrderCustomAttributesResponse.cs | 26 +++--- Square/Models/BusinessAppointmentSettings.cs | 26 +++--- Square/Models/BusinessBookingProfile.cs | 26 +++--- Square/Models/BusinessHours.cs | 26 +++--- Square/Models/BusinessHoursPeriod.cs | 26 +++--- Square/Models/BuyNowPayLaterDetails.cs | 26 +++--- .../Models/CalculateLoyaltyPointsRequest.cs | 26 +++--- .../Models/CalculateLoyaltyPointsResponse.cs | 26 +++--- Square/Models/CalculateOrderRequest.cs | 26 +++--- Square/Models/CalculateOrderResponse.cs | 26 +++--- Square/Models/CancelBookingRequest.cs | 26 +++--- Square/Models/CancelBookingResponse.cs | 26 +++--- Square/Models/CancelInvoiceRequest.cs | 26 +++--- Square/Models/CancelInvoiceResponse.cs | 26 +++--- .../Models/CancelLoyaltyPromotionResponse.cs | 26 +++--- .../CancelPaymentByIdempotencyKeyRequest.cs | 26 +++--- .../CancelPaymentByIdempotencyKeyResponse.cs | 26 +++--- Square/Models/CancelPaymentResponse.cs | 26 +++--- Square/Models/CancelSubscriptionResponse.cs | 26 +++--- Square/Models/CancelTerminalActionResponse.cs | 26 +++--- .../Models/CancelTerminalCheckoutResponse.cs | 26 +++--- Square/Models/CancelTerminalRefundResponse.cs | 26 +++--- Square/Models/CaptureTransactionResponse.cs | 26 +++--- Square/Models/Card.cs | 26 +++--- Square/Models/CardPaymentDetails.cs | 26 +++--- Square/Models/CardPaymentTimeline.cs | 26 +++--- Square/Models/CashAppDetails.cs | 26 +++--- Square/Models/CashDrawerDevice.cs | 26 +++--- Square/Models/CashDrawerShift.cs | 26 +++--- Square/Models/CashDrawerShiftEvent.cs | 26 +++--- Square/Models/CashDrawerShiftSummary.cs | 26 +++--- Square/Models/CashPaymentDetails.cs | 26 +++--- Square/Models/CatalogAvailabilityPeriod.cs | 26 +++--- Square/Models/CatalogCategory.cs | 26 +++--- .../CatalogCustomAttributeDefinition.cs | 26 +++--- ...ogCustomAttributeDefinitionNumberConfig.cs | 26 +++--- ...ustomAttributeDefinitionSelectionConfig.cs | 26 +++--- ...SelectionConfigCustomAttributeSelection.cs | 26 +++--- ...ogCustomAttributeDefinitionStringConfig.cs | 26 +++--- Square/Models/CatalogCustomAttributeValue.cs | 26 +++--- Square/Models/CatalogDiscount.cs | 26 +++--- Square/Models/CatalogEcomSeoData.cs | 26 +++--- Square/Models/CatalogIdMapping.cs | 26 +++--- Square/Models/CatalogImage.cs | 26 +++--- Square/Models/CatalogInfoResponse.cs | 26 +++--- Square/Models/CatalogInfoResponseLimits.cs | 26 +++--- Square/Models/CatalogItem.cs | 26 +++--- .../CatalogItemFoodAndBeverageDetails.cs | 26 +++--- ...FoodAndBeverageDetailsDietaryPreference.cs | 26 +++--- ...logItemFoodAndBeverageDetailsIngredient.cs | 26 +++--- Square/Models/CatalogItemModifierListInfo.cs | 26 +++--- Square/Models/CatalogItemOption.cs | 26 +++--- Square/Models/CatalogItemOptionForItem.cs | 26 +++--- Square/Models/CatalogItemOptionValue.cs | 26 +++--- .../CatalogItemOptionValueForItemVariation.cs | 26 +++--- Square/Models/CatalogItemVariation.cs | 26 +++--- Square/Models/CatalogMeasurementUnit.cs | 26 +++--- Square/Models/CatalogModifier.cs | 26 +++--- Square/Models/CatalogModifierList.cs | 26 +++--- Square/Models/CatalogModifierOverride.cs | 26 +++--- Square/Models/CatalogObject.cs | 26 +++--- Square/Models/CatalogObjectBatch.cs | 26 +++--- Square/Models/CatalogObjectCategory.cs | 26 +++--- Square/Models/CatalogObjectReference.cs | 26 +++--- Square/Models/CatalogPricingRule.cs | 26 +++--- Square/Models/CatalogProductSet.cs | 26 +++--- Square/Models/CatalogQuery.cs | 26 +++--- Square/Models/CatalogQueryExact.cs | 26 +++--- ...gQueryItemVariationsForItemOptionValues.cs | 26 +++--- .../Models/CatalogQueryItemsForItemOptions.cs | 26 +++--- .../CatalogQueryItemsForModifierList.cs | 26 +++--- Square/Models/CatalogQueryItemsForTax.cs | 26 +++--- Square/Models/CatalogQueryPrefix.cs | 26 +++--- Square/Models/CatalogQueryRange.cs | 26 +++--- Square/Models/CatalogQuerySet.cs | 26 +++--- Square/Models/CatalogQuerySortedAttribute.cs | 26 +++--- Square/Models/CatalogQueryText.cs | 26 +++--- Square/Models/CatalogQuickAmount.cs | 26 +++--- Square/Models/CatalogQuickAmountsSettings.cs | 26 +++--- Square/Models/CatalogStockConversion.cs | 26 +++--- Square/Models/CatalogSubscriptionPlan.cs | 26 +++--- .../CatalogSubscriptionPlanVariation.cs | 26 +++--- Square/Models/CatalogTax.cs | 26 +++--- Square/Models/CatalogTimePeriod.cs | 26 +++--- Square/Models/CatalogV1Id.cs | 26 +++--- Square/Models/CategoryPathToRootNode.cs | 26 +++--- .../Models/ChangeBillingAnchorDateRequest.cs | 26 +++--- .../Models/ChangeBillingAnchorDateResponse.cs | 26 +++--- Square/Models/ChargeRequest.cs | 26 +++--- .../ChargeRequestAdditionalRecipient.cs | 26 +++--- Square/Models/ChargeResponse.cs | 26 +++--- Square/Models/Checkout.cs | 26 +++--- Square/Models/CheckoutLocationSettings.cs | 26 +++--- .../CheckoutLocationSettingsBranding.cs | 26 +++--- .../Models/CheckoutLocationSettingsCoupons.cs | 26 +++--- .../Models/CheckoutLocationSettingsPolicy.cs | 26 +++--- .../Models/CheckoutLocationSettingsTipping.cs | 26 +++--- Square/Models/CheckoutMerchantSettings.cs | 26 +++--- .../CheckoutMerchantSettingsPaymentMethods.cs | 26 +++--- ...tSettingsPaymentMethodsAfterpayClearpay.cs | 26 +++--- ...MethodsAfterpayClearpayEligibilityRange.cs | 26 +++--- ...hantSettingsPaymentMethodsPaymentMethod.cs | 26 +++--- Square/Models/CheckoutOptions.cs | 26 +++--- Square/Models/ClearpayDetails.cs | 26 +++--- Square/Models/CloneOrderRequest.cs | 26 +++--- Square/Models/CloneOrderResponse.cs | 26 +++--- Square/Models/CollectedData.cs | 26 +++--- Square/Models/CompletePaymentRequest.cs | 26 +++--- Square/Models/CompletePaymentResponse.cs | 26 +++--- Square/Models/Component.cs | 26 +++--- Square/Models/ConfirmationDecision.cs | 26 +++--- Square/Models/ConfirmationOptions.cs | 26 +++--- Square/Models/Coordinates.cs | 26 +++--- ...BookingCustomAttributeDefinitionRequest.cs | 26 +++--- ...ookingCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/CreateBookingRequest.cs | 26 +++--- Square/Models/CreateBookingResponse.cs | 26 +++--- Square/Models/CreateBreakTypeRequest.cs | 26 +++--- Square/Models/CreateBreakTypeResponse.cs | 26 +++--- Square/Models/CreateCardRequest.cs | 26 +++--- Square/Models/CreateCardResponse.cs | 26 +++--- Square/Models/CreateCatalogImageRequest.cs | 26 +++--- Square/Models/CreateCatalogImageResponse.cs | 26 +++--- Square/Models/CreateCheckoutRequest.cs | 26 +++--- Square/Models/CreateCheckoutResponse.cs | 26 +++--- Square/Models/CreateCustomerCardRequest.cs | 26 +++--- Square/Models/CreateCustomerCardResponse.cs | 26 +++--- ...ustomerCustomAttributeDefinitionRequest.cs | 26 +++--- ...stomerCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/CreateCustomerGroupRequest.cs | 26 +++--- Square/Models/CreateCustomerGroupResponse.cs | 26 +++--- Square/Models/CreateCustomerRequest.cs | 26 +++--- Square/Models/CreateCustomerResponse.cs | 26 +++--- Square/Models/CreateDeviceCodeRequest.cs | 26 +++--- Square/Models/CreateDeviceCodeResponse.cs | 26 +++--- .../CreateDisputeEvidenceFileRequest.cs | 26 +++--- .../CreateDisputeEvidenceFileResponse.cs | 26 +++--- .../CreateDisputeEvidenceTextRequest.cs | 26 +++--- .../CreateDisputeEvidenceTextResponse.cs | 26 +++--- .../Models/CreateGiftCardActivityRequest.cs | 26 +++--- .../Models/CreateGiftCardActivityResponse.cs | 26 +++--- Square/Models/CreateGiftCardRequest.cs | 26 +++--- Square/Models/CreateGiftCardResponse.cs | 26 +++--- .../Models/CreateInvoiceAttachmentRequest.cs | 26 +++--- .../Models/CreateInvoiceAttachmentResponse.cs | 26 +++--- Square/Models/CreateInvoiceRequest.cs | 26 +++--- Square/Models/CreateInvoiceResponse.cs | 26 +++--- ...ocationCustomAttributeDefinitionRequest.cs | 26 +++--- ...cationCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/CreateLocationRequest.cs | 26 +++--- Square/Models/CreateLocationResponse.cs | 26 +++--- Square/Models/CreateLoyaltyAccountRequest.cs | 26 +++--- Square/Models/CreateLoyaltyAccountResponse.cs | 26 +++--- .../Models/CreateLoyaltyPromotionRequest.cs | 26 +++--- .../Models/CreateLoyaltyPromotionResponse.cs | 26 +++--- Square/Models/CreateLoyaltyRewardRequest.cs | 26 +++--- Square/Models/CreateLoyaltyRewardResponse.cs | 26 +++--- ...erchantCustomAttributeDefinitionRequest.cs | 26 +++--- ...rchantCustomAttributeDefinitionResponse.cs | 26 +++--- .../CreateMobileAuthorizationCodeRequest.cs | 26 +++--- .../CreateMobileAuthorizationCodeResponse.cs | 26 +++--- ...teOrderCustomAttributeDefinitionRequest.cs | 26 +++--- ...eOrderCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/CreateOrderRequest.cs | 26 +++--- Square/Models/CreateOrderResponse.cs | 26 +++--- Square/Models/CreatePaymentLinkRequest.cs | 26 +++--- Square/Models/CreatePaymentLinkResponse.cs | 26 +++--- Square/Models/CreatePaymentRequest.cs | 26 +++--- Square/Models/CreatePaymentResponse.cs | 26 +++--- Square/Models/CreateRefundRequest.cs | 26 +++--- Square/Models/CreateRefundResponse.cs | 26 +++--- Square/Models/CreateShiftRequest.cs | 26 +++--- Square/Models/CreateShiftResponse.cs | 26 +++--- Square/Models/CreateSubscriptionRequest.cs | 26 +++--- Square/Models/CreateSubscriptionResponse.cs | 26 +++--- Square/Models/CreateTeamMemberRequest.cs | 26 +++--- Square/Models/CreateTeamMemberResponse.cs | 26 +++--- Square/Models/CreateTerminalActionRequest.cs | 26 +++--- Square/Models/CreateTerminalActionResponse.cs | 26 +++--- .../Models/CreateTerminalCheckoutRequest.cs | 26 +++--- .../Models/CreateTerminalCheckoutResponse.cs | 26 +++--- Square/Models/CreateTerminalRefundRequest.cs | 26 +++--- Square/Models/CreateTerminalRefundResponse.cs | 26 +++--- Square/Models/CreateVendorRequest.cs | 26 +++--- Square/Models/CreateVendorResponse.cs | 26 +++--- .../CreateWebhookSubscriptionRequest.cs | 26 +++--- .../CreateWebhookSubscriptionResponse.cs | 26 +++--- Square/Models/CustomAttribute.cs | 26 +++--- Square/Models/CustomAttributeDefinition.cs | 26 +++--- Square/Models/CustomAttributeFilter.cs | 26 +++--- Square/Models/CustomField.cs | 26 +++--- Square/Models/Customer.cs | 26 +++--- Square/Models/CustomerAddressFilter.cs | 26 +++--- Square/Models/CustomerCreationSourceFilter.cs | 26 +++--- .../Models/CustomerCustomAttributeFilter.cs | 26 +++--- .../CustomerCustomAttributeFilterValue.cs | 26 +++--- .../Models/CustomerCustomAttributeFilters.cs | 26 +++--- Square/Models/CustomerDetails.cs | 26 +++--- Square/Models/CustomerFilter.cs | 26 +++--- Square/Models/CustomerGroup.cs | 26 +++--- Square/Models/CustomerPreferences.cs | 26 +++--- Square/Models/CustomerQuery.cs | 26 +++--- Square/Models/CustomerSegment.cs | 26 +++--- Square/Models/CustomerSort.cs | 26 +++--- Square/Models/CustomerTaxIds.cs | 26 +++--- Square/Models/CustomerTextFilter.cs | 26 +++--- Square/Models/DataCollectionOptions.cs | 26 +++--- Square/Models/DateRange.cs | 26 +++--- ...ookingCustomAttributeDefinitionResponse.cs | 26 +++--- .../DeleteBookingCustomAttributeResponse.cs | 26 +++--- Square/Models/DeleteBreakTypeResponse.cs | 26 +++--- Square/Models/DeleteCatalogObjectResponse.cs | 26 +++--- Square/Models/DeleteCustomerCardResponse.cs | 26 +++--- ...stomerCustomAttributeDefinitionResponse.cs | 26 +++--- .../DeleteCustomerCustomAttributeResponse.cs | 26 +++--- Square/Models/DeleteCustomerGroupResponse.cs | 26 +++--- Square/Models/DeleteCustomerRequest.cs | 26 +++--- Square/Models/DeleteCustomerResponse.cs | 26 +++--- .../Models/DeleteDisputeEvidenceResponse.cs | 26 +++--- .../Models/DeleteInvoiceAttachmentResponse.cs | 26 +++--- Square/Models/DeleteInvoiceRequest.cs | 26 +++--- Square/Models/DeleteInvoiceResponse.cs | 26 +++--- ...cationCustomAttributeDefinitionResponse.cs | 26 +++--- .../DeleteLocationCustomAttributeResponse.cs | 26 +++--- Square/Models/DeleteLoyaltyRewardResponse.cs | 26 +++--- ...rchantCustomAttributeDefinitionResponse.cs | 26 +++--- .../DeleteMerchantCustomAttributeResponse.cs | 26 +++--- ...eOrderCustomAttributeDefinitionResponse.cs | 26 +++--- .../DeleteOrderCustomAttributeResponse.cs | 26 +++--- Square/Models/DeletePaymentLinkResponse.cs | 26 +++--- Square/Models/DeleteShiftResponse.cs | 26 +++--- Square/Models/DeleteSnippetResponse.cs | 26 +++--- .../DeleteSubscriptionActionResponse.cs | 26 +++--- .../DeleteWebhookSubscriptionResponse.cs | 26 +++--- ...recatedCreateDisputeEvidenceFileRequest.cs | 26 +++--- ...ecatedCreateDisputeEvidenceFileResponse.cs | 26 +++--- ...recatedCreateDisputeEvidenceTextRequest.cs | 26 +++--- ...ecatedCreateDisputeEvidenceTextResponse.cs | 26 +++--- Square/Models/Destination.cs | 26 +++--- Square/Models/DestinationDetails.cs | 26 +++--- .../DestinationDetailsCardRefundDetails.cs | 26 +++--- Square/Models/Device.cs | 26 +++--- Square/Models/DeviceAttributes.cs | 26 +++--- Square/Models/DeviceCheckoutOptions.cs | 26 +++--- Square/Models/DeviceCode.cs | 26 +++--- ...eviceComponentDetailsApplicationDetails.cs | 26 +++--- .../DeviceComponentDetailsBatteryDetails.cs | 26 +++--- ...DeviceComponentDetailsCardReaderDetails.cs | 26 +++--- .../DeviceComponentDetailsEthernetDetails.cs | 26 +++--- .../DeviceComponentDetailsMeasurement.cs | 26 +++--- ...ComponentDetailsNetworkInterfaceDetails.cs | 26 +++--- .../DeviceComponentDetailsWiFiDetails.cs | 26 +++--- Square/Models/DeviceDetails.cs | 26 +++--- Square/Models/DeviceMetadata.cs | 26 +++--- Square/Models/DeviceStatus.cs | 26 +++--- Square/Models/DigitalWalletDetails.cs | 26 +++--- Square/Models/DisableCardResponse.cs | 26 +++--- Square/Models/DisableEventsResponse.cs | 26 +++--- .../Models/DismissTerminalActionResponse.cs | 26 +++--- .../Models/DismissTerminalCheckoutResponse.cs | 26 +++--- .../Models/DismissTerminalRefundResponse.cs | 26 +++--- Square/Models/Dispute.cs | 26 +++--- Square/Models/DisputeEvidence.cs | 26 +++--- Square/Models/DisputeEvidenceFile.cs | 26 +++--- Square/Models/DisputedPayment.cs | 26 +++--- Square/Models/Employee.cs | 26 +++--- Square/Models/EmployeeWage.cs | 26 +++--- Square/Models/EnableEventsResponse.cs | 26 +++--- Square/Models/Error.cs | 26 +++--- Square/Models/Event.cs | 26 +++--- Square/Models/EventData.cs | 26 +++--- Square/Models/EventMetadata.cs | 26 +++--- Square/Models/EventTypeMetadata.cs | 26 +++--- Square/Models/ExternalPaymentDetails.cs | 26 +++--- Square/Models/FilterValue.cs | 26 +++--- Square/Models/FloatNumberRange.cs | 26 +++--- Square/Models/Fulfillment.cs | 26 +++--- Square/Models/FulfillmentDeliveryDetails.cs | 26 +++--- Square/Models/FulfillmentFulfillmentEntry.cs | 26 +++--- Square/Models/FulfillmentPickupDetails.cs | 26 +++--- ...lmentPickupDetailsCurbsidePickupDetails.cs | 26 +++--- Square/Models/FulfillmentRecipient.cs | 26 +++--- Square/Models/FulfillmentShipmentDetails.cs | 26 +++--- Square/Models/GetBankAccountByV1IdResponse.cs | 26 +++--- Square/Models/GetBankAccountResponse.cs | 26 +++--- Square/Models/GetBreakTypeResponse.cs | 26 +++--- Square/Models/GetDeviceCodeResponse.cs | 26 +++--- Square/Models/GetDeviceResponse.cs | 26 +++--- Square/Models/GetEmployeeWageResponse.cs | 26 +++--- Square/Models/GetInvoiceResponse.cs | 26 +++--- Square/Models/GetPaymentRefundResponse.cs | 26 +++--- Square/Models/GetPaymentResponse.cs | 26 +++--- Square/Models/GetPayoutResponse.cs | 26 +++--- Square/Models/GetShiftResponse.cs | 26 +++--- Square/Models/GetTeamMemberWageResponse.cs | 26 +++--- Square/Models/GetTerminalActionResponse.cs | 26 +++--- Square/Models/GetTerminalCheckoutResponse.cs | 26 +++--- Square/Models/GetTerminalRefundResponse.cs | 26 +++--- Square/Models/GiftCard.cs | 26 +++--- Square/Models/GiftCardActivity.cs | 26 +++--- Square/Models/GiftCardActivityActivate.cs | 26 +++--- .../Models/GiftCardActivityAdjustDecrement.cs | 26 +++--- .../Models/GiftCardActivityAdjustIncrement.cs | 26 +++--- Square/Models/GiftCardActivityBlock.cs | 26 +++--- Square/Models/GiftCardActivityClearBalance.cs | 26 +++--- Square/Models/GiftCardActivityDeactivate.cs | 26 +++--- Square/Models/GiftCardActivityImport.cs | 26 +++--- .../Models/GiftCardActivityImportReversal.cs | 26 +++--- Square/Models/GiftCardActivityLoad.cs | 26 +++--- Square/Models/GiftCardActivityRedeem.cs | 26 +++--- Square/Models/GiftCardActivityRefund.cs | 26 +++--- .../GiftCardActivityTransferBalanceFrom.cs | 26 +++--- .../GiftCardActivityTransferBalanceTo.cs | 26 +++--- Square/Models/GiftCardActivityUnblock.cs | 26 +++--- .../GiftCardActivityUnlinkedActivityRefund.cs | 26 +++--- Square/Models/InventoryAdjustment.cs | 26 +++--- Square/Models/InventoryAdjustmentGroup.cs | 26 +++--- Square/Models/InventoryChange.cs | 26 +++--- Square/Models/InventoryCount.cs | 26 +++--- Square/Models/InventoryPhysicalCount.cs | 26 +++--- Square/Models/InventoryTransfer.cs | 26 +++--- Square/Models/Invoice.cs | 26 +++--- .../Models/InvoiceAcceptedPaymentMethods.cs | 26 +++--- Square/Models/InvoiceAttachment.cs | 26 +++--- Square/Models/InvoiceCustomField.cs | 26 +++--- Square/Models/InvoiceFilter.cs | 26 +++--- Square/Models/InvoicePaymentReminder.cs | 26 +++--- Square/Models/InvoicePaymentRequest.cs | 26 +++--- Square/Models/InvoiceQuery.cs | 26 +++--- Square/Models/InvoiceRecipient.cs | 26 +++--- Square/Models/InvoiceRecipientTaxIds.cs | 26 +++--- Square/Models/InvoiceSort.cs | 26 +++--- .../Models/ItemVariationLocationOverrides.cs | 26 +++--- Square/Models/JobAssignment.cs | 26 +++--- .../Models/LinkCustomerToGiftCardRequest.cs | 26 +++--- .../Models/LinkCustomerToGiftCardResponse.cs | 26 +++--- Square/Models/ListBankAccountsRequest.cs | 26 +++--- Square/Models/ListBankAccountsResponse.cs | 26 +++--- ...ookingCustomAttributeDefinitionsRequest.cs | 26 +++--- ...okingCustomAttributeDefinitionsResponse.cs | 26 +++--- .../ListBookingCustomAttributesRequest.cs | 26 +++--- .../ListBookingCustomAttributesResponse.cs | 26 +++--- Square/Models/ListBookingsRequest.cs | 26 +++--- Square/Models/ListBookingsResponse.cs | 26 +++--- Square/Models/ListBreakTypesRequest.cs | 26 +++--- Square/Models/ListBreakTypesResponse.cs | 26 +++--- Square/Models/ListCardsRequest.cs | 26 +++--- Square/Models/ListCardsResponse.cs | 26 +++--- .../ListCashDrawerShiftEventsRequest.cs | 26 +++--- .../ListCashDrawerShiftEventsResponse.cs | 26 +++--- Square/Models/ListCashDrawerShiftsRequest.cs | 26 +++--- Square/Models/ListCashDrawerShiftsResponse.cs | 26 +++--- Square/Models/ListCatalogRequest.cs | 26 +++--- Square/Models/ListCatalogResponse.cs | 26 +++--- ...stomerCustomAttributeDefinitionsRequest.cs | 26 +++--- ...tomerCustomAttributeDefinitionsResponse.cs | 26 +++--- .../ListCustomerCustomAttributesRequest.cs | 26 +++--- .../ListCustomerCustomAttributesResponse.cs | 26 +++--- Square/Models/ListCustomerGroupsRequest.cs | 26 +++--- Square/Models/ListCustomerGroupsResponse.cs | 26 +++--- Square/Models/ListCustomerSegmentsRequest.cs | 26 +++--- Square/Models/ListCustomerSegmentsResponse.cs | 26 +++--- Square/Models/ListCustomersRequest.cs | 26 +++--- Square/Models/ListCustomersResponse.cs | 26 +++--- Square/Models/ListDeviceCodesRequest.cs | 26 +++--- Square/Models/ListDeviceCodesResponse.cs | 26 +++--- Square/Models/ListDevicesRequest.cs | 26 +++--- Square/Models/ListDevicesResponse.cs | 26 +++--- Square/Models/ListDisputeEvidenceRequest.cs | 26 +++--- Square/Models/ListDisputeEvidenceResponse.cs | 26 +++--- Square/Models/ListDisputesRequest.cs | 26 +++--- Square/Models/ListDisputesResponse.cs | 26 +++--- Square/Models/ListEmployeeWagesRequest.cs | 26 +++--- Square/Models/ListEmployeeWagesResponse.cs | 26 +++--- Square/Models/ListEmployeesRequest.cs | 26 +++--- Square/Models/ListEmployeesResponse.cs | 26 +++--- Square/Models/ListEventTypesRequest.cs | 26 +++--- Square/Models/ListEventTypesResponse.cs | 26 +++--- .../Models/ListGiftCardActivitiesRequest.cs | 26 +++--- .../Models/ListGiftCardActivitiesResponse.cs | 26 +++--- Square/Models/ListGiftCardsRequest.cs | 26 +++--- Square/Models/ListGiftCardsResponse.cs | 26 +++--- Square/Models/ListInvoicesRequest.cs | 26 +++--- Square/Models/ListInvoicesResponse.cs | 26 +++--- .../ListLocationBookingProfilesRequest.cs | 26 +++--- .../ListLocationBookingProfilesResponse.cs | 26 +++--- ...cationCustomAttributeDefinitionsRequest.cs | 26 +++--- ...ationCustomAttributeDefinitionsResponse.cs | 26 +++--- .../ListLocationCustomAttributesRequest.cs | 26 +++--- .../ListLocationCustomAttributesResponse.cs | 26 +++--- Square/Models/ListLocationsResponse.cs | 26 +++--- Square/Models/ListLoyaltyProgramsResponse.cs | 26 +++--- Square/Models/ListLoyaltyPromotionsRequest.cs | 26 +++--- .../Models/ListLoyaltyPromotionsResponse.cs | 26 +++--- ...rchantCustomAttributeDefinitionsRequest.cs | 26 +++--- ...chantCustomAttributeDefinitionsResponse.cs | 26 +++--- .../ListMerchantCustomAttributesRequest.cs | 26 +++--- .../ListMerchantCustomAttributesResponse.cs | 26 +++--- Square/Models/ListMerchantsRequest.cs | 26 +++--- Square/Models/ListMerchantsResponse.cs | 26 +++--- ...tOrderCustomAttributeDefinitionsRequest.cs | 26 +++--- ...OrderCustomAttributeDefinitionsResponse.cs | 26 +++--- .../ListOrderCustomAttributesRequest.cs | 26 +++--- .../ListOrderCustomAttributesResponse.cs | 26 +++--- Square/Models/ListPaymentLinksRequest.cs | 26 +++--- Square/Models/ListPaymentLinksResponse.cs | 26 +++--- Square/Models/ListPaymentRefundsRequest.cs | 26 +++--- Square/Models/ListPaymentRefundsResponse.cs | 26 +++--- Square/Models/ListPaymentsRequest.cs | 26 +++--- Square/Models/ListPaymentsResponse.cs | 26 +++--- Square/Models/ListPayoutEntriesRequest.cs | 26 +++--- Square/Models/ListPayoutEntriesResponse.cs | 26 +++--- Square/Models/ListPayoutsRequest.cs | 26 +++--- Square/Models/ListPayoutsResponse.cs | 26 +++--- Square/Models/ListRefundsRequest.cs | 26 +++--- Square/Models/ListRefundsResponse.cs | 26 +++--- Square/Models/ListSitesResponse.cs | 26 +++--- .../Models/ListSubscriptionEventsRequest.cs | 26 +++--- .../Models/ListSubscriptionEventsResponse.cs | 26 +++--- .../ListTeamMemberBookingProfilesRequest.cs | 26 +++--- .../ListTeamMemberBookingProfilesResponse.cs | 26 +++--- Square/Models/ListTeamMemberWagesRequest.cs | 26 +++--- Square/Models/ListTeamMemberWagesResponse.cs | 26 +++--- Square/Models/ListTransactionsRequest.cs | 26 +++--- Square/Models/ListTransactionsResponse.cs | 26 +++--- Square/Models/ListWebhookEventTypesRequest.cs | 26 +++--- .../Models/ListWebhookEventTypesResponse.cs | 26 +++--- .../Models/ListWebhookSubscriptionsRequest.cs | 26 +++--- .../ListWebhookSubscriptionsResponse.cs | 26 +++--- Square/Models/ListWorkweekConfigsRequest.cs | 26 +++--- Square/Models/ListWorkweekConfigsResponse.cs | 26 +++--- Square/Models/Location.cs | 26 +++--- Square/Models/LocationBookingProfile.cs | 26 +++--- Square/Models/LoyaltyAccount.cs | 26 +++--- .../LoyaltyAccountExpiringPointDeadline.cs | 26 +++--- Square/Models/LoyaltyAccountMapping.cs | 26 +++--- Square/Models/LoyaltyEvent.cs | 26 +++--- Square/Models/LoyaltyEventAccumulatePoints.cs | 26 +++--- .../LoyaltyEventAccumulatePromotionPoints.cs | 26 +++--- Square/Models/LoyaltyEventAdjustPoints.cs | 26 +++--- Square/Models/LoyaltyEventCreateReward.cs | 26 +++--- Square/Models/LoyaltyEventDateTimeFilter.cs | 26 +++--- Square/Models/LoyaltyEventDeleteReward.cs | 26 +++--- Square/Models/LoyaltyEventExpirePoints.cs | 26 +++--- Square/Models/LoyaltyEventFilter.cs | 26 +++--- Square/Models/LoyaltyEventLocationFilter.cs | 26 +++--- .../LoyaltyEventLoyaltyAccountFilter.cs | 26 +++--- Square/Models/LoyaltyEventOrderFilter.cs | 26 +++--- Square/Models/LoyaltyEventOther.cs | 26 +++--- Square/Models/LoyaltyEventQuery.cs | 26 +++--- Square/Models/LoyaltyEventRedeemReward.cs | 26 +++--- Square/Models/LoyaltyEventTypeFilter.cs | 26 +++--- Square/Models/LoyaltyProgram.cs | 26 +++--- Square/Models/LoyaltyProgramAccrualRule.cs | 26 +++--- .../LoyaltyProgramAccrualRuleCategoryData.cs | 26 +++--- ...altyProgramAccrualRuleItemVariationData.cs | 26 +++--- .../LoyaltyProgramAccrualRuleSpendData.cs | 26 +++--- .../LoyaltyProgramAccrualRuleVisitData.cs | 26 +++--- .../Models/LoyaltyProgramExpirationPolicy.cs | 26 +++--- .../Models/LoyaltyProgramRewardDefinition.cs | 26 +++--- Square/Models/LoyaltyProgramRewardTier.cs | 26 +++--- Square/Models/LoyaltyProgramTerminology.cs | 26 +++--- Square/Models/LoyaltyPromotion.cs | 26 +++--- .../LoyaltyPromotionAvailableTimeData.cs | 26 +++--- Square/Models/LoyaltyPromotionIncentive.cs | 26 +++--- ...ltyPromotionIncentivePointsAdditionData.cs | 26 +++--- ...yPromotionIncentivePointsMultiplierData.cs | 26 +++--- Square/Models/LoyaltyPromotionTriggerLimit.cs | 26 +++--- Square/Models/LoyaltyReward.cs | 26 +++--- Square/Models/MeasurementUnit.cs | 26 +++--- Square/Models/MeasurementUnitCustom.cs | 26 +++--- Square/Models/Merchant.cs | 26 +++--- Square/Models/ModifierLocationOverrides.cs | 26 +++--- Square/Models/Money.cs | 26 +++--- Square/Models/ObtainTokenRequest.cs | 26 +++--- Square/Models/ObtainTokenResponse.cs | 26 +++--- Square/Models/Order.cs | 26 +++--- Square/Models/OrderCreated.cs | 26 +++--- Square/Models/OrderCreatedObject.cs | 26 +++--- Square/Models/OrderEntry.cs | 26 +++--- Square/Models/OrderFulfillment.cs | 26 +++--- .../Models/OrderFulfillmentDeliveryDetails.cs | 26 +++--- .../OrderFulfillmentFulfillmentEntry.cs | 26 +++--- .../Models/OrderFulfillmentPickupDetails.cs | 26 +++--- ...lmentPickupDetailsCurbsidePickupDetails.cs | 26 +++--- Square/Models/OrderFulfillmentRecipient.cs | 26 +++--- .../Models/OrderFulfillmentShipmentDetails.cs | 26 +++--- Square/Models/OrderFulfillmentUpdated.cs | 26 +++--- .../Models/OrderFulfillmentUpdatedObject.cs | 26 +++--- .../Models/OrderFulfillmentUpdatedUpdate.cs | 26 +++--- Square/Models/OrderLineItem.cs | 26 +++--- Square/Models/OrderLineItemAppliedDiscount.cs | 26 +++--- .../OrderLineItemAppliedServiceCharge.cs | 26 +++--- Square/Models/OrderLineItemAppliedTax.cs | 26 +++--- Square/Models/OrderLineItemDiscount.cs | 26 +++--- Square/Models/OrderLineItemModifier.cs | 26 +++--- .../Models/OrderLineItemPricingBlocklists.cs | 26 +++--- ...ineItemPricingBlocklistsBlockedDiscount.cs | 26 +++--- ...rderLineItemPricingBlocklistsBlockedTax.cs | 26 +++--- Square/Models/OrderLineItemTax.cs | 26 +++--- Square/Models/OrderMoneyAmounts.cs | 26 +++--- Square/Models/OrderPricingOptions.cs | 26 +++--- Square/Models/OrderQuantityUnit.cs | 26 +++--- Square/Models/OrderReturn.cs | 26 +++--- Square/Models/OrderReturnDiscount.cs | 26 +++--- Square/Models/OrderReturnLineItem.cs | 26 +++--- Square/Models/OrderReturnLineItemModifier.cs | 26 +++--- Square/Models/OrderReturnServiceCharge.cs | 26 +++--- Square/Models/OrderReturnTax.cs | 26 +++--- Square/Models/OrderReturnTip.cs | 26 +++--- Square/Models/OrderReward.cs | 26 +++--- Square/Models/OrderRoundingAdjustment.cs | 26 +++--- Square/Models/OrderServiceCharge.cs | 26 +++--- Square/Models/OrderSource.cs | 26 +++--- Square/Models/OrderUpdated.cs | 26 +++--- Square/Models/OrderUpdatedObject.cs | 26 +++--- Square/Models/PaginationCursor.cs | 26 +++--- Square/Models/PauseSubscriptionRequest.cs | 26 +++--- Square/Models/PauseSubscriptionResponse.cs | 26 +++--- Square/Models/PayOrderRequest.cs | 26 +++--- Square/Models/PayOrderResponse.cs | 26 +++--- Square/Models/Payment.cs | 26 +++--- ...aymentBalanceActivityAppFeeRefundDetail.cs | 26 +++--- ...ymentBalanceActivityAppFeeRevenueDetail.cs | 26 +++--- ...ntBalanceActivityAutomaticSavingsDetail.cs | 26 +++--- ...eActivityAutomaticSavingsReversedDetail.cs | 26 +++--- .../PaymentBalanceActivityChargeDetail.cs | 26 +++--- .../PaymentBalanceActivityDepositFeeDetail.cs | 26 +++--- .../PaymentBalanceActivityDisputeDetail.cs | 26 +++--- .../Models/PaymentBalanceActivityFeeDetail.cs | 26 +++--- ...mentBalanceActivityFreeProcessingDetail.cs | 26 +++--- ...mentBalanceActivityHoldAdjustmentDetail.cs | 26 +++--- ...PaymentBalanceActivityOpenDisputeDetail.cs | 26 +++--- ...entBalanceActivityOtherAdjustmentDetail.cs | 26 +++--- .../PaymentBalanceActivityOtherDetail.cs | 26 +++--- .../PaymentBalanceActivityRefundDetail.cs | 26 +++--- ...tBalanceActivityReleaseAdjustmentDetail.cs | 26 +++--- ...PaymentBalanceActivityReserveHoldDetail.cs | 26 +++--- ...mentBalanceActivityReserveReleaseDetail.cs | 26 +++--- ...lanceActivitySquareCapitalPaymentDetail.cs | 26 +++--- ...ivitySquareCapitalReversedPaymentDetail.cs | 26 +++--- .../PaymentBalanceActivityTaxOnFeeDetail.cs | 26 +++--- ...ymentBalanceActivityThirdPartyFeeDetail.cs | 26 +++--- ...alanceActivityThirdPartyFeeRefundDetail.cs | 26 +++--- Square/Models/PaymentLink.cs | 26 +++--- Square/Models/PaymentLinkRelatedResources.cs | 26 +++--- Square/Models/PaymentOptions.cs | 26 +++--- Square/Models/PaymentRefund.cs | 26 +++--- Square/Models/Payout.cs | 26 +++--- Square/Models/PayoutEntry.cs | 26 +++--- Square/Models/PayoutFee.cs | 26 +++--- Square/Models/Phase.cs | 26 +++--- Square/Models/PhaseInput.cs | 26 +++--- Square/Models/PrePopulatedData.cs | 26 +++--- Square/Models/ProcessingFee.cs | 26 +++--- Square/Models/PublishInvoiceRequest.cs | 26 +++--- Square/Models/PublishInvoiceResponse.cs | 26 +++--- Square/Models/QrCodeOptions.cs | 26 +++--- Square/Models/QuantityRatio.cs | 26 +++--- Square/Models/QuickPay.cs | 26 +++--- Square/Models/Range.cs | 26 +++--- Square/Models/ReceiptOptions.cs | 26 +++--- Square/Models/RedeemLoyaltyRewardRequest.cs | 26 +++--- Square/Models/RedeemLoyaltyRewardResponse.cs | 26 +++--- Square/Models/Refund.cs | 26 +++--- Square/Models/RefundPaymentRequest.cs | 26 +++--- Square/Models/RefundPaymentResponse.cs | 26 +++--- Square/Models/RegisterDomainRequest.cs | 26 +++--- Square/Models/RegisterDomainResponse.cs | 26 +++--- .../Models/RemoveGroupFromCustomerResponse.cs | 26 +++--- Square/Models/ResumeSubscriptionRequest.cs | 26 +++--- Square/Models/ResumeSubscriptionResponse.cs | 26 +++--- ...BookingCustomAttributeDefinitionRequest.cs | 26 +++--- ...ookingCustomAttributeDefinitionResponse.cs | 26 +++--- .../RetrieveBookingCustomAttributeRequest.cs | 26 +++--- .../RetrieveBookingCustomAttributeResponse.cs | 26 +++--- Square/Models/RetrieveBookingResponse.cs | 26 +++--- .../RetrieveBusinessBookingProfileResponse.cs | 26 +++--- Square/Models/RetrieveCardResponse.cs | 26 +++--- .../Models/RetrieveCashDrawerShiftRequest.cs | 26 +++--- .../Models/RetrieveCashDrawerShiftResponse.cs | 26 +++--- Square/Models/RetrieveCatalogObjectRequest.cs | 26 +++--- .../Models/RetrieveCatalogObjectResponse.cs | 26 +++--- ...ustomerCustomAttributeDefinitionRequest.cs | 26 +++--- ...stomerCustomAttributeDefinitionResponse.cs | 26 +++--- .../RetrieveCustomerCustomAttributeRequest.cs | 26 +++--- ...RetrieveCustomerCustomAttributeResponse.cs | 26 +++--- .../Models/RetrieveCustomerGroupResponse.cs | 26 +++--- Square/Models/RetrieveCustomerResponse.cs | 26 +++--- .../Models/RetrieveCustomerSegmentResponse.cs | 26 +++--- .../Models/RetrieveDisputeEvidenceResponse.cs | 26 +++--- Square/Models/RetrieveDisputeResponse.cs | 26 +++--- Square/Models/RetrieveEmployeeResponse.cs | 26 +++--- .../Models/RetrieveGiftCardFromGANRequest.cs | 26 +++--- .../Models/RetrieveGiftCardFromGANResponse.cs | 26 +++--- .../RetrieveGiftCardFromNonceRequest.cs | 26 +++--- .../RetrieveGiftCardFromNonceResponse.cs | 26 +++--- Square/Models/RetrieveGiftCardResponse.cs | 26 +++--- .../RetrieveInventoryAdjustmentResponse.cs | 26 +++--- .../Models/RetrieveInventoryChangesRequest.cs | 26 +++--- .../RetrieveInventoryChangesResponse.cs | 26 +++--- .../Models/RetrieveInventoryCountRequest.cs | 26 +++--- .../Models/RetrieveInventoryCountResponse.cs | 26 +++--- .../RetrieveInventoryPhysicalCountResponse.cs | 26 +++--- .../RetrieveInventoryTransferResponse.cs | 26 +++--- .../RetrieveLocationBookingProfileResponse.cs | 26 +++--- ...ocationCustomAttributeDefinitionRequest.cs | 26 +++--- ...cationCustomAttributeDefinitionResponse.cs | 26 +++--- .../RetrieveLocationCustomAttributeRequest.cs | 26 +++--- ...RetrieveLocationCustomAttributeResponse.cs | 26 +++--- Square/Models/RetrieveLocationResponse.cs | 26 +++--- .../RetrieveLocationSettingsResponse.cs | 26 +++--- .../Models/RetrieveLoyaltyAccountResponse.cs | 26 +++--- .../Models/RetrieveLoyaltyProgramResponse.cs | 26 +++--- .../RetrieveLoyaltyPromotionResponse.cs | 26 +++--- .../Models/RetrieveLoyaltyRewardResponse.cs | 26 +++--- ...erchantCustomAttributeDefinitionRequest.cs | 26 +++--- ...rchantCustomAttributeDefinitionResponse.cs | 26 +++--- .../RetrieveMerchantCustomAttributeRequest.cs | 26 +++--- ...RetrieveMerchantCustomAttributeResponse.cs | 26 +++--- Square/Models/RetrieveMerchantResponse.cs | 26 +++--- .../RetrieveMerchantSettingsResponse.cs | 26 +++--- ...veOrderCustomAttributeDefinitionRequest.cs | 26 +++--- ...eOrderCustomAttributeDefinitionResponse.cs | 26 +++--- .../RetrieveOrderCustomAttributeRequest.cs | 26 +++--- .../RetrieveOrderCustomAttributeResponse.cs | 26 +++--- Square/Models/RetrieveOrderResponse.cs | 26 +++--- Square/Models/RetrievePaymentLinkResponse.cs | 26 +++--- Square/Models/RetrieveSnippetResponse.cs | 26 +++--- Square/Models/RetrieveSubscriptionRequest.cs | 26 +++--- Square/Models/RetrieveSubscriptionResponse.cs | 26 +++--- ...etrieveTeamMemberBookingProfileResponse.cs | 26 +++--- Square/Models/RetrieveTeamMemberResponse.cs | 26 +++--- Square/Models/RetrieveTokenStatusResponse.cs | 26 +++--- Square/Models/RetrieveTransactionResponse.cs | 26 +++--- Square/Models/RetrieveVendorResponse.cs | 26 +++--- Square/Models/RetrieveWageSettingResponse.cs | 26 +++--- .../RetrieveWebhookSubscriptionResponse.cs | 26 +++--- Square/Models/RevokeTokenRequest.cs | 26 +++--- Square/Models/RevokeTokenResponse.cs | 26 +++--- Square/Models/RiskEvaluation.cs | 26 +++--- Square/Models/SaveCardOptions.cs | 26 +++--- Square/Models/SearchAvailabilityFilter.cs | 26 +++--- Square/Models/SearchAvailabilityQuery.cs | 26 +++--- Square/Models/SearchAvailabilityRequest.cs | 26 +++--- Square/Models/SearchAvailabilityResponse.cs | 26 +++--- Square/Models/SearchCatalogItemsRequest.cs | 26 +++--- Square/Models/SearchCatalogItemsResponse.cs | 26 +++--- Square/Models/SearchCatalogObjectsRequest.cs | 26 +++--- Square/Models/SearchCatalogObjectsResponse.cs | 26 +++--- Square/Models/SearchCustomersRequest.cs | 26 +++--- Square/Models/SearchCustomersResponse.cs | 26 +++--- Square/Models/SearchEventsFilter.cs | 26 +++--- Square/Models/SearchEventsQuery.cs | 26 +++--- Square/Models/SearchEventsRequest.cs | 26 +++--- Square/Models/SearchEventsResponse.cs | 26 +++--- Square/Models/SearchEventsSort.cs | 26 +++--- Square/Models/SearchInvoicesRequest.cs | 26 +++--- Square/Models/SearchInvoicesResponse.cs | 26 +++--- Square/Models/SearchLoyaltyAccountsRequest.cs | 26 +++--- ...yaltyAccountsRequestLoyaltyAccountQuery.cs | 26 +++--- .../Models/SearchLoyaltyAccountsResponse.cs | 26 +++--- Square/Models/SearchLoyaltyEventsRequest.cs | 26 +++--- Square/Models/SearchLoyaltyEventsResponse.cs | 26 +++--- Square/Models/SearchLoyaltyRewardsRequest.cs | 26 +++--- ...LoyaltyRewardsRequestLoyaltyRewardQuery.cs | 26 +++--- Square/Models/SearchLoyaltyRewardsResponse.cs | 26 +++--- Square/Models/SearchOrdersCustomerFilter.cs | 26 +++--- Square/Models/SearchOrdersDateTimeFilter.cs | 26 +++--- Square/Models/SearchOrdersFilter.cs | 26 +++--- .../Models/SearchOrdersFulfillmentFilter.cs | 26 +++--- Square/Models/SearchOrdersQuery.cs | 26 +++--- Square/Models/SearchOrdersRequest.cs | 26 +++--- Square/Models/SearchOrdersResponse.cs | 26 +++--- Square/Models/SearchOrdersSort.cs | 26 +++--- Square/Models/SearchOrdersSourceFilter.cs | 26 +++--- Square/Models/SearchOrdersStateFilter.cs | 26 +++--- Square/Models/SearchShiftsRequest.cs | 26 +++--- Square/Models/SearchShiftsResponse.cs | 26 +++--- Square/Models/SearchSubscriptionsFilter.cs | 26 +++--- Square/Models/SearchSubscriptionsQuery.cs | 26 +++--- Square/Models/SearchSubscriptionsRequest.cs | 26 +++--- Square/Models/SearchSubscriptionsResponse.cs | 26 +++--- Square/Models/SearchTeamMembersFilter.cs | 26 +++--- Square/Models/SearchTeamMembersQuery.cs | 26 +++--- Square/Models/SearchTeamMembersRequest.cs | 26 +++--- Square/Models/SearchTeamMembersResponse.cs | 26 +++--- Square/Models/SearchTerminalActionsRequest.cs | 26 +++--- .../Models/SearchTerminalActionsResponse.cs | 26 +++--- .../Models/SearchTerminalCheckoutsRequest.cs | 26 +++--- .../Models/SearchTerminalCheckoutsResponse.cs | 26 +++--- Square/Models/SearchTerminalRefundsRequest.cs | 26 +++--- .../Models/SearchTerminalRefundsResponse.cs | 26 +++--- Square/Models/SearchVendorsRequest.cs | 26 +++--- Square/Models/SearchVendorsRequestFilter.cs | 26 +++--- Square/Models/SearchVendorsRequestSort.cs | 26 +++--- Square/Models/SearchVendorsResponse.cs | 26 +++--- Square/Models/SegmentFilter.cs | 26 +++--- Square/Models/SelectOption.cs | 26 +++--- Square/Models/SelectOptions.cs | 26 +++--- Square/Models/Shift.cs | 26 +++--- Square/Models/ShiftFilter.cs | 26 +++--- Square/Models/ShiftQuery.cs | 26 +++--- Square/Models/ShiftSort.cs | 26 +++--- Square/Models/ShiftWage.cs | 26 +++--- Square/Models/ShiftWorkday.cs | 26 +++--- Square/Models/ShippingFee.cs | 26 +++--- Square/Models/SignatureImage.cs | 26 +++--- Square/Models/SignatureOptions.cs | 26 +++--- Square/Models/Site.cs | 26 +++--- Square/Models/Snippet.cs | 26 +++--- Square/Models/SnippetResponse.cs | 26 +++--- Square/Models/SourceApplication.cs | 26 +++--- Square/Models/SquareAccountDetails.cs | 26 +++--- Square/Models/StandardUnitDescription.cs | 26 +++--- Square/Models/StandardUnitDescriptionGroup.cs | 26 +++--- Square/Models/SubmitEvidenceResponse.cs | 26 +++--- Square/Models/Subscription.cs | 26 +++--- Square/Models/SubscriptionAction.cs | 26 +++--- Square/Models/SubscriptionEvent.cs | 26 +++--- Square/Models/SubscriptionEventInfo.cs | 26 +++--- Square/Models/SubscriptionPhase.cs | 26 +++--- Square/Models/SubscriptionPricing.cs | 26 +++--- Square/Models/SubscriptionSource.cs | 26 +++--- Square/Models/SubscriptionTestResult.cs | 26 +++--- Square/Models/SwapPlanRequest.cs | 26 +++--- Square/Models/SwapPlanResponse.cs | 26 +++--- Square/Models/TaxIds.cs | 26 +++--- Square/Models/TeamMember.cs | 26 +++--- Square/Models/TeamMemberAssignedLocations.cs | 26 +++--- Square/Models/TeamMemberBookingProfile.cs | 26 +++--- Square/Models/TeamMemberWage.cs | 26 +++--- Square/Models/Tender.cs | 26 +++--- Square/Models/TenderBankAccountDetails.cs | 26 +++--- Square/Models/TenderBuyNowPayLaterDetails.cs | 26 +++--- Square/Models/TenderCardDetails.cs | 26 +++--- Square/Models/TenderCashDetails.cs | 26 +++--- Square/Models/TenderSquareAccountDetails.cs | 26 +++--- Square/Models/TerminalAction.cs | 26 +++--- Square/Models/TerminalActionQuery.cs | 26 +++--- Square/Models/TerminalActionQueryFilter.cs | 26 +++--- Square/Models/TerminalActionQuerySort.cs | 26 +++--- Square/Models/TerminalCheckout.cs | 26 +++--- Square/Models/TerminalCheckoutQuery.cs | 26 +++--- Square/Models/TerminalCheckoutQueryFilter.cs | 26 +++--- Square/Models/TerminalCheckoutQuerySort.cs | 26 +++--- Square/Models/TerminalRefund.cs | 26 +++--- Square/Models/TerminalRefundQuery.cs | 26 +++--- Square/Models/TerminalRefundQueryFilter.cs | 26 +++--- Square/Models/TerminalRefundQuerySort.cs | 26 +++--- .../Models/TestWebhookSubscriptionRequest.cs | 26 +++--- .../Models/TestWebhookSubscriptionResponse.cs | 26 +++--- Square/Models/TimeRange.cs | 26 +++--- Square/Models/TipSettings.cs | 26 +++--- Square/Models/Transaction.cs | 26 +++--- .../UnlinkCustomerFromGiftCardRequest.cs | 26 +++--- .../UnlinkCustomerFromGiftCardResponse.cs | 26 +++--- ...BookingCustomAttributeDefinitionRequest.cs | 26 +++--- ...ookingCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/UpdateBookingRequest.cs | 26 +++--- Square/Models/UpdateBookingResponse.cs | 26 +++--- Square/Models/UpdateBreakTypeRequest.cs | 26 +++--- Square/Models/UpdateBreakTypeResponse.cs | 26 +++--- Square/Models/UpdateCatalogImageRequest.cs | 26 +++--- Square/Models/UpdateCatalogImageResponse.cs | 26 +++--- ...ustomerCustomAttributeDefinitionRequest.cs | 26 +++--- ...stomerCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/UpdateCustomerGroupRequest.cs | 26 +++--- Square/Models/UpdateCustomerGroupResponse.cs | 26 +++--- Square/Models/UpdateCustomerRequest.cs | 26 +++--- Square/Models/UpdateCustomerResponse.cs | 26 +++--- Square/Models/UpdateInvoiceRequest.cs | 31 +++---- Square/Models/UpdateInvoiceResponse.cs | 26 +++--- .../Models/UpdateItemModifierListsRequest.cs | 26 +++--- .../Models/UpdateItemModifierListsResponse.cs | 26 +++--- Square/Models/UpdateItemTaxesRequest.cs | 26 +++--- Square/Models/UpdateItemTaxesResponse.cs | 26 +++--- ...ocationCustomAttributeDefinitionRequest.cs | 26 +++--- ...cationCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/UpdateLocationRequest.cs | 26 +++--- Square/Models/UpdateLocationResponse.cs | 26 +++--- .../Models/UpdateLocationSettingsRequest.cs | 26 +++--- .../Models/UpdateLocationSettingsResponse.cs | 26 +++--- ...erchantCustomAttributeDefinitionRequest.cs | 26 +++--- ...rchantCustomAttributeDefinitionResponse.cs | 26 +++--- .../Models/UpdateMerchantSettingsRequest.cs | 26 +++--- .../Models/UpdateMerchantSettingsResponse.cs | 26 +++--- ...teOrderCustomAttributeDefinitionRequest.cs | 26 +++--- ...eOrderCustomAttributeDefinitionResponse.cs | 26 +++--- Square/Models/UpdateOrderRequest.cs | 26 +++--- Square/Models/UpdateOrderResponse.cs | 26 +++--- Square/Models/UpdatePaymentLinkRequest.cs | 26 +++--- Square/Models/UpdatePaymentLinkResponse.cs | 26 +++--- Square/Models/UpdatePaymentRequest.cs | 26 +++--- Square/Models/UpdatePaymentResponse.cs | 26 +++--- Square/Models/UpdateShiftRequest.cs | 26 +++--- Square/Models/UpdateShiftResponse.cs | 26 +++--- Square/Models/UpdateSubscriptionRequest.cs | 26 +++--- Square/Models/UpdateSubscriptionResponse.cs | 26 +++--- Square/Models/UpdateTeamMemberRequest.cs | 26 +++--- Square/Models/UpdateTeamMemberResponse.cs | 26 +++--- Square/Models/UpdateVendorRequest.cs | 26 +++--- Square/Models/UpdateVendorResponse.cs | 26 +++--- Square/Models/UpdateWageSettingRequest.cs | 26 +++--- Square/Models/UpdateWageSettingResponse.cs | 26 +++--- .../UpdateWebhookSubscriptionRequest.cs | 26 +++--- .../UpdateWebhookSubscriptionResponse.cs | 26 +++--- ...eWebhookSubscriptionSignatureKeyRequest.cs | 26 +++--- ...WebhookSubscriptionSignatureKeyResponse.cs | 26 +++--- Square/Models/UpdateWorkweekConfigRequest.cs | 26 +++--- Square/Models/UpdateWorkweekConfigResponse.cs | 26 +++--- .../UpsertBookingCustomAttributeRequest.cs | 26 +++--- .../UpsertBookingCustomAttributeResponse.cs | 26 +++--- Square/Models/UpsertCatalogObjectRequest.cs | 26 +++--- Square/Models/UpsertCatalogObjectResponse.cs | 26 +++--- .../UpsertCustomerCustomAttributeRequest.cs | 26 +++--- .../UpsertCustomerCustomAttributeResponse.cs | 26 +++--- .../UpsertLocationCustomAttributeRequest.cs | 26 +++--- .../UpsertLocationCustomAttributeResponse.cs | 26 +++--- .../UpsertMerchantCustomAttributeRequest.cs | 26 +++--- .../UpsertMerchantCustomAttributeResponse.cs | 26 +++--- .../UpsertOrderCustomAttributeRequest.cs | 26 +++--- .../UpsertOrderCustomAttributeResponse.cs | 26 +++--- Square/Models/UpsertSnippetRequest.cs | 26 +++--- Square/Models/UpsertSnippetResponse.cs | 26 +++--- Square/Models/V1Device.cs | 26 +++--- Square/Models/V1ListOrdersRequest.cs | 26 +++--- Square/Models/V1ListOrdersResponse.cs | 26 +++--- Square/Models/V1Money.cs | 26 +++--- Square/Models/V1Order.cs | 26 +++--- Square/Models/V1OrderHistoryEntry.cs | 26 +++--- Square/Models/V1PhoneNumber.cs | 26 +++--- Square/Models/V1Tender.cs | 26 +++--- Square/Models/V1UpdateOrderRequest.cs | 26 +++--- Square/Models/Vendor.cs | 26 +++--- Square/Models/VendorContact.cs | 26 +++--- Square/Models/VoidTransactionResponse.cs | 26 +++--- Square/Models/WageSetting.cs | 26 +++--- Square/Models/WebhookSubscription.cs | 26 +++--- Square/Models/WorkweekConfig.cs | 26 +++--- Square/Square.csproj | 8 +- Square/SquareClient.cs | 6 +- Square/Utilities/JsonObject.cs | 88 +++++++++---------- doc/api/apple-pay.md | 7 +- doc/api/invoices.md | 23 +++-- doc/client.md | 6 +- doc/models/update-invoice-request.md | 13 +-- 994 files changed, 12859 insertions(+), 12823 deletions(-) diff --git a/Square.Tests/ApiTestBase.cs b/Square.Tests/ApiTestBase.cs index 8025dd7d..05f9d729 100644 --- a/Square.Tests/ApiTestBase.cs +++ b/Square.Tests/ApiTestBase.cs @@ -16,19 +16,19 @@ namespace Square /// ControllerTestBase Class. /// [TestFixture] - public class ApiTestBase - { - /// - /// Assert precision. - /// - protected const double AssertPrecision = 0.1; - - /// - /// Gets HttpCallBackHandler. - /// - internal HttpCallBack HttpCallBack { get; private set; } = new HttpCallBack(); - - /// + public class ApiTestBase + { + /// + /// Assert precision. + /// + protected const double AssertPrecision = 0.1; + + /// + /// Gets HttpCallBackHandler. + /// + internal HttpCallBack HttpCallBack { get; private set; } = new HttpCallBack(); + + /// /// Gets SquareClient Client. /// protected SquareClient Client { get; private set; } diff --git a/Square.Tests/Properties/AssemblyInfo.cs b/Square.Tests/Properties/AssemblyInfo.cs index 47e84602..7c1eedc1 100644 --- a/Square.Tests/Properties/AssemblyInfo.cs +++ b/Square.Tests/Properties/AssemblyInfo.cs @@ -1,11 +1,11 @@ - -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. + +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. [assembly: AssemblyTitle("Square.Tests")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] @@ -13,16 +13,16 @@ [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] diff --git a/Square.Tests/Square.Tests.csproj b/Square.Tests/Square.Tests.csproj index 6203ef5b..b849226a 100644 --- a/Square.Tests/Square.Tests.csproj +++ b/Square.Tests/Square.Tests.csproj @@ -7,13 +7,13 @@ - - - - - - - + + + + + + + diff --git a/Square.Tests/Utilities/WebhooksHelperTest.cs b/Square.Tests/Utilities/WebhooksHelperTest.cs index 96e795db..09d50587 100644 --- a/Square.Tests/Utilities/WebhooksHelperTest.cs +++ b/Square.Tests/Utilities/WebhooksHelperTest.cs @@ -20,6 +20,18 @@ public void IsValidWebhookEventSignatureIsTrueForValidNotification() Assert.True(result); } + [Test] + public void IsValidWebhookEventSignatureIsTrueForEscapedBodyValidNotification() + { + const string escpaedRequestBody = "{\"data\":{\"type\":\"webhooks\",\"id\":\">id<\"}}"; + const string newSignatureHeader = "Cxt7+aTi4rKgcA0bC4g9EHdVtLSDWdqccmL5MvihU4U="; + const string signatureKey = "signature-key"; + const string url = "https://webhook.site/webhooks"; + + var result = WebhooksHelper.IsValidWebhookEventSignature(escpaedRequestBody, newSignatureHeader, signatureKey, url); + Assert.True(result); + } + [Test] public void IsValidWebhookEventSignatureIsFalseIfNotificationUrlMismatch() { diff --git a/Square.sln b/Square.sln index 776ea5be..01a9a3a6 100644 --- a/Square.sln +++ b/Square.sln @@ -2,9 +2,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26430.14 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square", "Square/Square.csproj", "{d597539f-1cd3-4697-bf09-71333f46e441}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square", "Square/Square.csproj", "{90bb2cf4-19be-4e65-b4c9-6c820facdc83}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square.Tests", "Square.Tests/Square.Tests.csproj", "{473eb2cb-aa17-41a3-8663-831dc114e4f8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square.Tests", "Square.Tests/Square.Tests.csproj", "{0594486c-0de1-4568-83dd-2ddb85e6804f}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -12,14 +12,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {d597539f-1cd3-4697-bf09-71333f46e441}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {d597539f-1cd3-4697-bf09-71333f46e441}.Debug|Any CPU.Build.0 = Debug|Any CPU - {d597539f-1cd3-4697-bf09-71333f46e441}.Release|Any CPU.ActiveCfg = Release|Any CPU - {d597539f-1cd3-4697-bf09-71333f46e441}.Release|Any CPU.Build.0 = Release|Any CPU - {473eb2cb-aa17-41a3-8663-831dc114e4f8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {473eb2cb-aa17-41a3-8663-831dc114e4f8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {473eb2cb-aa17-41a3-8663-831dc114e4f8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {473eb2cb-aa17-41a3-8663-831dc114e4f8}.Release|Any CPU.Build.0 = Release|Any CPU + {90bb2cf4-19be-4e65-b4c9-6c820facdc83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {90bb2cf4-19be-4e65-b4c9-6c820facdc83}.Debug|Any CPU.Build.0 = Debug|Any CPU + {90bb2cf4-19be-4e65-b4c9-6c820facdc83}.Release|Any CPU.ActiveCfg = Release|Any CPU + {90bb2cf4-19be-4e65-b4c9-6c820facdc83}.Release|Any CPU.Build.0 = Release|Any CPU + {0594486c-0de1-4568-83dd-2ddb85e6804f}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0594486c-0de1-4568-83dd-2ddb85e6804f}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0594486c-0de1-4568-83dd-2ddb85e6804f}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0594486c-0de1-4568-83dd-2ddb85e6804f}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Square/Apis/ApplePayApi.cs b/Square/Apis/ApplePayApi.cs index fa6a9464..5a39b019 100644 --- a/Square/Apis/ApplePayApi.cs +++ b/Square/Apis/ApplePayApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; @@ -35,8 +35,11 @@ internal ApplePayApi(GlobalConfiguration globalConfiguration) : base(globalConfi /// an Apple Pay enabled domain. /// This endpoint provides an easy way for platform developers to bulk activate. /// Apple Pay on the Web with Square for merchants using their platform. - /// Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022. - /// You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate). + /// Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The. + /// current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association,. + /// and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your. + /// domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding. + /// long-lived caches that might not keep in sync with the correct file version. /// To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay). /// /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. @@ -51,8 +54,11 @@ public Models.RegisterDomainResponse RegisterDomain( /// an Apple Pay enabled domain. /// This endpoint provides an easy way for platform developers to bulk activate. /// Apple Pay on the Web with Square for merchants using their platform. - /// Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022. - /// You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate). + /// Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The. + /// current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association,. + /// and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your. + /// domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding. + /// long-lived caches that might not keep in sync with the correct file version. /// To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay). /// /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. diff --git a/Square/Apis/BankAccountsApi.cs b/Square/Apis/BankAccountsApi.cs index 3d22cbc4..fcc5dadd 100644 --- a/Square/Apis/BankAccountsApi.cs +++ b/Square/Apis/BankAccountsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/BaseApi.cs b/Square/Apis/BaseApi.cs index 972bfa22..2bd38d85 100644 --- a/Square/Apis/BaseApi.cs +++ b/Square/Apis/BaseApi.cs @@ -20,11 +20,11 @@ internal class BaseApi /// /// Initializes a new instance of the class. /// - internal BaseApi(GlobalConfiguration config) => globalConfiguration = config; - - protected static ErrorCase CreateErrorCase(string reason, Func error, bool isErrorTemplate = false) - => new ErrorCase(reason, error, isErrorTemplate); - + internal BaseApi(GlobalConfiguration config) => globalConfiguration = config; + + protected static ErrorCase CreateErrorCase(string reason, Func error, bool isErrorTemplate = false) + => new ErrorCase(reason, error, isErrorTemplate); + protected ApiCall CreateApiCall(ArraySerialization arraySerialization = ArraySerialization.Indexed) => new ApiCall( globalConfiguration, diff --git a/Square/Apis/BookingCustomAttributesApi.cs b/Square/Apis/BookingCustomAttributesApi.cs index 9daeb5d0..94197797 100644 --- a/Square/Apis/BookingCustomAttributesApi.cs +++ b/Square/Apis/BookingCustomAttributesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/BookingsApi.cs b/Square/Apis/BookingsApi.cs index ec59432a..5f328cac 100644 --- a/Square/Apis/BookingsApi.cs +++ b/Square/Apis/BookingsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CardsApi.cs b/Square/Apis/CardsApi.cs index 4fba5bb9..f3e23520 100644 --- a/Square/Apis/CardsApi.cs +++ b/Square/Apis/CardsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CashDrawersApi.cs b/Square/Apis/CashDrawersApi.cs index 8baedb8f..05fb7f73 100644 --- a/Square/Apis/CashDrawersApi.cs +++ b/Square/Apis/CashDrawersApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CatalogApi.cs b/Square/Apis/CatalogApi.cs index 4503a81f..357a7b73 100644 --- a/Square/Apis/CatalogApi.cs +++ b/Square/Apis/CatalogApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CheckoutApi.cs b/Square/Apis/CheckoutApi.cs index b8ee632a..93693df9 100644 --- a/Square/Apis/CheckoutApi.cs +++ b/Square/Apis/CheckoutApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CustomerCustomAttributesApi.cs b/Square/Apis/CustomerCustomAttributesApi.cs index 6ef7c535..ea26ca6d 100644 --- a/Square/Apis/CustomerCustomAttributesApi.cs +++ b/Square/Apis/CustomerCustomAttributesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CustomerGroupsApi.cs b/Square/Apis/CustomerGroupsApi.cs index 2440de47..7f8c0f1d 100644 --- a/Square/Apis/CustomerGroupsApi.cs +++ b/Square/Apis/CustomerGroupsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CustomerSegmentsApi.cs b/Square/Apis/CustomerSegmentsApi.cs index 46c959bb..05c00501 100644 --- a/Square/Apis/CustomerSegmentsApi.cs +++ b/Square/Apis/CustomerSegmentsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/CustomersApi.cs b/Square/Apis/CustomersApi.cs index b0166cd7..311b725a 100644 --- a/Square/Apis/CustomersApi.cs +++ b/Square/Apis/CustomersApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/DevicesApi.cs b/Square/Apis/DevicesApi.cs index 8a40a0a8..b885d207 100644 --- a/Square/Apis/DevicesApi.cs +++ b/Square/Apis/DevicesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/DisputesApi.cs b/Square/Apis/DisputesApi.cs index 1709f082..bd403af6 100644 --- a/Square/Apis/DisputesApi.cs +++ b/Square/Apis/DisputesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/EmployeesApi.cs b/Square/Apis/EmployeesApi.cs index 51693779..be2d8210 100644 --- a/Square/Apis/EmployeesApi.cs +++ b/Square/Apis/EmployeesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/EventsApi.cs b/Square/Apis/EventsApi.cs index 42e4886c..5cd4bf60 100644 --- a/Square/Apis/EventsApi.cs +++ b/Square/Apis/EventsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/GiftCardActivitiesApi.cs b/Square/Apis/GiftCardActivitiesApi.cs index d3d80f07..34d113f8 100644 --- a/Square/Apis/GiftCardActivitiesApi.cs +++ b/Square/Apis/GiftCardActivitiesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/GiftCardsApi.cs b/Square/Apis/GiftCardsApi.cs index 33d0704b..a56cf382 100644 --- a/Square/Apis/GiftCardsApi.cs +++ b/Square/Apis/GiftCardsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/IApplePayApi.cs b/Square/Apis/IApplePayApi.cs index 42119038..30b3e461 100644 --- a/Square/Apis/IApplePayApi.cs +++ b/Square/Apis/IApplePayApi.cs @@ -25,8 +25,11 @@ public interface IApplePayApi /// an Apple Pay enabled domain. /// This endpoint provides an easy way for platform developers to bulk activate. /// Apple Pay on the Web with Square for merchants using their platform. - /// Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022. - /// You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate). + /// Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The. + /// current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association,. + /// and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your. + /// domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding. + /// long-lived caches that might not keep in sync with the correct file version. /// To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay). /// /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. @@ -40,8 +43,11 @@ Models.RegisterDomainResponse RegisterDomain( /// an Apple Pay enabled domain. /// This endpoint provides an easy way for platform developers to bulk activate. /// Apple Pay on the Web with Square for merchants using their platform. - /// Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022. - /// You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate). + /// Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The. + /// current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association,. + /// and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your. + /// domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding. + /// long-lived caches that might not keep in sync with the correct file version. /// To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay). /// /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. diff --git a/Square/Apis/IInvoicesApi.cs b/Square/Apis/IInvoicesApi.cs index 60482ca8..3ecd6ac3 100644 --- a/Square/Apis/IInvoicesApi.cs +++ b/Square/Apis/IInvoicesApi.cs @@ -146,10 +146,10 @@ Models.GetInvoiceResponse GetInvoice( CancellationToken cancellationToken = default); /// - /// Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse . - /// `Invoice` object to add fields or change values and use the `fields_to_clear` field to specify fields to clear. . - /// However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field and you . - /// must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + /// Updates an invoice. This endpoint supports sparse updates, so you only need. + /// to specify the fields you want to change along with the required `version` field. + /// Some restrictions apply to updating invoices. For example, you cannot change the. + /// `order_id` or `location_id` field. /// /// Required parameter: The ID of the invoice to update.. /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. @@ -159,10 +159,10 @@ Models.UpdateInvoiceResponse UpdateInvoice( Models.UpdateInvoiceRequest body); /// - /// Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse . - /// `Invoice` object to add fields or change values and use the `fields_to_clear` field to specify fields to clear. . - /// However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field and you . - /// must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + /// Updates an invoice. This endpoint supports sparse updates, so you only need. + /// to specify the fields you want to change along with the required `version` field. + /// Some restrictions apply to updating invoices. For example, you cannot change the. + /// `order_id` or `location_id` field. /// /// Required parameter: The ID of the invoice to update.. /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. diff --git a/Square/Apis/InventoryApi.cs b/Square/Apis/InventoryApi.cs index 298f74ed..6c9d583e 100644 --- a/Square/Apis/InventoryApi.cs +++ b/Square/Apis/InventoryApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/InvoicesApi.cs b/Square/Apis/InvoicesApi.cs index 4412160b..3c1622d4 100644 --- a/Square/Apis/InvoicesApi.cs +++ b/Square/Apis/InvoicesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; @@ -211,10 +211,10 @@ public Models.GetInvoiceResponse GetInvoice( .ExecuteAsync(cancellationToken).ConfigureAwait(false); /// - /// Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse . - /// `Invoice` object to add fields or change values and use the `fields_to_clear` field to specify fields to clear. . - /// However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field and you . - /// must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + /// Updates an invoice. This endpoint supports sparse updates, so you only need. + /// to specify the fields you want to change along with the required `version` field. + /// Some restrictions apply to updating invoices. For example, you cannot change the. + /// `order_id` or `location_id` field. /// /// Required parameter: The ID of the invoice to update.. /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. @@ -225,10 +225,10 @@ public Models.UpdateInvoiceResponse UpdateInvoice( => CoreHelper.RunTask(UpdateInvoiceAsync(invoiceId, body)); /// - /// Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse . - /// `Invoice` object to add fields or change values and use the `fields_to_clear` field to specify fields to clear. . - /// However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field and you . - /// must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. + /// Updates an invoice. This endpoint supports sparse updates, so you only need. + /// to specify the fields you want to change along with the required `version` field. + /// Some restrictions apply to updating invoices. For example, you cannot change the. + /// `order_id` or `location_id` field. /// /// Required parameter: The ID of the invoice to update.. /// Required parameter: An object containing the fields to POST for the request. See the corresponding object definition for field details.. diff --git a/Square/Apis/LaborApi.cs b/Square/Apis/LaborApi.cs index fdf99e4d..d75daac2 100644 --- a/Square/Apis/LaborApi.cs +++ b/Square/Apis/LaborApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/LocationCustomAttributesApi.cs b/Square/Apis/LocationCustomAttributesApi.cs index e3a283e7..12945cb6 100644 --- a/Square/Apis/LocationCustomAttributesApi.cs +++ b/Square/Apis/LocationCustomAttributesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/LocationsApi.cs b/Square/Apis/LocationsApi.cs index f047da63..12e6f835 100644 --- a/Square/Apis/LocationsApi.cs +++ b/Square/Apis/LocationsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/LoyaltyApi.cs b/Square/Apis/LoyaltyApi.cs index 7f518419..a73f5507 100644 --- a/Square/Apis/LoyaltyApi.cs +++ b/Square/Apis/LoyaltyApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/MerchantCustomAttributesApi.cs b/Square/Apis/MerchantCustomAttributesApi.cs index 22d60eaf..1f9d70d6 100644 --- a/Square/Apis/MerchantCustomAttributesApi.cs +++ b/Square/Apis/MerchantCustomAttributesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/MerchantsApi.cs b/Square/Apis/MerchantsApi.cs index 01f8489f..9ac1ca6d 100644 --- a/Square/Apis/MerchantsApi.cs +++ b/Square/Apis/MerchantsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/MobileAuthorizationApi.cs b/Square/Apis/MobileAuthorizationApi.cs index c87a6ece..6685fec6 100644 --- a/Square/Apis/MobileAuthorizationApi.cs +++ b/Square/Apis/MobileAuthorizationApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/OAuthApi.cs b/Square/Apis/OAuthApi.cs index 3a9cc3ed..4554b6a6 100644 --- a/Square/Apis/OAuthApi.cs +++ b/Square/Apis/OAuthApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/OrderCustomAttributesApi.cs b/Square/Apis/OrderCustomAttributesApi.cs index bec2d676..69ae7722 100644 --- a/Square/Apis/OrderCustomAttributesApi.cs +++ b/Square/Apis/OrderCustomAttributesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/OrdersApi.cs b/Square/Apis/OrdersApi.cs index aaba91c8..8ff9e62d 100644 --- a/Square/Apis/OrdersApi.cs +++ b/Square/Apis/OrdersApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/PaymentsApi.cs b/Square/Apis/PaymentsApi.cs index 3301be23..27148d5a 100644 --- a/Square/Apis/PaymentsApi.cs +++ b/Square/Apis/PaymentsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/PayoutsApi.cs b/Square/Apis/PayoutsApi.cs index 93252b83..4c6bda1d 100644 --- a/Square/Apis/PayoutsApi.cs +++ b/Square/Apis/PayoutsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/RefundsApi.cs b/Square/Apis/RefundsApi.cs index 10ad38c9..d1aeecb9 100644 --- a/Square/Apis/RefundsApi.cs +++ b/Square/Apis/RefundsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/SitesApi.cs b/Square/Apis/SitesApi.cs index 3038328a..941c8267 100644 --- a/Square/Apis/SitesApi.cs +++ b/Square/Apis/SitesApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/SnippetsApi.cs b/Square/Apis/SnippetsApi.cs index 2d05600e..0ea4ef34 100644 --- a/Square/Apis/SnippetsApi.cs +++ b/Square/Apis/SnippetsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/SubscriptionsApi.cs b/Square/Apis/SubscriptionsApi.cs index 4585928b..e5f29bfe 100644 --- a/Square/Apis/SubscriptionsApi.cs +++ b/Square/Apis/SubscriptionsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/TeamApi.cs b/Square/Apis/TeamApi.cs index afd85c22..b9b1e2e3 100644 --- a/Square/Apis/TeamApi.cs +++ b/Square/Apis/TeamApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/TerminalApi.cs b/Square/Apis/TerminalApi.cs index f94f42aa..fa068e12 100644 --- a/Square/Apis/TerminalApi.cs +++ b/Square/Apis/TerminalApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/TransactionsApi.cs b/Square/Apis/TransactionsApi.cs index 7885e988..21387955 100644 --- a/Square/Apis/TransactionsApi.cs +++ b/Square/Apis/TransactionsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/V1TransactionsApi.cs b/Square/Apis/V1TransactionsApi.cs index ac79e0cd..362fce50 100644 --- a/Square/Apis/V1TransactionsApi.cs +++ b/Square/Apis/V1TransactionsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/VendorsApi.cs b/Square/Apis/VendorsApi.cs index 74690bd6..4c682765 100644 --- a/Square/Apis/VendorsApi.cs +++ b/Square/Apis/VendorsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Apis/WebhookSubscriptionsApi.cs b/Square/Apis/WebhookSubscriptionsApi.cs index 27a0293d..34abdeed 100644 --- a/Square/Apis/WebhookSubscriptionsApi.cs +++ b/Square/Apis/WebhookSubscriptionsApi.cs @@ -1,14 +1,14 @@ -namespace Square.Apis -{ - using System; - using System.Collections.Generic; - using System.Dynamic; - using System.Globalization; - using System.IO; - using System.Linq; - using System.Text; - using System.Threading; - using System.Threading.Tasks; +namespace Square.Apis +{ + using System; + using System.Collections.Generic; + using System.Dynamic; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Text; + using System.Threading; + using System.Threading.Tasks; using APIMatic.Core; using APIMatic.Core.Types; using APIMatic.Core.Utilities; diff --git a/Square/Http/Client/FileStreamInfo.cs b/Square/Http/Client/FileStreamInfo.cs index bebdb9ff..2d0d02ee 100644 --- a/Square/Http/Client/FileStreamInfo.cs +++ b/Square/Http/Client/FileStreamInfo.cs @@ -1,21 +1,21 @@ namespace Square.Http.Client { - using APIMatic.Core.Types.Sdk; - using System; - using System.IO; - - /// - /// An DTO class to capture information for file uploads. - /// - public class FileStreamInfo : CoreFileStreamInfo - { - /// - /// Initializes a new instance of the class. - /// - /// The stream object with read access to the file data. - /// Optional file name associated with the stream. - /// Optional file content type associated with the stream. - public FileStreamInfo(Stream stream, string fileName = null, string contentType = null) - : base(stream, fileName, contentType) { } - } -} + using APIMatic.Core.Types.Sdk; + using System; + using System.IO; + + /// + /// An DTO class to capture information for file uploads. + /// + public class FileStreamInfo : CoreFileStreamInfo + { + /// + /// Initializes a new instance of the class. + /// + /// The stream object with read access to the file data. + /// Optional file name associated with the stream. + /// Optional file content type associated with the stream. + public FileStreamInfo(Stream stream, string fileName = null, string contentType = null) + : base(stream, fileName, contentType) { } + } +} diff --git a/Square/Http/Client/HttpContext.cs b/Square/Http/Client/HttpContext.cs index 7ee8d2dc..40029a32 100644 --- a/Square/Http/Client/HttpContext.cs +++ b/Square/Http/Client/HttpContext.cs @@ -2,20 +2,20 @@ namespace Square.Http.Client { using APIMatic.Core.Types.Sdk; using Square.Http.Request; - using Square.Http.Response; - - /// - /// Represents the contextual information of HTTP request and response. - /// - public sealed class HttpContext : CoreContext - { - /// - /// Initializes a new instance of the class. - /// - /// The http request in the current context. - /// The http response in the current context. - public HttpContext(HttpRequest request, HttpResponse response) - : base(request, response) { } - } - -} + using Square.Http.Response; + + /// + /// Represents the contextual information of HTTP request and response. + /// + public sealed class HttpContext : CoreContext + { + /// + /// Initializes a new instance of the class. + /// + /// The http request in the current context. + /// The http response in the current context. + public HttpContext(HttpRequest request, HttpResponse response) + : base(request, response) { } + } + +} diff --git a/Square/Http/Response/HttpResponse.cs b/Square/Http/Response/HttpResponse.cs index ab5eb592..34804b45 100644 --- a/Square/Http/Response/HttpResponse.cs +++ b/Square/Http/Response/HttpResponse.cs @@ -2,21 +2,21 @@ namespace Square.Http.Response { using System.IO; using System.Collections.Generic; - using APIMatic.Core.Types.Sdk; - - /// - /// HttpResponse stores necessary information about the http response. - /// - public class HttpResponse : CoreResponse - { - /// - /// Initializes a new instance of the class. - /// - /// statusCode. - /// headers. - /// rawBody. - /// body. - public HttpResponse(int statusCode, Dictionary headers, Stream rawBody, string body = null) - : base(statusCode, headers, rawBody, body) { } - } -} + using APIMatic.Core.Types.Sdk; + + /// + /// HttpResponse stores necessary information about the http response. + /// + public class HttpResponse : CoreResponse + { + /// + /// Initializes a new instance of the class. + /// + /// statusCode. + /// headers. + /// rawBody. + /// body. + public HttpResponse(int statusCode, Dictionary headers, Stream rawBody, string body = null) + : base(statusCode, headers, rawBody, body) { } + } +} diff --git a/Square/Http/Response/HttpStringResponse.cs b/Square/Http/Response/HttpStringResponse.cs index e44d7abe..b7e71c87 100644 --- a/Square/Http/Response/HttpStringResponse.cs +++ b/Square/Http/Response/HttpStringResponse.cs @@ -1,29 +1,29 @@ -namespace Square.Http.Response -{ - using System.IO; - using System.Collections.Generic; - - /// - /// HttpStringResponse inherits from HttpResponse and has additional property - /// of string body. - /// - public sealed class HttpStringResponse : HttpResponse - { - /// - /// Initializes a new instance of the class. - /// - /// statusCode. - /// headers. - /// rawBody. - /// body. - public HttpStringResponse(int statusCode, Dictionary headers, Stream rawBody, string body) - : base(statusCode, headers, rawBody, body) { } - - /// - public override string ToString() - { - return $"Body = {this.Body}" + - $"{base.ToString()}: "; - } - } +namespace Square.Http.Response +{ + using System.IO; + using System.Collections.Generic; + + /// + /// HttpStringResponse inherits from HttpResponse and has additional property + /// of string body. + /// + public sealed class HttpStringResponse : HttpResponse + { + /// + /// Initializes a new instance of the class. + /// + /// statusCode. + /// headers. + /// rawBody. + /// body. + public HttpStringResponse(int statusCode, Dictionary headers, Stream rawBody, string body) + : base(statusCode, headers, rawBody, body) { } + + /// + public override string ToString() + { + return $"Body = {this.Body}" + + $"{base.ToString()}: "; + } + } } \ No newline at end of file diff --git a/Square/Models/ACHDetails.cs b/Square/Models/ACHDetails.cs index cf036c59..2fb7a7e9 100644 --- a/Square/Models/ACHDetails.cs +++ b/Square/Models/ACHDetails.cs @@ -122,19 +122,19 @@ public bool ShouldSerializeAccountType() { return this.shouldSerialize["account_type"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ACHDetails other && ((this.RoutingNumber == null && other.RoutingNumber == null) || (this.RoutingNumber?.Equals(other.RoutingNumber) == true)) && ((this.AccountNumberSuffix == null && other.AccountNumberSuffix == null) || (this.AccountNumberSuffix?.Equals(other.AccountNumberSuffix) == true)) && ((this.AccountType == null && other.AccountType == null) || (this.AccountType?.Equals(other.AccountType) == true)); diff --git a/Square/Models/AcceptDisputeResponse.cs b/Square/Models/AcceptDisputeResponse.cs index d8325eb5..630fb450 100644 --- a/Square/Models/AcceptDisputeResponse.cs +++ b/Square/Models/AcceptDisputeResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"AcceptDisputeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AcceptDisputeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Dispute == null && other.Dispute == null) || (this.Dispute?.Equals(other.Dispute) == true)); diff --git a/Square/Models/AcceptedPaymentMethods.cs b/Square/Models/AcceptedPaymentMethods.cs index 5b426a17..03904fe0 100644 --- a/Square/Models/AcceptedPaymentMethods.cs +++ b/Square/Models/AcceptedPaymentMethods.cs @@ -147,19 +147,19 @@ public bool ShouldSerializeAfterpayClearpay() { return this.shouldSerialize["afterpay_clearpay"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AcceptedPaymentMethods other && ((this.ApplePay == null && other.ApplePay == null) || (this.ApplePay?.Equals(other.ApplePay) == true)) && ((this.GooglePay == null && other.GooglePay == null) || (this.GooglePay?.Equals(other.GooglePay) == true)) && ((this.CashAppPay == null && other.CashAppPay == null) || (this.CashAppPay?.Equals(other.CashAppPay) == true)) && diff --git a/Square/Models/AccumulateLoyaltyPointsRequest.cs b/Square/Models/AccumulateLoyaltyPointsRequest.cs index bb921bfd..3efafef5 100644 --- a/Square/Models/AccumulateLoyaltyPointsRequest.cs +++ b/Square/Models/AccumulateLoyaltyPointsRequest.cs @@ -62,19 +62,19 @@ public override string ToString() return $"AccumulateLoyaltyPointsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AccumulateLoyaltyPointsRequest other && ((this.AccumulatePoints == null && other.AccumulatePoints == null) || (this.AccumulatePoints?.Equals(other.AccumulatePoints) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/AccumulateLoyaltyPointsResponse.cs b/Square/Models/AccumulateLoyaltyPointsResponse.cs index 8678b69d..04c2eeca 100644 --- a/Square/Models/AccumulateLoyaltyPointsResponse.cs +++ b/Square/Models/AccumulateLoyaltyPointsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"AccumulateLoyaltyPointsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AccumulateLoyaltyPointsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MEvent == null && other.MEvent == null) || (this.MEvent?.Equals(other.MEvent) == true)) && diff --git a/Square/Models/AddGroupToCustomerResponse.cs b/Square/Models/AddGroupToCustomerResponse.cs index 2b4fab86..4a321f6e 100644 --- a/Square/Models/AddGroupToCustomerResponse.cs +++ b/Square/Models/AddGroupToCustomerResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"AddGroupToCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AddGroupToCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/AdditionalRecipient.cs b/Square/Models/AdditionalRecipient.cs index 32453598..dece718e 100644 --- a/Square/Models/AdditionalRecipient.cs +++ b/Square/Models/AdditionalRecipient.cs @@ -122,19 +122,19 @@ public bool ShouldSerializeReceivableId() { return this.shouldSerialize["receivable_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AdditionalRecipient other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && diff --git a/Square/Models/Address.cs b/Square/Models/Address.cs index cda14326..e7adc19c 100644 --- a/Square/Models/Address.cs +++ b/Square/Models/Address.cs @@ -400,19 +400,19 @@ public bool ShouldSerializeLastName() { return this.shouldSerialize["last_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Address other && ((this.AddressLine1 == null && other.AddressLine1 == null) || (this.AddressLine1?.Equals(other.AddressLine1) == true)) && ((this.AddressLine2 == null && other.AddressLine2 == null) || (this.AddressLine2?.Equals(other.AddressLine2) == true)) && ((this.AddressLine3 == null && other.AddressLine3 == null) || (this.AddressLine3?.Equals(other.AddressLine3) == true)) && diff --git a/Square/Models/AdjustLoyaltyPointsRequest.cs b/Square/Models/AdjustLoyaltyPointsRequest.cs index dd2faecf..f5bec0b5 100644 --- a/Square/Models/AdjustLoyaltyPointsRequest.cs +++ b/Square/Models/AdjustLoyaltyPointsRequest.cs @@ -94,19 +94,19 @@ public bool ShouldSerializeAllowNegativeBalance() { return this.shouldSerialize["allow_negative_balance"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AdjustLoyaltyPointsRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.AdjustPoints == null && other.AdjustPoints == null) || (this.AdjustPoints?.Equals(other.AdjustPoints) == true)) && ((this.AllowNegativeBalance == null && other.AllowNegativeBalance == null) || (this.AllowNegativeBalance?.Equals(other.AllowNegativeBalance) == true)); diff --git a/Square/Models/AdjustLoyaltyPointsResponse.cs b/Square/Models/AdjustLoyaltyPointsResponse.cs index 88b04e9a..bfdd159e 100644 --- a/Square/Models/AdjustLoyaltyPointsResponse.cs +++ b/Square/Models/AdjustLoyaltyPointsResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"AdjustLoyaltyPointsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AdjustLoyaltyPointsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MEvent == null && other.MEvent == null) || (this.MEvent?.Equals(other.MEvent) == true)); diff --git a/Square/Models/AfterpayDetails.cs b/Square/Models/AfterpayDetails.cs index 0e5b0dfe..fe4ca5a3 100644 --- a/Square/Models/AfterpayDetails.cs +++ b/Square/Models/AfterpayDetails.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEmailAddress() { return this.shouldSerialize["email_address"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AfterpayDetails other && ((this.EmailAddress == null && other.EmailAddress == null) || (this.EmailAddress?.Equals(other.EmailAddress) == true)); } diff --git a/Square/Models/ApplicationDetails.cs b/Square/Models/ApplicationDetails.cs index 2ba575ad..98b0d2b4 100644 --- a/Square/Models/ApplicationDetails.cs +++ b/Square/Models/ApplicationDetails.cs @@ -86,19 +86,19 @@ public bool ShouldSerializeApplicationId() { return this.shouldSerialize["application_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ApplicationDetails other && ((this.SquareProduct == null && other.SquareProduct == null) || (this.SquareProduct?.Equals(other.SquareProduct) == true)) && ((this.ApplicationId == null && other.ApplicationId == null) || (this.ApplicationId?.Equals(other.ApplicationId) == true)); } diff --git a/Square/Models/AppointmentSegment.cs b/Square/Models/AppointmentSegment.cs index 3aedd753..99293ef1 100644 --- a/Square/Models/AppointmentSegment.cs +++ b/Square/Models/AppointmentSegment.cs @@ -165,19 +165,19 @@ public bool ShouldSerializeServiceVariationVersion() { return this.shouldSerialize["service_variation_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is AppointmentSegment other && ((this.DurationMinutes == null && other.DurationMinutes == null) || (this.DurationMinutes?.Equals(other.DurationMinutes) == true)) && ((this.ServiceVariationId == null && other.ServiceVariationId == null) || (this.ServiceVariationId?.Equals(other.ServiceVariationId) == true)) && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && diff --git a/Square/Models/Availability.cs b/Square/Models/Availability.cs index 6e822b98..13958c3f 100644 --- a/Square/Models/Availability.cs +++ b/Square/Models/Availability.cs @@ -106,19 +106,19 @@ public bool ShouldSerializeAppointmentSegments() { return this.shouldSerialize["appointment_segments"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Availability other && ((this.StartAt == null && other.StartAt == null) || (this.StartAt?.Equals(other.StartAt) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.AppointmentSegments == null && other.AppointmentSegments == null) || (this.AppointmentSegments?.Equals(other.AppointmentSegments) == true)); diff --git a/Square/Models/BankAccount.cs b/Square/Models/BankAccount.cs index c9cea42e..f83922b9 100644 --- a/Square/Models/BankAccount.cs +++ b/Square/Models/BankAccount.cs @@ -331,19 +331,19 @@ public bool ShouldSerializeBankName() { return this.shouldSerialize["bank_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BankAccount other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.AccountNumberSuffix == null && other.AccountNumberSuffix == null) || (this.AccountNumberSuffix?.Equals(other.AccountNumberSuffix) == true)) && ((this.Country == null && other.Country == null) || (this.Country?.Equals(other.Country) == true)) && diff --git a/Square/Models/BankAccountPaymentDetails.cs b/Square/Models/BankAccountPaymentDetails.cs index 55056f35..5755b954 100644 --- a/Square/Models/BankAccountPaymentDetails.cs +++ b/Square/Models/BankAccountPaymentDetails.cs @@ -238,19 +238,19 @@ public bool ShouldSerializeErrors() { return this.shouldSerialize["errors"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BankAccountPaymentDetails other && ((this.BankName == null && other.BankName == null) || (this.BankName?.Equals(other.BankName) == true)) && ((this.TransferType == null && other.TransferType == null) || (this.TransferType?.Equals(other.TransferType) == true)) && ((this.AccountOwnershipType == null && other.AccountOwnershipType == null) || (this.AccountOwnershipType?.Equals(other.AccountOwnershipType) == true)) && diff --git a/Square/Models/BatchChangeInventoryRequest.cs b/Square/Models/BatchChangeInventoryRequest.cs index dd722b0f..05dabb9f 100644 --- a/Square/Models/BatchChangeInventoryRequest.cs +++ b/Square/Models/BatchChangeInventoryRequest.cs @@ -113,19 +113,19 @@ public bool ShouldSerializeIgnoreUnchangedCounts() { return this.shouldSerialize["ignore_unchanged_counts"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchChangeInventoryRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Changes == null && other.Changes == null) || (this.Changes?.Equals(other.Changes) == true)) && ((this.IgnoreUnchangedCounts == null && other.IgnoreUnchangedCounts == null) || (this.IgnoreUnchangedCounts?.Equals(other.IgnoreUnchangedCounts) == true)); diff --git a/Square/Models/BatchChangeInventoryResponse.cs b/Square/Models/BatchChangeInventoryResponse.cs index 289b801a..5366ae76 100644 --- a/Square/Models/BatchChangeInventoryResponse.cs +++ b/Square/Models/BatchChangeInventoryResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"BatchChangeInventoryResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchChangeInventoryResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Counts == null && other.Counts == null) || (this.Counts?.Equals(other.Counts) == true)) && diff --git a/Square/Models/BatchDeleteCatalogObjectsRequest.cs b/Square/Models/BatchDeleteCatalogObjectsRequest.cs index 328c7690..59be2e3a 100644 --- a/Square/Models/BatchDeleteCatalogObjectsRequest.cs +++ b/Square/Models/BatchDeleteCatalogObjectsRequest.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeObjectIds() { return this.shouldSerialize["object_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchDeleteCatalogObjectsRequest other && ((this.ObjectIds == null && other.ObjectIds == null) || (this.ObjectIds?.Equals(other.ObjectIds) == true)); } diff --git a/Square/Models/BatchDeleteCatalogObjectsResponse.cs b/Square/Models/BatchDeleteCatalogObjectsResponse.cs index 18628d89..365efa95 100644 --- a/Square/Models/BatchDeleteCatalogObjectsResponse.cs +++ b/Square/Models/BatchDeleteCatalogObjectsResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"BatchDeleteCatalogObjectsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchDeleteCatalogObjectsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.DeletedObjectIds == null && other.DeletedObjectIds == null) || (this.DeletedObjectIds?.Equals(other.DeletedObjectIds) == true)) && diff --git a/Square/Models/BatchRetrieveCatalogObjectsRequest.cs b/Square/Models/BatchRetrieveCatalogObjectsRequest.cs index 20621304..da55087c 100644 --- a/Square/Models/BatchRetrieveCatalogObjectsRequest.cs +++ b/Square/Models/BatchRetrieveCatalogObjectsRequest.cs @@ -175,19 +175,19 @@ public bool ShouldSerializeIncludeCategoryPathToRoot() { return this.shouldSerialize["include_category_path_to_root"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveCatalogObjectsRequest other && ((this.ObjectIds == null && other.ObjectIds == null) || (this.ObjectIds?.Equals(other.ObjectIds) == true)) && ((this.IncludeRelatedObjects == null && other.IncludeRelatedObjects == null) || (this.IncludeRelatedObjects?.Equals(other.IncludeRelatedObjects) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)) && diff --git a/Square/Models/BatchRetrieveCatalogObjectsResponse.cs b/Square/Models/BatchRetrieveCatalogObjectsResponse.cs index af61a37d..a062f9fa 100644 --- a/Square/Models/BatchRetrieveCatalogObjectsResponse.cs +++ b/Square/Models/BatchRetrieveCatalogObjectsResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"BatchRetrieveCatalogObjectsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveCatalogObjectsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Objects == null && other.Objects == null) || (this.Objects?.Equals(other.Objects) == true)) && diff --git a/Square/Models/BatchRetrieveInventoryChangesRequest.cs b/Square/Models/BatchRetrieveInventoryChangesRequest.cs index 78ea2a17..834a9810 100644 --- a/Square/Models/BatchRetrieveInventoryChangesRequest.cs +++ b/Square/Models/BatchRetrieveInventoryChangesRequest.cs @@ -262,19 +262,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveInventoryChangesRequest other && ((this.CatalogObjectIds == null && other.CatalogObjectIds == null) || (this.CatalogObjectIds?.Equals(other.CatalogObjectIds) == true)) && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.Types == null && other.Types == null) || (this.Types?.Equals(other.Types) == true)) && diff --git a/Square/Models/BatchRetrieveInventoryChangesResponse.cs b/Square/Models/BatchRetrieveInventoryChangesResponse.cs index c5c3762d..537222c7 100644 --- a/Square/Models/BatchRetrieveInventoryChangesResponse.cs +++ b/Square/Models/BatchRetrieveInventoryChangesResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"BatchRetrieveInventoryChangesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveInventoryChangesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Changes == null && other.Changes == null) || (this.Changes?.Equals(other.Changes) == true)) && diff --git a/Square/Models/BatchRetrieveInventoryCountsRequest.cs b/Square/Models/BatchRetrieveInventoryCountsRequest.cs index 11cce8a2..e56251b8 100644 --- a/Square/Models/BatchRetrieveInventoryCountsRequest.cs +++ b/Square/Models/BatchRetrieveInventoryCountsRequest.cs @@ -207,19 +207,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveInventoryCountsRequest other && ((this.CatalogObjectIds == null && other.CatalogObjectIds == null) || (this.CatalogObjectIds?.Equals(other.CatalogObjectIds) == true)) && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.UpdatedAfter == null && other.UpdatedAfter == null) || (this.UpdatedAfter?.Equals(other.UpdatedAfter) == true)) && diff --git a/Square/Models/BatchRetrieveInventoryCountsResponse.cs b/Square/Models/BatchRetrieveInventoryCountsResponse.cs index 31f5a3b3..92874a6a 100644 --- a/Square/Models/BatchRetrieveInventoryCountsResponse.cs +++ b/Square/Models/BatchRetrieveInventoryCountsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"BatchRetrieveInventoryCountsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveInventoryCountsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Counts == null && other.Counts == null) || (this.Counts?.Equals(other.Counts) == true)) && diff --git a/Square/Models/BatchRetrieveOrdersRequest.cs b/Square/Models/BatchRetrieveOrdersRequest.cs index 64cf0786..17143567 100644 --- a/Square/Models/BatchRetrieveOrdersRequest.cs +++ b/Square/Models/BatchRetrieveOrdersRequest.cs @@ -81,19 +81,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveOrdersRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.OrderIds == null && other.OrderIds == null) || (this.OrderIds?.Equals(other.OrderIds) == true)); } diff --git a/Square/Models/BatchRetrieveOrdersResponse.cs b/Square/Models/BatchRetrieveOrdersResponse.cs index 4ec51a36..63e37ece 100644 --- a/Square/Models/BatchRetrieveOrdersResponse.cs +++ b/Square/Models/BatchRetrieveOrdersResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BatchRetrieveOrdersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchRetrieveOrdersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Orders == null && other.Orders == null) || (this.Orders?.Equals(other.Orders) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BatchUpsertCatalogObjectsRequest.cs b/Square/Models/BatchUpsertCatalogObjectsRequest.cs index 5f5087cf..db14fad5 100644 --- a/Square/Models/BatchUpsertCatalogObjectsRequest.cs +++ b/Square/Models/BatchUpsertCatalogObjectsRequest.cs @@ -74,19 +74,19 @@ public override string ToString() return $"BatchUpsertCatalogObjectsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchUpsertCatalogObjectsRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Batches == null && other.Batches == null) || (this.Batches?.Equals(other.Batches) == true)); } diff --git a/Square/Models/BatchUpsertCatalogObjectsResponse.cs b/Square/Models/BatchUpsertCatalogObjectsResponse.cs index 4ac951f3..ce45d5b7 100644 --- a/Square/Models/BatchUpsertCatalogObjectsResponse.cs +++ b/Square/Models/BatchUpsertCatalogObjectsResponse.cs @@ -77,19 +77,19 @@ public override string ToString() return $"BatchUpsertCatalogObjectsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BatchUpsertCatalogObjectsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Objects == null && other.Objects == null) || (this.Objects?.Equals(other.Objects) == true)) && diff --git a/Square/Models/Booking.cs b/Square/Models/Booking.cs index 91ac36fa..fc5f4feb 100644 --- a/Square/Models/Booking.cs +++ b/Square/Models/Booking.cs @@ -311,19 +311,19 @@ public bool ShouldSerializeAppointmentSegments() { return this.shouldSerialize["appointment_segments"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Booking other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && diff --git a/Square/Models/BookingCreatorDetails.cs b/Square/Models/BookingCreatorDetails.cs index ad993e8e..aded7c48 100644 --- a/Square/Models/BookingCreatorDetails.cs +++ b/Square/Models/BookingCreatorDetails.cs @@ -63,19 +63,19 @@ public override string ToString() return $"BookingCreatorDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BookingCreatorDetails other && ((this.CreatorType == null && other.CreatorType == null) || (this.CreatorType?.Equals(other.CreatorType) == true)) && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)); diff --git a/Square/Models/BookingCustomAttributeDeleteRequest.cs b/Square/Models/BookingCustomAttributeDeleteRequest.cs index 23dbe00a..8fe30f6a 100644 --- a/Square/Models/BookingCustomAttributeDeleteRequest.cs +++ b/Square/Models/BookingCustomAttributeDeleteRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"BookingCustomAttributeDeleteRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BookingCustomAttributeDeleteRequest other && ((this.BookingId == null && other.BookingId == null) || (this.BookingId?.Equals(other.BookingId) == true)) && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)); } diff --git a/Square/Models/BookingCustomAttributeDeleteResponse.cs b/Square/Models/BookingCustomAttributeDeleteResponse.cs index 2bb3a174..0e6d906d 100644 --- a/Square/Models/BookingCustomAttributeDeleteResponse.cs +++ b/Square/Models/BookingCustomAttributeDeleteResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"BookingCustomAttributeDeleteResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BookingCustomAttributeDeleteResponse other && ((this.BookingId == null && other.BookingId == null) || (this.BookingId?.Equals(other.BookingId) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/BookingCustomAttributeUpsertRequest.cs b/Square/Models/BookingCustomAttributeUpsertRequest.cs index fa0378ba..f61edbcf 100644 --- a/Square/Models/BookingCustomAttributeUpsertRequest.cs +++ b/Square/Models/BookingCustomAttributeUpsertRequest.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BookingCustomAttributeUpsertRequest other && ((this.BookingId == null && other.BookingId == null) || (this.BookingId?.Equals(other.BookingId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/BookingCustomAttributeUpsertResponse.cs b/Square/Models/BookingCustomAttributeUpsertResponse.cs index 70674353..a98c5f2b 100644 --- a/Square/Models/BookingCustomAttributeUpsertResponse.cs +++ b/Square/Models/BookingCustomAttributeUpsertResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"BookingCustomAttributeUpsertResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BookingCustomAttributeUpsertResponse other && ((this.BookingId == null && other.BookingId == null) || (this.BookingId?.Equals(other.BookingId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/Break.cs b/Square/Models/Break.cs index 4c657a8c..d0ec3c98 100644 --- a/Square/Models/Break.cs +++ b/Square/Models/Break.cs @@ -139,19 +139,19 @@ public bool ShouldSerializeEndAt() { return this.shouldSerialize["end_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Break other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.StartAt == null && other.StartAt == null) || (this.StartAt?.Equals(other.StartAt) == true)) && ((this.EndAt == null && other.EndAt == null) || (this.EndAt?.Equals(other.EndAt) == true)) && diff --git a/Square/Models/BreakType.cs b/Square/Models/BreakType.cs index a05baec3..eb78dd87 100644 --- a/Square/Models/BreakType.cs +++ b/Square/Models/BreakType.cs @@ -113,19 +113,19 @@ public override string ToString() return $"BreakType : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BreakType other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.BreakName == null && other.BreakName == null) || (this.BreakName?.Equals(other.BreakName) == true)) && diff --git a/Square/Models/BulkCreateCustomerData.cs b/Square/Models/BulkCreateCustomerData.cs index 43964e27..aaad2e8c 100644 --- a/Square/Models/BulkCreateCustomerData.cs +++ b/Square/Models/BulkCreateCustomerData.cs @@ -307,19 +307,19 @@ public bool ShouldSerializeBirthday() { return this.shouldSerialize["birthday"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateCustomerData other && ((this.GivenName == null && other.GivenName == null) || (this.GivenName?.Equals(other.GivenName) == true)) && ((this.FamilyName == null && other.FamilyName == null) || (this.FamilyName?.Equals(other.FamilyName) == true)) && ((this.CompanyName == null && other.CompanyName == null) || (this.CompanyName?.Equals(other.CompanyName) == true)) && diff --git a/Square/Models/BulkCreateCustomersRequest.cs b/Square/Models/BulkCreateCustomersRequest.cs index 3f19acc1..3732535f 100644 --- a/Square/Models/BulkCreateCustomersRequest.cs +++ b/Square/Models/BulkCreateCustomersRequest.cs @@ -47,19 +47,19 @@ public override string ToString() return $"BulkCreateCustomersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateCustomersRequest other && ((this.Customers == null && other.Customers == null) || (this.Customers?.Equals(other.Customers) == true)); } diff --git a/Square/Models/BulkCreateCustomersResponse.cs b/Square/Models/BulkCreateCustomersResponse.cs index 0a436b29..95c39bb7 100644 --- a/Square/Models/BulkCreateCustomersResponse.cs +++ b/Square/Models/BulkCreateCustomersResponse.cs @@ -64,19 +64,19 @@ public override string ToString() return $"BulkCreateCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkCreateTeamMembersRequest.cs b/Square/Models/BulkCreateTeamMembersRequest.cs index 6fd35812..41c579b4 100644 --- a/Square/Models/BulkCreateTeamMembersRequest.cs +++ b/Square/Models/BulkCreateTeamMembersRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkCreateTeamMembersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateTeamMembersRequest other && ((this.TeamMembers == null && other.TeamMembers == null) || (this.TeamMembers?.Equals(other.TeamMembers) == true)); } diff --git a/Square/Models/BulkCreateTeamMembersResponse.cs b/Square/Models/BulkCreateTeamMembersResponse.cs index a248e976..e07b61ba 100644 --- a/Square/Models/BulkCreateTeamMembersResponse.cs +++ b/Square/Models/BulkCreateTeamMembersResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkCreateTeamMembersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateTeamMembersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMembers == null && other.TeamMembers == null) || (this.TeamMembers?.Equals(other.TeamMembers) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkCreateVendorsRequest.cs b/Square/Models/BulkCreateVendorsRequest.cs index 97e37a82..7f912828 100644 --- a/Square/Models/BulkCreateVendorsRequest.cs +++ b/Square/Models/BulkCreateVendorsRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkCreateVendorsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateVendorsRequest other && ((this.Vendors == null && other.Vendors == null) || (this.Vendors?.Equals(other.Vendors) == true)); } diff --git a/Square/Models/BulkCreateVendorsResponse.cs b/Square/Models/BulkCreateVendorsResponse.cs index 04a49811..35a05e48 100644 --- a/Square/Models/BulkCreateVendorsResponse.cs +++ b/Square/Models/BulkCreateVendorsResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"BulkCreateVendorsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkCreateVendorsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)); diff --git a/Square/Models/BulkDeleteBookingCustomAttributesRequest.cs b/Square/Models/BulkDeleteBookingCustomAttributesRequest.cs index 3f08448e..b9b2b892 100644 --- a/Square/Models/BulkDeleteBookingCustomAttributesRequest.cs +++ b/Square/Models/BulkDeleteBookingCustomAttributesRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"BulkDeleteBookingCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteBookingCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkDeleteBookingCustomAttributesResponse.cs b/Square/Models/BulkDeleteBookingCustomAttributesResponse.cs index c1269f85..9e6dfb34 100644 --- a/Square/Models/BulkDeleteBookingCustomAttributesResponse.cs +++ b/Square/Models/BulkDeleteBookingCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkDeleteBookingCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteBookingCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkDeleteCustomersRequest.cs b/Square/Models/BulkDeleteCustomersRequest.cs index 73a6fc0f..2abd3024 100644 --- a/Square/Models/BulkDeleteCustomersRequest.cs +++ b/Square/Models/BulkDeleteCustomersRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkDeleteCustomersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteCustomersRequest other && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)); } diff --git a/Square/Models/BulkDeleteCustomersResponse.cs b/Square/Models/BulkDeleteCustomersResponse.cs index 88ba184e..83a5ada5 100644 --- a/Square/Models/BulkDeleteCustomersResponse.cs +++ b/Square/Models/BulkDeleteCustomersResponse.cs @@ -64,19 +64,19 @@ public override string ToString() return $"BulkDeleteCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkDeleteLocationCustomAttributesRequest.cs b/Square/Models/BulkDeleteLocationCustomAttributesRequest.cs index 20594917..17e4212c 100644 --- a/Square/Models/BulkDeleteLocationCustomAttributesRequest.cs +++ b/Square/Models/BulkDeleteLocationCustomAttributesRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"BulkDeleteLocationCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteLocationCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest.cs b/Square/Models/BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest.cs index 5e0e7f22..13c304ae 100644 --- a/Square/Models/BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest.cs +++ b/Square/Models/BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)); } diff --git a/Square/Models/BulkDeleteLocationCustomAttributesResponse.cs b/Square/Models/BulkDeleteLocationCustomAttributesResponse.cs index fe591c89..c6ec74e4 100644 --- a/Square/Models/BulkDeleteLocationCustomAttributesResponse.cs +++ b/Square/Models/BulkDeleteLocationCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkDeleteLocationCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteLocationCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse.cs b/Square/Models/BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse.cs index a8a0e039..4d0f683d 100644 --- a/Square/Models/BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse.cs +++ b/Square/Models/BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/BulkDeleteMerchantCustomAttributesRequest.cs b/Square/Models/BulkDeleteMerchantCustomAttributesRequest.cs index 74b81f44..99a95086 100644 --- a/Square/Models/BulkDeleteMerchantCustomAttributesRequest.cs +++ b/Square/Models/BulkDeleteMerchantCustomAttributesRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"BulkDeleteMerchantCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteMerchantCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest.cs b/Square/Models/BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest.cs index 9ec4d864..ffcf95d2 100644 --- a/Square/Models/BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest.cs +++ b/Square/Models/BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequest other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)); } diff --git a/Square/Models/BulkDeleteMerchantCustomAttributesResponse.cs b/Square/Models/BulkDeleteMerchantCustomAttributesResponse.cs index 6965a7e9..7518bc0b 100644 --- a/Square/Models/BulkDeleteMerchantCustomAttributesResponse.cs +++ b/Square/Models/BulkDeleteMerchantCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkDeleteMerchantCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteMerchantCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse.cs b/Square/Models/BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse.cs index 9bd33a0e..ed81909c 100644 --- a/Square/Models/BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse.cs +++ b/Square/Models/BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteMerchantCustomAttributesResponseMerchantCustomAttributeDeleteResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/BulkDeleteOrderCustomAttributesRequest.cs b/Square/Models/BulkDeleteOrderCustomAttributesRequest.cs index f1e0bd42..d8a2d328 100644 --- a/Square/Models/BulkDeleteOrderCustomAttributesRequest.cs +++ b/Square/Models/BulkDeleteOrderCustomAttributesRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkDeleteOrderCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteOrderCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute.cs b/Square/Models/BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute.cs index 8ab41a24..910796df 100644 --- a/Square/Models/BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute.cs +++ b/Square/Models/BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute.cs @@ -53,19 +53,19 @@ public override string ToString() return $"BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)); } diff --git a/Square/Models/BulkDeleteOrderCustomAttributesResponse.cs b/Square/Models/BulkDeleteOrderCustomAttributesResponse.cs index 400083cb..bfdba900 100644 --- a/Square/Models/BulkDeleteOrderCustomAttributesResponse.cs +++ b/Square/Models/BulkDeleteOrderCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkDeleteOrderCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkDeleteOrderCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); diff --git a/Square/Models/BulkRetrieveBookingsRequest.cs b/Square/Models/BulkRetrieveBookingsRequest.cs index d12e8970..b1c74b9a 100644 --- a/Square/Models/BulkRetrieveBookingsRequest.cs +++ b/Square/Models/BulkRetrieveBookingsRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkRetrieveBookingsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveBookingsRequest other && ((this.BookingIds == null && other.BookingIds == null) || (this.BookingIds?.Equals(other.BookingIds) == true)); } diff --git a/Square/Models/BulkRetrieveBookingsResponse.cs b/Square/Models/BulkRetrieveBookingsResponse.cs index 672aedf3..c286ef67 100644 --- a/Square/Models/BulkRetrieveBookingsResponse.cs +++ b/Square/Models/BulkRetrieveBookingsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkRetrieveBookingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveBookingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Bookings == null && other.Bookings == null) || (this.Bookings?.Equals(other.Bookings) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkRetrieveCustomersRequest.cs b/Square/Models/BulkRetrieveCustomersRequest.cs index cda4c128..d0789e3a 100644 --- a/Square/Models/BulkRetrieveCustomersRequest.cs +++ b/Square/Models/BulkRetrieveCustomersRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkRetrieveCustomersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveCustomersRequest other && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)); } diff --git a/Square/Models/BulkRetrieveCustomersResponse.cs b/Square/Models/BulkRetrieveCustomersResponse.cs index baeef95c..ec210c68 100644 --- a/Square/Models/BulkRetrieveCustomersResponse.cs +++ b/Square/Models/BulkRetrieveCustomersResponse.cs @@ -64,19 +64,19 @@ public override string ToString() return $"BulkRetrieveCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkRetrieveTeamMemberBookingProfilesRequest.cs b/Square/Models/BulkRetrieveTeamMemberBookingProfilesRequest.cs index 06bada71..58b4c971 100644 --- a/Square/Models/BulkRetrieveTeamMemberBookingProfilesRequest.cs +++ b/Square/Models/BulkRetrieveTeamMemberBookingProfilesRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkRetrieveTeamMemberBookingProfilesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveTeamMemberBookingProfilesRequest other && ((this.TeamMemberIds == null && other.TeamMemberIds == null) || (this.TeamMemberIds?.Equals(other.TeamMemberIds) == true)); } diff --git a/Square/Models/BulkRetrieveTeamMemberBookingProfilesResponse.cs b/Square/Models/BulkRetrieveTeamMemberBookingProfilesResponse.cs index c7fb2ad4..35ecdb00 100644 --- a/Square/Models/BulkRetrieveTeamMemberBookingProfilesResponse.cs +++ b/Square/Models/BulkRetrieveTeamMemberBookingProfilesResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkRetrieveTeamMemberBookingProfilesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveTeamMemberBookingProfilesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMemberBookingProfiles == null && other.TeamMemberBookingProfiles == null) || (this.TeamMemberBookingProfiles?.Equals(other.TeamMemberBookingProfiles) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkRetrieveVendorsRequest.cs b/Square/Models/BulkRetrieveVendorsRequest.cs index eef89f32..0bcf0f58 100644 --- a/Square/Models/BulkRetrieveVendorsRequest.cs +++ b/Square/Models/BulkRetrieveVendorsRequest.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeVendorIds() { return this.shouldSerialize["vendor_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveVendorsRequest other && ((this.VendorIds == null && other.VendorIds == null) || (this.VendorIds?.Equals(other.VendorIds) == true)); } diff --git a/Square/Models/BulkRetrieveVendorsResponse.cs b/Square/Models/BulkRetrieveVendorsResponse.cs index 80ff4a12..64438f73 100644 --- a/Square/Models/BulkRetrieveVendorsResponse.cs +++ b/Square/Models/BulkRetrieveVendorsResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"BulkRetrieveVendorsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkRetrieveVendorsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)); diff --git a/Square/Models/BulkSwapPlanRequest.cs b/Square/Models/BulkSwapPlanRequest.cs index b67ebec9..61633cae 100644 --- a/Square/Models/BulkSwapPlanRequest.cs +++ b/Square/Models/BulkSwapPlanRequest.cs @@ -64,19 +64,19 @@ public override string ToString() return $"BulkSwapPlanRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkSwapPlanRequest other && ((this.NewPlanVariationId == null && other.NewPlanVariationId == null) || (this.NewPlanVariationId?.Equals(other.NewPlanVariationId) == true)) && ((this.OldPlanVariationId == null && other.OldPlanVariationId == null) || (this.OldPlanVariationId?.Equals(other.OldPlanVariationId) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/BulkSwapPlanResponse.cs b/Square/Models/BulkSwapPlanResponse.cs index 6322f914..5a03eedd 100644 --- a/Square/Models/BulkSwapPlanResponse.cs +++ b/Square/Models/BulkSwapPlanResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkSwapPlanResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkSwapPlanResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.AffectedSubscriptions == null && other.AffectedSubscriptions == null) || (this.AffectedSubscriptions?.Equals(other.AffectedSubscriptions) == true)); diff --git a/Square/Models/BulkUpdateCustomerData.cs b/Square/Models/BulkUpdateCustomerData.cs index ba17eb5f..ae699cf9 100644 --- a/Square/Models/BulkUpdateCustomerData.cs +++ b/Square/Models/BulkUpdateCustomerData.cs @@ -321,19 +321,19 @@ public bool ShouldSerializeBirthday() { return this.shouldSerialize["birthday"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateCustomerData other && ((this.GivenName == null && other.GivenName == null) || (this.GivenName?.Equals(other.GivenName) == true)) && ((this.FamilyName == null && other.FamilyName == null) || (this.FamilyName?.Equals(other.FamilyName) == true)) && ((this.CompanyName == null && other.CompanyName == null) || (this.CompanyName?.Equals(other.CompanyName) == true)) && diff --git a/Square/Models/BulkUpdateCustomersRequest.cs b/Square/Models/BulkUpdateCustomersRequest.cs index 97f91ea6..b00eab43 100644 --- a/Square/Models/BulkUpdateCustomersRequest.cs +++ b/Square/Models/BulkUpdateCustomersRequest.cs @@ -48,19 +48,19 @@ public override string ToString() return $"BulkUpdateCustomersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateCustomersRequest other && ((this.Customers == null && other.Customers == null) || (this.Customers?.Equals(other.Customers) == true)); } diff --git a/Square/Models/BulkUpdateCustomersResponse.cs b/Square/Models/BulkUpdateCustomersResponse.cs index 02161e3c..707dba09 100644 --- a/Square/Models/BulkUpdateCustomersResponse.cs +++ b/Square/Models/BulkUpdateCustomersResponse.cs @@ -64,19 +64,19 @@ public override string ToString() return $"BulkUpdateCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpdateTeamMembersRequest.cs b/Square/Models/BulkUpdateTeamMembersRequest.cs index 744a9616..08803b95 100644 --- a/Square/Models/BulkUpdateTeamMembersRequest.cs +++ b/Square/Models/BulkUpdateTeamMembersRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkUpdateTeamMembersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateTeamMembersRequest other && ((this.TeamMembers == null && other.TeamMembers == null) || (this.TeamMembers?.Equals(other.TeamMembers) == true)); } diff --git a/Square/Models/BulkUpdateTeamMembersResponse.cs b/Square/Models/BulkUpdateTeamMembersResponse.cs index 173f5f17..dba20b32 100644 --- a/Square/Models/BulkUpdateTeamMembersResponse.cs +++ b/Square/Models/BulkUpdateTeamMembersResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkUpdateTeamMembersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateTeamMembersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMembers == null && other.TeamMembers == null) || (this.TeamMembers?.Equals(other.TeamMembers) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpdateVendorsRequest.cs b/Square/Models/BulkUpdateVendorsRequest.cs index 4d36b9f1..e04e5c0a 100644 --- a/Square/Models/BulkUpdateVendorsRequest.cs +++ b/Square/Models/BulkUpdateVendorsRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"BulkUpdateVendorsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateVendorsRequest other && ((this.Vendors == null && other.Vendors == null) || (this.Vendors?.Equals(other.Vendors) == true)); } diff --git a/Square/Models/BulkUpdateVendorsResponse.cs b/Square/Models/BulkUpdateVendorsResponse.cs index 32fbaf85..496ffbf4 100644 --- a/Square/Models/BulkUpdateVendorsResponse.cs +++ b/Square/Models/BulkUpdateVendorsResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"BulkUpdateVendorsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpdateVendorsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Responses == null && other.Responses == null) || (this.Responses?.Equals(other.Responses) == true)); diff --git a/Square/Models/BulkUpsertBookingCustomAttributesRequest.cs b/Square/Models/BulkUpsertBookingCustomAttributesRequest.cs index 527b15da..ec1a3e1d 100644 --- a/Square/Models/BulkUpsertBookingCustomAttributesRequest.cs +++ b/Square/Models/BulkUpsertBookingCustomAttributesRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"BulkUpsertBookingCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertBookingCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkUpsertBookingCustomAttributesResponse.cs b/Square/Models/BulkUpsertBookingCustomAttributesResponse.cs index 405a12cb..a933c046 100644 --- a/Square/Models/BulkUpsertBookingCustomAttributesResponse.cs +++ b/Square/Models/BulkUpsertBookingCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkUpsertBookingCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertBookingCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertCustomerCustomAttributesRequest.cs b/Square/Models/BulkUpsertCustomerCustomAttributesRequest.cs index 1192a0c2..81eef672 100644 --- a/Square/Models/BulkUpsertCustomerCustomAttributesRequest.cs +++ b/Square/Models/BulkUpsertCustomerCustomAttributesRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"BulkUpsertCustomerCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertCustomerCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest.cs b/Square/Models/BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest.cs index 87633464..3341767b 100644 --- a/Square/Models/BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest.cs +++ b/Square/Models/BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/BulkUpsertCustomerCustomAttributesResponse.cs b/Square/Models/BulkUpsertCustomerCustomAttributesResponse.cs index 9bca147c..ff7ec919 100644 --- a/Square/Models/BulkUpsertCustomerCustomAttributesResponse.cs +++ b/Square/Models/BulkUpsertCustomerCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkUpsertCustomerCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertCustomerCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse.cs b/Square/Models/BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse.cs index 1ab8b886..e237347d 100644 --- a/Square/Models/BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse.cs +++ b/Square/Models/BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertLocationCustomAttributesRequest.cs b/Square/Models/BulkUpsertLocationCustomAttributesRequest.cs index 90560146..8ec6deea 100644 --- a/Square/Models/BulkUpsertLocationCustomAttributesRequest.cs +++ b/Square/Models/BulkUpsertLocationCustomAttributesRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"BulkUpsertLocationCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertLocationCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkUpsertLocationCustomAttributesRequestLocationCustomAttributeUpsertRequest.cs b/Square/Models/BulkUpsertLocationCustomAttributesRequestLocationCustomAttributeUpsertRequest.cs index 82fbfbdf..e2218fec 100644 --- a/Square/Models/BulkUpsertLocationCustomAttributesRequestLocationCustomAttributeUpsertRequest.cs +++ b/Square/Models/BulkUpsertLocationCustomAttributesRequestLocationCustomAttributeUpsertRequest.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertLocationCustomAttributesRequestLocationCustomAttributeUpsertRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/BulkUpsertLocationCustomAttributesResponse.cs b/Square/Models/BulkUpsertLocationCustomAttributesResponse.cs index 6a5a0885..547bed27 100644 --- a/Square/Models/BulkUpsertLocationCustomAttributesResponse.cs +++ b/Square/Models/BulkUpsertLocationCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkUpsertLocationCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertLocationCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse.cs b/Square/Models/BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse.cs index 50aa8d56..6afeefe5 100644 --- a/Square/Models/BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse.cs +++ b/Square/Models/BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertLocationCustomAttributesResponseLocationCustomAttributeUpsertResponse other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertMerchantCustomAttributesRequest.cs b/Square/Models/BulkUpsertMerchantCustomAttributesRequest.cs index 922415bd..6c110011 100644 --- a/Square/Models/BulkUpsertMerchantCustomAttributesRequest.cs +++ b/Square/Models/BulkUpsertMerchantCustomAttributesRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"BulkUpsertMerchantCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertMerchantCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkUpsertMerchantCustomAttributesRequestMerchantCustomAttributeUpsertRequest.cs b/Square/Models/BulkUpsertMerchantCustomAttributesRequestMerchantCustomAttributeUpsertRequest.cs index 6d0c3e26..4a5ae7a8 100644 --- a/Square/Models/BulkUpsertMerchantCustomAttributesRequestMerchantCustomAttributeUpsertRequest.cs +++ b/Square/Models/BulkUpsertMerchantCustomAttributesRequestMerchantCustomAttributeUpsertRequest.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertMerchantCustomAttributesRequestMerchantCustomAttributeUpsertRequest other && ((this.MerchantId == null && other.MerchantId == null) || (this.MerchantId?.Equals(other.MerchantId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/BulkUpsertMerchantCustomAttributesResponse.cs b/Square/Models/BulkUpsertMerchantCustomAttributesResponse.cs index 093105f1..58dbf4bd 100644 --- a/Square/Models/BulkUpsertMerchantCustomAttributesResponse.cs +++ b/Square/Models/BulkUpsertMerchantCustomAttributesResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"BulkUpsertMerchantCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertMerchantCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse.cs b/Square/Models/BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse.cs index 21d3ef59..052e3f5b 100644 --- a/Square/Models/BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse.cs +++ b/Square/Models/BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertMerchantCustomAttributesResponseMerchantCustomAttributeUpsertResponse other && ((this.MerchantId == null && other.MerchantId == null) || (this.MerchantId?.Equals(other.MerchantId) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/BulkUpsertOrderCustomAttributesRequest.cs b/Square/Models/BulkUpsertOrderCustomAttributesRequest.cs index f54cbc92..869c2e9a 100644 --- a/Square/Models/BulkUpsertOrderCustomAttributesRequest.cs +++ b/Square/Models/BulkUpsertOrderCustomAttributesRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"BulkUpsertOrderCustomAttributesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertOrderCustomAttributesRequest other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); } diff --git a/Square/Models/BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute.cs b/Square/Models/BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute.cs index 077fe1ac..544f6f87 100644 --- a/Square/Models/BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute.cs +++ b/Square/Models/BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)); diff --git a/Square/Models/BulkUpsertOrderCustomAttributesResponse.cs b/Square/Models/BulkUpsertOrderCustomAttributesResponse.cs index 911dac5e..df6d9b0d 100644 --- a/Square/Models/BulkUpsertOrderCustomAttributesResponse.cs +++ b/Square/Models/BulkUpsertOrderCustomAttributesResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"BulkUpsertOrderCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BulkUpsertOrderCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)); diff --git a/Square/Models/BusinessAppointmentSettings.cs b/Square/Models/BusinessAppointmentSettings.cs index ae06015d..6234b80f 100644 --- a/Square/Models/BusinessAppointmentSettings.cs +++ b/Square/Models/BusinessAppointmentSettings.cs @@ -328,19 +328,19 @@ public bool ShouldSerializeSkipBookingFlowStaffSelection() { return this.shouldSerialize["skip_booking_flow_staff_selection"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BusinessAppointmentSettings other && ((this.LocationTypes == null && other.LocationTypes == null) || (this.LocationTypes?.Equals(other.LocationTypes) == true)) && ((this.AlignmentTime == null && other.AlignmentTime == null) || (this.AlignmentTime?.Equals(other.AlignmentTime) == true)) && ((this.MinBookingLeadTimeSeconds == null && other.MinBookingLeadTimeSeconds == null) || (this.MinBookingLeadTimeSeconds?.Equals(other.MinBookingLeadTimeSeconds) == true)) && diff --git a/Square/Models/BusinessBookingProfile.cs b/Square/Models/BusinessBookingProfile.cs index a2fb4e69..c2cc18ce 100644 --- a/Square/Models/BusinessBookingProfile.cs +++ b/Square/Models/BusinessBookingProfile.cs @@ -191,19 +191,19 @@ public bool ShouldSerializeSupportSellerLevelWrites() { return this.shouldSerialize["support_seller_level_writes"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BusinessBookingProfile other && ((this.SellerId == null && other.SellerId == null) || (this.SellerId?.Equals(other.SellerId) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.BookingEnabled == null && other.BookingEnabled == null) || (this.BookingEnabled?.Equals(other.BookingEnabled) == true)) && diff --git a/Square/Models/BusinessHours.cs b/Square/Models/BusinessHours.cs index a895fcbe..7d4e4a8d 100644 --- a/Square/Models/BusinessHours.cs +++ b/Square/Models/BusinessHours.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePeriods() { return this.shouldSerialize["periods"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BusinessHours other && ((this.Periods == null && other.Periods == null) || (this.Periods?.Equals(other.Periods) == true)); } diff --git a/Square/Models/BusinessHoursPeriod.cs b/Square/Models/BusinessHoursPeriod.cs index eeac35d9..2ee88cfd 100644 --- a/Square/Models/BusinessHoursPeriod.cs +++ b/Square/Models/BusinessHoursPeriod.cs @@ -110,19 +110,19 @@ public bool ShouldSerializeEndLocalTime() { return this.shouldSerialize["end_local_time"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BusinessHoursPeriod other && ((this.DayOfWeek == null && other.DayOfWeek == null) || (this.DayOfWeek?.Equals(other.DayOfWeek) == true)) && ((this.StartLocalTime == null && other.StartLocalTime == null) || (this.StartLocalTime?.Equals(other.StartLocalTime) == true)) && ((this.EndLocalTime == null && other.EndLocalTime == null) || (this.EndLocalTime?.Equals(other.EndLocalTime) == true)); diff --git a/Square/Models/BuyNowPayLaterDetails.cs b/Square/Models/BuyNowPayLaterDetails.cs index 2cca2681..29523700 100644 --- a/Square/Models/BuyNowPayLaterDetails.cs +++ b/Square/Models/BuyNowPayLaterDetails.cs @@ -92,19 +92,19 @@ public bool ShouldSerializeBrand() { return this.shouldSerialize["brand"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is BuyNowPayLaterDetails other && ((this.Brand == null && other.Brand == null) || (this.Brand?.Equals(other.Brand) == true)) && ((this.AfterpayDetails == null && other.AfterpayDetails == null) || (this.AfterpayDetails?.Equals(other.AfterpayDetails) == true)) && ((this.ClearpayDetails == null && other.ClearpayDetails == null) || (this.ClearpayDetails?.Equals(other.ClearpayDetails) == true)); diff --git a/Square/Models/CalculateLoyaltyPointsRequest.cs b/Square/Models/CalculateLoyaltyPointsRequest.cs index 1767f067..a0c94c73 100644 --- a/Square/Models/CalculateLoyaltyPointsRequest.cs +++ b/Square/Models/CalculateLoyaltyPointsRequest.cs @@ -119,19 +119,19 @@ public bool ShouldSerializeLoyaltyAccountId() { return this.shouldSerialize["loyalty_account_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CalculateLoyaltyPointsRequest other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.TransactionAmountMoney == null && other.TransactionAmountMoney == null) || (this.TransactionAmountMoney?.Equals(other.TransactionAmountMoney) == true)) && ((this.LoyaltyAccountId == null && other.LoyaltyAccountId == null) || (this.LoyaltyAccountId?.Equals(other.LoyaltyAccountId) == true)); diff --git a/Square/Models/CalculateLoyaltyPointsResponse.cs b/Square/Models/CalculateLoyaltyPointsResponse.cs index e1d50b86..c1bc4742 100644 --- a/Square/Models/CalculateLoyaltyPointsResponse.cs +++ b/Square/Models/CalculateLoyaltyPointsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CalculateLoyaltyPointsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CalculateLoyaltyPointsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Points == null && other.Points == null) || (this.Points?.Equals(other.Points) == true)) && diff --git a/Square/Models/CalculateOrderRequest.cs b/Square/Models/CalculateOrderRequest.cs index 2a8652b6..8cae4e2f 100644 --- a/Square/Models/CalculateOrderRequest.cs +++ b/Square/Models/CalculateOrderRequest.cs @@ -88,19 +88,19 @@ public bool ShouldSerializeProposedRewards() { return this.shouldSerialize["proposed_rewards"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CalculateOrderRequest other && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.ProposedRewards == null && other.ProposedRewards == null) || (this.ProposedRewards?.Equals(other.ProposedRewards) == true)); } diff --git a/Square/Models/CalculateOrderResponse.cs b/Square/Models/CalculateOrderResponse.cs index d043eff3..3a2f3d7d 100644 --- a/Square/Models/CalculateOrderResponse.cs +++ b/Square/Models/CalculateOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"CalculateOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CalculateOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CancelBookingRequest.cs b/Square/Models/CancelBookingRequest.cs index 60a947d3..1f636726 100644 --- a/Square/Models/CancelBookingRequest.cs +++ b/Square/Models/CancelBookingRequest.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeBookingVersion() { return this.shouldSerialize["booking_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelBookingRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.BookingVersion == null && other.BookingVersion == null) || (this.BookingVersion?.Equals(other.BookingVersion) == true)); } diff --git a/Square/Models/CancelBookingResponse.cs b/Square/Models/CancelBookingResponse.cs index 1b6dfeae..197b5283 100644 --- a/Square/Models/CancelBookingResponse.cs +++ b/Square/Models/CancelBookingResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CancelBookingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelBookingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CancelInvoiceRequest.cs b/Square/Models/CancelInvoiceRequest.cs index b90d7a8c..08bd0c12 100644 --- a/Square/Models/CancelInvoiceRequest.cs +++ b/Square/Models/CancelInvoiceRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"CancelInvoiceRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelInvoiceRequest other && this.Version.Equals(other.Version); } diff --git a/Square/Models/CancelInvoiceResponse.cs b/Square/Models/CancelInvoiceResponse.cs index 364e3bc0..5cb009e4 100644 --- a/Square/Models/CancelInvoiceResponse.cs +++ b/Square/Models/CancelInvoiceResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CancelInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CancelLoyaltyPromotionResponse.cs b/Square/Models/CancelLoyaltyPromotionResponse.cs index 3bc07ad1..f364f354 100644 --- a/Square/Models/CancelLoyaltyPromotionResponse.cs +++ b/Square/Models/CancelLoyaltyPromotionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CancelLoyaltyPromotionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelLoyaltyPromotionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyPromotion == null && other.LoyaltyPromotion == null) || (this.LoyaltyPromotion?.Equals(other.LoyaltyPromotion) == true)); diff --git a/Square/Models/CancelPaymentByIdempotencyKeyRequest.cs b/Square/Models/CancelPaymentByIdempotencyKeyRequest.cs index b8d30ec2..81ab933c 100644 --- a/Square/Models/CancelPaymentByIdempotencyKeyRequest.cs +++ b/Square/Models/CancelPaymentByIdempotencyKeyRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CancelPaymentByIdempotencyKeyRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelPaymentByIdempotencyKeyRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CancelPaymentByIdempotencyKeyResponse.cs b/Square/Models/CancelPaymentByIdempotencyKeyResponse.cs index c91fa5c2..1fadfb46 100644 --- a/Square/Models/CancelPaymentByIdempotencyKeyResponse.cs +++ b/Square/Models/CancelPaymentByIdempotencyKeyResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"CancelPaymentByIdempotencyKeyResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelPaymentByIdempotencyKeyResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/CancelPaymentResponse.cs b/Square/Models/CancelPaymentResponse.cs index dc7a8c5f..3f54fc64 100644 --- a/Square/Models/CancelPaymentResponse.cs +++ b/Square/Models/CancelPaymentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CancelPaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelPaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)); diff --git a/Square/Models/CancelSubscriptionResponse.cs b/Square/Models/CancelSubscriptionResponse.cs index 8e6935d5..d419db0f 100644 --- a/Square/Models/CancelSubscriptionResponse.cs +++ b/Square/Models/CancelSubscriptionResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CancelSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)) && diff --git a/Square/Models/CancelTerminalActionResponse.cs b/Square/Models/CancelTerminalActionResponse.cs index 93c070c1..f20dfdd3 100644 --- a/Square/Models/CancelTerminalActionResponse.cs +++ b/Square/Models/CancelTerminalActionResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CancelTerminalActionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelTerminalActionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)); diff --git a/Square/Models/CancelTerminalCheckoutResponse.cs b/Square/Models/CancelTerminalCheckoutResponse.cs index eef942ca..be0f07cb 100644 --- a/Square/Models/CancelTerminalCheckoutResponse.cs +++ b/Square/Models/CancelTerminalCheckoutResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CancelTerminalCheckoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelTerminalCheckoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)); diff --git a/Square/Models/CancelTerminalRefundResponse.cs b/Square/Models/CancelTerminalRefundResponse.cs index f8c16ac4..2f7a0cad 100644 --- a/Square/Models/CancelTerminalRefundResponse.cs +++ b/Square/Models/CancelTerminalRefundResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CancelTerminalRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CancelTerminalRefundResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/CaptureTransactionResponse.cs b/Square/Models/CaptureTransactionResponse.cs index 467ac171..b4c92ca2 100644 --- a/Square/Models/CaptureTransactionResponse.cs +++ b/Square/Models/CaptureTransactionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"CaptureTransactionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CaptureTransactionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/Card.cs b/Square/Models/Card.cs index 284c9399..2a43a8c0 100644 --- a/Square/Models/Card.cs +++ b/Square/Models/Card.cs @@ -313,19 +313,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Card other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CardBrand == null && other.CardBrand == null) || (this.CardBrand?.Equals(other.CardBrand) == true)) && ((this.Last4 == null && other.Last4 == null) || (this.Last4?.Equals(other.Last4) == true)) && diff --git a/Square/Models/CardPaymentDetails.cs b/Square/Models/CardPaymentDetails.cs index 9ab309f7..649734ee 100644 --- a/Square/Models/CardPaymentDetails.cs +++ b/Square/Models/CardPaymentDetails.cs @@ -425,19 +425,19 @@ public bool ShouldSerializeErrors() { return this.shouldSerialize["errors"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CardPaymentDetails other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)) && ((this.EntryMethod == null && other.EntryMethod == null) || (this.EntryMethod?.Equals(other.EntryMethod) == true)) && diff --git a/Square/Models/CardPaymentTimeline.cs b/Square/Models/CardPaymentTimeline.cs index 1aa347ba..033b7b2c 100644 --- a/Square/Models/CardPaymentTimeline.cs +++ b/Square/Models/CardPaymentTimeline.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeVoidedAt() { return this.shouldSerialize["voided_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CardPaymentTimeline other && ((this.AuthorizedAt == null && other.AuthorizedAt == null) || (this.AuthorizedAt?.Equals(other.AuthorizedAt) == true)) && ((this.CapturedAt == null && other.CapturedAt == null) || (this.CapturedAt?.Equals(other.CapturedAt) == true)) && ((this.VoidedAt == null && other.VoidedAt == null) || (this.VoidedAt?.Equals(other.VoidedAt) == true)); diff --git a/Square/Models/CashAppDetails.cs b/Square/Models/CashAppDetails.cs index eeb6652a..b2d554ae 100644 --- a/Square/Models/CashAppDetails.cs +++ b/Square/Models/CashAppDetails.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeBuyerCountryCode() { return this.shouldSerialize["buyer_country_code"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashAppDetails other && ((this.BuyerFullName == null && other.BuyerFullName == null) || (this.BuyerFullName?.Equals(other.BuyerFullName) == true)) && ((this.BuyerCountryCode == null && other.BuyerCountryCode == null) || (this.BuyerCountryCode?.Equals(other.BuyerCountryCode) == true)) && ((this.BuyerCashtag == null && other.BuyerCashtag == null) || (this.BuyerCashtag?.Equals(other.BuyerCashtag) == true)); diff --git a/Square/Models/CashDrawerDevice.cs b/Square/Models/CashDrawerDevice.cs index 7786f867..c94f2a10 100644 --- a/Square/Models/CashDrawerDevice.cs +++ b/Square/Models/CashDrawerDevice.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashDrawerDevice other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); } diff --git a/Square/Models/CashDrawerShift.cs b/Square/Models/CashDrawerShift.cs index 23947d5a..dd3d8588 100644 --- a/Square/Models/CashDrawerShift.cs +++ b/Square/Models/CashDrawerShift.cs @@ -371,19 +371,19 @@ public bool ShouldSerializeDescription() { return this.shouldSerialize["description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashDrawerShift other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && ((this.OpenedAt == null && other.OpenedAt == null) || (this.OpenedAt?.Equals(other.OpenedAt) == true)) && diff --git a/Square/Models/CashDrawerShiftEvent.cs b/Square/Models/CashDrawerShiftEvent.cs index 476b3be5..243d2dfa 100644 --- a/Square/Models/CashDrawerShiftEvent.cs +++ b/Square/Models/CashDrawerShiftEvent.cs @@ -132,19 +132,19 @@ public bool ShouldSerializeDescription() { return this.shouldSerialize["description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashDrawerShiftEvent other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.EventType == null && other.EventType == null) || (this.EventType?.Equals(other.EventType) == true)) && ((this.EventMoney == null && other.EventMoney == null) || (this.EventMoney?.Equals(other.EventMoney) == true)) && diff --git a/Square/Models/CashDrawerShiftSummary.cs b/Square/Models/CashDrawerShiftSummary.cs index 6b9bca0d..37bb9b46 100644 --- a/Square/Models/CashDrawerShiftSummary.cs +++ b/Square/Models/CashDrawerShiftSummary.cs @@ -250,19 +250,19 @@ public bool ShouldSerializeDescription() { return this.shouldSerialize["description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashDrawerShiftSummary other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && ((this.OpenedAt == null && other.OpenedAt == null) || (this.OpenedAt?.Equals(other.OpenedAt) == true)) && diff --git a/Square/Models/CashPaymentDetails.cs b/Square/Models/CashPaymentDetails.cs index 0c7b01eb..19c2e725 100644 --- a/Square/Models/CashPaymentDetails.cs +++ b/Square/Models/CashPaymentDetails.cs @@ -62,19 +62,19 @@ public override string ToString() return $"CashPaymentDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CashPaymentDetails other && ((this.BuyerSuppliedMoney == null && other.BuyerSuppliedMoney == null) || (this.BuyerSuppliedMoney?.Equals(other.BuyerSuppliedMoney) == true)) && ((this.ChangeBackMoney == null && other.ChangeBackMoney == null) || (this.ChangeBackMoney?.Equals(other.ChangeBackMoney) == true)); } diff --git a/Square/Models/CatalogAvailabilityPeriod.cs b/Square/Models/CatalogAvailabilityPeriod.cs index f68407f3..12f2b4fa 100644 --- a/Square/Models/CatalogAvailabilityPeriod.cs +++ b/Square/Models/CatalogAvailabilityPeriod.cs @@ -110,19 +110,19 @@ public bool ShouldSerializeEndLocalTime() { return this.shouldSerialize["end_local_time"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogAvailabilityPeriod other && ((this.StartLocalTime == null && other.StartLocalTime == null) || (this.StartLocalTime?.Equals(other.StartLocalTime) == true)) && ((this.EndLocalTime == null && other.EndLocalTime == null) || (this.EndLocalTime?.Equals(other.EndLocalTime) == true)) && ((this.DayOfWeek == null && other.DayOfWeek == null) || (this.DayOfWeek?.Equals(other.DayOfWeek) == true)); diff --git a/Square/Models/CatalogCategory.cs b/Square/Models/CatalogCategory.cs index ca27ca73..755fd15d 100644 --- a/Square/Models/CatalogCategory.cs +++ b/Square/Models/CatalogCategory.cs @@ -273,19 +273,19 @@ public bool ShouldSerializePathToRoot() { return this.shouldSerialize["path_to_root"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCategory other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.ImageIds == null && other.ImageIds == null) || (this.ImageIds?.Equals(other.ImageIds) == true)) && ((this.CategoryType == null && other.CategoryType == null) || (this.CategoryType?.Equals(other.CategoryType) == true)) && diff --git a/Square/Models/CatalogCustomAttributeDefinition.cs b/Square/Models/CatalogCustomAttributeDefinition.cs index 85c8e37c..597be9dd 100644 --- a/Square/Models/CatalogCustomAttributeDefinition.cs +++ b/Square/Models/CatalogCustomAttributeDefinition.cs @@ -219,19 +219,19 @@ public bool ShouldSerializeKey() { return this.shouldSerialize["key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeDefinition other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && diff --git a/Square/Models/CatalogCustomAttributeDefinitionNumberConfig.cs b/Square/Models/CatalogCustomAttributeDefinitionNumberConfig.cs index b570bb60..a72dfc0e 100644 --- a/Square/Models/CatalogCustomAttributeDefinitionNumberConfig.cs +++ b/Square/Models/CatalogCustomAttributeDefinitionNumberConfig.cs @@ -75,19 +75,19 @@ public bool ShouldSerializePrecision() { return this.shouldSerialize["precision"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeDefinitionNumberConfig other && ((this.Precision == null && other.Precision == null) || (this.Precision?.Equals(other.Precision) == true)); } diff --git a/Square/Models/CatalogCustomAttributeDefinitionSelectionConfig.cs b/Square/Models/CatalogCustomAttributeDefinitionSelectionConfig.cs index 829c3d05..fa3bc1aa 100644 --- a/Square/Models/CatalogCustomAttributeDefinitionSelectionConfig.cs +++ b/Square/Models/CatalogCustomAttributeDefinitionSelectionConfig.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeAllowedSelections() { return this.shouldSerialize["allowed_selections"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeDefinitionSelectionConfig other && ((this.MaxAllowedSelections == null && other.MaxAllowedSelections == null) || (this.MaxAllowedSelections?.Equals(other.MaxAllowedSelections) == true)) && ((this.AllowedSelections == null && other.AllowedSelections == null) || (this.AllowedSelections?.Equals(other.AllowedSelections) == true)); } diff --git a/Square/Models/CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.cs b/Square/Models/CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.cs index 9244ae51..d44f180b 100644 --- a/Square/Models/CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.cs +++ b/Square/Models/CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeUid() { return this.shouldSerialize["uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); } diff --git a/Square/Models/CatalogCustomAttributeDefinitionStringConfig.cs b/Square/Models/CatalogCustomAttributeDefinitionStringConfig.cs index 96e5e2e5..2aedb82c 100644 --- a/Square/Models/CatalogCustomAttributeDefinitionStringConfig.cs +++ b/Square/Models/CatalogCustomAttributeDefinitionStringConfig.cs @@ -73,19 +73,19 @@ public bool ShouldSerializeEnforceUniqueness() { return this.shouldSerialize["enforce_uniqueness"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeDefinitionStringConfig other && ((this.EnforceUniqueness == null && other.EnforceUniqueness == null) || (this.EnforceUniqueness?.Equals(other.EnforceUniqueness) == true)); } diff --git a/Square/Models/CatalogCustomAttributeValue.cs b/Square/Models/CatalogCustomAttributeValue.cs index c3178df5..9c2b526c 100644 --- a/Square/Models/CatalogCustomAttributeValue.cs +++ b/Square/Models/CatalogCustomAttributeValue.cs @@ -209,19 +209,19 @@ public bool ShouldSerializeSelectionUidValues() { return this.shouldSerialize["selection_uid_values"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogCustomAttributeValue other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.StringValue == null && other.StringValue == null) || (this.StringValue?.Equals(other.StringValue) == true)) && ((this.CustomAttributeDefinitionId == null && other.CustomAttributeDefinitionId == null) || (this.CustomAttributeDefinitionId?.Equals(other.CustomAttributeDefinitionId) == true)) && diff --git a/Square/Models/CatalogDiscount.cs b/Square/Models/CatalogDiscount.cs index 2ac920d8..034caef2 100644 --- a/Square/Models/CatalogDiscount.cs +++ b/Square/Models/CatalogDiscount.cs @@ -205,19 +205,19 @@ public bool ShouldSerializeLabelColor() { return this.shouldSerialize["label_color"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogDiscount other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.DiscountType == null && other.DiscountType == null) || (this.DiscountType?.Equals(other.DiscountType) == true)) && ((this.Percentage == null && other.Percentage == null) || (this.Percentage?.Equals(other.Percentage) == true)) && diff --git a/Square/Models/CatalogEcomSeoData.cs b/Square/Models/CatalogEcomSeoData.cs index 690b30ed..32c60976 100644 --- a/Square/Models/CatalogEcomSeoData.cs +++ b/Square/Models/CatalogEcomSeoData.cs @@ -121,19 +121,19 @@ public bool ShouldSerializePermalink() { return this.shouldSerialize["permalink"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogEcomSeoData other && ((this.PageTitle == null && other.PageTitle == null) || (this.PageTitle?.Equals(other.PageTitle) == true)) && ((this.PageDescription == null && other.PageDescription == null) || (this.PageDescription?.Equals(other.PageDescription) == true)) && ((this.Permalink == null && other.Permalink == null) || (this.Permalink?.Equals(other.Permalink) == true)); diff --git a/Square/Models/CatalogIdMapping.cs b/Square/Models/CatalogIdMapping.cs index 6603b977..c6c6560c 100644 --- a/Square/Models/CatalogIdMapping.cs +++ b/Square/Models/CatalogIdMapping.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeObjectId() { return this.shouldSerialize["object_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogIdMapping other && ((this.ClientObjectId == null && other.ClientObjectId == null) || (this.ClientObjectId?.Equals(other.ClientObjectId) == true)) && ((this.ObjectId == null && other.ObjectId == null) || (this.ObjectId?.Equals(other.ObjectId) == true)); } diff --git a/Square/Models/CatalogImage.cs b/Square/Models/CatalogImage.cs index 79fce8f9..f2a7ea37 100644 --- a/Square/Models/CatalogImage.cs +++ b/Square/Models/CatalogImage.cs @@ -154,19 +154,19 @@ public bool ShouldSerializePhotoStudioOrderId() { return this.shouldSerialize["photo_studio_order_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogImage other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Url == null && other.Url == null) || (this.Url?.Equals(other.Url) == true)) && ((this.Caption == null && other.Caption == null) || (this.Caption?.Equals(other.Caption) == true)) && diff --git a/Square/Models/CatalogInfoResponse.cs b/Square/Models/CatalogInfoResponse.cs index cdb40b06..cfe1f9de 100644 --- a/Square/Models/CatalogInfoResponse.cs +++ b/Square/Models/CatalogInfoResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"CatalogInfoResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogInfoResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Limits == null && other.Limits == null) || (this.Limits?.Equals(other.Limits) == true)) && diff --git a/Square/Models/CatalogInfoResponseLimits.cs b/Square/Models/CatalogInfoResponseLimits.cs index 46d981cf..e79b3d25 100644 --- a/Square/Models/CatalogInfoResponseLimits.cs +++ b/Square/Models/CatalogInfoResponseLimits.cs @@ -340,19 +340,19 @@ public bool ShouldSerializeUpdateItemModifierListsMaxModifierListsToDisable() { return this.shouldSerialize["update_item_modifier_lists_max_modifier_lists_to_disable"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogInfoResponseLimits other && ((this.BatchUpsertMaxObjectsPerBatch == null && other.BatchUpsertMaxObjectsPerBatch == null) || (this.BatchUpsertMaxObjectsPerBatch?.Equals(other.BatchUpsertMaxObjectsPerBatch) == true)) && ((this.BatchUpsertMaxTotalObjects == null && other.BatchUpsertMaxTotalObjects == null) || (this.BatchUpsertMaxTotalObjects?.Equals(other.BatchUpsertMaxTotalObjects) == true)) && ((this.BatchRetrieveMaxObjectIds == null && other.BatchRetrieveMaxObjectIds == null) || (this.BatchRetrieveMaxObjectIds?.Equals(other.BatchRetrieveMaxObjectIds) == true)) && diff --git a/Square/Models/CatalogItem.cs b/Square/Models/CatalogItem.cs index 20bc7059..802101c7 100644 --- a/Square/Models/CatalogItem.cs +++ b/Square/Models/CatalogItem.cs @@ -663,19 +663,19 @@ public bool ShouldSerializeIsArchived() { return this.shouldSerialize["is_archived"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItem other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && ((this.Abbreviation == null && other.Abbreviation == null) || (this.Abbreviation?.Equals(other.Abbreviation) == true)) && diff --git a/Square/Models/CatalogItemFoodAndBeverageDetails.cs b/Square/Models/CatalogItemFoodAndBeverageDetails.cs index c3f36fe0..b134027d 100644 --- a/Square/Models/CatalogItemFoodAndBeverageDetails.cs +++ b/Square/Models/CatalogItemFoodAndBeverageDetails.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeIngredients() { return this.shouldSerialize["ingredients"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemFoodAndBeverageDetails other && ((this.CalorieCount == null && other.CalorieCount == null) || (this.CalorieCount?.Equals(other.CalorieCount) == true)) && ((this.DietaryPreferences == null && other.DietaryPreferences == null) || (this.DietaryPreferences?.Equals(other.DietaryPreferences) == true)) && ((this.Ingredients == null && other.Ingredients == null) || (this.Ingredients?.Equals(other.Ingredients) == true)); diff --git a/Square/Models/CatalogItemFoodAndBeverageDetailsDietaryPreference.cs b/Square/Models/CatalogItemFoodAndBeverageDetailsDietaryPreference.cs index 7b710d4a..b16a1af5 100644 --- a/Square/Models/CatalogItemFoodAndBeverageDetailsDietaryPreference.cs +++ b/Square/Models/CatalogItemFoodAndBeverageDetailsDietaryPreference.cs @@ -91,19 +91,19 @@ public bool ShouldSerializeCustomName() { return this.shouldSerialize["custom_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemFoodAndBeverageDetailsDietaryPreference other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.StandardName == null && other.StandardName == null) || (this.StandardName?.Equals(other.StandardName) == true)) && ((this.CustomName == null && other.CustomName == null) || (this.CustomName?.Equals(other.CustomName) == true)); diff --git a/Square/Models/CatalogItemFoodAndBeverageDetailsIngredient.cs b/Square/Models/CatalogItemFoodAndBeverageDetailsIngredient.cs index c21c79ab..a3a05a03 100644 --- a/Square/Models/CatalogItemFoodAndBeverageDetailsIngredient.cs +++ b/Square/Models/CatalogItemFoodAndBeverageDetailsIngredient.cs @@ -91,19 +91,19 @@ public bool ShouldSerializeCustomName() { return this.shouldSerialize["custom_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemFoodAndBeverageDetailsIngredient other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.StandardName == null && other.StandardName == null) || (this.StandardName?.Equals(other.StandardName) == true)) && ((this.CustomName == null && other.CustomName == null) || (this.CustomName?.Equals(other.CustomName) == true)); diff --git a/Square/Models/CatalogItemModifierListInfo.cs b/Square/Models/CatalogItemModifierListInfo.cs index 5a77fd82..cefbda2c 100644 --- a/Square/Models/CatalogItemModifierListInfo.cs +++ b/Square/Models/CatalogItemModifierListInfo.cs @@ -199,19 +199,19 @@ public bool ShouldSerializeOrdinal() { return this.shouldSerialize["ordinal"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemModifierListInfo other && ((this.ModifierListId == null && other.ModifierListId == null) || (this.ModifierListId?.Equals(other.ModifierListId) == true)) && ((this.ModifierOverrides == null && other.ModifierOverrides == null) || (this.ModifierOverrides?.Equals(other.ModifierOverrides) == true)) && ((this.MinSelectedModifiers == null && other.MinSelectedModifiers == null) || (this.MinSelectedModifiers?.Equals(other.MinSelectedModifiers) == true)) && diff --git a/Square/Models/CatalogItemOption.cs b/Square/Models/CatalogItemOption.cs index 994dd616..bfa47b94 100644 --- a/Square/Models/CatalogItemOption.cs +++ b/Square/Models/CatalogItemOption.cs @@ -177,19 +177,19 @@ public bool ShouldSerializeValues() { return this.shouldSerialize["values"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemOption other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.DisplayName == null && other.DisplayName == null) || (this.DisplayName?.Equals(other.DisplayName) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && diff --git a/Square/Models/CatalogItemOptionForItem.cs b/Square/Models/CatalogItemOptionForItem.cs index 5b334f7a..5ad9c817 100644 --- a/Square/Models/CatalogItemOptionForItem.cs +++ b/Square/Models/CatalogItemOptionForItem.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeItemOptionId() { return this.shouldSerialize["item_option_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemOptionForItem other && ((this.ItemOptionId == null && other.ItemOptionId == null) || (this.ItemOptionId?.Equals(other.ItemOptionId) == true)); } diff --git a/Square/Models/CatalogItemOptionValue.cs b/Square/Models/CatalogItemOptionValue.cs index ad5dcfe8..786c10f1 100644 --- a/Square/Models/CatalogItemOptionValue.cs +++ b/Square/Models/CatalogItemOptionValue.cs @@ -176,19 +176,19 @@ public bool ShouldSerializeOrdinal() { return this.shouldSerialize["ordinal"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemOptionValue other && ((this.ItemOptionId == null && other.ItemOptionId == null) || (this.ItemOptionId?.Equals(other.ItemOptionId) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && diff --git a/Square/Models/CatalogItemOptionValueForItemVariation.cs b/Square/Models/CatalogItemOptionValueForItemVariation.cs index dea92edb..6e183299 100644 --- a/Square/Models/CatalogItemOptionValueForItemVariation.cs +++ b/Square/Models/CatalogItemOptionValueForItemVariation.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeItemOptionValueId() { return this.shouldSerialize["item_option_value_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemOptionValueForItemVariation other && ((this.ItemOptionId == null && other.ItemOptionId == null) || (this.ItemOptionId?.Equals(other.ItemOptionId) == true)) && ((this.ItemOptionValueId == null && other.ItemOptionValueId == null) || (this.ItemOptionValueId?.Equals(other.ItemOptionValueId) == true)); } diff --git a/Square/Models/CatalogItemVariation.cs b/Square/Models/CatalogItemVariation.cs index 0b7d1d69..673d4233 100644 --- a/Square/Models/CatalogItemVariation.cs +++ b/Square/Models/CatalogItemVariation.cs @@ -545,19 +545,19 @@ public bool ShouldSerializeTeamMemberIds() { return this.shouldSerialize["team_member_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogItemVariation other && ((this.ItemId == null && other.ItemId == null) || (this.ItemId?.Equals(other.ItemId) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Sku == null && other.Sku == null) || (this.Sku?.Equals(other.Sku) == true)) && diff --git a/Square/Models/CatalogMeasurementUnit.cs b/Square/Models/CatalogMeasurementUnit.cs index 605c6ebb..477b9af1 100644 --- a/Square/Models/CatalogMeasurementUnit.cs +++ b/Square/Models/CatalogMeasurementUnit.cs @@ -88,19 +88,19 @@ public bool ShouldSerializePrecision() { return this.shouldSerialize["precision"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogMeasurementUnit other && ((this.MeasurementUnit == null && other.MeasurementUnit == null) || (this.MeasurementUnit?.Equals(other.MeasurementUnit) == true)) && ((this.Precision == null && other.Precision == null) || (this.Precision?.Equals(other.Precision) == true)); } diff --git a/Square/Models/CatalogModifier.cs b/Square/Models/CatalogModifier.cs index 4f8d6793..ef262e4d 100644 --- a/Square/Models/CatalogModifier.cs +++ b/Square/Models/CatalogModifier.cs @@ -190,19 +190,19 @@ public bool ShouldSerializeImageId() { return this.shouldSerialize["image_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogModifier other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.PriceMoney == null && other.PriceMoney == null) || (this.PriceMoney?.Equals(other.PriceMoney) == true)) && ((this.Ordinal == null && other.Ordinal == null) || (this.Ordinal?.Equals(other.Ordinal) == true)) && diff --git a/Square/Models/CatalogModifierList.cs b/Square/Models/CatalogModifierList.cs index 786a89f3..d5441850 100644 --- a/Square/Models/CatalogModifierList.cs +++ b/Square/Models/CatalogModifierList.cs @@ -265,19 +265,19 @@ public bool ShouldSerializeInternalName() { return this.shouldSerialize["internal_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogModifierList other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Ordinal == null && other.Ordinal == null) || (this.Ordinal?.Equals(other.Ordinal) == true)) && ((this.SelectionType == null && other.SelectionType == null) || (this.SelectionType?.Equals(other.SelectionType) == true)) && diff --git a/Square/Models/CatalogModifierOverride.cs b/Square/Models/CatalogModifierOverride.cs index 579d6b56..cdad26aa 100644 --- a/Square/Models/CatalogModifierOverride.cs +++ b/Square/Models/CatalogModifierOverride.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeOnByDefault() { return this.shouldSerialize["on_by_default"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogModifierOverride other && ((this.ModifierId == null && other.ModifierId == null) || (this.ModifierId?.Equals(other.ModifierId) == true)) && ((this.OnByDefault == null && other.OnByDefault == null) || (this.OnByDefault?.Equals(other.OnByDefault) == true)); } diff --git a/Square/Models/CatalogObject.cs b/Square/Models/CatalogObject.cs index b047e5da..f68b0b4a 100644 --- a/Square/Models/CatalogObject.cs +++ b/Square/Models/CatalogObject.cs @@ -516,19 +516,19 @@ public bool ShouldSerializeAbsentAtLocationIds() { return this.shouldSerialize["absent_at_location_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogObject other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && diff --git a/Square/Models/CatalogObjectBatch.cs b/Square/Models/CatalogObjectBatch.cs index 07d230d0..27c82a2c 100644 --- a/Square/Models/CatalogObjectBatch.cs +++ b/Square/Models/CatalogObjectBatch.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CatalogObjectBatch : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogObjectBatch other && ((this.Objects == null && other.Objects == null) || (this.Objects?.Equals(other.Objects) == true)); } diff --git a/Square/Models/CatalogObjectCategory.cs b/Square/Models/CatalogObjectCategory.cs index e94d65fd..fd9ae54f 100644 --- a/Square/Models/CatalogObjectCategory.cs +++ b/Square/Models/CatalogObjectCategory.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeOrdinal() { return this.shouldSerialize["ordinal"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogObjectCategory other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Ordinal == null && other.Ordinal == null) || (this.Ordinal?.Equals(other.Ordinal) == true)); } diff --git a/Square/Models/CatalogObjectReference.cs b/Square/Models/CatalogObjectReference.cs index c68c857d..6442f740 100644 --- a/Square/Models/CatalogObjectReference.cs +++ b/Square/Models/CatalogObjectReference.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeCatalogVersion() { return this.shouldSerialize["catalog_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogObjectReference other && ((this.ObjectId == null && other.ObjectId == null) || (this.ObjectId?.Equals(other.ObjectId) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)); } diff --git a/Square/Models/CatalogPricingRule.cs b/Square/Models/CatalogPricingRule.cs index 4a5fc318..edd2e406 100644 --- a/Square/Models/CatalogPricingRule.cs +++ b/Square/Models/CatalogPricingRule.cs @@ -379,19 +379,19 @@ public bool ShouldSerializeCustomerGroupIdsAny() { return this.shouldSerialize["customer_group_ids_any"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogPricingRule other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.TimePeriodIds == null && other.TimePeriodIds == null) || (this.TimePeriodIds?.Equals(other.TimePeriodIds) == true)) && ((this.DiscountId == null && other.DiscountId == null) || (this.DiscountId?.Equals(other.DiscountId) == true)) && diff --git a/Square/Models/CatalogProductSet.cs b/Square/Models/CatalogProductSet.cs index 2c8b05ff..14280dbd 100644 --- a/Square/Models/CatalogProductSet.cs +++ b/Square/Models/CatalogProductSet.cs @@ -241,19 +241,19 @@ public bool ShouldSerializeAllProducts() { return this.shouldSerialize["all_products"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogProductSet other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.ProductIdsAny == null && other.ProductIdsAny == null) || (this.ProductIdsAny?.Equals(other.ProductIdsAny) == true)) && ((this.ProductIdsAll == null && other.ProductIdsAll == null) || (this.ProductIdsAll?.Equals(other.ProductIdsAll) == true)) && diff --git a/Square/Models/CatalogQuery.cs b/Square/Models/CatalogQuery.cs index bf87e4fc..d763ac68 100644 --- a/Square/Models/CatalogQuery.cs +++ b/Square/Models/CatalogQuery.cs @@ -125,19 +125,19 @@ public override string ToString() return $"CatalogQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQuery other && ((this.SortedAttributeQuery == null && other.SortedAttributeQuery == null) || (this.SortedAttributeQuery?.Equals(other.SortedAttributeQuery) == true)) && ((this.ExactQuery == null && other.ExactQuery == null) || (this.ExactQuery?.Equals(other.ExactQuery) == true)) && ((this.SetQuery == null && other.SetQuery == null) || (this.SetQuery?.Equals(other.SetQuery) == true)) && diff --git a/Square/Models/CatalogQueryExact.cs b/Square/Models/CatalogQueryExact.cs index b7e17441..519d7dc2 100644 --- a/Square/Models/CatalogQueryExact.cs +++ b/Square/Models/CatalogQueryExact.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CatalogQueryExact : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryExact other && ((this.AttributeName == null && other.AttributeName == null) || (this.AttributeName?.Equals(other.AttributeName) == true)) && ((this.AttributeValue == null && other.AttributeValue == null) || (this.AttributeValue?.Equals(other.AttributeValue) == true)); } diff --git a/Square/Models/CatalogQueryItemVariationsForItemOptionValues.cs b/Square/Models/CatalogQueryItemVariationsForItemOptionValues.cs index 858622ca..bae96484 100644 --- a/Square/Models/CatalogQueryItemVariationsForItemOptionValues.cs +++ b/Square/Models/CatalogQueryItemVariationsForItemOptionValues.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeItemOptionValueIds() { return this.shouldSerialize["item_option_value_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryItemVariationsForItemOptionValues other && ((this.ItemOptionValueIds == null && other.ItemOptionValueIds == null) || (this.ItemOptionValueIds?.Equals(other.ItemOptionValueIds) == true)); } diff --git a/Square/Models/CatalogQueryItemsForItemOptions.cs b/Square/Models/CatalogQueryItemsForItemOptions.cs index 910e048a..74ed9786 100644 --- a/Square/Models/CatalogQueryItemsForItemOptions.cs +++ b/Square/Models/CatalogQueryItemsForItemOptions.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeItemOptionIds() { return this.shouldSerialize["item_option_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryItemsForItemOptions other && ((this.ItemOptionIds == null && other.ItemOptionIds == null) || (this.ItemOptionIds?.Equals(other.ItemOptionIds) == true)); } diff --git a/Square/Models/CatalogQueryItemsForModifierList.cs b/Square/Models/CatalogQueryItemsForModifierList.cs index 18444256..e50c3eb9 100644 --- a/Square/Models/CatalogQueryItemsForModifierList.cs +++ b/Square/Models/CatalogQueryItemsForModifierList.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CatalogQueryItemsForModifierList : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryItemsForModifierList other && ((this.ModifierListIds == null && other.ModifierListIds == null) || (this.ModifierListIds?.Equals(other.ModifierListIds) == true)); } diff --git a/Square/Models/CatalogQueryItemsForTax.cs b/Square/Models/CatalogQueryItemsForTax.cs index 01e32490..f9a5d9b2 100644 --- a/Square/Models/CatalogQueryItemsForTax.cs +++ b/Square/Models/CatalogQueryItemsForTax.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CatalogQueryItemsForTax : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryItemsForTax other && ((this.TaxIds == null && other.TaxIds == null) || (this.TaxIds?.Equals(other.TaxIds) == true)); } diff --git a/Square/Models/CatalogQueryPrefix.cs b/Square/Models/CatalogQueryPrefix.cs index 9347f3e2..70567fd8 100644 --- a/Square/Models/CatalogQueryPrefix.cs +++ b/Square/Models/CatalogQueryPrefix.cs @@ -52,19 +52,19 @@ public override string ToString() return $"CatalogQueryPrefix : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryPrefix other && ((this.AttributeName == null && other.AttributeName == null) || (this.AttributeName?.Equals(other.AttributeName) == true)) && ((this.AttributePrefix == null && other.AttributePrefix == null) || (this.AttributePrefix?.Equals(other.AttributePrefix) == true)); } diff --git a/Square/Models/CatalogQueryRange.cs b/Square/Models/CatalogQueryRange.cs index fefb4ef3..b235cfb8 100644 --- a/Square/Models/CatalogQueryRange.cs +++ b/Square/Models/CatalogQueryRange.cs @@ -106,19 +106,19 @@ public bool ShouldSerializeAttributeMaxValue() { return this.shouldSerialize["attribute_max_value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryRange other && ((this.AttributeName == null && other.AttributeName == null) || (this.AttributeName?.Equals(other.AttributeName) == true)) && ((this.AttributeMinValue == null && other.AttributeMinValue == null) || (this.AttributeMinValue?.Equals(other.AttributeMinValue) == true)) && ((this.AttributeMaxValue == null && other.AttributeMaxValue == null) || (this.AttributeMaxValue?.Equals(other.AttributeMaxValue) == true)); diff --git a/Square/Models/CatalogQuerySet.cs b/Square/Models/CatalogQuerySet.cs index e81bc9de..12c68d6d 100644 --- a/Square/Models/CatalogQuerySet.cs +++ b/Square/Models/CatalogQuerySet.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CatalogQuerySet : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQuerySet other && ((this.AttributeName == null && other.AttributeName == null) || (this.AttributeName?.Equals(other.AttributeName) == true)) && ((this.AttributeValues == null && other.AttributeValues == null) || (this.AttributeValues?.Equals(other.AttributeValues) == true)); } diff --git a/Square/Models/CatalogQuerySortedAttribute.cs b/Square/Models/CatalogQuerySortedAttribute.cs index 484a55b2..79abca11 100644 --- a/Square/Models/CatalogQuerySortedAttribute.cs +++ b/Square/Models/CatalogQuerySortedAttribute.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeInitialAttributeValue() { return this.shouldSerialize["initial_attribute_value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQuerySortedAttribute other && ((this.AttributeName == null && other.AttributeName == null) || (this.AttributeName?.Equals(other.AttributeName) == true)) && ((this.InitialAttributeValue == null && other.InitialAttributeValue == null) || (this.InitialAttributeValue?.Equals(other.InitialAttributeValue) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)); diff --git a/Square/Models/CatalogQueryText.cs b/Square/Models/CatalogQueryText.cs index f7349af3..479c6903 100644 --- a/Square/Models/CatalogQueryText.cs +++ b/Square/Models/CatalogQueryText.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CatalogQueryText : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQueryText other && ((this.Keywords == null && other.Keywords == null) || (this.Keywords?.Equals(other.Keywords) == true)); } diff --git a/Square/Models/CatalogQuickAmount.cs b/Square/Models/CatalogQuickAmount.cs index bc067727..ced24a5d 100644 --- a/Square/Models/CatalogQuickAmount.cs +++ b/Square/Models/CatalogQuickAmount.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeOrdinal() { return this.shouldSerialize["ordinal"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQuickAmount other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Amount == null && other.Amount == null) || (this.Amount?.Equals(other.Amount) == true)) && ((this.Score == null && other.Score == null) || (this.Score?.Equals(other.Score) == true)) && diff --git a/Square/Models/CatalogQuickAmountsSettings.cs b/Square/Models/CatalogQuickAmountsSettings.cs index e35fcb76..766861e4 100644 --- a/Square/Models/CatalogQuickAmountsSettings.cs +++ b/Square/Models/CatalogQuickAmountsSettings.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeAmounts() { return this.shouldSerialize["amounts"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogQuickAmountsSettings other && ((this.Option == null && other.Option == null) || (this.Option?.Equals(other.Option) == true)) && ((this.EligibleForAutoAmounts == null && other.EligibleForAutoAmounts == null) || (this.EligibleForAutoAmounts?.Equals(other.EligibleForAutoAmounts) == true)) && ((this.Amounts == null && other.Amounts == null) || (this.Amounts?.Equals(other.Amounts) == true)); diff --git a/Square/Models/CatalogStockConversion.cs b/Square/Models/CatalogStockConversion.cs index f90b39e9..ff88f93a 100644 --- a/Square/Models/CatalogStockConversion.cs +++ b/Square/Models/CatalogStockConversion.cs @@ -72,19 +72,19 @@ public override string ToString() return $"CatalogStockConversion : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogStockConversion other && ((this.StockableItemVariationId == null && other.StockableItemVariationId == null) || (this.StockableItemVariationId?.Equals(other.StockableItemVariationId) == true)) && ((this.StockableQuantity == null && other.StockableQuantity == null) || (this.StockableQuantity?.Equals(other.StockableQuantity) == true)) && ((this.NonstockableQuantity == null && other.NonstockableQuantity == null) || (this.NonstockableQuantity?.Equals(other.NonstockableQuantity) == true)); diff --git a/Square/Models/CatalogSubscriptionPlan.cs b/Square/Models/CatalogSubscriptionPlan.cs index b17c1847..975e9a7e 100644 --- a/Square/Models/CatalogSubscriptionPlan.cs +++ b/Square/Models/CatalogSubscriptionPlan.cs @@ -185,19 +185,19 @@ public bool ShouldSerializeAllItems() { return this.shouldSerialize["all_items"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogSubscriptionPlan other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Phases == null && other.Phases == null) || (this.Phases?.Equals(other.Phases) == true)) && ((this.SubscriptionPlanVariations == null && other.SubscriptionPlanVariations == null) || (this.SubscriptionPlanVariations?.Equals(other.SubscriptionPlanVariations) == true)) && diff --git a/Square/Models/CatalogSubscriptionPlanVariation.cs b/Square/Models/CatalogSubscriptionPlanVariation.cs index e665ab11..3cef8068 100644 --- a/Square/Models/CatalogSubscriptionPlanVariation.cs +++ b/Square/Models/CatalogSubscriptionPlanVariation.cs @@ -171,19 +171,19 @@ public bool ShouldSerializeSuccessorPlanVariationId() { return this.shouldSerialize["successor_plan_variation_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogSubscriptionPlanVariation other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Phases == null && other.Phases == null) || (this.Phases?.Equals(other.Phases) == true)) && ((this.SubscriptionPlanId == null && other.SubscriptionPlanId == null) || (this.SubscriptionPlanId?.Equals(other.SubscriptionPlanId) == true)) && diff --git a/Square/Models/CatalogTax.cs b/Square/Models/CatalogTax.cs index 261fa7d6..b5c3b551 100644 --- a/Square/Models/CatalogTax.cs +++ b/Square/Models/CatalogTax.cs @@ -197,19 +197,19 @@ public bool ShouldSerializeAppliesToProductSetId() { return this.shouldSerialize["applies_to_product_set_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogTax other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.CalculationPhase == null && other.CalculationPhase == null) || (this.CalculationPhase?.Equals(other.CalculationPhase) == true)) && ((this.InclusionType == null && other.InclusionType == null) || (this.InclusionType?.Equals(other.InclusionType) == true)) && diff --git a/Square/Models/CatalogTimePeriod.cs b/Square/Models/CatalogTimePeriod.cs index b066f8cc..d9706ac0 100644 --- a/Square/Models/CatalogTimePeriod.cs +++ b/Square/Models/CatalogTimePeriod.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeEvent() { return this.shouldSerialize["event"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogTimePeriod other && ((this.MEvent == null && other.MEvent == null) || (this.MEvent?.Equals(other.MEvent) == true)); } diff --git a/Square/Models/CatalogV1Id.cs b/Square/Models/CatalogV1Id.cs index 25ac7985..cf01aa1e 100644 --- a/Square/Models/CatalogV1Id.cs +++ b/Square/Models/CatalogV1Id.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CatalogV1Id other && ((this.CatalogV1IdProp == null && other.CatalogV1IdProp == null) || (this.CatalogV1IdProp?.Equals(other.CatalogV1IdProp) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); } diff --git a/Square/Models/CategoryPathToRootNode.cs b/Square/Models/CategoryPathToRootNode.cs index 8ef85eb5..713cce72 100644 --- a/Square/Models/CategoryPathToRootNode.cs +++ b/Square/Models/CategoryPathToRootNode.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeCategoryName() { return this.shouldSerialize["category_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CategoryPathToRootNode other && ((this.CategoryId == null && other.CategoryId == null) || (this.CategoryId?.Equals(other.CategoryId) == true)) && ((this.CategoryName == null && other.CategoryName == null) || (this.CategoryName?.Equals(other.CategoryName) == true)); } diff --git a/Square/Models/ChangeBillingAnchorDateRequest.cs b/Square/Models/ChangeBillingAnchorDateRequest.cs index 43adb11e..22b3f7d8 100644 --- a/Square/Models/ChangeBillingAnchorDateRequest.cs +++ b/Square/Models/ChangeBillingAnchorDateRequest.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeEffectiveDate() { return this.shouldSerialize["effective_date"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ChangeBillingAnchorDateRequest other && ((this.MonthlyBillingAnchorDate == null && other.MonthlyBillingAnchorDate == null) || (this.MonthlyBillingAnchorDate?.Equals(other.MonthlyBillingAnchorDate) == true)) && ((this.EffectiveDate == null && other.EffectiveDate == null) || (this.EffectiveDate?.Equals(other.EffectiveDate) == true)); } diff --git a/Square/Models/ChangeBillingAnchorDateResponse.cs b/Square/Models/ChangeBillingAnchorDateResponse.cs index f3ed8513..4cbff770 100644 --- a/Square/Models/ChangeBillingAnchorDateResponse.cs +++ b/Square/Models/ChangeBillingAnchorDateResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ChangeBillingAnchorDateResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ChangeBillingAnchorDateResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)) && diff --git a/Square/Models/ChargeRequest.cs b/Square/Models/ChargeRequest.cs index 6724ff9d..1b9500f1 100644 --- a/Square/Models/ChargeRequest.cs +++ b/Square/Models/ChargeRequest.cs @@ -389,19 +389,19 @@ public bool ShouldSerializeVerificationToken() { return this.shouldSerialize["verification_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ChargeRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.CardNonce == null && other.CardNonce == null) || (this.CardNonce?.Equals(other.CardNonce) == true)) && diff --git a/Square/Models/ChargeRequestAdditionalRecipient.cs b/Square/Models/ChargeRequestAdditionalRecipient.cs index 698e050d..37c771cd 100644 --- a/Square/Models/ChargeRequestAdditionalRecipient.cs +++ b/Square/Models/ChargeRequestAdditionalRecipient.cs @@ -66,19 +66,19 @@ public override string ToString() return $"ChargeRequestAdditionalRecipient : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ChargeRequestAdditionalRecipient other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); diff --git a/Square/Models/ChargeResponse.cs b/Square/Models/ChargeResponse.cs index 3cfe14a3..dcf9bd5b 100644 --- a/Square/Models/ChargeResponse.cs +++ b/Square/Models/ChargeResponse.cs @@ -55,19 +55,19 @@ public override string ToString() return $"ChargeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ChargeResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Transaction == null && other.Transaction == null) || (this.Transaction?.Equals(other.Transaction) == true)); } diff --git a/Square/Models/Checkout.cs b/Square/Models/Checkout.cs index 74de1975..5107db7e 100644 --- a/Square/Models/Checkout.cs +++ b/Square/Models/Checkout.cs @@ -268,19 +268,19 @@ public bool ShouldSerializeAdditionalRecipients() { return this.shouldSerialize["additional_recipients"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Checkout other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CheckoutPageUrl == null && other.CheckoutPageUrl == null) || (this.CheckoutPageUrl?.Equals(other.CheckoutPageUrl) == true)) && ((this.AskForShippingAddress == null && other.AskForShippingAddress == null) || (this.AskForShippingAddress?.Equals(other.AskForShippingAddress) == true)) && diff --git a/Square/Models/CheckoutLocationSettings.cs b/Square/Models/CheckoutLocationSettings.cs index aa252f7c..1d4ff5db 100644 --- a/Square/Models/CheckoutLocationSettings.cs +++ b/Square/Models/CheckoutLocationSettings.cs @@ -169,19 +169,19 @@ public bool ShouldSerializePolicies() { return this.shouldSerialize["policies"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutLocationSettings other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.CustomerNotesEnabled == null && other.CustomerNotesEnabled == null) || (this.CustomerNotesEnabled?.Equals(other.CustomerNotesEnabled) == true)) && ((this.Policies == null && other.Policies == null) || (this.Policies?.Equals(other.Policies) == true)) && diff --git a/Square/Models/CheckoutLocationSettingsBranding.cs b/Square/Models/CheckoutLocationSettingsBranding.cs index 3138d19b..455a68f5 100644 --- a/Square/Models/CheckoutLocationSettingsBranding.cs +++ b/Square/Models/CheckoutLocationSettingsBranding.cs @@ -91,19 +91,19 @@ public bool ShouldSerializeButtonColor() { return this.shouldSerialize["button_color"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutLocationSettingsBranding other && ((this.HeaderType == null && other.HeaderType == null) || (this.HeaderType?.Equals(other.HeaderType) == true)) && ((this.ButtonColor == null && other.ButtonColor == null) || (this.ButtonColor?.Equals(other.ButtonColor) == true)) && ((this.ButtonShape == null && other.ButtonShape == null) || (this.ButtonShape?.Equals(other.ButtonShape) == true)); diff --git a/Square/Models/CheckoutLocationSettingsCoupons.cs b/Square/Models/CheckoutLocationSettingsCoupons.cs index fcebc22d..78b0eb1b 100644 --- a/Square/Models/CheckoutLocationSettingsCoupons.cs +++ b/Square/Models/CheckoutLocationSettingsCoupons.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEnabled() { return this.shouldSerialize["enabled"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutLocationSettingsCoupons other && ((this.Enabled == null && other.Enabled == null) || (this.Enabled?.Equals(other.Enabled) == true)); } diff --git a/Square/Models/CheckoutLocationSettingsPolicy.cs b/Square/Models/CheckoutLocationSettingsPolicy.cs index 2bec3e40..15e2e531 100644 --- a/Square/Models/CheckoutLocationSettingsPolicy.cs +++ b/Square/Models/CheckoutLocationSettingsPolicy.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeDescription() { return this.shouldSerialize["description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutLocationSettingsPolicy other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)); diff --git a/Square/Models/CheckoutLocationSettingsTipping.cs b/Square/Models/CheckoutLocationSettingsTipping.cs index 5a62e5fa..27573cfe 100644 --- a/Square/Models/CheckoutLocationSettingsTipping.cs +++ b/Square/Models/CheckoutLocationSettingsTipping.cs @@ -166,19 +166,19 @@ public bool ShouldSerializeSmartTips() { return this.shouldSerialize["smart_tips"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutLocationSettingsTipping other && ((this.Percentages == null && other.Percentages == null) || (this.Percentages?.Equals(other.Percentages) == true)) && ((this.SmartTippingEnabled == null && other.SmartTippingEnabled == null) || (this.SmartTippingEnabled?.Equals(other.SmartTippingEnabled) == true)) && ((this.DefaultPercent == null && other.DefaultPercent == null) || (this.DefaultPercent?.Equals(other.DefaultPercent) == true)) && diff --git a/Square/Models/CheckoutMerchantSettings.cs b/Square/Models/CheckoutMerchantSettings.cs index fe62f9d5..aa8e8f09 100644 --- a/Square/Models/CheckoutMerchantSettings.cs +++ b/Square/Models/CheckoutMerchantSettings.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CheckoutMerchantSettings : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutMerchantSettings other && ((this.PaymentMethods == null && other.PaymentMethods == null) || (this.PaymentMethods?.Equals(other.PaymentMethods) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)); } diff --git a/Square/Models/CheckoutMerchantSettingsPaymentMethods.cs b/Square/Models/CheckoutMerchantSettingsPaymentMethods.cs index 40972d73..4fb2245d 100644 --- a/Square/Models/CheckoutMerchantSettingsPaymentMethods.cs +++ b/Square/Models/CheckoutMerchantSettingsPaymentMethods.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CheckoutMerchantSettingsPaymentMethods : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutMerchantSettingsPaymentMethods other && ((this.ApplePay == null && other.ApplePay == null) || (this.ApplePay?.Equals(other.ApplePay) == true)) && ((this.GooglePay == null && other.GooglePay == null) || (this.GooglePay?.Equals(other.GooglePay) == true)) && ((this.CashApp == null && other.CashApp == null) || (this.CashApp?.Equals(other.CashApp) == true)) && diff --git a/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay.cs b/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay.cs index 1b67c64a..52805f75 100644 --- a/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay.cs +++ b/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay other && ((this.OrderEligibilityRange == null && other.OrderEligibilityRange == null) || (this.OrderEligibilityRange?.Equals(other.OrderEligibilityRange) == true)) && ((this.ItemEligibilityRange == null && other.ItemEligibilityRange == null) || (this.ItemEligibilityRange?.Equals(other.ItemEligibilityRange) == true)) && ((this.Enabled == null && other.Enabled == null) || (this.Enabled?.Equals(other.Enabled) == true)); diff --git a/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange.cs b/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange.cs index afc40e72..7c8c76f1 100644 --- a/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange.cs +++ b/Square/Models/CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange.cs @@ -62,19 +62,19 @@ public override string ToString() return $"CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange other && ((this.Min == null && other.Min == null) || (this.Min?.Equals(other.Min) == true)) && ((this.Max == null && other.Max == null) || (this.Max?.Equals(other.Max) == true)); } diff --git a/Square/Models/CheckoutMerchantSettingsPaymentMethodsPaymentMethod.cs b/Square/Models/CheckoutMerchantSettingsPaymentMethodsPaymentMethod.cs index 508e2b90..d2120fde 100644 --- a/Square/Models/CheckoutMerchantSettingsPaymentMethodsPaymentMethod.cs +++ b/Square/Models/CheckoutMerchantSettingsPaymentMethodsPaymentMethod.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEnabled() { return this.shouldSerialize["enabled"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutMerchantSettingsPaymentMethodsPaymentMethod other && ((this.Enabled == null && other.Enabled == null) || (this.Enabled?.Equals(other.Enabled) == true)); } diff --git a/Square/Models/CheckoutOptions.cs b/Square/Models/CheckoutOptions.cs index 1730363a..976bdbd0 100644 --- a/Square/Models/CheckoutOptions.cs +++ b/Square/Models/CheckoutOptions.cs @@ -290,19 +290,19 @@ public bool ShouldSerializeEnableLoyalty() { return this.shouldSerialize["enable_loyalty"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CheckoutOptions other && ((this.AllowTipping == null && other.AllowTipping == null) || (this.AllowTipping?.Equals(other.AllowTipping) == true)) && ((this.CustomFields == null && other.CustomFields == null) || (this.CustomFields?.Equals(other.CustomFields) == true)) && ((this.SubscriptionPlanId == null && other.SubscriptionPlanId == null) || (this.SubscriptionPlanId?.Equals(other.SubscriptionPlanId) == true)) && diff --git a/Square/Models/ClearpayDetails.cs b/Square/Models/ClearpayDetails.cs index d8e049da..d3afc50d 100644 --- a/Square/Models/ClearpayDetails.cs +++ b/Square/Models/ClearpayDetails.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEmailAddress() { return this.shouldSerialize["email_address"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ClearpayDetails other && ((this.EmailAddress == null && other.EmailAddress == null) || (this.EmailAddress?.Equals(other.EmailAddress) == true)); } diff --git a/Square/Models/CloneOrderRequest.cs b/Square/Models/CloneOrderRequest.cs index 50e12d9c..6c7e2fcb 100644 --- a/Square/Models/CloneOrderRequest.cs +++ b/Square/Models/CloneOrderRequest.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CloneOrderRequest other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/CloneOrderResponse.cs b/Square/Models/CloneOrderResponse.cs index 92eee274..6fcb0e3a 100644 --- a/Square/Models/CloneOrderResponse.cs +++ b/Square/Models/CloneOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"CloneOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CloneOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CollectedData.cs b/Square/Models/CollectedData.cs index 834db3a5..ad236fd7 100644 --- a/Square/Models/CollectedData.cs +++ b/Square/Models/CollectedData.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CollectedData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CollectedData other && ((this.InputText == null && other.InputText == null) || (this.InputText?.Equals(other.InputText) == true)); } diff --git a/Square/Models/CompletePaymentRequest.cs b/Square/Models/CompletePaymentRequest.cs index 7dbecc87..9efca9ae 100644 --- a/Square/Models/CompletePaymentRequest.cs +++ b/Square/Models/CompletePaymentRequest.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeVersionToken() { return this.shouldSerialize["version_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CompletePaymentRequest other && ((this.VersionToken == null && other.VersionToken == null) || (this.VersionToken?.Equals(other.VersionToken) == true)); } diff --git a/Square/Models/CompletePaymentResponse.cs b/Square/Models/CompletePaymentResponse.cs index ed04a8e5..e7847d97 100644 --- a/Square/Models/CompletePaymentResponse.cs +++ b/Square/Models/CompletePaymentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CompletePaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CompletePaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)); diff --git a/Square/Models/Component.cs b/Square/Models/Component.cs index 21bf96f2..49c731c3 100644 --- a/Square/Models/Component.cs +++ b/Square/Models/Component.cs @@ -88,19 +88,19 @@ public override string ToString() return $"Component : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Component other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.ApplicationDetails == null && other.ApplicationDetails == null) || (this.ApplicationDetails?.Equals(other.ApplicationDetails) == true)) && ((this.CardReaderDetails == null && other.CardReaderDetails == null) || (this.CardReaderDetails?.Equals(other.CardReaderDetails) == true)) && diff --git a/Square/Models/ConfirmationDecision.cs b/Square/Models/ConfirmationDecision.cs index 71e5cdce..cb2954cb 100644 --- a/Square/Models/ConfirmationDecision.cs +++ b/Square/Models/ConfirmationDecision.cs @@ -43,19 +43,19 @@ public override string ToString() return $"ConfirmationDecision : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ConfirmationDecision other && ((this.HasAgreed == null && other.HasAgreed == null) || (this.HasAgreed?.Equals(other.HasAgreed) == true)); } diff --git a/Square/Models/ConfirmationOptions.cs b/Square/Models/ConfirmationOptions.cs index b6debf28..635299fc 100644 --- a/Square/Models/ConfirmationOptions.cs +++ b/Square/Models/ConfirmationOptions.cs @@ -113,19 +113,19 @@ public bool ShouldSerializeDisagreeButtonText() { return this.shouldSerialize["disagree_button_text"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ConfirmationOptions other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Body == null && other.Body == null) || (this.Body?.Equals(other.Body) == true)) && ((this.AgreeButtonText == null && other.AgreeButtonText == null) || (this.AgreeButtonText?.Equals(other.AgreeButtonText) == true)) && diff --git a/Square/Models/Coordinates.cs b/Square/Models/Coordinates.cs index 4805e124..ce83a344 100644 --- a/Square/Models/Coordinates.cs +++ b/Square/Models/Coordinates.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeLongitude() { return this.shouldSerialize["longitude"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Coordinates other && ((this.Latitude == null && other.Latitude == null) || (this.Latitude?.Equals(other.Latitude) == true)) && ((this.Longitude == null && other.Longitude == null) || (this.Longitude?.Equals(other.Longitude) == true)); } diff --git a/Square/Models/CreateBookingCustomAttributeDefinitionRequest.cs b/Square/Models/CreateBookingCustomAttributeDefinitionRequest.cs index 95c33cfc..8b8b769d 100644 --- a/Square/Models/CreateBookingCustomAttributeDefinitionRequest.cs +++ b/Square/Models/CreateBookingCustomAttributeDefinitionRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateBookingCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBookingCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateBookingCustomAttributeDefinitionResponse.cs b/Square/Models/CreateBookingCustomAttributeDefinitionResponse.cs index a4c93666..6e9a16f8 100644 --- a/Square/Models/CreateBookingCustomAttributeDefinitionResponse.cs +++ b/Square/Models/CreateBookingCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateBookingCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBookingCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateBookingRequest.cs b/Square/Models/CreateBookingRequest.cs index 7f7efffd..bdfa8dae 100644 --- a/Square/Models/CreateBookingRequest.cs +++ b/Square/Models/CreateBookingRequest.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CreateBookingRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBookingRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)); } diff --git a/Square/Models/CreateBookingResponse.cs b/Square/Models/CreateBookingResponse.cs index c6ddc2db..94fbcd98 100644 --- a/Square/Models/CreateBookingResponse.cs +++ b/Square/Models/CreateBookingResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateBookingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBookingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateBreakTypeRequest.cs b/Square/Models/CreateBreakTypeRequest.cs index 6491afb7..6bfd962d 100644 --- a/Square/Models/CreateBreakTypeRequest.cs +++ b/Square/Models/CreateBreakTypeRequest.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CreateBreakTypeRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBreakTypeRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.BreakType == null && other.BreakType == null) || (this.BreakType?.Equals(other.BreakType) == true)); } diff --git a/Square/Models/CreateBreakTypeResponse.cs b/Square/Models/CreateBreakTypeResponse.cs index 8ba893ff..6d61e29a 100644 --- a/Square/Models/CreateBreakTypeResponse.cs +++ b/Square/Models/CreateBreakTypeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateBreakTypeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateBreakTypeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.BreakType == null && other.BreakType == null) || (this.BreakType?.Equals(other.BreakType) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateCardRequest.cs b/Square/Models/CreateCardRequest.cs index 727456bb..f7cdb692 100644 --- a/Square/Models/CreateCardRequest.cs +++ b/Square/Models/CreateCardRequest.cs @@ -77,19 +77,19 @@ public override string ToString() return $"CreateCardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCardRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.SourceId == null && other.SourceId == null) || (this.SourceId?.Equals(other.SourceId) == true)) && ((this.VerificationToken == null && other.VerificationToken == null) || (this.VerificationToken?.Equals(other.VerificationToken) == true)) && diff --git a/Square/Models/CreateCardResponse.cs b/Square/Models/CreateCardResponse.cs index 63650bdd..a248bb40 100644 --- a/Square/Models/CreateCardResponse.cs +++ b/Square/Models/CreateCardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)); diff --git a/Square/Models/CreateCatalogImageRequest.cs b/Square/Models/CreateCatalogImageRequest.cs index cdaa8513..b0d5bdd4 100644 --- a/Square/Models/CreateCatalogImageRequest.cs +++ b/Square/Models/CreateCatalogImageRequest.cs @@ -84,19 +84,19 @@ public override string ToString() return $"CreateCatalogImageRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCatalogImageRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.ObjectId == null && other.ObjectId == null) || (this.ObjectId?.Equals(other.ObjectId) == true)) && ((this.Image == null && other.Image == null) || (this.Image?.Equals(other.Image) == true)) && diff --git a/Square/Models/CreateCatalogImageResponse.cs b/Square/Models/CreateCatalogImageResponse.cs index ac999509..b895f5b0 100644 --- a/Square/Models/CreateCatalogImageResponse.cs +++ b/Square/Models/CreateCatalogImageResponse.cs @@ -66,19 +66,19 @@ public override string ToString() return $"CreateCatalogImageResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCatalogImageResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Image == null && other.Image == null) || (this.Image?.Equals(other.Image) == true)); diff --git a/Square/Models/CreateCheckoutRequest.cs b/Square/Models/CreateCheckoutRequest.cs index 27f9e866..340152cf 100644 --- a/Square/Models/CreateCheckoutRequest.cs +++ b/Square/Models/CreateCheckoutRequest.cs @@ -147,19 +147,19 @@ public override string ToString() return $"CreateCheckoutRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCheckoutRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.AskForShippingAddress == null && other.AskForShippingAddress == null) || (this.AskForShippingAddress?.Equals(other.AskForShippingAddress) == true)) && diff --git a/Square/Models/CreateCheckoutResponse.cs b/Square/Models/CreateCheckoutResponse.cs index 3e5da6db..8e79c3d9 100644 --- a/Square/Models/CreateCheckoutResponse.cs +++ b/Square/Models/CreateCheckoutResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateCheckoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCheckoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateCustomerCardRequest.cs b/Square/Models/CreateCustomerCardRequest.cs index 0ebde9ca..25234b6c 100644 --- a/Square/Models/CreateCustomerCardRequest.cs +++ b/Square/Models/CreateCustomerCardRequest.cs @@ -78,19 +78,19 @@ public override string ToString() return $"CreateCustomerCardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerCardRequest other && ((this.CardNonce == null && other.CardNonce == null) || (this.CardNonce?.Equals(other.CardNonce) == true)) && ((this.BillingAddress == null && other.BillingAddress == null) || (this.BillingAddress?.Equals(other.BillingAddress) == true)) && ((this.CardholderName == null && other.CardholderName == null) || (this.CardholderName?.Equals(other.CardholderName) == true)) && diff --git a/Square/Models/CreateCustomerCardResponse.cs b/Square/Models/CreateCustomerCardResponse.cs index b144d7bc..1bfdd6a1 100644 --- a/Square/Models/CreateCustomerCardResponse.cs +++ b/Square/Models/CreateCustomerCardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateCustomerCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)); diff --git a/Square/Models/CreateCustomerCustomAttributeDefinitionRequest.cs b/Square/Models/CreateCustomerCustomAttributeDefinitionRequest.cs index e0ed5f76..4c694ebd 100644 --- a/Square/Models/CreateCustomerCustomAttributeDefinitionRequest.cs +++ b/Square/Models/CreateCustomerCustomAttributeDefinitionRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateCustomerCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateCustomerCustomAttributeDefinitionResponse.cs b/Square/Models/CreateCustomerCustomAttributeDefinitionResponse.cs index 0f823273..dae3b96a 100644 --- a/Square/Models/CreateCustomerCustomAttributeDefinitionResponse.cs +++ b/Square/Models/CreateCustomerCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateCustomerCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateCustomerGroupRequest.cs b/Square/Models/CreateCustomerGroupRequest.cs index 6a537334..7163423c 100644 --- a/Square/Models/CreateCustomerGroupRequest.cs +++ b/Square/Models/CreateCustomerGroupRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateCustomerGroupRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerGroupRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.MGroup == null && other.MGroup == null) || (this.MGroup?.Equals(other.MGroup) == true)); } diff --git a/Square/Models/CreateCustomerGroupResponse.cs b/Square/Models/CreateCustomerGroupResponse.cs index f740274f..38268ac6 100644 --- a/Square/Models/CreateCustomerGroupResponse.cs +++ b/Square/Models/CreateCustomerGroupResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateCustomerGroupResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerGroupResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MGroup == null && other.MGroup == null) || (this.MGroup?.Equals(other.MGroup) == true)); diff --git a/Square/Models/CreateCustomerRequest.cs b/Square/Models/CreateCustomerRequest.cs index cde49801..6abcebff 100644 --- a/Square/Models/CreateCustomerRequest.cs +++ b/Square/Models/CreateCustomerRequest.cs @@ -156,19 +156,19 @@ public override string ToString() return $"CreateCustomerRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.GivenName == null && other.GivenName == null) || (this.GivenName?.Equals(other.GivenName) == true)) && ((this.FamilyName == null && other.FamilyName == null) || (this.FamilyName?.Equals(other.FamilyName) == true)) && diff --git a/Square/Models/CreateCustomerResponse.cs b/Square/Models/CreateCustomerResponse.cs index c86c0ba8..8ea0db14 100644 --- a/Square/Models/CreateCustomerResponse.cs +++ b/Square/Models/CreateCustomerResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Customer == null && other.Customer == null) || (this.Customer?.Equals(other.Customer) == true)); diff --git a/Square/Models/CreateDeviceCodeRequest.cs b/Square/Models/CreateDeviceCodeRequest.cs index a88525aa..a8117b27 100644 --- a/Square/Models/CreateDeviceCodeRequest.cs +++ b/Square/Models/CreateDeviceCodeRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateDeviceCodeRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDeviceCodeRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.DeviceCode == null && other.DeviceCode == null) || (this.DeviceCode?.Equals(other.DeviceCode) == true)); } diff --git a/Square/Models/CreateDeviceCodeResponse.cs b/Square/Models/CreateDeviceCodeResponse.cs index 37471e50..16000242 100644 --- a/Square/Models/CreateDeviceCodeResponse.cs +++ b/Square/Models/CreateDeviceCodeResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateDeviceCodeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDeviceCodeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.DeviceCode == null && other.DeviceCode == null) || (this.DeviceCode?.Equals(other.DeviceCode) == true)); diff --git a/Square/Models/CreateDisputeEvidenceFileRequest.cs b/Square/Models/CreateDisputeEvidenceFileRequest.cs index 36e48d2f..d783612b 100644 --- a/Square/Models/CreateDisputeEvidenceFileRequest.cs +++ b/Square/Models/CreateDisputeEvidenceFileRequest.cs @@ -62,19 +62,19 @@ public override string ToString() return $"CreateDisputeEvidenceFileRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDisputeEvidenceFileRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.EvidenceType == null && other.EvidenceType == null) || (this.EvidenceType?.Equals(other.EvidenceType) == true)) && ((this.ContentType == null && other.ContentType == null) || (this.ContentType?.Equals(other.ContentType) == true)); diff --git a/Square/Models/CreateDisputeEvidenceFileResponse.cs b/Square/Models/CreateDisputeEvidenceFileResponse.cs index e78d6be6..636139b3 100644 --- a/Square/Models/CreateDisputeEvidenceFileResponse.cs +++ b/Square/Models/CreateDisputeEvidenceFileResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateDisputeEvidenceFileResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDisputeEvidenceFileResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)); diff --git a/Square/Models/CreateDisputeEvidenceTextRequest.cs b/Square/Models/CreateDisputeEvidenceTextRequest.cs index a020ebe5..9569ad95 100644 --- a/Square/Models/CreateDisputeEvidenceTextRequest.cs +++ b/Square/Models/CreateDisputeEvidenceTextRequest.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateDisputeEvidenceTextRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDisputeEvidenceTextRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.EvidenceType == null && other.EvidenceType == null) || (this.EvidenceType?.Equals(other.EvidenceType) == true)) && ((this.EvidenceText == null && other.EvidenceText == null) || (this.EvidenceText?.Equals(other.EvidenceText) == true)); diff --git a/Square/Models/CreateDisputeEvidenceTextResponse.cs b/Square/Models/CreateDisputeEvidenceTextResponse.cs index 070e21bb..9c86e461 100644 --- a/Square/Models/CreateDisputeEvidenceTextResponse.cs +++ b/Square/Models/CreateDisputeEvidenceTextResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateDisputeEvidenceTextResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateDisputeEvidenceTextResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)); diff --git a/Square/Models/CreateGiftCardActivityRequest.cs b/Square/Models/CreateGiftCardActivityRequest.cs index 461ac42c..90100698 100644 --- a/Square/Models/CreateGiftCardActivityRequest.cs +++ b/Square/Models/CreateGiftCardActivityRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateGiftCardActivityRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateGiftCardActivityRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.GiftCardActivity == null && other.GiftCardActivity == null) || (this.GiftCardActivity?.Equals(other.GiftCardActivity) == true)); } diff --git a/Square/Models/CreateGiftCardActivityResponse.cs b/Square/Models/CreateGiftCardActivityResponse.cs index 85cf31ab..fb880b84 100644 --- a/Square/Models/CreateGiftCardActivityResponse.cs +++ b/Square/Models/CreateGiftCardActivityResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateGiftCardActivityResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateGiftCardActivityResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCardActivity == null && other.GiftCardActivity == null) || (this.GiftCardActivity?.Equals(other.GiftCardActivity) == true)); diff --git a/Square/Models/CreateGiftCardRequest.cs b/Square/Models/CreateGiftCardRequest.cs index 1957691d..4de62d8d 100644 --- a/Square/Models/CreateGiftCardRequest.cs +++ b/Square/Models/CreateGiftCardRequest.cs @@ -63,19 +63,19 @@ public override string ToString() return $"CreateGiftCardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateGiftCardRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/CreateGiftCardResponse.cs b/Square/Models/CreateGiftCardResponse.cs index 8b29006d..c7e28817 100644 --- a/Square/Models/CreateGiftCardResponse.cs +++ b/Square/Models/CreateGiftCardResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateGiftCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateGiftCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/CreateInvoiceAttachmentRequest.cs b/Square/Models/CreateInvoiceAttachmentRequest.cs index a1a568f1..abd4737e 100644 --- a/Square/Models/CreateInvoiceAttachmentRequest.cs +++ b/Square/Models/CreateInvoiceAttachmentRequest.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CreateInvoiceAttachmentRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateInvoiceAttachmentRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)); } diff --git a/Square/Models/CreateInvoiceAttachmentResponse.cs b/Square/Models/CreateInvoiceAttachmentResponse.cs index f0effd75..e3b8feef 100644 --- a/Square/Models/CreateInvoiceAttachmentResponse.cs +++ b/Square/Models/CreateInvoiceAttachmentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateInvoiceAttachmentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateInvoiceAttachmentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Attachment == null && other.Attachment == null) || (this.Attachment?.Equals(other.Attachment) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateInvoiceRequest.cs b/Square/Models/CreateInvoiceRequest.cs index 5ef8de78..20dd71c4 100644 --- a/Square/Models/CreateInvoiceRequest.cs +++ b/Square/Models/CreateInvoiceRequest.cs @@ -56,19 +56,19 @@ public override string ToString() return $"CreateInvoiceRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateInvoiceRequest other && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateInvoiceResponse.cs b/Square/Models/CreateInvoiceResponse.cs index 0de560b5..dd616534 100644 --- a/Square/Models/CreateInvoiceResponse.cs +++ b/Square/Models/CreateInvoiceResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateLocationCustomAttributeDefinitionRequest.cs b/Square/Models/CreateLocationCustomAttributeDefinitionRequest.cs index ceffa8bc..1d059510 100644 --- a/Square/Models/CreateLocationCustomAttributeDefinitionRequest.cs +++ b/Square/Models/CreateLocationCustomAttributeDefinitionRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateLocationCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLocationCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateLocationCustomAttributeDefinitionResponse.cs b/Square/Models/CreateLocationCustomAttributeDefinitionResponse.cs index 27b96d81..6d932a4f 100644 --- a/Square/Models/CreateLocationCustomAttributeDefinitionResponse.cs +++ b/Square/Models/CreateLocationCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateLocationCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLocationCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateLocationRequest.cs b/Square/Models/CreateLocationRequest.cs index 2d6f51e2..afcff115 100644 --- a/Square/Models/CreateLocationRequest.cs +++ b/Square/Models/CreateLocationRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CreateLocationRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLocationRequest other && ((this.Location == null && other.Location == null) || (this.Location?.Equals(other.Location) == true)); } diff --git a/Square/Models/CreateLocationResponse.cs b/Square/Models/CreateLocationResponse.cs index 5d4a3d38..52538f8c 100644 --- a/Square/Models/CreateLocationResponse.cs +++ b/Square/Models/CreateLocationResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateLocationResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLocationResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Location == null && other.Location == null) || (this.Location?.Equals(other.Location) == true)); diff --git a/Square/Models/CreateLoyaltyAccountRequest.cs b/Square/Models/CreateLoyaltyAccountRequest.cs index c69daff0..0a4858fc 100644 --- a/Square/Models/CreateLoyaltyAccountRequest.cs +++ b/Square/Models/CreateLoyaltyAccountRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateLoyaltyAccountRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyAccountRequest other && ((this.LoyaltyAccount == null && other.LoyaltyAccount == null) || (this.LoyaltyAccount?.Equals(other.LoyaltyAccount) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateLoyaltyAccountResponse.cs b/Square/Models/CreateLoyaltyAccountResponse.cs index e8ad8706..ba4a8a31 100644 --- a/Square/Models/CreateLoyaltyAccountResponse.cs +++ b/Square/Models/CreateLoyaltyAccountResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateLoyaltyAccountResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyAccountResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyAccount == null && other.LoyaltyAccount == null) || (this.LoyaltyAccount?.Equals(other.LoyaltyAccount) == true)); diff --git a/Square/Models/CreateLoyaltyPromotionRequest.cs b/Square/Models/CreateLoyaltyPromotionRequest.cs index a94b61e8..99ca2828 100644 --- a/Square/Models/CreateLoyaltyPromotionRequest.cs +++ b/Square/Models/CreateLoyaltyPromotionRequest.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CreateLoyaltyPromotionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyPromotionRequest other && ((this.LoyaltyPromotion == null && other.LoyaltyPromotion == null) || (this.LoyaltyPromotion?.Equals(other.LoyaltyPromotion) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateLoyaltyPromotionResponse.cs b/Square/Models/CreateLoyaltyPromotionResponse.cs index c7d932ef..25fd137f 100644 --- a/Square/Models/CreateLoyaltyPromotionResponse.cs +++ b/Square/Models/CreateLoyaltyPromotionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateLoyaltyPromotionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyPromotionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyPromotion == null && other.LoyaltyPromotion == null) || (this.LoyaltyPromotion?.Equals(other.LoyaltyPromotion) == true)); diff --git a/Square/Models/CreateLoyaltyRewardRequest.cs b/Square/Models/CreateLoyaltyRewardRequest.cs index d8ed7d14..4a349c05 100644 --- a/Square/Models/CreateLoyaltyRewardRequest.cs +++ b/Square/Models/CreateLoyaltyRewardRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateLoyaltyRewardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyRewardRequest other && ((this.Reward == null && other.Reward == null) || (this.Reward?.Equals(other.Reward) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateLoyaltyRewardResponse.cs b/Square/Models/CreateLoyaltyRewardResponse.cs index f2645db2..0bc04ebd 100644 --- a/Square/Models/CreateLoyaltyRewardResponse.cs +++ b/Square/Models/CreateLoyaltyRewardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateLoyaltyRewardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateLoyaltyRewardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Reward == null && other.Reward == null) || (this.Reward?.Equals(other.Reward) == true)); diff --git a/Square/Models/CreateMerchantCustomAttributeDefinitionRequest.cs b/Square/Models/CreateMerchantCustomAttributeDefinitionRequest.cs index d3acd68e..e300c619 100644 --- a/Square/Models/CreateMerchantCustomAttributeDefinitionRequest.cs +++ b/Square/Models/CreateMerchantCustomAttributeDefinitionRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateMerchantCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateMerchantCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateMerchantCustomAttributeDefinitionResponse.cs b/Square/Models/CreateMerchantCustomAttributeDefinitionResponse.cs index 9941f954..de639ab1 100644 --- a/Square/Models/CreateMerchantCustomAttributeDefinitionResponse.cs +++ b/Square/Models/CreateMerchantCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateMerchantCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateMerchantCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateMobileAuthorizationCodeRequest.cs b/Square/Models/CreateMobileAuthorizationCodeRequest.cs index 97a2bf68..643a27ac 100644 --- a/Square/Models/CreateMobileAuthorizationCodeRequest.cs +++ b/Square/Models/CreateMobileAuthorizationCodeRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CreateMobileAuthorizationCodeRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateMobileAuthorizationCodeRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); } diff --git a/Square/Models/CreateMobileAuthorizationCodeResponse.cs b/Square/Models/CreateMobileAuthorizationCodeResponse.cs index ce476f5d..c4ec91d6 100644 --- a/Square/Models/CreateMobileAuthorizationCodeResponse.cs +++ b/Square/Models/CreateMobileAuthorizationCodeResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CreateMobileAuthorizationCodeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateMobileAuthorizationCodeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.AuthorizationCode == null && other.AuthorizationCode == null) || (this.AuthorizationCode?.Equals(other.AuthorizationCode) == true)) && ((this.ExpiresAt == null && other.ExpiresAt == null) || (this.ExpiresAt?.Equals(other.ExpiresAt) == true)) && diff --git a/Square/Models/CreateOrderCustomAttributeDefinitionRequest.cs b/Square/Models/CreateOrderCustomAttributeDefinitionRequest.cs index 5f1f60c1..8e5b542c 100644 --- a/Square/Models/CreateOrderCustomAttributeDefinitionRequest.cs +++ b/Square/Models/CreateOrderCustomAttributeDefinitionRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateOrderCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateOrderCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateOrderCustomAttributeDefinitionResponse.cs b/Square/Models/CreateOrderCustomAttributeDefinitionResponse.cs index c07a82a6..e241886f 100644 --- a/Square/Models/CreateOrderCustomAttributeDefinitionResponse.cs +++ b/Square/Models/CreateOrderCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateOrderCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateOrderCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateOrderRequest.cs b/Square/Models/CreateOrderRequest.cs index 68f88ca1..91dcc05f 100644 --- a/Square/Models/CreateOrderRequest.cs +++ b/Square/Models/CreateOrderRequest.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateOrderRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateOrderRequest other && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/CreateOrderResponse.cs b/Square/Models/CreateOrderResponse.cs index 4fc4be6d..bac04bfb 100644 --- a/Square/Models/CreateOrderResponse.cs +++ b/Square/Models/CreateOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"CreateOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreatePaymentLinkRequest.cs b/Square/Models/CreatePaymentLinkRequest.cs index b5ce6cd0..31e04638 100644 --- a/Square/Models/CreatePaymentLinkRequest.cs +++ b/Square/Models/CreatePaymentLinkRequest.cs @@ -109,19 +109,19 @@ public override string ToString() return $"CreatePaymentLinkRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreatePaymentLinkRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && ((this.QuickPay == null && other.QuickPay == null) || (this.QuickPay?.Equals(other.QuickPay) == true)) && diff --git a/Square/Models/CreatePaymentLinkResponse.cs b/Square/Models/CreatePaymentLinkResponse.cs index 4257db68..11ab0f3d 100644 --- a/Square/Models/CreatePaymentLinkResponse.cs +++ b/Square/Models/CreatePaymentLinkResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"CreatePaymentLinkResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreatePaymentLinkResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.PaymentLink == null && other.PaymentLink == null) || (this.PaymentLink?.Equals(other.PaymentLink) == true)) && diff --git a/Square/Models/CreatePaymentRequest.cs b/Square/Models/CreatePaymentRequest.cs index 17b2b327..c92917a0 100644 --- a/Square/Models/CreatePaymentRequest.cs +++ b/Square/Models/CreatePaymentRequest.cs @@ -307,19 +307,19 @@ public override string ToString() return $"CreatePaymentRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreatePaymentRequest other && ((this.SourceId == null && other.SourceId == null) || (this.SourceId?.Equals(other.SourceId) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && diff --git a/Square/Models/CreatePaymentResponse.cs b/Square/Models/CreatePaymentResponse.cs index 392f3102..4b518721 100644 --- a/Square/Models/CreatePaymentResponse.cs +++ b/Square/Models/CreatePaymentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreatePaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreatePaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)); diff --git a/Square/Models/CreateRefundRequest.cs b/Square/Models/CreateRefundRequest.cs index 64aed348..10154047 100644 --- a/Square/Models/CreateRefundRequest.cs +++ b/Square/Models/CreateRefundRequest.cs @@ -84,19 +84,19 @@ public override string ToString() return $"CreateRefundRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateRefundRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.TenderId == null && other.TenderId == null) || (this.TenderId?.Equals(other.TenderId) == true)) && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)) && diff --git a/Square/Models/CreateRefundResponse.cs b/Square/Models/CreateRefundResponse.cs index 4608dbb9..df85016c 100644 --- a/Square/Models/CreateRefundResponse.cs +++ b/Square/Models/CreateRefundResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"CreateRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateRefundResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); } diff --git a/Square/Models/CreateShiftRequest.cs b/Square/Models/CreateShiftRequest.cs index edf62e9e..ae8cbf6d 100644 --- a/Square/Models/CreateShiftRequest.cs +++ b/Square/Models/CreateShiftRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateShiftRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateShiftRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Shift == null && other.Shift == null) || (this.Shift?.Equals(other.Shift) == true)); } diff --git a/Square/Models/CreateShiftResponse.cs b/Square/Models/CreateShiftResponse.cs index 730ad195..2d4b561e 100644 --- a/Square/Models/CreateShiftResponse.cs +++ b/Square/Models/CreateShiftResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateShiftResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateShiftResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Shift == null && other.Shift == null) || (this.Shift?.Equals(other.Shift) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateSubscriptionRequest.cs b/Square/Models/CreateSubscriptionRequest.cs index 06e18155..0361ee52 100644 --- a/Square/Models/CreateSubscriptionRequest.cs +++ b/Square/Models/CreateSubscriptionRequest.cs @@ -173,19 +173,19 @@ public override string ToString() return $"CreateSubscriptionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateSubscriptionRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.PlanVariationId == null && other.PlanVariationId == null) || (this.PlanVariationId?.Equals(other.PlanVariationId) == true)) && diff --git a/Square/Models/CreateSubscriptionResponse.cs b/Square/Models/CreateSubscriptionResponse.cs index 65dab622..cb6e0291 100644 --- a/Square/Models/CreateSubscriptionResponse.cs +++ b/Square/Models/CreateSubscriptionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"CreateSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/CreateTeamMemberRequest.cs b/Square/Models/CreateTeamMemberRequest.cs index ec85ec72..e3897285 100644 --- a/Square/Models/CreateTeamMemberRequest.cs +++ b/Square/Models/CreateTeamMemberRequest.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CreateTeamMemberRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTeamMemberRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.TeamMember == null && other.TeamMember == null) || (this.TeamMember?.Equals(other.TeamMember) == true)); } diff --git a/Square/Models/CreateTeamMemberResponse.cs b/Square/Models/CreateTeamMemberResponse.cs index 03dc81b0..4b7618cc 100644 --- a/Square/Models/CreateTeamMemberResponse.cs +++ b/Square/Models/CreateTeamMemberResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateTeamMemberResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTeamMemberResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMember == null && other.TeamMember == null) || (this.TeamMember?.Equals(other.TeamMember) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/CreateTerminalActionRequest.cs b/Square/Models/CreateTerminalActionRequest.cs index 381b183f..f95ef44c 100644 --- a/Square/Models/CreateTerminalActionRequest.cs +++ b/Square/Models/CreateTerminalActionRequest.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CreateTerminalActionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalActionRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)); } diff --git a/Square/Models/CreateTerminalActionResponse.cs b/Square/Models/CreateTerminalActionResponse.cs index fa22cc72..c79d34ad 100644 --- a/Square/Models/CreateTerminalActionResponse.cs +++ b/Square/Models/CreateTerminalActionResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateTerminalActionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalActionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)); diff --git a/Square/Models/CreateTerminalCheckoutRequest.cs b/Square/Models/CreateTerminalCheckoutRequest.cs index 587ab5d6..27e572c9 100644 --- a/Square/Models/CreateTerminalCheckoutRequest.cs +++ b/Square/Models/CreateTerminalCheckoutRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateTerminalCheckoutRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalCheckoutRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)); } diff --git a/Square/Models/CreateTerminalCheckoutResponse.cs b/Square/Models/CreateTerminalCheckoutResponse.cs index b0affce0..580f76f7 100644 --- a/Square/Models/CreateTerminalCheckoutResponse.cs +++ b/Square/Models/CreateTerminalCheckoutResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateTerminalCheckoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalCheckoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)); diff --git a/Square/Models/CreateTerminalRefundRequest.cs b/Square/Models/CreateTerminalRefundRequest.cs index 9a712e55..4332f1c5 100644 --- a/Square/Models/CreateTerminalRefundRequest.cs +++ b/Square/Models/CreateTerminalRefundRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CreateTerminalRefundRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalRefundRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); } diff --git a/Square/Models/CreateTerminalRefundResponse.cs b/Square/Models/CreateTerminalRefundResponse.cs index c8d1aebb..a572b503 100644 --- a/Square/Models/CreateTerminalRefundResponse.cs +++ b/Square/Models/CreateTerminalRefundResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateTerminalRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateTerminalRefundResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/CreateVendorRequest.cs b/Square/Models/CreateVendorRequest.cs index 163bc713..499a7f86 100644 --- a/Square/Models/CreateVendorRequest.cs +++ b/Square/Models/CreateVendorRequest.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CreateVendorRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateVendorRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Vendor == null && other.Vendor == null) || (this.Vendor?.Equals(other.Vendor) == true)); } diff --git a/Square/Models/CreateVendorResponse.cs b/Square/Models/CreateVendorResponse.cs index f56de64f..f61c8ad7 100644 --- a/Square/Models/CreateVendorResponse.cs +++ b/Square/Models/CreateVendorResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"CreateVendorResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateVendorResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Vendor == null && other.Vendor == null) || (this.Vendor?.Equals(other.Vendor) == true)); diff --git a/Square/Models/CreateWebhookSubscriptionRequest.cs b/Square/Models/CreateWebhookSubscriptionRequest.cs index 373fa6e7..f821d7d7 100644 --- a/Square/Models/CreateWebhookSubscriptionRequest.cs +++ b/Square/Models/CreateWebhookSubscriptionRequest.cs @@ -53,19 +53,19 @@ public override string ToString() return $"CreateWebhookSubscriptionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateWebhookSubscriptionRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); } diff --git a/Square/Models/CreateWebhookSubscriptionResponse.cs b/Square/Models/CreateWebhookSubscriptionResponse.cs index 7f11d3b8..749fe25b 100644 --- a/Square/Models/CreateWebhookSubscriptionResponse.cs +++ b/Square/Models/CreateWebhookSubscriptionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"CreateWebhookSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CreateWebhookSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/CustomAttribute.cs b/Square/Models/CustomAttribute.cs index 29130672..fdef9acd 100644 --- a/Square/Models/CustomAttribute.cs +++ b/Square/Models/CustomAttribute.cs @@ -172,19 +172,19 @@ public bool ShouldSerializeMValue() { return this.shouldSerialize["value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomAttribute other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)) && ((this.MValue == null && other.MValue == null) || (this.MValue?.Equals(other.MValue) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && diff --git a/Square/Models/CustomAttributeDefinition.cs b/Square/Models/CustomAttributeDefinition.cs index e2d1bd96..1ae24412 100644 --- a/Square/Models/CustomAttributeDefinition.cs +++ b/Square/Models/CustomAttributeDefinition.cs @@ -219,19 +219,19 @@ public bool ShouldSerializeDescription() { return this.shouldSerialize["description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomAttributeDefinition other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)) && ((this.Schema == null && other.Schema == null) || (this.Schema?.Equals(other.Schema) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && diff --git a/Square/Models/CustomAttributeFilter.cs b/Square/Models/CustomAttributeFilter.cs index e4480de6..cd95fe54 100644 --- a/Square/Models/CustomAttributeFilter.cs +++ b/Square/Models/CustomAttributeFilter.cs @@ -194,19 +194,19 @@ public bool ShouldSerializeBoolFilter() { return this.shouldSerialize["bool_filter"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomAttributeFilter other && ((this.CustomAttributeDefinitionId == null && other.CustomAttributeDefinitionId == null) || (this.CustomAttributeDefinitionId?.Equals(other.CustomAttributeDefinitionId) == true)) && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)) && ((this.StringFilter == null && other.StringFilter == null) || (this.StringFilter?.Equals(other.StringFilter) == true)) && diff --git a/Square/Models/CustomField.cs b/Square/Models/CustomField.cs index 5f535615..0eb29322 100644 --- a/Square/Models/CustomField.cs +++ b/Square/Models/CustomField.cs @@ -43,19 +43,19 @@ public override string ToString() return $"CustomField : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomField other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)); } diff --git a/Square/Models/Customer.cs b/Square/Models/Customer.cs index b53b37c9..86df3086 100644 --- a/Square/Models/Customer.cs +++ b/Square/Models/Customer.cs @@ -452,19 +452,19 @@ public bool ShouldSerializeSegmentIds() { return this.shouldSerialize["segment_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Customer other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && diff --git a/Square/Models/CustomerAddressFilter.cs b/Square/Models/CustomerAddressFilter.cs index 47104544..84b21787 100644 --- a/Square/Models/CustomerAddressFilter.cs +++ b/Square/Models/CustomerAddressFilter.cs @@ -55,19 +55,19 @@ public override string ToString() return $"CustomerAddressFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerAddressFilter other && ((this.PostalCode == null && other.PostalCode == null) || (this.PostalCode?.Equals(other.PostalCode) == true)) && ((this.Country == null && other.Country == null) || (this.Country?.Equals(other.Country) == true)); } diff --git a/Square/Models/CustomerCreationSourceFilter.cs b/Square/Models/CustomerCreationSourceFilter.cs index dcaaa4dd..f7beeefc 100644 --- a/Square/Models/CustomerCreationSourceFilter.cs +++ b/Square/Models/CustomerCreationSourceFilter.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeValues() { return this.shouldSerialize["values"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerCreationSourceFilter other && ((this.Values == null && other.Values == null) || (this.Values?.Equals(other.Values) == true)) && ((this.Rule == null && other.Rule == null) || (this.Rule?.Equals(other.Rule) == true)); } diff --git a/Square/Models/CustomerCustomAttributeFilter.cs b/Square/Models/CustomerCustomAttributeFilter.cs index 1a3db225..ce66aedf 100644 --- a/Square/Models/CustomerCustomAttributeFilter.cs +++ b/Square/Models/CustomerCustomAttributeFilter.cs @@ -67,19 +67,19 @@ public override string ToString() return $"CustomerCustomAttributeFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerCustomAttributeFilter other && ((this.Key == null && other.Key == null) || (this.Key?.Equals(other.Key) == true)) && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)); diff --git a/Square/Models/CustomerCustomAttributeFilterValue.cs b/Square/Models/CustomerCustomAttributeFilterValue.cs index bb90b1e3..b497a029 100644 --- a/Square/Models/CustomerCustomAttributeFilterValue.cs +++ b/Square/Models/CustomerCustomAttributeFilterValue.cs @@ -160,19 +160,19 @@ public bool ShouldSerializeBoolean() { return this.shouldSerialize["boolean"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerCustomAttributeFilterValue other && ((this.Email == null && other.Email == null) || (this.Email?.Equals(other.Email) == true)) && ((this.Phone == null && other.Phone == null) || (this.Phone?.Equals(other.Phone) == true)) && ((this.Text == null && other.Text == null) || (this.Text?.Equals(other.Text) == true)) && diff --git a/Square/Models/CustomerCustomAttributeFilters.cs b/Square/Models/CustomerCustomAttributeFilters.cs index 3107533b..fc2a7988 100644 --- a/Square/Models/CustomerCustomAttributeFilters.cs +++ b/Square/Models/CustomerCustomAttributeFilters.cs @@ -70,19 +70,19 @@ public bool ShouldSerializeFilters() { return this.shouldSerialize["filters"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerCustomAttributeFilters other && ((this.Filters == null && other.Filters == null) || (this.Filters?.Equals(other.Filters) == true)); } diff --git a/Square/Models/CustomerDetails.cs b/Square/Models/CustomerDetails.cs index 0b523131..93f5b2d7 100644 --- a/Square/Models/CustomerDetails.cs +++ b/Square/Models/CustomerDetails.cs @@ -96,19 +96,19 @@ public bool ShouldSerializeSellerKeyedIn() { return this.shouldSerialize["seller_keyed_in"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerDetails other && ((this.CustomerInitiated == null && other.CustomerInitiated == null) || (this.CustomerInitiated?.Equals(other.CustomerInitiated) == true)) && ((this.SellerKeyedIn == null && other.SellerKeyedIn == null) || (this.SellerKeyedIn?.Equals(other.SellerKeyedIn) == true)); } diff --git a/Square/Models/CustomerFilter.cs b/Square/Models/CustomerFilter.cs index 6b99aa7d..4a4ae59d 100644 --- a/Square/Models/CustomerFilter.cs +++ b/Square/Models/CustomerFilter.cs @@ -139,19 +139,19 @@ public override string ToString() return $"CustomerFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerFilter other && ((this.CreationSource == null && other.CreationSource == null) || (this.CreationSource?.Equals(other.CreationSource) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && diff --git a/Square/Models/CustomerGroup.cs b/Square/Models/CustomerGroup.cs index e11aa81c..05572419 100644 --- a/Square/Models/CustomerGroup.cs +++ b/Square/Models/CustomerGroup.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CustomerGroup : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerGroup other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && diff --git a/Square/Models/CustomerPreferences.cs b/Square/Models/CustomerPreferences.cs index 0180b810..3f0c31fa 100644 --- a/Square/Models/CustomerPreferences.cs +++ b/Square/Models/CustomerPreferences.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEmailUnsubscribed() { return this.shouldSerialize["email_unsubscribed"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerPreferences other && ((this.EmailUnsubscribed == null && other.EmailUnsubscribed == null) || (this.EmailUnsubscribed?.Equals(other.EmailUnsubscribed) == true)); } diff --git a/Square/Models/CustomerQuery.cs b/Square/Models/CustomerQuery.cs index ba85b838..b2494b43 100644 --- a/Square/Models/CustomerQuery.cs +++ b/Square/Models/CustomerQuery.cs @@ -54,19 +54,19 @@ public override string ToString() return $"CustomerQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/CustomerSegment.cs b/Square/Models/CustomerSegment.cs index aca2594e..649db439 100644 --- a/Square/Models/CustomerSegment.cs +++ b/Square/Models/CustomerSegment.cs @@ -70,19 +70,19 @@ public override string ToString() return $"CustomerSegment : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerSegment other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && diff --git a/Square/Models/CustomerSort.cs b/Square/Models/CustomerSort.cs index 71cfe91f..a536e417 100644 --- a/Square/Models/CustomerSort.cs +++ b/Square/Models/CustomerSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"CustomerSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerSort other && ((this.Field == null && other.Field == null) || (this.Field?.Equals(other.Field) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); } diff --git a/Square/Models/CustomerTaxIds.cs b/Square/Models/CustomerTaxIds.cs index 02d8f36e..834f126a 100644 --- a/Square/Models/CustomerTaxIds.cs +++ b/Square/Models/CustomerTaxIds.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeEuVat() { return this.shouldSerialize["eu_vat"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerTaxIds other && ((this.EuVat == null && other.EuVat == null) || (this.EuVat?.Equals(other.EuVat) == true)); } diff --git a/Square/Models/CustomerTextFilter.cs b/Square/Models/CustomerTextFilter.cs index c0739dd8..b093a476 100644 --- a/Square/Models/CustomerTextFilter.cs +++ b/Square/Models/CustomerTextFilter.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeFuzzy() { return this.shouldSerialize["fuzzy"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is CustomerTextFilter other && ((this.Exact == null && other.Exact == null) || (this.Exact?.Equals(other.Exact) == true)) && ((this.Fuzzy == null && other.Fuzzy == null) || (this.Fuzzy?.Equals(other.Fuzzy) == true)); } diff --git a/Square/Models/DataCollectionOptions.cs b/Square/Models/DataCollectionOptions.cs index 31c17921..94a6ff82 100644 --- a/Square/Models/DataCollectionOptions.cs +++ b/Square/Models/DataCollectionOptions.cs @@ -71,19 +71,19 @@ public override string ToString() return $"DataCollectionOptions : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DataCollectionOptions other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Body == null && other.Body == null) || (this.Body?.Equals(other.Body) == true)) && ((this.InputType == null && other.InputType == null) || (this.InputType?.Equals(other.InputType) == true)) && diff --git a/Square/Models/DateRange.cs b/Square/Models/DateRange.cs index 678e215d..87d7cae7 100644 --- a/Square/Models/DateRange.cs +++ b/Square/Models/DateRange.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeEndDate() { return this.shouldSerialize["end_date"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DateRange other && ((this.StartDate == null && other.StartDate == null) || (this.StartDate?.Equals(other.StartDate) == true)) && ((this.EndDate == null && other.EndDate == null) || (this.EndDate?.Equals(other.EndDate) == true)); } diff --git a/Square/Models/DeleteBookingCustomAttributeDefinitionResponse.cs b/Square/Models/DeleteBookingCustomAttributeDefinitionResponse.cs index 6007fbe6..1773d57d 100644 --- a/Square/Models/DeleteBookingCustomAttributeDefinitionResponse.cs +++ b/Square/Models/DeleteBookingCustomAttributeDefinitionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteBookingCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteBookingCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteBookingCustomAttributeResponse.cs b/Square/Models/DeleteBookingCustomAttributeResponse.cs index d6bd05fb..0cc669e4 100644 --- a/Square/Models/DeleteBookingCustomAttributeResponse.cs +++ b/Square/Models/DeleteBookingCustomAttributeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteBookingCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteBookingCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteBreakTypeResponse.cs b/Square/Models/DeleteBreakTypeResponse.cs index e8a07afc..a3802d66 100644 --- a/Square/Models/DeleteBreakTypeResponse.cs +++ b/Square/Models/DeleteBreakTypeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteBreakTypeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteBreakTypeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteCatalogObjectResponse.cs b/Square/Models/DeleteCatalogObjectResponse.cs index ed19ee0b..bb66a098 100644 --- a/Square/Models/DeleteCatalogObjectResponse.cs +++ b/Square/Models/DeleteCatalogObjectResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"DeleteCatalogObjectResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCatalogObjectResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.DeletedObjectIds == null && other.DeletedObjectIds == null) || (this.DeletedObjectIds?.Equals(other.DeletedObjectIds) == true)) && diff --git a/Square/Models/DeleteCustomerCardResponse.cs b/Square/Models/DeleteCustomerCardResponse.cs index 000073a1..c9cbea70 100644 --- a/Square/Models/DeleteCustomerCardResponse.cs +++ b/Square/Models/DeleteCustomerCardResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteCustomerCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteCustomerCustomAttributeDefinitionResponse.cs b/Square/Models/DeleteCustomerCustomAttributeDefinitionResponse.cs index e9aef8b6..7141c9f6 100644 --- a/Square/Models/DeleteCustomerCustomAttributeDefinitionResponse.cs +++ b/Square/Models/DeleteCustomerCustomAttributeDefinitionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteCustomerCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteCustomerCustomAttributeResponse.cs b/Square/Models/DeleteCustomerCustomAttributeResponse.cs index cebbd9bb..215a2655 100644 --- a/Square/Models/DeleteCustomerCustomAttributeResponse.cs +++ b/Square/Models/DeleteCustomerCustomAttributeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteCustomerCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteCustomerGroupResponse.cs b/Square/Models/DeleteCustomerGroupResponse.cs index 091f6613..53d43b44 100644 --- a/Square/Models/DeleteCustomerGroupResponse.cs +++ b/Square/Models/DeleteCustomerGroupResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteCustomerGroupResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerGroupResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteCustomerRequest.cs b/Square/Models/DeleteCustomerRequest.cs index 606a581b..e454e925 100644 --- a/Square/Models/DeleteCustomerRequest.cs +++ b/Square/Models/DeleteCustomerRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"DeleteCustomerRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/DeleteCustomerResponse.cs b/Square/Models/DeleteCustomerResponse.cs index 97692738..a77d7ea8 100644 --- a/Square/Models/DeleteCustomerResponse.cs +++ b/Square/Models/DeleteCustomerResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteDisputeEvidenceResponse.cs b/Square/Models/DeleteDisputeEvidenceResponse.cs index d7624354..dc9c7174 100644 --- a/Square/Models/DeleteDisputeEvidenceResponse.cs +++ b/Square/Models/DeleteDisputeEvidenceResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteDisputeEvidenceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteDisputeEvidenceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteInvoiceAttachmentResponse.cs b/Square/Models/DeleteInvoiceAttachmentResponse.cs index 35b77736..069b869e 100644 --- a/Square/Models/DeleteInvoiceAttachmentResponse.cs +++ b/Square/Models/DeleteInvoiceAttachmentResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteInvoiceAttachmentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteInvoiceAttachmentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteInvoiceRequest.cs b/Square/Models/DeleteInvoiceRequest.cs index ba02ab75..592e6d5a 100644 --- a/Square/Models/DeleteInvoiceRequest.cs +++ b/Square/Models/DeleteInvoiceRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"DeleteInvoiceRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteInvoiceRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/DeleteInvoiceResponse.cs b/Square/Models/DeleteInvoiceResponse.cs index 31b9e70d..c8e0b218 100644 --- a/Square/Models/DeleteInvoiceResponse.cs +++ b/Square/Models/DeleteInvoiceResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteLocationCustomAttributeDefinitionResponse.cs b/Square/Models/DeleteLocationCustomAttributeDefinitionResponse.cs index 6dc0cbe4..2bc9f630 100644 --- a/Square/Models/DeleteLocationCustomAttributeDefinitionResponse.cs +++ b/Square/Models/DeleteLocationCustomAttributeDefinitionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteLocationCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteLocationCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteLocationCustomAttributeResponse.cs b/Square/Models/DeleteLocationCustomAttributeResponse.cs index 2f21a97a..04a83b51 100644 --- a/Square/Models/DeleteLocationCustomAttributeResponse.cs +++ b/Square/Models/DeleteLocationCustomAttributeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteLocationCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteLocationCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteLoyaltyRewardResponse.cs b/Square/Models/DeleteLoyaltyRewardResponse.cs index 807d63be..e7363a9c 100644 --- a/Square/Models/DeleteLoyaltyRewardResponse.cs +++ b/Square/Models/DeleteLoyaltyRewardResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteLoyaltyRewardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteLoyaltyRewardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteMerchantCustomAttributeDefinitionResponse.cs b/Square/Models/DeleteMerchantCustomAttributeDefinitionResponse.cs index 0cfd0810..21bbc07d 100644 --- a/Square/Models/DeleteMerchantCustomAttributeDefinitionResponse.cs +++ b/Square/Models/DeleteMerchantCustomAttributeDefinitionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteMerchantCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteMerchantCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteMerchantCustomAttributeResponse.cs b/Square/Models/DeleteMerchantCustomAttributeResponse.cs index 9b06c421..99bbdd05 100644 --- a/Square/Models/DeleteMerchantCustomAttributeResponse.cs +++ b/Square/Models/DeleteMerchantCustomAttributeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteMerchantCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteMerchantCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteOrderCustomAttributeDefinitionResponse.cs b/Square/Models/DeleteOrderCustomAttributeDefinitionResponse.cs index 9477ea05..7326828b 100644 --- a/Square/Models/DeleteOrderCustomAttributeDefinitionResponse.cs +++ b/Square/Models/DeleteOrderCustomAttributeDefinitionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteOrderCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteOrderCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteOrderCustomAttributeResponse.cs b/Square/Models/DeleteOrderCustomAttributeResponse.cs index 18c7e90a..25e62cc9 100644 --- a/Square/Models/DeleteOrderCustomAttributeResponse.cs +++ b/Square/Models/DeleteOrderCustomAttributeResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteOrderCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteOrderCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeletePaymentLinkResponse.cs b/Square/Models/DeletePaymentLinkResponse.cs index 5fbaa2b8..44327b1c 100644 --- a/Square/Models/DeletePaymentLinkResponse.cs +++ b/Square/Models/DeletePaymentLinkResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"DeletePaymentLinkResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeletePaymentLinkResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && diff --git a/Square/Models/DeleteShiftResponse.cs b/Square/Models/DeleteShiftResponse.cs index a956d2c8..a087b24c 100644 --- a/Square/Models/DeleteShiftResponse.cs +++ b/Square/Models/DeleteShiftResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteShiftResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteShiftResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteSnippetResponse.cs b/Square/Models/DeleteSnippetResponse.cs index d134bca6..60213b31 100644 --- a/Square/Models/DeleteSnippetResponse.cs +++ b/Square/Models/DeleteSnippetResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteSnippetResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteSnippetResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeleteSubscriptionActionResponse.cs b/Square/Models/DeleteSubscriptionActionResponse.cs index 8d34d594..4bf82c6c 100644 --- a/Square/Models/DeleteSubscriptionActionResponse.cs +++ b/Square/Models/DeleteSubscriptionActionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"DeleteSubscriptionActionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteSubscriptionActionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/DeleteWebhookSubscriptionResponse.cs b/Square/Models/DeleteWebhookSubscriptionResponse.cs index 3982a652..acb5f404 100644 --- a/Square/Models/DeleteWebhookSubscriptionResponse.cs +++ b/Square/Models/DeleteWebhookSubscriptionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DeleteWebhookSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeleteWebhookSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DeprecatedCreateDisputeEvidenceFileRequest.cs b/Square/Models/DeprecatedCreateDisputeEvidenceFileRequest.cs index 88256c1c..4a7a4658 100644 --- a/Square/Models/DeprecatedCreateDisputeEvidenceFileRequest.cs +++ b/Square/Models/DeprecatedCreateDisputeEvidenceFileRequest.cs @@ -92,19 +92,19 @@ public bool ShouldSerializeContentType() { return this.shouldSerialize["content_type"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeprecatedCreateDisputeEvidenceFileRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.EvidenceType == null && other.EvidenceType == null) || (this.EvidenceType?.Equals(other.EvidenceType) == true)) && ((this.ContentType == null && other.ContentType == null) || (this.ContentType?.Equals(other.ContentType) == true)); diff --git a/Square/Models/DeprecatedCreateDisputeEvidenceFileResponse.cs b/Square/Models/DeprecatedCreateDisputeEvidenceFileResponse.cs index 22364eae..ac05fe0e 100644 --- a/Square/Models/DeprecatedCreateDisputeEvidenceFileResponse.cs +++ b/Square/Models/DeprecatedCreateDisputeEvidenceFileResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"DeprecatedCreateDisputeEvidenceFileResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeprecatedCreateDisputeEvidenceFileResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)); } diff --git a/Square/Models/DeprecatedCreateDisputeEvidenceTextRequest.cs b/Square/Models/DeprecatedCreateDisputeEvidenceTextRequest.cs index 25d77690..6f5253e6 100644 --- a/Square/Models/DeprecatedCreateDisputeEvidenceTextRequest.cs +++ b/Square/Models/DeprecatedCreateDisputeEvidenceTextRequest.cs @@ -61,19 +61,19 @@ public override string ToString() return $"DeprecatedCreateDisputeEvidenceTextRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeprecatedCreateDisputeEvidenceTextRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.EvidenceType == null && other.EvidenceType == null) || (this.EvidenceType?.Equals(other.EvidenceType) == true)) && ((this.EvidenceText == null && other.EvidenceText == null) || (this.EvidenceText?.Equals(other.EvidenceText) == true)); diff --git a/Square/Models/DeprecatedCreateDisputeEvidenceTextResponse.cs b/Square/Models/DeprecatedCreateDisputeEvidenceTextResponse.cs index afc03f33..189de11e 100644 --- a/Square/Models/DeprecatedCreateDisputeEvidenceTextResponse.cs +++ b/Square/Models/DeprecatedCreateDisputeEvidenceTextResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"DeprecatedCreateDisputeEvidenceTextResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeprecatedCreateDisputeEvidenceTextResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)); } diff --git a/Square/Models/Destination.cs b/Square/Models/Destination.cs index 2164ba79..950d3a99 100644 --- a/Square/Models/Destination.cs +++ b/Square/Models/Destination.cs @@ -52,19 +52,19 @@ public override string ToString() return $"Destination : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Destination other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)); } diff --git a/Square/Models/DestinationDetails.cs b/Square/Models/DestinationDetails.cs index 5cb99390..f499da5f 100644 --- a/Square/Models/DestinationDetails.cs +++ b/Square/Models/DestinationDetails.cs @@ -43,19 +43,19 @@ public override string ToString() return $"DestinationDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DestinationDetails other && ((this.CardDetails == null && other.CardDetails == null) || (this.CardDetails?.Equals(other.CardDetails) == true)); } diff --git a/Square/Models/DestinationDetailsCardRefundDetails.cs b/Square/Models/DestinationDetailsCardRefundDetails.cs index 0511495e..cb5bf5c7 100644 --- a/Square/Models/DestinationDetailsCardRefundDetails.cs +++ b/Square/Models/DestinationDetailsCardRefundDetails.cs @@ -108,19 +108,19 @@ public bool ShouldSerializeAuthResultCode() { return this.shouldSerialize["auth_result_code"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DestinationDetailsCardRefundDetails other && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)) && ((this.EntryMethod == null && other.EntryMethod == null) || (this.EntryMethod?.Equals(other.EntryMethod) == true)) && ((this.AuthResultCode == null && other.AuthResultCode == null) || (this.AuthResultCode?.Equals(other.AuthResultCode) == true)); diff --git a/Square/Models/Device.cs b/Square/Models/Device.cs index 2fb7a558..8a9073a4 100644 --- a/Square/Models/Device.cs +++ b/Square/Models/Device.cs @@ -103,19 +103,19 @@ public bool ShouldSerializeComponents() { return this.shouldSerialize["components"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Device other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Attributes == null && other.Attributes == null) || (this.Attributes?.Equals(other.Attributes) == true)) && ((this.Components == null && other.Components == null) || (this.Components?.Equals(other.Components) == true)) && diff --git a/Square/Models/DeviceAttributes.cs b/Square/Models/DeviceAttributes.cs index 57c69024..efc5033a 100644 --- a/Square/Models/DeviceAttributes.cs +++ b/Square/Models/DeviceAttributes.cs @@ -193,19 +193,19 @@ public bool ShouldSerializeMerchantToken() { return this.shouldSerialize["merchant_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceAttributes other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Manufacturer == null && other.Manufacturer == null) || (this.Manufacturer?.Equals(other.Manufacturer) == true)) && ((this.Model == null && other.Model == null) || (this.Model?.Equals(other.Model) == true)) && diff --git a/Square/Models/DeviceCheckoutOptions.cs b/Square/Models/DeviceCheckoutOptions.cs index ed52a957..06692b64 100644 --- a/Square/Models/DeviceCheckoutOptions.cs +++ b/Square/Models/DeviceCheckoutOptions.cs @@ -146,19 +146,19 @@ public bool ShouldSerializeShowItemizedCart() { return this.shouldSerialize["show_itemized_cart"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceCheckoutOptions other && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.SkipReceiptScreen == null && other.SkipReceiptScreen == null) || (this.SkipReceiptScreen?.Equals(other.SkipReceiptScreen) == true)) && ((this.CollectSignature == null && other.CollectSignature == null) || (this.CollectSignature?.Equals(other.CollectSignature) == true)) && diff --git a/Square/Models/DeviceCode.cs b/Square/Models/DeviceCode.cs index 8bdf0583..b92c7f43 100644 --- a/Square/Models/DeviceCode.cs +++ b/Square/Models/DeviceCode.cs @@ -194,19 +194,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceCode other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Code == null && other.Code == null) || (this.Code?.Equals(other.Code) == true)) && diff --git a/Square/Models/DeviceComponentDetailsApplicationDetails.cs b/Square/Models/DeviceComponentDetailsApplicationDetails.cs index f8b5ed0b..b87d6255 100644 --- a/Square/Models/DeviceComponentDetailsApplicationDetails.cs +++ b/Square/Models/DeviceComponentDetailsApplicationDetails.cs @@ -117,19 +117,19 @@ public bool ShouldSerializeDeviceCodeId() { return this.shouldSerialize["device_code_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsApplicationDetails other && ((this.ApplicationType == null && other.ApplicationType == null) || (this.ApplicationType?.Equals(other.ApplicationType) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.SessionLocation == null && other.SessionLocation == null) || (this.SessionLocation?.Equals(other.SessionLocation) == true)) && diff --git a/Square/Models/DeviceComponentDetailsBatteryDetails.cs b/Square/Models/DeviceComponentDetailsBatteryDetails.cs index b1d23dad..f85cf18c 100644 --- a/Square/Models/DeviceComponentDetailsBatteryDetails.cs +++ b/Square/Models/DeviceComponentDetailsBatteryDetails.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeVisiblePercent() { return this.shouldSerialize["visible_percent"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsBatteryDetails other && ((this.VisiblePercent == null && other.VisiblePercent == null) || (this.VisiblePercent?.Equals(other.VisiblePercent) == true)) && ((this.ExternalPower == null && other.ExternalPower == null) || (this.ExternalPower?.Equals(other.ExternalPower) == true)); } diff --git a/Square/Models/DeviceComponentDetailsCardReaderDetails.cs b/Square/Models/DeviceComponentDetailsCardReaderDetails.cs index d6e0745c..9bbf6435 100644 --- a/Square/Models/DeviceComponentDetailsCardReaderDetails.cs +++ b/Square/Models/DeviceComponentDetailsCardReaderDetails.cs @@ -43,19 +43,19 @@ public override string ToString() return $"DeviceComponentDetailsCardReaderDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsCardReaderDetails other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/DeviceComponentDetailsEthernetDetails.cs b/Square/Models/DeviceComponentDetailsEthernetDetails.cs index 7ea83707..17813fc4 100644 --- a/Square/Models/DeviceComponentDetailsEthernetDetails.cs +++ b/Square/Models/DeviceComponentDetailsEthernetDetails.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeIpAddressV4() { return this.shouldSerialize["ip_address_v4"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsEthernetDetails other && ((this.Active == null && other.Active == null) || (this.Active?.Equals(other.Active) == true)) && ((this.IpAddressV4 == null && other.IpAddressV4 == null) || (this.IpAddressV4?.Equals(other.IpAddressV4) == true)); } diff --git a/Square/Models/DeviceComponentDetailsMeasurement.cs b/Square/Models/DeviceComponentDetailsMeasurement.cs index 4e5a87b6..a59e7b80 100644 --- a/Square/Models/DeviceComponentDetailsMeasurement.cs +++ b/Square/Models/DeviceComponentDetailsMeasurement.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeMValue() { return this.shouldSerialize["value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsMeasurement other && ((this.MValue == null && other.MValue == null) || (this.MValue?.Equals(other.MValue) == true)); } diff --git a/Square/Models/DeviceComponentDetailsNetworkInterfaceDetails.cs b/Square/Models/DeviceComponentDetailsNetworkInterfaceDetails.cs index cc8d5de6..c4f5fa62 100644 --- a/Square/Models/DeviceComponentDetailsNetworkInterfaceDetails.cs +++ b/Square/Models/DeviceComponentDetailsNetworkInterfaceDetails.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeIpAddressV4() { return this.shouldSerialize["ip_address_v4"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsNetworkInterfaceDetails other && ((this.IpAddressV4 == null && other.IpAddressV4 == null) || (this.IpAddressV4?.Equals(other.IpAddressV4) == true)); } diff --git a/Square/Models/DeviceComponentDetailsWiFiDetails.cs b/Square/Models/DeviceComponentDetailsWiFiDetails.cs index 855d4d85..720ac262 100644 --- a/Square/Models/DeviceComponentDetailsWiFiDetails.cs +++ b/Square/Models/DeviceComponentDetailsWiFiDetails.cs @@ -159,19 +159,19 @@ public bool ShouldSerializeSecureConnection() { return this.shouldSerialize["secure_connection"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceComponentDetailsWiFiDetails other && ((this.Active == null && other.Active == null) || (this.Active?.Equals(other.Active) == true)) && ((this.Ssid == null && other.Ssid == null) || (this.Ssid?.Equals(other.Ssid) == true)) && ((this.IpAddressV4 == null && other.IpAddressV4 == null) || (this.IpAddressV4?.Equals(other.IpAddressV4) == true)) && diff --git a/Square/Models/DeviceDetails.cs b/Square/Models/DeviceDetails.cs index 522e59db..37a2d851 100644 --- a/Square/Models/DeviceDetails.cs +++ b/Square/Models/DeviceDetails.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeDeviceName() { return this.shouldSerialize["device_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceDetails other && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.DeviceInstallationId == null && other.DeviceInstallationId == null) || (this.DeviceInstallationId?.Equals(other.DeviceInstallationId) == true)) && ((this.DeviceName == null && other.DeviceName == null) || (this.DeviceName?.Equals(other.DeviceName) == true)); diff --git a/Square/Models/DeviceMetadata.cs b/Square/Models/DeviceMetadata.cs index 8b514f06..7428d10f 100644 --- a/Square/Models/DeviceMetadata.cs +++ b/Square/Models/DeviceMetadata.cs @@ -359,19 +359,19 @@ public bool ShouldSerializeIpAddress() { return this.shouldSerialize["ip_address"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceMetadata other && ((this.BatteryPercentage == null && other.BatteryPercentage == null) || (this.BatteryPercentage?.Equals(other.BatteryPercentage) == true)) && ((this.ChargingState == null && other.ChargingState == null) || (this.ChargingState?.Equals(other.ChargingState) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/DeviceStatus.cs b/Square/Models/DeviceStatus.cs index 9b4dcf5e..b9df564a 100644 --- a/Square/Models/DeviceStatus.cs +++ b/Square/Models/DeviceStatus.cs @@ -43,19 +43,19 @@ public override string ToString() return $"DeviceStatus : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DeviceStatus other && ((this.Category == null && other.Category == null) || (this.Category?.Equals(other.Category) == true)); } diff --git a/Square/Models/DigitalWalletDetails.cs b/Square/Models/DigitalWalletDetails.cs index 6c23b680..9923ab7d 100644 --- a/Square/Models/DigitalWalletDetails.cs +++ b/Square/Models/DigitalWalletDetails.cs @@ -108,19 +108,19 @@ public bool ShouldSerializeBrand() { return this.shouldSerialize["brand"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DigitalWalletDetails other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.Brand == null && other.Brand == null) || (this.Brand?.Equals(other.Brand) == true)) && ((this.CashAppDetails == null && other.CashAppDetails == null) || (this.CashAppDetails?.Equals(other.CashAppDetails) == true)); diff --git a/Square/Models/DisableCardResponse.cs b/Square/Models/DisableCardResponse.cs index b4d4f717..11e15b6e 100644 --- a/Square/Models/DisableCardResponse.cs +++ b/Square/Models/DisableCardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"DisableCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DisableCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)); diff --git a/Square/Models/DisableEventsResponse.cs b/Square/Models/DisableEventsResponse.cs index c89e5019..af3e3a1d 100644 --- a/Square/Models/DisableEventsResponse.cs +++ b/Square/Models/DisableEventsResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"DisableEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DisableEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/DismissTerminalActionResponse.cs b/Square/Models/DismissTerminalActionResponse.cs index bafc96a6..b70bc2cb 100644 --- a/Square/Models/DismissTerminalActionResponse.cs +++ b/Square/Models/DismissTerminalActionResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"DismissTerminalActionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DismissTerminalActionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)); diff --git a/Square/Models/DismissTerminalCheckoutResponse.cs b/Square/Models/DismissTerminalCheckoutResponse.cs index b5f2c8e5..203a6550 100644 --- a/Square/Models/DismissTerminalCheckoutResponse.cs +++ b/Square/Models/DismissTerminalCheckoutResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"DismissTerminalCheckoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DismissTerminalCheckoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)); diff --git a/Square/Models/DismissTerminalRefundResponse.cs b/Square/Models/DismissTerminalRefundResponse.cs index 0267654c..a69dd045 100644 --- a/Square/Models/DismissTerminalRefundResponse.cs +++ b/Square/Models/DismissTerminalRefundResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"DismissTerminalRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DismissTerminalRefundResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/Dispute.cs b/Square/Models/Dispute.cs index 92744f62..622cc890 100644 --- a/Square/Models/Dispute.cs +++ b/Square/Models/Dispute.cs @@ -330,19 +330,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Dispute other && ((this.DisputeId == null && other.DisputeId == null) || (this.DisputeId?.Equals(other.DisputeId) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && diff --git a/Square/Models/DisputeEvidence.cs b/Square/Models/DisputeEvidence.cs index ca5e8afd..f9a54c37 100644 --- a/Square/Models/DisputeEvidence.cs +++ b/Square/Models/DisputeEvidence.cs @@ -180,19 +180,19 @@ public bool ShouldSerializeUploadedAt() { return this.shouldSerialize["uploaded_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DisputeEvidence other && ((this.EvidenceId == null && other.EvidenceId == null) || (this.EvidenceId?.Equals(other.EvidenceId) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.DisputeId == null && other.DisputeId == null) || (this.DisputeId?.Equals(other.DisputeId) == true)) && diff --git a/Square/Models/DisputeEvidenceFile.cs b/Square/Models/DisputeEvidenceFile.cs index 02448993..82f14f41 100644 --- a/Square/Models/DisputeEvidenceFile.cs +++ b/Square/Models/DisputeEvidenceFile.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeFiletype() { return this.shouldSerialize["filetype"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DisputeEvidenceFile other && ((this.Filename == null && other.Filename == null) || (this.Filename?.Equals(other.Filename) == true)) && ((this.Filetype == null && other.Filetype == null) || (this.Filetype?.Equals(other.Filetype) == true)); } diff --git a/Square/Models/DisputedPayment.cs b/Square/Models/DisputedPayment.cs index 3e967c24..7964e209 100644 --- a/Square/Models/DisputedPayment.cs +++ b/Square/Models/DisputedPayment.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is DisputedPayment other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/Employee.cs b/Square/Models/Employee.cs index cde11a0e..d504aa4c 100644 --- a/Square/Models/Employee.cs +++ b/Square/Models/Employee.cs @@ -246,19 +246,19 @@ public bool ShouldSerializeIsOwner() { return this.shouldSerialize["is_owner"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Employee other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.FirstName == null && other.FirstName == null) || (this.FirstName?.Equals(other.FirstName) == true)) && ((this.LastName == null && other.LastName == null) || (this.LastName?.Equals(other.LastName) == true)) && diff --git a/Square/Models/EmployeeWage.cs b/Square/Models/EmployeeWage.cs index 0e0c067e..4229bba6 100644 --- a/Square/Models/EmployeeWage.cs +++ b/Square/Models/EmployeeWage.cs @@ -122,19 +122,19 @@ public bool ShouldSerializeTitle() { return this.shouldSerialize["title"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is EmployeeWage other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.EmployeeId == null && other.EmployeeId == null) || (this.EmployeeId?.Equals(other.EmployeeId) == true)) && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && diff --git a/Square/Models/EnableEventsResponse.cs b/Square/Models/EnableEventsResponse.cs index 001b827a..5e104935 100644 --- a/Square/Models/EnableEventsResponse.cs +++ b/Square/Models/EnableEventsResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"EnableEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is EnableEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/Error.cs b/Square/Models/Error.cs index 1d05f7a6..e73fea82 100644 --- a/Square/Models/Error.cs +++ b/Square/Models/Error.cs @@ -73,19 +73,19 @@ public override string ToString() return $"Error : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Error other && ((this.Category == null && other.Category == null) || (this.Category?.Equals(other.Category) == true)) && ((this.Code == null && other.Code == null) || (this.Code?.Equals(other.Code) == true)) && ((this.Detail == null && other.Detail == null) || (this.Detail?.Equals(other.Detail) == true)) && diff --git a/Square/Models/Event.cs b/Square/Models/Event.cs index d17cebe5..4e8c0264 100644 --- a/Square/Models/Event.cs +++ b/Square/Models/Event.cs @@ -169,19 +169,19 @@ public bool ShouldSerializeEventId() { return this.shouldSerialize["event_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Event other && ((this.MerchantId == null && other.MerchantId == null) || (this.MerchantId?.Equals(other.MerchantId) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && diff --git a/Square/Models/EventData.cs b/Square/Models/EventData.cs index 587e1448..96497e43 100644 --- a/Square/Models/EventData.cs +++ b/Square/Models/EventData.cs @@ -132,19 +132,19 @@ public bool ShouldSerializeMObject() { return this.shouldSerialize["object"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is EventData other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Deleted == null && other.Deleted == null) || (this.Deleted?.Equals(other.Deleted) == true)) && diff --git a/Square/Models/EventMetadata.cs b/Square/Models/EventMetadata.cs index d90fd24a..441b6d85 100644 --- a/Square/Models/EventMetadata.cs +++ b/Square/Models/EventMetadata.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeApiVersion() { return this.shouldSerialize["api_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is EventMetadata other && ((this.EventId == null && other.EventId == null) || (this.EventId?.Equals(other.EventId) == true)) && ((this.ApiVersion == null && other.ApiVersion == null) || (this.ApiVersion?.Equals(other.ApiVersion) == true)); } diff --git a/Square/Models/EventTypeMetadata.cs b/Square/Models/EventTypeMetadata.cs index 9982e073..62c31cdf 100644 --- a/Square/Models/EventTypeMetadata.cs +++ b/Square/Models/EventTypeMetadata.cs @@ -61,19 +61,19 @@ public override string ToString() return $"EventTypeMetadata : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is EventTypeMetadata other && ((this.EventType == null && other.EventType == null) || (this.EventType?.Equals(other.EventType) == true)) && ((this.ApiVersionIntroduced == null && other.ApiVersionIntroduced == null) || (this.ApiVersionIntroduced?.Equals(other.ApiVersionIntroduced) == true)) && ((this.ReleaseStatus == null && other.ReleaseStatus == null) || (this.ReleaseStatus?.Equals(other.ReleaseStatus) == true)); diff --git a/Square/Models/ExternalPaymentDetails.cs b/Square/Models/ExternalPaymentDetails.cs index 7d7ae5c0..7b4f6e91 100644 --- a/Square/Models/ExternalPaymentDetails.cs +++ b/Square/Models/ExternalPaymentDetails.cs @@ -120,19 +120,19 @@ public bool ShouldSerializeSourceId() { return this.shouldSerialize["source_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ExternalPaymentDetails other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Source == null && other.Source == null) || (this.Source?.Equals(other.Source) == true)) && ((this.SourceId == null && other.SourceId == null) || (this.SourceId?.Equals(other.SourceId) == true)) && diff --git a/Square/Models/FilterValue.cs b/Square/Models/FilterValue.cs index 768026b4..2bfac5a9 100644 --- a/Square/Models/FilterValue.cs +++ b/Square/Models/FilterValue.cs @@ -122,19 +122,19 @@ public bool ShouldSerializeNone() { return this.shouldSerialize["none"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FilterValue other && ((this.All == null && other.All == null) || (this.All?.Equals(other.All) == true)) && ((this.Any == null && other.Any == null) || (this.Any?.Equals(other.Any) == true)) && ((this.None == null && other.None == null) || (this.None?.Equals(other.None) == true)); diff --git a/Square/Models/FloatNumberRange.cs b/Square/Models/FloatNumberRange.cs index e37e23a0..7a3380fc 100644 --- a/Square/Models/FloatNumberRange.cs +++ b/Square/Models/FloatNumberRange.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeEndAt() { return this.shouldSerialize["end_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FloatNumberRange other && ((this.StartAt == null && other.StartAt == null) || (this.StartAt?.Equals(other.StartAt) == true)) && ((this.EndAt == null && other.EndAt == null) || (this.EndAt?.Equals(other.EndAt) == true)); } diff --git a/Square/Models/Fulfillment.cs b/Square/Models/Fulfillment.cs index 4152ec88..0d434f19 100644 --- a/Square/Models/Fulfillment.cs +++ b/Square/Models/Fulfillment.cs @@ -193,19 +193,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Fulfillment other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && diff --git a/Square/Models/FulfillmentDeliveryDetails.cs b/Square/Models/FulfillmentDeliveryDetails.cs index 1db81d5c..b8939daa 100644 --- a/Square/Models/FulfillmentDeliveryDetails.cs +++ b/Square/Models/FulfillmentDeliveryDetails.cs @@ -560,19 +560,19 @@ public bool ShouldSerializeManagedDelivery() { return this.shouldSerialize["managed_delivery"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentDeliveryDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.ScheduleType == null && other.ScheduleType == null) || (this.ScheduleType?.Equals(other.ScheduleType) == true)) && ((this.PlacedAt == null && other.PlacedAt == null) || (this.PlacedAt?.Equals(other.PlacedAt) == true)) && diff --git a/Square/Models/FulfillmentFulfillmentEntry.cs b/Square/Models/FulfillmentFulfillmentEntry.cs index 10e80dc0..0e4b2be5 100644 --- a/Square/Models/FulfillmentFulfillmentEntry.cs +++ b/Square/Models/FulfillmentFulfillmentEntry.cs @@ -132,19 +132,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentFulfillmentEntry other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.LineItemUid == null && other.LineItemUid == null) || (this.LineItemUid?.Equals(other.LineItemUid) == true)) && ((this.Quantity == null && other.Quantity == null) || (this.Quantity?.Equals(other.Quantity) == true)) && diff --git a/Square/Models/FulfillmentPickupDetails.cs b/Square/Models/FulfillmentPickupDetails.cs index f2e3b0a6..3549c1c9 100644 --- a/Square/Models/FulfillmentPickupDetails.cs +++ b/Square/Models/FulfillmentPickupDetails.cs @@ -389,19 +389,19 @@ public bool ShouldSerializeIsCurbsidePickup() { return this.shouldSerialize["is_curbside_pickup"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentPickupDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.ExpiresAt == null && other.ExpiresAt == null) || (this.ExpiresAt?.Equals(other.ExpiresAt) == true)) && ((this.AutoCompleteDuration == null && other.AutoCompleteDuration == null) || (this.AutoCompleteDuration?.Equals(other.AutoCompleteDuration) == true)) && diff --git a/Square/Models/FulfillmentPickupDetailsCurbsidePickupDetails.cs b/Square/Models/FulfillmentPickupDetailsCurbsidePickupDetails.cs index 6cb19753..f7e9de20 100644 --- a/Square/Models/FulfillmentPickupDetailsCurbsidePickupDetails.cs +++ b/Square/Models/FulfillmentPickupDetailsCurbsidePickupDetails.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeBuyerArrivedAt() { return this.shouldSerialize["buyer_arrived_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentPickupDetailsCurbsidePickupDetails other && ((this.CurbsideDetails == null && other.CurbsideDetails == null) || (this.CurbsideDetails?.Equals(other.CurbsideDetails) == true)) && ((this.BuyerArrivedAt == null && other.BuyerArrivedAt == null) || (this.BuyerArrivedAt?.Equals(other.BuyerArrivedAt) == true)); } diff --git a/Square/Models/FulfillmentRecipient.cs b/Square/Models/FulfillmentRecipient.cs index 864bd9eb..7c072eb0 100644 --- a/Square/Models/FulfillmentRecipient.cs +++ b/Square/Models/FulfillmentRecipient.cs @@ -171,19 +171,19 @@ public bool ShouldSerializePhoneNumber() { return this.shouldSerialize["phone_number"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentRecipient other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.DisplayName == null && other.DisplayName == null) || (this.DisplayName?.Equals(other.DisplayName) == true)) && ((this.EmailAddress == null && other.EmailAddress == null) || (this.EmailAddress?.Equals(other.EmailAddress) == true)) && diff --git a/Square/Models/FulfillmentShipmentDetails.cs b/Square/Models/FulfillmentShipmentDetails.cs index 840fbaf3..9cea7b5b 100644 --- a/Square/Models/FulfillmentShipmentDetails.cs +++ b/Square/Models/FulfillmentShipmentDetails.cs @@ -359,19 +359,19 @@ public bool ShouldSerializeFailureReason() { return this.shouldSerialize["failure_reason"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is FulfillmentShipmentDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.Carrier == null && other.Carrier == null) || (this.Carrier?.Equals(other.Carrier) == true)) && ((this.ShippingNote == null && other.ShippingNote == null) || (this.ShippingNote?.Equals(other.ShippingNote) == true)) && diff --git a/Square/Models/GetBankAccountByV1IdResponse.cs b/Square/Models/GetBankAccountByV1IdResponse.cs index a061a482..ce7d75d3 100644 --- a/Square/Models/GetBankAccountByV1IdResponse.cs +++ b/Square/Models/GetBankAccountByV1IdResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"GetBankAccountByV1IdResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetBankAccountByV1IdResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.BankAccount == null && other.BankAccount == null) || (this.BankAccount?.Equals(other.BankAccount) == true)); diff --git a/Square/Models/GetBankAccountResponse.cs b/Square/Models/GetBankAccountResponse.cs index 87ba0402..fc49a830 100644 --- a/Square/Models/GetBankAccountResponse.cs +++ b/Square/Models/GetBankAccountResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"GetBankAccountResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetBankAccountResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.BankAccount == null && other.BankAccount == null) || (this.BankAccount?.Equals(other.BankAccount) == true)); diff --git a/Square/Models/GetBreakTypeResponse.cs b/Square/Models/GetBreakTypeResponse.cs index 05632db6..87d1fb2e 100644 --- a/Square/Models/GetBreakTypeResponse.cs +++ b/Square/Models/GetBreakTypeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"GetBreakTypeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetBreakTypeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.BreakType == null && other.BreakType == null) || (this.BreakType?.Equals(other.BreakType) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetDeviceCodeResponse.cs b/Square/Models/GetDeviceCodeResponse.cs index 71a2b2bc..7dc46f7c 100644 --- a/Square/Models/GetDeviceCodeResponse.cs +++ b/Square/Models/GetDeviceCodeResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetDeviceCodeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetDeviceCodeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.DeviceCode == null && other.DeviceCode == null) || (this.DeviceCode?.Equals(other.DeviceCode) == true)); diff --git a/Square/Models/GetDeviceResponse.cs b/Square/Models/GetDeviceResponse.cs index 6d83a212..551f3d69 100644 --- a/Square/Models/GetDeviceResponse.cs +++ b/Square/Models/GetDeviceResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetDeviceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetDeviceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Device == null && other.Device == null) || (this.Device?.Equals(other.Device) == true)); diff --git a/Square/Models/GetEmployeeWageResponse.cs b/Square/Models/GetEmployeeWageResponse.cs index 19028113..09a392cd 100644 --- a/Square/Models/GetEmployeeWageResponse.cs +++ b/Square/Models/GetEmployeeWageResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetEmployeeWageResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetEmployeeWageResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.EmployeeWage == null && other.EmployeeWage == null) || (this.EmployeeWage?.Equals(other.EmployeeWage) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetInvoiceResponse.cs b/Square/Models/GetInvoiceResponse.cs index 7a916a6d..6c1065ea 100644 --- a/Square/Models/GetInvoiceResponse.cs +++ b/Square/Models/GetInvoiceResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"GetInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetPaymentRefundResponse.cs b/Square/Models/GetPaymentRefundResponse.cs index d241dff7..c72f59cf 100644 --- a/Square/Models/GetPaymentRefundResponse.cs +++ b/Square/Models/GetPaymentRefundResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"GetPaymentRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetPaymentRefundResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/GetPaymentResponse.cs b/Square/Models/GetPaymentResponse.cs index 437b4e9b..ec71e4d9 100644 --- a/Square/Models/GetPaymentResponse.cs +++ b/Square/Models/GetPaymentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetPaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetPaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)); diff --git a/Square/Models/GetPayoutResponse.cs b/Square/Models/GetPayoutResponse.cs index 7316bf8c..c4adf331 100644 --- a/Square/Models/GetPayoutResponse.cs +++ b/Square/Models/GetPayoutResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"GetPayoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetPayoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Payout == null && other.Payout == null) || (this.Payout?.Equals(other.Payout) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetShiftResponse.cs b/Square/Models/GetShiftResponse.cs index 27665d66..186a60e3 100644 --- a/Square/Models/GetShiftResponse.cs +++ b/Square/Models/GetShiftResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"GetShiftResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetShiftResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Shift == null && other.Shift == null) || (this.Shift?.Equals(other.Shift) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetTeamMemberWageResponse.cs b/Square/Models/GetTeamMemberWageResponse.cs index 6fb4cc0e..d89fb49a 100644 --- a/Square/Models/GetTeamMemberWageResponse.cs +++ b/Square/Models/GetTeamMemberWageResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"GetTeamMemberWageResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetTeamMemberWageResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMemberWage == null && other.TeamMemberWage == null) || (this.TeamMemberWage?.Equals(other.TeamMemberWage) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/GetTerminalActionResponse.cs b/Square/Models/GetTerminalActionResponse.cs index c520cba2..8724043a 100644 --- a/Square/Models/GetTerminalActionResponse.cs +++ b/Square/Models/GetTerminalActionResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetTerminalActionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetTerminalActionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)); diff --git a/Square/Models/GetTerminalCheckoutResponse.cs b/Square/Models/GetTerminalCheckoutResponse.cs index 3b9ea25d..e32bcc4d 100644 --- a/Square/Models/GetTerminalCheckoutResponse.cs +++ b/Square/Models/GetTerminalCheckoutResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetTerminalCheckoutResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetTerminalCheckoutResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Checkout == null && other.Checkout == null) || (this.Checkout?.Equals(other.Checkout) == true)); diff --git a/Square/Models/GetTerminalRefundResponse.cs b/Square/Models/GetTerminalRefundResponse.cs index 60319171..637dad54 100644 --- a/Square/Models/GetTerminalRefundResponse.cs +++ b/Square/Models/GetTerminalRefundResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"GetTerminalRefundResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GetTerminalRefundResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/GiftCard.cs b/Square/Models/GiftCard.cs index 7980b5d1..af48bf02 100644 --- a/Square/Models/GiftCard.cs +++ b/Square/Models/GiftCard.cs @@ -157,19 +157,19 @@ public bool ShouldSerializeGan() { return this.shouldSerialize["gan"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCard other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.GanSource == null && other.GanSource == null) || (this.GanSource?.Equals(other.GanSource) == true)) && diff --git a/Square/Models/GiftCardActivity.cs b/Square/Models/GiftCardActivity.cs index 8b3f43f9..aa7a8338 100644 --- a/Square/Models/GiftCardActivity.cs +++ b/Square/Models/GiftCardActivity.cs @@ -324,19 +324,19 @@ public bool ShouldSerializeGiftCardGan() { return this.shouldSerialize["gift_card_gan"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivity other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/GiftCardActivityActivate.cs b/Square/Models/GiftCardActivityActivate.cs index 80b4705a..ddf55b79 100644 --- a/Square/Models/GiftCardActivityActivate.cs +++ b/Square/Models/GiftCardActivityActivate.cs @@ -175,19 +175,19 @@ public bool ShouldSerializeBuyerPaymentInstrumentIds() { return this.shouldSerialize["buyer_payment_instrument_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityActivate other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.LineItemUid == null && other.LineItemUid == null) || (this.LineItemUid?.Equals(other.LineItemUid) == true)) && diff --git a/Square/Models/GiftCardActivityAdjustDecrement.cs b/Square/Models/GiftCardActivityAdjustDecrement.cs index fa335667..b10b2002 100644 --- a/Square/Models/GiftCardActivityAdjustDecrement.cs +++ b/Square/Models/GiftCardActivityAdjustDecrement.cs @@ -57,19 +57,19 @@ public override string ToString() return $"GiftCardActivityAdjustDecrement : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityAdjustDecrement other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityAdjustIncrement.cs b/Square/Models/GiftCardActivityAdjustIncrement.cs index f36b5783..437178c6 100644 --- a/Square/Models/GiftCardActivityAdjustIncrement.cs +++ b/Square/Models/GiftCardActivityAdjustIncrement.cs @@ -57,19 +57,19 @@ public override string ToString() return $"GiftCardActivityAdjustIncrement : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityAdjustIncrement other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityBlock.cs b/Square/Models/GiftCardActivityBlock.cs index 9771caff..d3e1bdc2 100644 --- a/Square/Models/GiftCardActivityBlock.cs +++ b/Square/Models/GiftCardActivityBlock.cs @@ -43,19 +43,19 @@ public override string ToString() return $"GiftCardActivityBlock : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityBlock other && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityClearBalance.cs b/Square/Models/GiftCardActivityClearBalance.cs index 099410d2..742a5190 100644 --- a/Square/Models/GiftCardActivityClearBalance.cs +++ b/Square/Models/GiftCardActivityClearBalance.cs @@ -43,19 +43,19 @@ public override string ToString() return $"GiftCardActivityClearBalance : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityClearBalance other && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityDeactivate.cs b/Square/Models/GiftCardActivityDeactivate.cs index 0fe0aeec..0e8e70da 100644 --- a/Square/Models/GiftCardActivityDeactivate.cs +++ b/Square/Models/GiftCardActivityDeactivate.cs @@ -43,19 +43,19 @@ public override string ToString() return $"GiftCardActivityDeactivate : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityDeactivate other && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityImport.cs b/Square/Models/GiftCardActivityImport.cs index 3843daba..af654225 100644 --- a/Square/Models/GiftCardActivityImport.cs +++ b/Square/Models/GiftCardActivityImport.cs @@ -48,19 +48,19 @@ public override string ToString() return $"GiftCardActivityImport : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityImport other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); } diff --git a/Square/Models/GiftCardActivityImportReversal.cs b/Square/Models/GiftCardActivityImportReversal.cs index d49ac187..aaecdbaf 100644 --- a/Square/Models/GiftCardActivityImportReversal.cs +++ b/Square/Models/GiftCardActivityImportReversal.cs @@ -48,19 +48,19 @@ public override string ToString() return $"GiftCardActivityImportReversal : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityImportReversal other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); } diff --git a/Square/Models/GiftCardActivityLoad.cs b/Square/Models/GiftCardActivityLoad.cs index 298f073d..cce7cc3b 100644 --- a/Square/Models/GiftCardActivityLoad.cs +++ b/Square/Models/GiftCardActivityLoad.cs @@ -175,19 +175,19 @@ public bool ShouldSerializeBuyerPaymentInstrumentIds() { return this.shouldSerialize["buyer_payment_instrument_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityLoad other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.LineItemUid == null && other.LineItemUid == null) || (this.LineItemUid?.Equals(other.LineItemUid) == true)) && diff --git a/Square/Models/GiftCardActivityRedeem.cs b/Square/Models/GiftCardActivityRedeem.cs index 1b80d299..f685301f 100644 --- a/Square/Models/GiftCardActivityRedeem.cs +++ b/Square/Models/GiftCardActivityRedeem.cs @@ -112,19 +112,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityRedeem other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && diff --git a/Square/Models/GiftCardActivityRefund.cs b/Square/Models/GiftCardActivityRefund.cs index a010267b..c84cf1cf 100644 --- a/Square/Models/GiftCardActivityRefund.cs +++ b/Square/Models/GiftCardActivityRefund.cs @@ -131,19 +131,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityRefund other && ((this.RedeemActivityId == null && other.RedeemActivityId == null) || (this.RedeemActivityId?.Equals(other.RedeemActivityId) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && diff --git a/Square/Models/GiftCardActivityTransferBalanceFrom.cs b/Square/Models/GiftCardActivityTransferBalanceFrom.cs index 3080655e..3fa8e7e6 100644 --- a/Square/Models/GiftCardActivityTransferBalanceFrom.cs +++ b/Square/Models/GiftCardActivityTransferBalanceFrom.cs @@ -57,19 +57,19 @@ public override string ToString() return $"GiftCardActivityTransferBalanceFrom : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityTransferBalanceFrom other && ((this.TransferToGiftCardId == null && other.TransferToGiftCardId == null) || (this.TransferToGiftCardId?.Equals(other.TransferToGiftCardId) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); } diff --git a/Square/Models/GiftCardActivityTransferBalanceTo.cs b/Square/Models/GiftCardActivityTransferBalanceTo.cs index b5adfeff..b1bbcfff 100644 --- a/Square/Models/GiftCardActivityTransferBalanceTo.cs +++ b/Square/Models/GiftCardActivityTransferBalanceTo.cs @@ -57,19 +57,19 @@ public override string ToString() return $"GiftCardActivityTransferBalanceTo : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityTransferBalanceTo other && ((this.TransferFromGiftCardId == null && other.TransferFromGiftCardId == null) || (this.TransferFromGiftCardId?.Equals(other.TransferFromGiftCardId) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); } diff --git a/Square/Models/GiftCardActivityUnblock.cs b/Square/Models/GiftCardActivityUnblock.cs index 1f4f69b1..c8ae5b75 100644 --- a/Square/Models/GiftCardActivityUnblock.cs +++ b/Square/Models/GiftCardActivityUnblock.cs @@ -43,19 +43,19 @@ public override string ToString() return $"GiftCardActivityUnblock : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityUnblock other && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); } diff --git a/Square/Models/GiftCardActivityUnlinkedActivityRefund.cs b/Square/Models/GiftCardActivityUnlinkedActivityRefund.cs index 3d51678f..8683fc6b 100644 --- a/Square/Models/GiftCardActivityUnlinkedActivityRefund.cs +++ b/Square/Models/GiftCardActivityUnlinkedActivityRefund.cs @@ -96,19 +96,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is GiftCardActivityUnlinkedActivityRefund other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); diff --git a/Square/Models/InventoryAdjustment.cs b/Square/Models/InventoryAdjustment.cs index 897f06b2..1fc46862 100644 --- a/Square/Models/InventoryAdjustment.cs +++ b/Square/Models/InventoryAdjustment.cs @@ -398,19 +398,19 @@ public bool ShouldSerializeTeamMemberId() { return this.shouldSerialize["team_member_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryAdjustment other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.FromState == null && other.FromState == null) || (this.FromState?.Equals(other.FromState) == true)) && diff --git a/Square/Models/InventoryAdjustmentGroup.cs b/Square/Models/InventoryAdjustmentGroup.cs index 2254c84b..c4d1e7f3 100644 --- a/Square/Models/InventoryAdjustmentGroup.cs +++ b/Square/Models/InventoryAdjustmentGroup.cs @@ -71,19 +71,19 @@ public override string ToString() return $"InventoryAdjustmentGroup : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryAdjustmentGroup other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.RootAdjustmentId == null && other.RootAdjustmentId == null) || (this.RootAdjustmentId?.Equals(other.RootAdjustmentId) == true)) && ((this.FromState == null && other.FromState == null) || (this.FromState?.Equals(other.FromState) == true)) && diff --git a/Square/Models/InventoryChange.cs b/Square/Models/InventoryChange.cs index 93dc49a7..3a76fe60 100644 --- a/Square/Models/InventoryChange.cs +++ b/Square/Models/InventoryChange.cs @@ -94,19 +94,19 @@ public override string ToString() return $"InventoryChange : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryChange other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.PhysicalCount == null && other.PhysicalCount == null) || (this.PhysicalCount?.Equals(other.PhysicalCount) == true)) && ((this.Adjustment == null && other.Adjustment == null) || (this.Adjustment?.Equals(other.Adjustment) == true)) && diff --git a/Square/Models/InventoryCount.cs b/Square/Models/InventoryCount.cs index abb752c3..3119de1a 100644 --- a/Square/Models/InventoryCount.cs +++ b/Square/Models/InventoryCount.cs @@ -190,19 +190,19 @@ public bool ShouldSerializeQuantity() { return this.shouldSerialize["quantity"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryCount other && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && ((this.CatalogObjectType == null && other.CatalogObjectType == null) || (this.CatalogObjectType?.Equals(other.CatalogObjectType) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && diff --git a/Square/Models/InventoryPhysicalCount.cs b/Square/Models/InventoryPhysicalCount.cs index 0215f02c..b6afef5b 100644 --- a/Square/Models/InventoryPhysicalCount.cs +++ b/Square/Models/InventoryPhysicalCount.cs @@ -308,19 +308,19 @@ public bool ShouldSerializeOccurredAt() { return this.shouldSerialize["occurred_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryPhysicalCount other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/InventoryTransfer.cs b/Square/Models/InventoryTransfer.cs index fc348436..c3f2cb28 100644 --- a/Square/Models/InventoryTransfer.cs +++ b/Square/Models/InventoryTransfer.cs @@ -335,19 +335,19 @@ public bool ShouldSerializeTeamMemberId() { return this.shouldSerialize["team_member_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InventoryTransfer other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && diff --git a/Square/Models/Invoice.cs b/Square/Models/Invoice.cs index 6eb05c8e..7a570a07 100644 --- a/Square/Models/Invoice.cs +++ b/Square/Models/Invoice.cs @@ -520,19 +520,19 @@ public bool ShouldSerializeStorePaymentMethodEnabled() { return this.shouldSerialize["store_payment_method_enabled"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Invoice other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/InvoiceAcceptedPaymentMethods.cs b/Square/Models/InvoiceAcceptedPaymentMethods.cs index f3c2bcb6..659e8474 100644 --- a/Square/Models/InvoiceAcceptedPaymentMethods.cs +++ b/Square/Models/InvoiceAcceptedPaymentMethods.cs @@ -179,19 +179,19 @@ public bool ShouldSerializeCashAppPay() { return this.shouldSerialize["cash_app_pay"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceAcceptedPaymentMethods other && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)) && ((this.SquareGiftCard == null && other.SquareGiftCard == null) || (this.SquareGiftCard?.Equals(other.SquareGiftCard) == true)) && ((this.BankAccount == null && other.BankAccount == null) || (this.BankAccount?.Equals(other.BankAccount) == true)) && diff --git a/Square/Models/InvoiceAttachment.cs b/Square/Models/InvoiceAttachment.cs index d0190eeb..a0205695 100644 --- a/Square/Models/InvoiceAttachment.cs +++ b/Square/Models/InvoiceAttachment.cs @@ -100,19 +100,19 @@ public override string ToString() return $"InvoiceAttachment : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceAttachment other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Filename == null && other.Filename == null) || (this.Filename?.Equals(other.Filename) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && diff --git a/Square/Models/InvoiceCustomField.cs b/Square/Models/InvoiceCustomField.cs index 6174a205..122ed636 100644 --- a/Square/Models/InvoiceCustomField.cs +++ b/Square/Models/InvoiceCustomField.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeMValue() { return this.shouldSerialize["value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceCustomField other && ((this.Label == null && other.Label == null) || (this.Label?.Equals(other.Label) == true)) && ((this.MValue == null && other.MValue == null) || (this.MValue?.Equals(other.MValue) == true)) && ((this.Placement == null && other.Placement == null) || (this.Placement?.Equals(other.Placement) == true)); diff --git a/Square/Models/InvoiceFilter.cs b/Square/Models/InvoiceFilter.cs index a9c6ba3a..9949aa80 100644 --- a/Square/Models/InvoiceFilter.cs +++ b/Square/Models/InvoiceFilter.cs @@ -83,19 +83,19 @@ public bool ShouldSerializeCustomerIds() { return this.shouldSerialize["customer_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceFilter other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)); } diff --git a/Square/Models/InvoicePaymentReminder.cs b/Square/Models/InvoicePaymentReminder.cs index c954501f..22e8281b 100644 --- a/Square/Models/InvoicePaymentReminder.cs +++ b/Square/Models/InvoicePaymentReminder.cs @@ -131,19 +131,19 @@ public bool ShouldSerializeMessage() { return this.shouldSerialize["message"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoicePaymentReminder other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.RelativeScheduledDays == null && other.RelativeScheduledDays == null) || (this.RelativeScheduledDays?.Equals(other.RelativeScheduledDays) == true)) && ((this.Message == null && other.Message == null) || (this.Message?.Equals(other.Message) == true)) && diff --git a/Square/Models/InvoicePaymentRequest.cs b/Square/Models/InvoicePaymentRequest.cs index 1198abde..da84ce3e 100644 --- a/Square/Models/InvoicePaymentRequest.cs +++ b/Square/Models/InvoicePaymentRequest.cs @@ -315,19 +315,19 @@ public bool ShouldSerializeReminders() { return this.shouldSerialize["reminders"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoicePaymentRequest other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.RequestMethod == null && other.RequestMethod == null) || (this.RequestMethod?.Equals(other.RequestMethod) == true)) && ((this.RequestType == null && other.RequestType == null) || (this.RequestType?.Equals(other.RequestType) == true)) && diff --git a/Square/Models/InvoiceQuery.cs b/Square/Models/InvoiceQuery.cs index f70da8bb..57a69825 100644 --- a/Square/Models/InvoiceQuery.cs +++ b/Square/Models/InvoiceQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"InvoiceQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/InvoiceRecipient.cs b/Square/Models/InvoiceRecipient.cs index c363d952..279987ce 100644 --- a/Square/Models/InvoiceRecipient.cs +++ b/Square/Models/InvoiceRecipient.cs @@ -150,19 +150,19 @@ public bool ShouldSerializeCustomerId() { return this.shouldSerialize["customer_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceRecipient other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.GivenName == null && other.GivenName == null) || (this.GivenName?.Equals(other.GivenName) == true)) && ((this.FamilyName == null && other.FamilyName == null) || (this.FamilyName?.Equals(other.FamilyName) == true)) && diff --git a/Square/Models/InvoiceRecipientTaxIds.cs b/Square/Models/InvoiceRecipientTaxIds.cs index f29d98c0..9bacec5a 100644 --- a/Square/Models/InvoiceRecipientTaxIds.cs +++ b/Square/Models/InvoiceRecipientTaxIds.cs @@ -43,19 +43,19 @@ public override string ToString() return $"InvoiceRecipientTaxIds : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceRecipientTaxIds other && ((this.EuVat == null && other.EuVat == null) || (this.EuVat?.Equals(other.EuVat) == true)); } diff --git a/Square/Models/InvoiceSort.cs b/Square/Models/InvoiceSort.cs index 31f17ac3..c3730658 100644 --- a/Square/Models/InvoiceSort.cs +++ b/Square/Models/InvoiceSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"InvoiceSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is InvoiceSort other && ((this.Field == null && other.Field == null) || (this.Field?.Equals(other.Field) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); } diff --git a/Square/Models/ItemVariationLocationOverrides.cs b/Square/Models/ItemVariationLocationOverrides.cs index c146eb97..87c57de4 100644 --- a/Square/Models/ItemVariationLocationOverrides.cs +++ b/Square/Models/ItemVariationLocationOverrides.cs @@ -190,19 +190,19 @@ public bool ShouldSerializeInventoryAlertThreshold() { return this.shouldSerialize["inventory_alert_threshold"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ItemVariationLocationOverrides other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.PriceMoney == null && other.PriceMoney == null) || (this.PriceMoney?.Equals(other.PriceMoney) == true)) && ((this.PricingType == null && other.PricingType == null) || (this.PricingType?.Equals(other.PricingType) == true)) && diff --git a/Square/Models/JobAssignment.cs b/Square/Models/JobAssignment.cs index d95edc42..55d09269 100644 --- a/Square/Models/JobAssignment.cs +++ b/Square/Models/JobAssignment.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeWeeklyHours() { return this.shouldSerialize["weekly_hours"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is JobAssignment other && ((this.JobTitle == null && other.JobTitle == null) || (this.JobTitle?.Equals(other.JobTitle) == true)) && ((this.PayType == null && other.PayType == null) || (this.PayType?.Equals(other.PayType) == true)) && ((this.HourlyRate == null && other.HourlyRate == null) || (this.HourlyRate?.Equals(other.HourlyRate) == true)) && diff --git a/Square/Models/LinkCustomerToGiftCardRequest.cs b/Square/Models/LinkCustomerToGiftCardRequest.cs index 9ce8ce95..ee80f328 100644 --- a/Square/Models/LinkCustomerToGiftCardRequest.cs +++ b/Square/Models/LinkCustomerToGiftCardRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"LinkCustomerToGiftCardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LinkCustomerToGiftCardRequest other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)); } diff --git a/Square/Models/LinkCustomerToGiftCardResponse.cs b/Square/Models/LinkCustomerToGiftCardResponse.cs index 110e416f..9a3304aa 100644 --- a/Square/Models/LinkCustomerToGiftCardResponse.cs +++ b/Square/Models/LinkCustomerToGiftCardResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"LinkCustomerToGiftCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LinkCustomerToGiftCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/ListBankAccountsRequest.cs b/Square/Models/ListBankAccountsRequest.cs index 43c731cf..8c7e9f3a 100644 --- a/Square/Models/ListBankAccountsRequest.cs +++ b/Square/Models/ListBankAccountsRequest.cs @@ -127,19 +127,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBankAccountsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/ListBankAccountsResponse.cs b/Square/Models/ListBankAccountsResponse.cs index 5731420c..559262c8 100644 --- a/Square/Models/ListBankAccountsResponse.cs +++ b/Square/Models/ListBankAccountsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListBankAccountsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBankAccountsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.BankAccounts == null && other.BankAccounts == null) || (this.BankAccounts?.Equals(other.BankAccounts) == true)) && diff --git a/Square/Models/ListBookingCustomAttributeDefinitionsRequest.cs b/Square/Models/ListBookingCustomAttributeDefinitionsRequest.cs index 22307b3f..930ae70b 100644 --- a/Square/Models/ListBookingCustomAttributeDefinitionsRequest.cs +++ b/Square/Models/ListBookingCustomAttributeDefinitionsRequest.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingCustomAttributeDefinitionsRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListBookingCustomAttributeDefinitionsResponse.cs b/Square/Models/ListBookingCustomAttributeDefinitionsResponse.cs index 356990d0..7faf9880 100644 --- a/Square/Models/ListBookingCustomAttributeDefinitionsResponse.cs +++ b/Square/Models/ListBookingCustomAttributeDefinitionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListBookingCustomAttributeDefinitionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingCustomAttributeDefinitionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinitions == null && other.CustomAttributeDefinitions == null) || (this.CustomAttributeDefinitions?.Equals(other.CustomAttributeDefinitions) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListBookingCustomAttributesRequest.cs b/Square/Models/ListBookingCustomAttributesRequest.cs index ba605498..f4865f4d 100644 --- a/Square/Models/ListBookingCustomAttributesRequest.cs +++ b/Square/Models/ListBookingCustomAttributesRequest.cs @@ -127,19 +127,19 @@ public bool ShouldSerializeWithDefinitions() { return this.shouldSerialize["with_definitions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingCustomAttributesRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.WithDefinitions == null && other.WithDefinitions == null) || (this.WithDefinitions?.Equals(other.WithDefinitions) == true)); diff --git a/Square/Models/ListBookingCustomAttributesResponse.cs b/Square/Models/ListBookingCustomAttributesResponse.cs index 1725a125..ac494cff 100644 --- a/Square/Models/ListBookingCustomAttributesResponse.cs +++ b/Square/Models/ListBookingCustomAttributesResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"ListBookingCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributes == null && other.CustomAttributes == null) || (this.CustomAttributes?.Equals(other.CustomAttributes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListBookingsRequest.cs b/Square/Models/ListBookingsRequest.cs index cb298fdf..1ec3f6ad 100644 --- a/Square/Models/ListBookingsRequest.cs +++ b/Square/Models/ListBookingsRequest.cs @@ -225,19 +225,19 @@ public bool ShouldSerializeStartAtMax() { return this.shouldSerialize["start_at_max"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingsRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && diff --git a/Square/Models/ListBookingsResponse.cs b/Square/Models/ListBookingsResponse.cs index 90bf7803..611ff79e 100644 --- a/Square/Models/ListBookingsResponse.cs +++ b/Square/Models/ListBookingsResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListBookingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBookingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Bookings == null && other.Bookings == null) || (this.Bookings?.Equals(other.Bookings) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListBreakTypesRequest.cs b/Square/Models/ListBreakTypesRequest.cs index 34de420d..b5bc4671 100644 --- a/Square/Models/ListBreakTypesRequest.cs +++ b/Square/Models/ListBreakTypesRequest.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBreakTypesRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListBreakTypesResponse.cs b/Square/Models/ListBreakTypesResponse.cs index ceff68d3..492a4176 100644 --- a/Square/Models/ListBreakTypesResponse.cs +++ b/Square/Models/ListBreakTypesResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListBreakTypesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListBreakTypesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.BreakTypes == null && other.BreakTypes == null) || (this.BreakTypes?.Equals(other.BreakTypes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListCardsRequest.cs b/Square/Models/ListCardsRequest.cs index eaaf50c0..d4191b8f 100644 --- a/Square/Models/ListCardsRequest.cs +++ b/Square/Models/ListCardsRequest.cs @@ -162,19 +162,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCardsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.IncludeDisabled == null && other.IncludeDisabled == null) || (this.IncludeDisabled?.Equals(other.IncludeDisabled) == true)) && diff --git a/Square/Models/ListCardsResponse.cs b/Square/Models/ListCardsResponse.cs index f06cc896..f1c703c8 100644 --- a/Square/Models/ListCardsResponse.cs +++ b/Square/Models/ListCardsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListCardsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCardsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Cards == null && other.Cards == null) || (this.Cards?.Equals(other.Cards) == true)) && diff --git a/Square/Models/ListCashDrawerShiftEventsRequest.cs b/Square/Models/ListCashDrawerShiftEventsRequest.cs index e02aa8ea..1f264c99 100644 --- a/Square/Models/ListCashDrawerShiftEventsRequest.cs +++ b/Square/Models/ListCashDrawerShiftEventsRequest.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCashDrawerShiftEventsRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListCashDrawerShiftEventsResponse.cs b/Square/Models/ListCashDrawerShiftEventsResponse.cs index f086d14e..33d01c1f 100644 --- a/Square/Models/ListCashDrawerShiftEventsResponse.cs +++ b/Square/Models/ListCashDrawerShiftEventsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListCashDrawerShiftEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCashDrawerShiftEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && diff --git a/Square/Models/ListCashDrawerShiftsRequest.cs b/Square/Models/ListCashDrawerShiftsRequest.cs index b589bde5..1e917a76 100644 --- a/Square/Models/ListCashDrawerShiftsRequest.cs +++ b/Square/Models/ListCashDrawerShiftsRequest.cs @@ -170,19 +170,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCashDrawerShiftsRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && diff --git a/Square/Models/ListCashDrawerShiftsResponse.cs b/Square/Models/ListCashDrawerShiftsResponse.cs index 964259fd..32bebb3d 100644 --- a/Square/Models/ListCashDrawerShiftsResponse.cs +++ b/Square/Models/ListCashDrawerShiftsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListCashDrawerShiftsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCashDrawerShiftsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && diff --git a/Square/Models/ListCatalogRequest.cs b/Square/Models/ListCatalogRequest.cs index 64a01404..f6c5d3fe 100644 --- a/Square/Models/ListCatalogRequest.cs +++ b/Square/Models/ListCatalogRequest.cs @@ -136,19 +136,19 @@ public bool ShouldSerializeCatalogVersion() { return this.shouldSerialize["catalog_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCatalogRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Types == null && other.Types == null) || (this.Types?.Equals(other.Types) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)); diff --git a/Square/Models/ListCatalogResponse.cs b/Square/Models/ListCatalogResponse.cs index 608a9bd8..e13b990d 100644 --- a/Square/Models/ListCatalogResponse.cs +++ b/Square/Models/ListCatalogResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListCatalogResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCatalogResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListCustomerCustomAttributeDefinitionsRequest.cs b/Square/Models/ListCustomerCustomAttributeDefinitionsRequest.cs index 3c6ddba1..3c815e44 100644 --- a/Square/Models/ListCustomerCustomAttributeDefinitionsRequest.cs +++ b/Square/Models/ListCustomerCustomAttributeDefinitionsRequest.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerCustomAttributeDefinitionsRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListCustomerCustomAttributeDefinitionsResponse.cs b/Square/Models/ListCustomerCustomAttributeDefinitionsResponse.cs index a2af585b..31496d59 100644 --- a/Square/Models/ListCustomerCustomAttributeDefinitionsResponse.cs +++ b/Square/Models/ListCustomerCustomAttributeDefinitionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListCustomerCustomAttributeDefinitionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerCustomAttributeDefinitionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinitions == null && other.CustomAttributeDefinitions == null) || (this.CustomAttributeDefinitions?.Equals(other.CustomAttributeDefinitions) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListCustomerCustomAttributesRequest.cs b/Square/Models/ListCustomerCustomAttributesRequest.cs index 7d9645c6..a502c21d 100644 --- a/Square/Models/ListCustomerCustomAttributesRequest.cs +++ b/Square/Models/ListCustomerCustomAttributesRequest.cs @@ -127,19 +127,19 @@ public bool ShouldSerializeWithDefinitions() { return this.shouldSerialize["with_definitions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerCustomAttributesRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.WithDefinitions == null && other.WithDefinitions == null) || (this.WithDefinitions?.Equals(other.WithDefinitions) == true)); diff --git a/Square/Models/ListCustomerCustomAttributesResponse.cs b/Square/Models/ListCustomerCustomAttributesResponse.cs index 4c2d1d60..7f3ea580 100644 --- a/Square/Models/ListCustomerCustomAttributesResponse.cs +++ b/Square/Models/ListCustomerCustomAttributesResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"ListCustomerCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributes == null && other.CustomAttributes == null) || (this.CustomAttributes?.Equals(other.CustomAttributes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListCustomerGroupsRequest.cs b/Square/Models/ListCustomerGroupsRequest.cs index 9ee6bf97..3f67ce74 100644 --- a/Square/Models/ListCustomerGroupsRequest.cs +++ b/Square/Models/ListCustomerGroupsRequest.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerGroupsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); } diff --git a/Square/Models/ListCustomerGroupsResponse.cs b/Square/Models/ListCustomerGroupsResponse.cs index e517f368..fb267a05 100644 --- a/Square/Models/ListCustomerGroupsResponse.cs +++ b/Square/Models/ListCustomerGroupsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListCustomerGroupsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerGroupsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Groups == null && other.Groups == null) || (this.Groups?.Equals(other.Groups) == true)) && diff --git a/Square/Models/ListCustomerSegmentsRequest.cs b/Square/Models/ListCustomerSegmentsRequest.cs index 27466b89..443f0952 100644 --- a/Square/Models/ListCustomerSegmentsRequest.cs +++ b/Square/Models/ListCustomerSegmentsRequest.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerSegmentsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); } diff --git a/Square/Models/ListCustomerSegmentsResponse.cs b/Square/Models/ListCustomerSegmentsResponse.cs index 988c2079..ca52a3c0 100644 --- a/Square/Models/ListCustomerSegmentsResponse.cs +++ b/Square/Models/ListCustomerSegmentsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListCustomerSegmentsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomerSegmentsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Segments == null && other.Segments == null) || (this.Segments?.Equals(other.Segments) == true)) && diff --git a/Square/Models/ListCustomersRequest.cs b/Square/Models/ListCustomersRequest.cs index d6fcec33..e03fc461 100644 --- a/Square/Models/ListCustomersRequest.cs +++ b/Square/Models/ListCustomersRequest.cs @@ -148,19 +148,19 @@ public bool ShouldSerializeCount() { return this.shouldSerialize["count"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomersRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.SortField == null && other.SortField == null) || (this.SortField?.Equals(other.SortField) == true)) && diff --git a/Square/Models/ListCustomersResponse.cs b/Square/Models/ListCustomersResponse.cs index f4f5f9b5..56438292 100644 --- a/Square/Models/ListCustomersResponse.cs +++ b/Square/Models/ListCustomersResponse.cs @@ -84,19 +84,19 @@ public override string ToString() return $"ListCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Customers == null && other.Customers == null) || (this.Customers?.Equals(other.Customers) == true)) && diff --git a/Square/Models/ListDeviceCodesRequest.cs b/Square/Models/ListDeviceCodesRequest.cs index 772d956a..59b87df5 100644 --- a/Square/Models/ListDeviceCodesRequest.cs +++ b/Square/Models/ListDeviceCodesRequest.cs @@ -137,19 +137,19 @@ public bool ShouldSerializeStatus() { return this.shouldSerialize["status"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDeviceCodesRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.ProductType == null && other.ProductType == null) || (this.ProductType?.Equals(other.ProductType) == true)) && diff --git a/Square/Models/ListDeviceCodesResponse.cs b/Square/Models/ListDeviceCodesResponse.cs index 4c234acc..fae5275a 100644 --- a/Square/Models/ListDeviceCodesResponse.cs +++ b/Square/Models/ListDeviceCodesResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListDeviceCodesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDeviceCodesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.DeviceCodes == null && other.DeviceCodes == null) || (this.DeviceCodes?.Equals(other.DeviceCodes) == true)) && diff --git a/Square/Models/ListDevicesRequest.cs b/Square/Models/ListDevicesRequest.cs index ff8bbbdc..f3cb9672 100644 --- a/Square/Models/ListDevicesRequest.cs +++ b/Square/Models/ListDevicesRequest.cs @@ -134,19 +134,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDevicesRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && diff --git a/Square/Models/ListDevicesResponse.cs b/Square/Models/ListDevicesResponse.cs index 49f46a6a..a280d006 100644 --- a/Square/Models/ListDevicesResponse.cs +++ b/Square/Models/ListDevicesResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListDevicesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDevicesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Devices == null && other.Devices == null) || (this.Devices?.Equals(other.Devices) == true)) && diff --git a/Square/Models/ListDisputeEvidenceRequest.cs b/Square/Models/ListDisputeEvidenceRequest.cs index 06cf3ce9..1cbd9e8f 100644 --- a/Square/Models/ListDisputeEvidenceRequest.cs +++ b/Square/Models/ListDisputeEvidenceRequest.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDisputeEvidenceRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListDisputeEvidenceResponse.cs b/Square/Models/ListDisputeEvidenceResponse.cs index e4e54b3b..8d136300 100644 --- a/Square/Models/ListDisputeEvidenceResponse.cs +++ b/Square/Models/ListDisputeEvidenceResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListDisputeEvidenceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDisputeEvidenceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && diff --git a/Square/Models/ListDisputesRequest.cs b/Square/Models/ListDisputesRequest.cs index a874ad04..8f41aa2d 100644 --- a/Square/Models/ListDisputesRequest.cs +++ b/Square/Models/ListDisputesRequest.cs @@ -125,19 +125,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDisputesRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.States == null && other.States == null) || (this.States?.Equals(other.States) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/ListDisputesResponse.cs b/Square/Models/ListDisputesResponse.cs index b8507dbb..b7b5c9b5 100644 --- a/Square/Models/ListDisputesResponse.cs +++ b/Square/Models/ListDisputesResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListDisputesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListDisputesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Disputes == null && other.Disputes == null) || (this.Disputes?.Equals(other.Disputes) == true)) && diff --git a/Square/Models/ListEmployeeWagesRequest.cs b/Square/Models/ListEmployeeWagesRequest.cs index ecad4be2..dadca68b 100644 --- a/Square/Models/ListEmployeeWagesRequest.cs +++ b/Square/Models/ListEmployeeWagesRequest.cs @@ -122,19 +122,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEmployeeWagesRequest other && ((this.EmployeeId == null && other.EmployeeId == null) || (this.EmployeeId?.Equals(other.EmployeeId) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListEmployeeWagesResponse.cs b/Square/Models/ListEmployeeWagesResponse.cs index 95fe8aa4..9d6003c6 100644 --- a/Square/Models/ListEmployeeWagesResponse.cs +++ b/Square/Models/ListEmployeeWagesResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListEmployeeWagesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEmployeeWagesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.EmployeeWages == null && other.EmployeeWages == null) || (this.EmployeeWages?.Equals(other.EmployeeWages) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListEmployeesRequest.cs b/Square/Models/ListEmployeesRequest.cs index 3508164d..55ae6c2c 100644 --- a/Square/Models/ListEmployeesRequest.cs +++ b/Square/Models/ListEmployeesRequest.cs @@ -133,19 +133,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEmployeesRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && diff --git a/Square/Models/ListEmployeesResponse.cs b/Square/Models/ListEmployeesResponse.cs index eb636a3e..6a008826 100644 --- a/Square/Models/ListEmployeesResponse.cs +++ b/Square/Models/ListEmployeesResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListEmployeesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEmployeesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Employees == null && other.Employees == null) || (this.Employees?.Equals(other.Employees) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListEventTypesRequest.cs b/Square/Models/ListEventTypesRequest.cs index dd9116e1..145fc1b6 100644 --- a/Square/Models/ListEventTypesRequest.cs +++ b/Square/Models/ListEventTypesRequest.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeApiVersion() { return this.shouldSerialize["api_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEventTypesRequest other && ((this.ApiVersion == null && other.ApiVersion == null) || (this.ApiVersion?.Equals(other.ApiVersion) == true)); } diff --git a/Square/Models/ListEventTypesResponse.cs b/Square/Models/ListEventTypesResponse.cs index 194bcbdc..a2356d82 100644 --- a/Square/Models/ListEventTypesResponse.cs +++ b/Square/Models/ListEventTypesResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListEventTypesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListEventTypesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.EventTypes == null && other.EventTypes == null) || (this.EventTypes?.Equals(other.EventTypes) == true)) && diff --git a/Square/Models/ListGiftCardActivitiesRequest.cs b/Square/Models/ListGiftCardActivitiesRequest.cs index 3c0e82bb..62a11583 100644 --- a/Square/Models/ListGiftCardActivitiesRequest.cs +++ b/Square/Models/ListGiftCardActivitiesRequest.cs @@ -264,19 +264,19 @@ public bool ShouldSerializeSortOrder() { return this.shouldSerialize["sort_order"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListGiftCardActivitiesRequest other && ((this.GiftCardId == null && other.GiftCardId == null) || (this.GiftCardId?.Equals(other.GiftCardId) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/ListGiftCardActivitiesResponse.cs b/Square/Models/ListGiftCardActivitiesResponse.cs index 4716ddbc..e612e2fb 100644 --- a/Square/Models/ListGiftCardActivitiesResponse.cs +++ b/Square/Models/ListGiftCardActivitiesResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListGiftCardActivitiesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListGiftCardActivitiesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCardActivities == null && other.GiftCardActivities == null) || (this.GiftCardActivities?.Equals(other.GiftCardActivities) == true)) && diff --git a/Square/Models/ListGiftCardsRequest.cs b/Square/Models/ListGiftCardsRequest.cs index ee57a769..d504776e 100644 --- a/Square/Models/ListGiftCardsRequest.cs +++ b/Square/Models/ListGiftCardsRequest.cs @@ -180,19 +180,19 @@ public bool ShouldSerializeCustomerId() { return this.shouldSerialize["customer_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListGiftCardsRequest other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && diff --git a/Square/Models/ListGiftCardsResponse.cs b/Square/Models/ListGiftCardsResponse.cs index 45f5be7c..1e939bbc 100644 --- a/Square/Models/ListGiftCardsResponse.cs +++ b/Square/Models/ListGiftCardsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListGiftCardsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListGiftCardsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCards == null && other.GiftCards == null) || (this.GiftCards?.Equals(other.GiftCards) == true)) && diff --git a/Square/Models/ListInvoicesRequest.cs b/Square/Models/ListInvoicesRequest.cs index 8e98e4ac..3fe0550c 100644 --- a/Square/Models/ListInvoicesRequest.cs +++ b/Square/Models/ListInvoicesRequest.cs @@ -109,19 +109,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListInvoicesRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/ListInvoicesResponse.cs b/Square/Models/ListInvoicesResponse.cs index 45c22149..ce8cda2b 100644 --- a/Square/Models/ListInvoicesResponse.cs +++ b/Square/Models/ListInvoicesResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListInvoicesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListInvoicesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoices == null && other.Invoices == null) || (this.Invoices?.Equals(other.Invoices) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListLocationBookingProfilesRequest.cs b/Square/Models/ListLocationBookingProfilesRequest.cs index 3e59efe8..4a7c4c3a 100644 --- a/Square/Models/ListLocationBookingProfilesRequest.cs +++ b/Square/Models/ListLocationBookingProfilesRequest.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationBookingProfilesRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListLocationBookingProfilesResponse.cs b/Square/Models/ListLocationBookingProfilesResponse.cs index 9182d5da..e129e2ad 100644 --- a/Square/Models/ListLocationBookingProfilesResponse.cs +++ b/Square/Models/ListLocationBookingProfilesResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListLocationBookingProfilesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationBookingProfilesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.LocationBookingProfiles == null && other.LocationBookingProfiles == null) || (this.LocationBookingProfiles?.Equals(other.LocationBookingProfiles) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListLocationCustomAttributeDefinitionsRequest.cs b/Square/Models/ListLocationCustomAttributeDefinitionsRequest.cs index e59e0715..7315f7ac 100644 --- a/Square/Models/ListLocationCustomAttributeDefinitionsRequest.cs +++ b/Square/Models/ListLocationCustomAttributeDefinitionsRequest.cs @@ -110,19 +110,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationCustomAttributeDefinitionsRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListLocationCustomAttributeDefinitionsResponse.cs b/Square/Models/ListLocationCustomAttributeDefinitionsResponse.cs index a0de883a..a452bad0 100644 --- a/Square/Models/ListLocationCustomAttributeDefinitionsResponse.cs +++ b/Square/Models/ListLocationCustomAttributeDefinitionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListLocationCustomAttributeDefinitionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationCustomAttributeDefinitionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinitions == null && other.CustomAttributeDefinitions == null) || (this.CustomAttributeDefinitions?.Equals(other.CustomAttributeDefinitions) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListLocationCustomAttributesRequest.cs b/Square/Models/ListLocationCustomAttributesRequest.cs index 6c781832..bcec6789 100644 --- a/Square/Models/ListLocationCustomAttributesRequest.cs +++ b/Square/Models/ListLocationCustomAttributesRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeWithDefinitions() { return this.shouldSerialize["with_definitions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationCustomAttributesRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListLocationCustomAttributesResponse.cs b/Square/Models/ListLocationCustomAttributesResponse.cs index cd3b5129..39eeaa3e 100644 --- a/Square/Models/ListLocationCustomAttributesResponse.cs +++ b/Square/Models/ListLocationCustomAttributesResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"ListLocationCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributes == null && other.CustomAttributes == null) || (this.CustomAttributes?.Equals(other.CustomAttributes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListLocationsResponse.cs b/Square/Models/ListLocationsResponse.cs index d714d192..431df6d1 100644 --- a/Square/Models/ListLocationsResponse.cs +++ b/Square/Models/ListLocationsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"ListLocationsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLocationsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Locations == null && other.Locations == null) || (this.Locations?.Equals(other.Locations) == true)); diff --git a/Square/Models/ListLoyaltyProgramsResponse.cs b/Square/Models/ListLoyaltyProgramsResponse.cs index 0d069dda..7e9616df 100644 --- a/Square/Models/ListLoyaltyProgramsResponse.cs +++ b/Square/Models/ListLoyaltyProgramsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"ListLoyaltyProgramsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLoyaltyProgramsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Programs == null && other.Programs == null) || (this.Programs?.Equals(other.Programs) == true)); diff --git a/Square/Models/ListLoyaltyPromotionsRequest.cs b/Square/Models/ListLoyaltyPromotionsRequest.cs index 0960d55d..379b33d5 100644 --- a/Square/Models/ListLoyaltyPromotionsRequest.cs +++ b/Square/Models/ListLoyaltyPromotionsRequest.cs @@ -110,19 +110,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLoyaltyPromotionsRequest other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/ListLoyaltyPromotionsResponse.cs b/Square/Models/ListLoyaltyPromotionsResponse.cs index 10f39ca9..efea4b9b 100644 --- a/Square/Models/ListLoyaltyPromotionsResponse.cs +++ b/Square/Models/ListLoyaltyPromotionsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListLoyaltyPromotionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListLoyaltyPromotionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyPromotions == null && other.LoyaltyPromotions == null) || (this.LoyaltyPromotions?.Equals(other.LoyaltyPromotions) == true)) && diff --git a/Square/Models/ListMerchantCustomAttributeDefinitionsRequest.cs b/Square/Models/ListMerchantCustomAttributeDefinitionsRequest.cs index 825d0b21..e10ef5d3 100644 --- a/Square/Models/ListMerchantCustomAttributeDefinitionsRequest.cs +++ b/Square/Models/ListMerchantCustomAttributeDefinitionsRequest.cs @@ -110,19 +110,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantCustomAttributeDefinitionsRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListMerchantCustomAttributeDefinitionsResponse.cs b/Square/Models/ListMerchantCustomAttributeDefinitionsResponse.cs index 29595f5a..10d25af2 100644 --- a/Square/Models/ListMerchantCustomAttributeDefinitionsResponse.cs +++ b/Square/Models/ListMerchantCustomAttributeDefinitionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListMerchantCustomAttributeDefinitionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantCustomAttributeDefinitionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinitions == null && other.CustomAttributeDefinitions == null) || (this.CustomAttributeDefinitions?.Equals(other.CustomAttributeDefinitions) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListMerchantCustomAttributesRequest.cs b/Square/Models/ListMerchantCustomAttributesRequest.cs index 304aad1c..61918eab 100644 --- a/Square/Models/ListMerchantCustomAttributesRequest.cs +++ b/Square/Models/ListMerchantCustomAttributesRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeWithDefinitions() { return this.shouldSerialize["with_definitions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantCustomAttributesRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListMerchantCustomAttributesResponse.cs b/Square/Models/ListMerchantCustomAttributesResponse.cs index ca2b1d86..bf877185 100644 --- a/Square/Models/ListMerchantCustomAttributesResponse.cs +++ b/Square/Models/ListMerchantCustomAttributesResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"ListMerchantCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributes == null && other.CustomAttributes == null) || (this.CustomAttributes?.Equals(other.CustomAttributes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListMerchantsRequest.cs b/Square/Models/ListMerchantsRequest.cs index 10cb55a8..4a16b9de 100644 --- a/Square/Models/ListMerchantsRequest.cs +++ b/Square/Models/ListMerchantsRequest.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListMerchantsResponse.cs b/Square/Models/ListMerchantsResponse.cs index c8f6b634..c7948d31 100644 --- a/Square/Models/ListMerchantsResponse.cs +++ b/Square/Models/ListMerchantsResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListMerchantsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListMerchantsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Merchant == null && other.Merchant == null) || (this.Merchant?.Equals(other.Merchant) == true)) && diff --git a/Square/Models/ListOrderCustomAttributeDefinitionsRequest.cs b/Square/Models/ListOrderCustomAttributeDefinitionsRequest.cs index d28f75ce..2e167b54 100644 --- a/Square/Models/ListOrderCustomAttributeDefinitionsRequest.cs +++ b/Square/Models/ListOrderCustomAttributeDefinitionsRequest.cs @@ -111,19 +111,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListOrderCustomAttributeDefinitionsRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/ListOrderCustomAttributeDefinitionsResponse.cs b/Square/Models/ListOrderCustomAttributeDefinitionsResponse.cs index 93c283df..d674f215 100644 --- a/Square/Models/ListOrderCustomAttributeDefinitionsResponse.cs +++ b/Square/Models/ListOrderCustomAttributeDefinitionsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListOrderCustomAttributeDefinitionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListOrderCustomAttributeDefinitionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinitions == null && other.CustomAttributeDefinitions == null) || (this.CustomAttributeDefinitions?.Equals(other.CustomAttributeDefinitions) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListOrderCustomAttributesRequest.cs b/Square/Models/ListOrderCustomAttributesRequest.cs index fccbc555..8a11ff13 100644 --- a/Square/Models/ListOrderCustomAttributesRequest.cs +++ b/Square/Models/ListOrderCustomAttributesRequest.cs @@ -139,19 +139,19 @@ public bool ShouldSerializeWithDefinitions() { return this.shouldSerialize["with_definitions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListOrderCustomAttributesRequest other && ((this.VisibilityFilter == null && other.VisibilityFilter == null) || (this.VisibilityFilter?.Equals(other.VisibilityFilter) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && diff --git a/Square/Models/ListOrderCustomAttributesResponse.cs b/Square/Models/ListOrderCustomAttributesResponse.cs index cb04b62e..a498a0f7 100644 --- a/Square/Models/ListOrderCustomAttributesResponse.cs +++ b/Square/Models/ListOrderCustomAttributesResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListOrderCustomAttributesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListOrderCustomAttributesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributes == null && other.CustomAttributes == null) || (this.CustomAttributes?.Equals(other.CustomAttributes) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListPaymentLinksRequest.cs b/Square/Models/ListPaymentLinksRequest.cs index 407efb2b..dd8a7f41 100644 --- a/Square/Models/ListPaymentLinksRequest.cs +++ b/Square/Models/ListPaymentLinksRequest.cs @@ -101,19 +101,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentLinksRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); } diff --git a/Square/Models/ListPaymentLinksResponse.cs b/Square/Models/ListPaymentLinksResponse.cs index e81c2a14..1a398725 100644 --- a/Square/Models/ListPaymentLinksResponse.cs +++ b/Square/Models/ListPaymentLinksResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListPaymentLinksResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentLinksResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.PaymentLinks == null && other.PaymentLinks == null) || (this.PaymentLinks?.Equals(other.PaymentLinks) == true)) && diff --git a/Square/Models/ListPaymentRefundsRequest.cs b/Square/Models/ListPaymentRefundsRequest.cs index 589f57a0..0e1901aa 100644 --- a/Square/Models/ListPaymentRefundsRequest.cs +++ b/Square/Models/ListPaymentRefundsRequest.cs @@ -269,19 +269,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentRefundsRequest other && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && ((this.EndTime == null && other.EndTime == null) || (this.EndTime?.Equals(other.EndTime) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && diff --git a/Square/Models/ListPaymentRefundsResponse.cs b/Square/Models/ListPaymentRefundsResponse.cs index c242c512..b45af09b 100644 --- a/Square/Models/ListPaymentRefundsResponse.cs +++ b/Square/Models/ListPaymentRefundsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListPaymentRefundsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentRefundsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refunds == null && other.Refunds == null) || (this.Refunds?.Equals(other.Refunds) == true)) && diff --git a/Square/Models/ListPaymentsRequest.cs b/Square/Models/ListPaymentsRequest.cs index 0747d5d4..367a6e61 100644 --- a/Square/Models/ListPaymentsRequest.cs +++ b/Square/Models/ListPaymentsRequest.cs @@ -290,19 +290,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentsRequest other && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && ((this.EndTime == null && other.EndTime == null) || (this.EndTime?.Equals(other.EndTime) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && diff --git a/Square/Models/ListPaymentsResponse.cs b/Square/Models/ListPaymentsResponse.cs index 1d9233ff..3bf929cb 100644 --- a/Square/Models/ListPaymentsResponse.cs +++ b/Square/Models/ListPaymentsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListPaymentsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPaymentsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payments == null && other.Payments == null) || (this.Payments?.Equals(other.Payments) == true)) && diff --git a/Square/Models/ListPayoutEntriesRequest.cs b/Square/Models/ListPayoutEntriesRequest.cs index c1e6d2ad..3affe409 100644 --- a/Square/Models/ListPayoutEntriesRequest.cs +++ b/Square/Models/ListPayoutEntriesRequest.cs @@ -113,19 +113,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPayoutEntriesRequest other && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/ListPayoutEntriesResponse.cs b/Square/Models/ListPayoutEntriesResponse.cs index 8e4bda4f..8cc16568 100644 --- a/Square/Models/ListPayoutEntriesResponse.cs +++ b/Square/Models/ListPayoutEntriesResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListPayoutEntriesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPayoutEntriesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.PayoutEntries == null && other.PayoutEntries == null) || (this.PayoutEntries?.Equals(other.PayoutEntries) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListPayoutsRequest.cs b/Square/Models/ListPayoutsRequest.cs index 6c51619d..b431a32e 100644 --- a/Square/Models/ListPayoutsRequest.cs +++ b/Square/Models/ListPayoutsRequest.cs @@ -205,19 +205,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPayoutsRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && diff --git a/Square/Models/ListPayoutsResponse.cs b/Square/Models/ListPayoutsResponse.cs index c9888947..04f8d5b3 100644 --- a/Square/Models/ListPayoutsResponse.cs +++ b/Square/Models/ListPayoutsResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListPayoutsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListPayoutsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Payouts == null && other.Payouts == null) || (this.Payouts?.Equals(other.Payouts) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListRefundsRequest.cs b/Square/Models/ListRefundsRequest.cs index 34c2bf05..90f31671 100644 --- a/Square/Models/ListRefundsRequest.cs +++ b/Square/Models/ListRefundsRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListRefundsRequest other && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && ((this.EndTime == null && other.EndTime == null) || (this.EndTime?.Equals(other.EndTime) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && diff --git a/Square/Models/ListRefundsResponse.cs b/Square/Models/ListRefundsResponse.cs index 2809b5de..4f81051b 100644 --- a/Square/Models/ListRefundsResponse.cs +++ b/Square/Models/ListRefundsResponse.cs @@ -64,19 +64,19 @@ public override string ToString() return $"ListRefundsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListRefundsResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refunds == null && other.Refunds == null) || (this.Refunds?.Equals(other.Refunds) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListSitesResponse.cs b/Square/Models/ListSitesResponse.cs index 35e18afe..b3e8c34f 100644 --- a/Square/Models/ListSitesResponse.cs +++ b/Square/Models/ListSitesResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"ListSitesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListSitesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Sites == null && other.Sites == null) || (this.Sites?.Equals(other.Sites) == true)); diff --git a/Square/Models/ListSubscriptionEventsRequest.cs b/Square/Models/ListSubscriptionEventsRequest.cs index 90194a79..322ee680 100644 --- a/Square/Models/ListSubscriptionEventsRequest.cs +++ b/Square/Models/ListSubscriptionEventsRequest.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListSubscriptionEventsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); } diff --git a/Square/Models/ListSubscriptionEventsResponse.cs b/Square/Models/ListSubscriptionEventsResponse.cs index 6fbdfdf4..257b588d 100644 --- a/Square/Models/ListSubscriptionEventsResponse.cs +++ b/Square/Models/ListSubscriptionEventsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListSubscriptionEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListSubscriptionEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.SubscriptionEvents == null && other.SubscriptionEvents == null) || (this.SubscriptionEvents?.Equals(other.SubscriptionEvents) == true)) && diff --git a/Square/Models/ListTeamMemberBookingProfilesRequest.cs b/Square/Models/ListTeamMemberBookingProfilesRequest.cs index 3913918b..dd79439b 100644 --- a/Square/Models/ListTeamMemberBookingProfilesRequest.cs +++ b/Square/Models/ListTeamMemberBookingProfilesRequest.cs @@ -147,19 +147,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTeamMemberBookingProfilesRequest other && ((this.BookableOnly == null && other.BookableOnly == null) || (this.BookableOnly?.Equals(other.BookableOnly) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListTeamMemberBookingProfilesResponse.cs b/Square/Models/ListTeamMemberBookingProfilesResponse.cs index e23c855d..3007ff29 100644 --- a/Square/Models/ListTeamMemberBookingProfilesResponse.cs +++ b/Square/Models/ListTeamMemberBookingProfilesResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListTeamMemberBookingProfilesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTeamMemberBookingProfilesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMemberBookingProfiles == null && other.TeamMemberBookingProfiles == null) || (this.TeamMemberBookingProfiles?.Equals(other.TeamMemberBookingProfiles) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListTeamMemberWagesRequest.cs b/Square/Models/ListTeamMemberWagesRequest.cs index f7dfec89..00153284 100644 --- a/Square/Models/ListTeamMemberWagesRequest.cs +++ b/Square/Models/ListTeamMemberWagesRequest.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTeamMemberWagesRequest other && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/ListTeamMemberWagesResponse.cs b/Square/Models/ListTeamMemberWagesResponse.cs index 089688c3..5e32e252 100644 --- a/Square/Models/ListTeamMemberWagesResponse.cs +++ b/Square/Models/ListTeamMemberWagesResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListTeamMemberWagesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTeamMemberWagesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMemberWages == null && other.TeamMemberWages == null) || (this.TeamMemberWages?.Equals(other.TeamMemberWages) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/ListTransactionsRequest.cs b/Square/Models/ListTransactionsRequest.cs index 16b7c638..0f6a8634 100644 --- a/Square/Models/ListTransactionsRequest.cs +++ b/Square/Models/ListTransactionsRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTransactionsRequest other && ((this.BeginTime == null && other.BeginTime == null) || (this.BeginTime?.Equals(other.BeginTime) == true)) && ((this.EndTime == null && other.EndTime == null) || (this.EndTime?.Equals(other.EndTime) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && diff --git a/Square/Models/ListTransactionsResponse.cs b/Square/Models/ListTransactionsResponse.cs index eb015ef9..0f6c42f5 100644 --- a/Square/Models/ListTransactionsResponse.cs +++ b/Square/Models/ListTransactionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"ListTransactionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListTransactionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Transactions == null && other.Transactions == null) || (this.Transactions?.Equals(other.Transactions) == true)) && diff --git a/Square/Models/ListWebhookEventTypesRequest.cs b/Square/Models/ListWebhookEventTypesRequest.cs index 7669f9c7..f37a40b0 100644 --- a/Square/Models/ListWebhookEventTypesRequest.cs +++ b/Square/Models/ListWebhookEventTypesRequest.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeApiVersion() { return this.shouldSerialize["api_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWebhookEventTypesRequest other && ((this.ApiVersion == null && other.ApiVersion == null) || (this.ApiVersion?.Equals(other.ApiVersion) == true)); } diff --git a/Square/Models/ListWebhookEventTypesResponse.cs b/Square/Models/ListWebhookEventTypesResponse.cs index f7f19f95..608d7c93 100644 --- a/Square/Models/ListWebhookEventTypesResponse.cs +++ b/Square/Models/ListWebhookEventTypesResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"ListWebhookEventTypesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWebhookEventTypesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.EventTypes == null && other.EventTypes == null) || (this.EventTypes?.Equals(other.EventTypes) == true)) && diff --git a/Square/Models/ListWebhookSubscriptionsRequest.cs b/Square/Models/ListWebhookSubscriptionsRequest.cs index c05ba55b..7f7cd236 100644 --- a/Square/Models/ListWebhookSubscriptionsRequest.cs +++ b/Square/Models/ListWebhookSubscriptionsRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeLimit() { return this.shouldSerialize["limit"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWebhookSubscriptionsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.IncludeDisabled == null && other.IncludeDisabled == null) || (this.IncludeDisabled?.Equals(other.IncludeDisabled) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)) && diff --git a/Square/Models/ListWebhookSubscriptionsResponse.cs b/Square/Models/ListWebhookSubscriptionsResponse.cs index b5ae8453..1e6fef9e 100644 --- a/Square/Models/ListWebhookSubscriptionsResponse.cs +++ b/Square/Models/ListWebhookSubscriptionsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ListWebhookSubscriptionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWebhookSubscriptionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscriptions == null && other.Subscriptions == null) || (this.Subscriptions?.Equals(other.Subscriptions) == true)) && diff --git a/Square/Models/ListWorkweekConfigsRequest.cs b/Square/Models/ListWorkweekConfigsRequest.cs index 65f21209..298e2133 100644 --- a/Square/Models/ListWorkweekConfigsRequest.cs +++ b/Square/Models/ListWorkweekConfigsRequest.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWorkweekConfigsRequest other && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/ListWorkweekConfigsResponse.cs b/Square/Models/ListWorkweekConfigsResponse.cs index ff5c4ed0..dfa2c84b 100644 --- a/Square/Models/ListWorkweekConfigsResponse.cs +++ b/Square/Models/ListWorkweekConfigsResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"ListWorkweekConfigsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ListWorkweekConfigsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.WorkweekConfigs == null && other.WorkweekConfigs == null) || (this.WorkweekConfigs?.Equals(other.WorkweekConfigs) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/Location.cs b/Square/Models/Location.cs index 72e7825f..172b9df8 100644 --- a/Square/Models/Location.cs +++ b/Square/Models/Location.cs @@ -537,19 +537,19 @@ public bool ShouldSerializeMcc() { return this.shouldSerialize["mcc"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Location other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Address == null && other.Address == null) || (this.Address?.Equals(other.Address) == true)) && diff --git a/Square/Models/LocationBookingProfile.cs b/Square/Models/LocationBookingProfile.cs index 95dfcea6..e6f4b725 100644 --- a/Square/Models/LocationBookingProfile.cs +++ b/Square/Models/LocationBookingProfile.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeOnlineBookingEnabled() { return this.shouldSerialize["online_booking_enabled"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LocationBookingProfile other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.BookingSiteUrl == null && other.BookingSiteUrl == null) || (this.BookingSiteUrl?.Equals(other.BookingSiteUrl) == true)) && ((this.OnlineBookingEnabled == null && other.OnlineBookingEnabled == null) || (this.OnlineBookingEnabled?.Equals(other.OnlineBookingEnabled) == true)); diff --git a/Square/Models/LoyaltyAccount.cs b/Square/Models/LoyaltyAccount.cs index a781aec7..9235e472 100644 --- a/Square/Models/LoyaltyAccount.cs +++ b/Square/Models/LoyaltyAccount.cs @@ -206,19 +206,19 @@ public bool ShouldSerializeExpiringPointDeadlines() { return this.shouldSerialize["expiring_point_deadlines"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyAccount other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.ProgramId == null && other.ProgramId == null) || (this.ProgramId?.Equals(other.ProgramId) == true)) && ((this.Balance == null && other.Balance == null) || (this.Balance?.Equals(other.Balance) == true)) && diff --git a/Square/Models/LoyaltyAccountExpiringPointDeadline.cs b/Square/Models/LoyaltyAccountExpiringPointDeadline.cs index b7de6280..24bdbb20 100644 --- a/Square/Models/LoyaltyAccountExpiringPointDeadline.cs +++ b/Square/Models/LoyaltyAccountExpiringPointDeadline.cs @@ -52,19 +52,19 @@ public override string ToString() return $"LoyaltyAccountExpiringPointDeadline : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyAccountExpiringPointDeadline other && this.Points.Equals(other.Points) && ((this.ExpiresAt == null && other.ExpiresAt == null) || (this.ExpiresAt?.Equals(other.ExpiresAt) == true)); } diff --git a/Square/Models/LoyaltyAccountMapping.cs b/Square/Models/LoyaltyAccountMapping.cs index 488a48c9..d3006978 100644 --- a/Square/Models/LoyaltyAccountMapping.cs +++ b/Square/Models/LoyaltyAccountMapping.cs @@ -91,19 +91,19 @@ public bool ShouldSerializePhoneNumber() { return this.shouldSerialize["phone_number"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyAccountMapping other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.PhoneNumber == null && other.PhoneNumber == null) || (this.PhoneNumber?.Equals(other.PhoneNumber) == true)); diff --git a/Square/Models/LoyaltyEvent.cs b/Square/Models/LoyaltyEvent.cs index 2e33bd5b..58fef690 100644 --- a/Square/Models/LoyaltyEvent.cs +++ b/Square/Models/LoyaltyEvent.cs @@ -160,19 +160,19 @@ public override string ToString() return $"LoyaltyEvent : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEvent other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && diff --git a/Square/Models/LoyaltyEventAccumulatePoints.cs b/Square/Models/LoyaltyEventAccumulatePoints.cs index 7bbbc75a..dd9a20e7 100644 --- a/Square/Models/LoyaltyEventAccumulatePoints.cs +++ b/Square/Models/LoyaltyEventAccumulatePoints.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeOrderId() { return this.shouldSerialize["order_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventAccumulatePoints other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && ((this.Points == null && other.Points == null) || (this.Points?.Equals(other.Points) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)); diff --git a/Square/Models/LoyaltyEventAccumulatePromotionPoints.cs b/Square/Models/LoyaltyEventAccumulatePromotionPoints.cs index 939e3753..c413fc63 100644 --- a/Square/Models/LoyaltyEventAccumulatePromotionPoints.cs +++ b/Square/Models/LoyaltyEventAccumulatePromotionPoints.cs @@ -71,19 +71,19 @@ public override string ToString() return $"LoyaltyEventAccumulatePromotionPoints : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventAccumulatePromotionPoints other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && ((this.LoyaltyPromotionId == null && other.LoyaltyPromotionId == null) || (this.LoyaltyPromotionId?.Equals(other.LoyaltyPromotionId) == true)) && this.Points.Equals(other.Points) && diff --git a/Square/Models/LoyaltyEventAdjustPoints.cs b/Square/Models/LoyaltyEventAdjustPoints.cs index 86d53b4c..b3ea8069 100644 --- a/Square/Models/LoyaltyEventAdjustPoints.cs +++ b/Square/Models/LoyaltyEventAdjustPoints.cs @@ -91,19 +91,19 @@ public bool ShouldSerializeReason() { return this.shouldSerialize["reason"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventAdjustPoints other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && this.Points.Equals(other.Points) && ((this.Reason == null && other.Reason == null) || (this.Reason?.Equals(other.Reason) == true)); diff --git a/Square/Models/LoyaltyEventCreateReward.cs b/Square/Models/LoyaltyEventCreateReward.cs index 05ccb22c..f318daa8 100644 --- a/Square/Models/LoyaltyEventCreateReward.cs +++ b/Square/Models/LoyaltyEventCreateReward.cs @@ -62,19 +62,19 @@ public override string ToString() return $"LoyaltyEventCreateReward : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventCreateReward other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && ((this.RewardId == null && other.RewardId == null) || (this.RewardId?.Equals(other.RewardId) == true)) && this.Points.Equals(other.Points); diff --git a/Square/Models/LoyaltyEventDateTimeFilter.cs b/Square/Models/LoyaltyEventDateTimeFilter.cs index 2a9d1b43..805083fe 100644 --- a/Square/Models/LoyaltyEventDateTimeFilter.cs +++ b/Square/Models/LoyaltyEventDateTimeFilter.cs @@ -47,19 +47,19 @@ public override string ToString() return $"LoyaltyEventDateTimeFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventDateTimeFilter other && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)); } diff --git a/Square/Models/LoyaltyEventDeleteReward.cs b/Square/Models/LoyaltyEventDeleteReward.cs index c3802c40..0cd1c8cf 100644 --- a/Square/Models/LoyaltyEventDeleteReward.cs +++ b/Square/Models/LoyaltyEventDeleteReward.cs @@ -62,19 +62,19 @@ public override string ToString() return $"LoyaltyEventDeleteReward : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventDeleteReward other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && ((this.RewardId == null && other.RewardId == null) || (this.RewardId?.Equals(other.RewardId) == true)) && this.Points.Equals(other.Points); diff --git a/Square/Models/LoyaltyEventExpirePoints.cs b/Square/Models/LoyaltyEventExpirePoints.cs index 52332390..97a9029b 100644 --- a/Square/Models/LoyaltyEventExpirePoints.cs +++ b/Square/Models/LoyaltyEventExpirePoints.cs @@ -52,19 +52,19 @@ public override string ToString() return $"LoyaltyEventExpirePoints : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventExpirePoints other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && this.Points.Equals(other.Points); } diff --git a/Square/Models/LoyaltyEventFilter.cs b/Square/Models/LoyaltyEventFilter.cs index 6b3e0761..8f7cef23 100644 --- a/Square/Models/LoyaltyEventFilter.cs +++ b/Square/Models/LoyaltyEventFilter.cs @@ -79,19 +79,19 @@ public override string ToString() return $"LoyaltyEventFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventFilter other && ((this.LoyaltyAccountFilter == null && other.LoyaltyAccountFilter == null) || (this.LoyaltyAccountFilter?.Equals(other.LoyaltyAccountFilter) == true)) && ((this.TypeFilter == null && other.TypeFilter == null) || (this.TypeFilter?.Equals(other.TypeFilter) == true)) && ((this.DateTimeFilter == null && other.DateTimeFilter == null) || (this.DateTimeFilter?.Equals(other.DateTimeFilter) == true)) && diff --git a/Square/Models/LoyaltyEventLocationFilter.cs b/Square/Models/LoyaltyEventLocationFilter.cs index 14d4fbee..36a15557 100644 --- a/Square/Models/LoyaltyEventLocationFilter.cs +++ b/Square/Models/LoyaltyEventLocationFilter.cs @@ -45,19 +45,19 @@ public override string ToString() return $"LoyaltyEventLocationFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventLocationFilter other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)); } diff --git a/Square/Models/LoyaltyEventLoyaltyAccountFilter.cs b/Square/Models/LoyaltyEventLoyaltyAccountFilter.cs index 4ab86c64..7aff5304 100644 --- a/Square/Models/LoyaltyEventLoyaltyAccountFilter.cs +++ b/Square/Models/LoyaltyEventLoyaltyAccountFilter.cs @@ -43,19 +43,19 @@ public override string ToString() return $"LoyaltyEventLoyaltyAccountFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventLoyaltyAccountFilter other && ((this.LoyaltyAccountId == null && other.LoyaltyAccountId == null) || (this.LoyaltyAccountId?.Equals(other.LoyaltyAccountId) == true)); } diff --git a/Square/Models/LoyaltyEventOrderFilter.cs b/Square/Models/LoyaltyEventOrderFilter.cs index 71e4d663..14a5b494 100644 --- a/Square/Models/LoyaltyEventOrderFilter.cs +++ b/Square/Models/LoyaltyEventOrderFilter.cs @@ -43,19 +43,19 @@ public override string ToString() return $"LoyaltyEventOrderFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventOrderFilter other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)); } diff --git a/Square/Models/LoyaltyEventOther.cs b/Square/Models/LoyaltyEventOther.cs index a8a31006..1650026b 100644 --- a/Square/Models/LoyaltyEventOther.cs +++ b/Square/Models/LoyaltyEventOther.cs @@ -52,19 +52,19 @@ public override string ToString() return $"LoyaltyEventOther : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventOther other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && this.Points.Equals(other.Points); } diff --git a/Square/Models/LoyaltyEventQuery.cs b/Square/Models/LoyaltyEventQuery.cs index c919557b..af8ec582 100644 --- a/Square/Models/LoyaltyEventQuery.cs +++ b/Square/Models/LoyaltyEventQuery.cs @@ -44,19 +44,19 @@ public override string ToString() return $"LoyaltyEventQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)); } diff --git a/Square/Models/LoyaltyEventRedeemReward.cs b/Square/Models/LoyaltyEventRedeemReward.cs index 47fb7baa..8ff8bdb9 100644 --- a/Square/Models/LoyaltyEventRedeemReward.cs +++ b/Square/Models/LoyaltyEventRedeemReward.cs @@ -63,19 +63,19 @@ public override string ToString() return $"LoyaltyEventRedeemReward : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventRedeemReward other && ((this.LoyaltyProgramId == null && other.LoyaltyProgramId == null) || (this.LoyaltyProgramId?.Equals(other.LoyaltyProgramId) == true)) && ((this.RewardId == null && other.RewardId == null) || (this.RewardId?.Equals(other.RewardId) == true)) && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)); diff --git a/Square/Models/LoyaltyEventTypeFilter.cs b/Square/Models/LoyaltyEventTypeFilter.cs index 802dfd45..35a463bf 100644 --- a/Square/Models/LoyaltyEventTypeFilter.cs +++ b/Square/Models/LoyaltyEventTypeFilter.cs @@ -46,19 +46,19 @@ public override string ToString() return $"LoyaltyEventTypeFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyEventTypeFilter other && ((this.Types == null && other.Types == null) || (this.Types?.Equals(other.Types) == true)); } diff --git a/Square/Models/LoyaltyProgram.cs b/Square/Models/LoyaltyProgram.cs index 41461b48..dcffbb84 100644 --- a/Square/Models/LoyaltyProgram.cs +++ b/Square/Models/LoyaltyProgram.cs @@ -190,19 +190,19 @@ public bool ShouldSerializeAccrualRules() { return this.shouldSerialize["accrual_rules"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgram other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.RewardTiers == null && other.RewardTiers == null) || (this.RewardTiers?.Equals(other.RewardTiers) == true)) && diff --git a/Square/Models/LoyaltyProgramAccrualRule.cs b/Square/Models/LoyaltyProgramAccrualRule.cs index 31f63099..8e74449b 100644 --- a/Square/Models/LoyaltyProgramAccrualRule.cs +++ b/Square/Models/LoyaltyProgramAccrualRule.cs @@ -125,19 +125,19 @@ public bool ShouldSerializePoints() { return this.shouldSerialize["points"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramAccrualRule other && ((this.AccrualType == null && other.AccrualType == null) || (this.AccrualType?.Equals(other.AccrualType) == true)) && ((this.Points == null && other.Points == null) || (this.Points?.Equals(other.Points) == true)) && ((this.VisitData == null && other.VisitData == null) || (this.VisitData?.Equals(other.VisitData) == true)) && diff --git a/Square/Models/LoyaltyProgramAccrualRuleCategoryData.cs b/Square/Models/LoyaltyProgramAccrualRuleCategoryData.cs index fd231869..da7707f6 100644 --- a/Square/Models/LoyaltyProgramAccrualRuleCategoryData.cs +++ b/Square/Models/LoyaltyProgramAccrualRuleCategoryData.cs @@ -44,19 +44,19 @@ public override string ToString() return $"LoyaltyProgramAccrualRuleCategoryData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramAccrualRuleCategoryData other && ((this.CategoryId == null && other.CategoryId == null) || (this.CategoryId?.Equals(other.CategoryId) == true)); } diff --git a/Square/Models/LoyaltyProgramAccrualRuleItemVariationData.cs b/Square/Models/LoyaltyProgramAccrualRuleItemVariationData.cs index cd1df2be..80bf40bc 100644 --- a/Square/Models/LoyaltyProgramAccrualRuleItemVariationData.cs +++ b/Square/Models/LoyaltyProgramAccrualRuleItemVariationData.cs @@ -44,19 +44,19 @@ public override string ToString() return $"LoyaltyProgramAccrualRuleItemVariationData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramAccrualRuleItemVariationData other && ((this.ItemVariationId == null && other.ItemVariationId == null) || (this.ItemVariationId?.Equals(other.ItemVariationId) == true)); } diff --git a/Square/Models/LoyaltyProgramAccrualRuleSpendData.cs b/Square/Models/LoyaltyProgramAccrualRuleSpendData.cs index ce07c0d5..6a6093c1 100644 --- a/Square/Models/LoyaltyProgramAccrualRuleSpendData.cs +++ b/Square/Models/LoyaltyProgramAccrualRuleSpendData.cs @@ -127,19 +127,19 @@ public bool ShouldSerializeExcludedItemVariationIds() { return this.shouldSerialize["excluded_item_variation_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramAccrualRuleSpendData other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.ExcludedCategoryIds == null && other.ExcludedCategoryIds == null) || (this.ExcludedCategoryIds?.Equals(other.ExcludedCategoryIds) == true)) && ((this.ExcludedItemVariationIds == null && other.ExcludedItemVariationIds == null) || (this.ExcludedItemVariationIds?.Equals(other.ExcludedItemVariationIds) == true)) && diff --git a/Square/Models/LoyaltyProgramAccrualRuleVisitData.cs b/Square/Models/LoyaltyProgramAccrualRuleVisitData.cs index 32da408f..9f9b38e9 100644 --- a/Square/Models/LoyaltyProgramAccrualRuleVisitData.cs +++ b/Square/Models/LoyaltyProgramAccrualRuleVisitData.cs @@ -58,19 +58,19 @@ public override string ToString() return $"LoyaltyProgramAccrualRuleVisitData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramAccrualRuleVisitData other && ((this.MinimumAmountMoney == null && other.MinimumAmountMoney == null) || (this.MinimumAmountMoney?.Equals(other.MinimumAmountMoney) == true)) && ((this.TaxMode == null && other.TaxMode == null) || (this.TaxMode?.Equals(other.TaxMode) == true)); } diff --git a/Square/Models/LoyaltyProgramExpirationPolicy.cs b/Square/Models/LoyaltyProgramExpirationPolicy.cs index d04cc689..0ea483dc 100644 --- a/Square/Models/LoyaltyProgramExpirationPolicy.cs +++ b/Square/Models/LoyaltyProgramExpirationPolicy.cs @@ -44,19 +44,19 @@ public override string ToString() return $"LoyaltyProgramExpirationPolicy : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramExpirationPolicy other && ((this.ExpirationDuration == null && other.ExpirationDuration == null) || (this.ExpirationDuration?.Equals(other.ExpirationDuration) == true)); } diff --git a/Square/Models/LoyaltyProgramRewardDefinition.cs b/Square/Models/LoyaltyProgramRewardDefinition.cs index 6f60e1bf..e142fb26 100644 --- a/Square/Models/LoyaltyProgramRewardDefinition.cs +++ b/Square/Models/LoyaltyProgramRewardDefinition.cs @@ -106,19 +106,19 @@ public override string ToString() return $"LoyaltyProgramRewardDefinition : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramRewardDefinition other && ((this.Scope == null && other.Scope == null) || (this.Scope?.Equals(other.Scope) == true)) && ((this.DiscountType == null && other.DiscountType == null) || (this.DiscountType?.Equals(other.DiscountType) == true)) && ((this.PercentageDiscount == null && other.PercentageDiscount == null) || (this.PercentageDiscount?.Equals(other.PercentageDiscount) == true)) && diff --git a/Square/Models/LoyaltyProgramRewardTier.cs b/Square/Models/LoyaltyProgramRewardTier.cs index f95e8c78..da7fdb50 100644 --- a/Square/Models/LoyaltyProgramRewardTier.cs +++ b/Square/Models/LoyaltyProgramRewardTier.cs @@ -92,19 +92,19 @@ public override string ToString() return $"LoyaltyProgramRewardTier : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramRewardTier other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && this.Points.Equals(other.Points) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && diff --git a/Square/Models/LoyaltyProgramTerminology.cs b/Square/Models/LoyaltyProgramTerminology.cs index 1b123440..7734226c 100644 --- a/Square/Models/LoyaltyProgramTerminology.cs +++ b/Square/Models/LoyaltyProgramTerminology.cs @@ -52,19 +52,19 @@ public override string ToString() return $"LoyaltyProgramTerminology : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyProgramTerminology other && ((this.One == null && other.One == null) || (this.One?.Equals(other.One) == true)) && ((this.Other == null && other.Other == null) || (this.Other?.Equals(other.Other) == true)); } diff --git a/Square/Models/LoyaltyPromotion.cs b/Square/Models/LoyaltyPromotion.cs index 10d3f21b..e15e3ca6 100644 --- a/Square/Models/LoyaltyPromotion.cs +++ b/Square/Models/LoyaltyPromotion.cs @@ -235,19 +235,19 @@ public bool ShouldSerializeQualifyingCategoryIds() { return this.shouldSerialize["qualifying_category_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotion other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Incentive == null && other.Incentive == null) || (this.Incentive?.Equals(other.Incentive) == true)) && diff --git a/Square/Models/LoyaltyPromotionAvailableTimeData.cs b/Square/Models/LoyaltyPromotionAvailableTimeData.cs index 944fb032..662e7abb 100644 --- a/Square/Models/LoyaltyPromotionAvailableTimeData.cs +++ b/Square/Models/LoyaltyPromotionAvailableTimeData.cs @@ -72,19 +72,19 @@ public override string ToString() return $"LoyaltyPromotionAvailableTimeData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotionAvailableTimeData other && ((this.StartDate == null && other.StartDate == null) || (this.StartDate?.Equals(other.StartDate) == true)) && ((this.EndDate == null && other.EndDate == null) || (this.EndDate?.Equals(other.EndDate) == true)) && ((this.TimePeriods == null && other.TimePeriods == null) || (this.TimePeriods?.Equals(other.TimePeriods) == true)); diff --git a/Square/Models/LoyaltyPromotionIncentive.cs b/Square/Models/LoyaltyPromotionIncentive.cs index eb81a9ca..a415dabf 100644 --- a/Square/Models/LoyaltyPromotionIncentive.cs +++ b/Square/Models/LoyaltyPromotionIncentive.cs @@ -62,19 +62,19 @@ public override string ToString() return $"LoyaltyPromotionIncentive : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotionIncentive other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.PointsMultiplierData == null && other.PointsMultiplierData == null) || (this.PointsMultiplierData?.Equals(other.PointsMultiplierData) == true)) && ((this.PointsAdditionData == null && other.PointsAdditionData == null) || (this.PointsAdditionData?.Equals(other.PointsAdditionData) == true)); diff --git a/Square/Models/LoyaltyPromotionIncentivePointsAdditionData.cs b/Square/Models/LoyaltyPromotionIncentivePointsAdditionData.cs index 681de400..cf3442e6 100644 --- a/Square/Models/LoyaltyPromotionIncentivePointsAdditionData.cs +++ b/Square/Models/LoyaltyPromotionIncentivePointsAdditionData.cs @@ -46,19 +46,19 @@ public override string ToString() return $"LoyaltyPromotionIncentivePointsAdditionData : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotionIncentivePointsAdditionData other && this.PointsAddition.Equals(other.PointsAddition); } diff --git a/Square/Models/LoyaltyPromotionIncentivePointsMultiplierData.cs b/Square/Models/LoyaltyPromotionIncentivePointsMultiplierData.cs index d304e777..1bc0f8f4 100644 --- a/Square/Models/LoyaltyPromotionIncentivePointsMultiplierData.cs +++ b/Square/Models/LoyaltyPromotionIncentivePointsMultiplierData.cs @@ -112,19 +112,19 @@ public bool ShouldSerializeMultiplier() { return this.shouldSerialize["multiplier"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotionIncentivePointsMultiplierData other && ((this.PointsMultiplier == null && other.PointsMultiplier == null) || (this.PointsMultiplier?.Equals(other.PointsMultiplier) == true)) && ((this.Multiplier == null && other.Multiplier == null) || (this.Multiplier?.Equals(other.Multiplier) == true)); } diff --git a/Square/Models/LoyaltyPromotionTriggerLimit.cs b/Square/Models/LoyaltyPromotionTriggerLimit.cs index 2d8423e2..da7e0cd9 100644 --- a/Square/Models/LoyaltyPromotionTriggerLimit.cs +++ b/Square/Models/LoyaltyPromotionTriggerLimit.cs @@ -53,19 +53,19 @@ public override string ToString() return $"LoyaltyPromotionTriggerLimit : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyPromotionTriggerLimit other && this.Times.Equals(other.Times) && ((this.Interval == null && other.Interval == null) || (this.Interval?.Equals(other.Interval) == true)); } diff --git a/Square/Models/LoyaltyReward.cs b/Square/Models/LoyaltyReward.cs index f6c3e2ac..0311ae15 100644 --- a/Square/Models/LoyaltyReward.cs +++ b/Square/Models/LoyaltyReward.cs @@ -157,19 +157,19 @@ public bool ShouldSerializeOrderId() { return this.shouldSerialize["order_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is LoyaltyReward other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.LoyaltyAccountId == null && other.LoyaltyAccountId == null) || (this.LoyaltyAccountId?.Equals(other.LoyaltyAccountId) == true)) && diff --git a/Square/Models/MeasurementUnit.cs b/Square/Models/MeasurementUnit.cs index 19eff0fe..d4517f9a 100644 --- a/Square/Models/MeasurementUnit.cs +++ b/Square/Models/MeasurementUnit.cs @@ -106,19 +106,19 @@ public override string ToString() return $"MeasurementUnit : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is MeasurementUnit other && ((this.CustomUnit == null && other.CustomUnit == null) || (this.CustomUnit?.Equals(other.CustomUnit) == true)) && ((this.AreaUnit == null && other.AreaUnit == null) || (this.AreaUnit?.Equals(other.AreaUnit) == true)) && ((this.LengthUnit == null && other.LengthUnit == null) || (this.LengthUnit?.Equals(other.LengthUnit) == true)) && diff --git a/Square/Models/MeasurementUnitCustom.cs b/Square/Models/MeasurementUnitCustom.cs index 227aab9a..803c4bbc 100644 --- a/Square/Models/MeasurementUnitCustom.cs +++ b/Square/Models/MeasurementUnitCustom.cs @@ -53,19 +53,19 @@ public override string ToString() return $"MeasurementUnitCustom : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is MeasurementUnitCustom other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Abbreviation == null && other.Abbreviation == null) || (this.Abbreviation?.Equals(other.Abbreviation) == true)); } diff --git a/Square/Models/Merchant.cs b/Square/Models/Merchant.cs index 3cf51137..ce8f5573 100644 --- a/Square/Models/Merchant.cs +++ b/Square/Models/Merchant.cs @@ -179,19 +179,19 @@ public bool ShouldSerializeMainLocationId() { return this.shouldSerialize["main_location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Merchant other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.BusinessName == null && other.BusinessName == null) || (this.BusinessName?.Equals(other.BusinessName) == true)) && ((this.Country == null && other.Country == null) || (this.Country?.Equals(other.Country) == true)) && diff --git a/Square/Models/ModifierLocationOverrides.cs b/Square/Models/ModifierLocationOverrides.cs index 0e78a49f..92e35fc8 100644 --- a/Square/Models/ModifierLocationOverrides.cs +++ b/Square/Models/ModifierLocationOverrides.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ModifierLocationOverrides other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.PriceMoney == null && other.PriceMoney == null) || (this.PriceMoney?.Equals(other.PriceMoney) == true)) && ((this.SoldOut == null && other.SoldOut == null) || (this.SoldOut?.Equals(other.SoldOut) == true)); diff --git a/Square/Models/Money.cs b/Square/Models/Money.cs index 7c54cca8..4344af00 100644 --- a/Square/Models/Money.cs +++ b/Square/Models/Money.cs @@ -84,19 +84,19 @@ public bool ShouldSerializeAmount() { return this.shouldSerialize["amount"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Money other && ((this.Amount == null && other.Amount == null) || (this.Amount?.Equals(other.Amount) == true)) && ((this.Currency == null && other.Currency == null) || (this.Currency?.Equals(other.Currency) == true)); } diff --git a/Square/Models/ObtainTokenRequest.cs b/Square/Models/ObtainTokenRequest.cs index 2c0c21ca..af2b4387 100644 --- a/Square/Models/ObtainTokenRequest.cs +++ b/Square/Models/ObtainTokenRequest.cs @@ -294,19 +294,19 @@ public bool ShouldSerializeCodeVerifier() { return this.shouldSerialize["code_verifier"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ObtainTokenRequest other && ((this.ClientId == null && other.ClientId == null) || (this.ClientId?.Equals(other.ClientId) == true)) && ((this.ClientSecret == null && other.ClientSecret == null) || (this.ClientSecret?.Equals(other.ClientSecret) == true)) && ((this.Code == null && other.Code == null) || (this.Code?.Equals(other.Code) == true)) && diff --git a/Square/Models/ObtainTokenResponse.cs b/Square/Models/ObtainTokenResponse.cs index 97b629b9..f72f7134 100644 --- a/Square/Models/ObtainTokenResponse.cs +++ b/Square/Models/ObtainTokenResponse.cs @@ -148,19 +148,19 @@ public override string ToString() return $"ObtainTokenResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ObtainTokenResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.AccessToken == null && other.AccessToken == null) || (this.AccessToken?.Equals(other.AccessToken) == true)) && ((this.TokenType == null && other.TokenType == null) || (this.TokenType?.Equals(other.TokenType) == true)) && diff --git a/Square/Models/Order.cs b/Square/Models/Order.cs index 3e08ab10..59dcbcf4 100644 --- a/Square/Models/Order.cs +++ b/Square/Models/Order.cs @@ -590,19 +590,19 @@ public bool ShouldSerializeTicketName() { return this.shouldSerialize["ticket_name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Order other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && diff --git a/Square/Models/OrderCreated.cs b/Square/Models/OrderCreated.cs index 6b2e4269..eaca02cd 100644 --- a/Square/Models/OrderCreated.cs +++ b/Square/Models/OrderCreated.cs @@ -131,19 +131,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderCreated other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/OrderCreatedObject.cs b/Square/Models/OrderCreatedObject.cs index 90a036a3..7ba55757 100644 --- a/Square/Models/OrderCreatedObject.cs +++ b/Square/Models/OrderCreatedObject.cs @@ -43,19 +43,19 @@ public override string ToString() return $"OrderCreatedObject : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderCreatedObject other && ((this.OrderCreated == null && other.OrderCreated == null) || (this.OrderCreated?.Equals(other.OrderCreated) == true)); } diff --git a/Square/Models/OrderEntry.cs b/Square/Models/OrderEntry.cs index 591c4501..8403932a 100644 --- a/Square/Models/OrderEntry.cs +++ b/Square/Models/OrderEntry.cs @@ -109,19 +109,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderEntry other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/OrderFulfillment.cs b/Square/Models/OrderFulfillment.cs index 4476f810..9a10a578 100644 --- a/Square/Models/OrderFulfillment.cs +++ b/Square/Models/OrderFulfillment.cs @@ -193,19 +193,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillment other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.State == null && other.State == null) || (this.State?.Equals(other.State) == true)) && diff --git a/Square/Models/OrderFulfillmentDeliveryDetails.cs b/Square/Models/OrderFulfillmentDeliveryDetails.cs index 98446b96..d0266849 100644 --- a/Square/Models/OrderFulfillmentDeliveryDetails.cs +++ b/Square/Models/OrderFulfillmentDeliveryDetails.cs @@ -560,19 +560,19 @@ public bool ShouldSerializeManagedDelivery() { return this.shouldSerialize["managed_delivery"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentDeliveryDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.ScheduleType == null && other.ScheduleType == null) || (this.ScheduleType?.Equals(other.ScheduleType) == true)) && ((this.PlacedAt == null && other.PlacedAt == null) || (this.PlacedAt?.Equals(other.PlacedAt) == true)) && diff --git a/Square/Models/OrderFulfillmentFulfillmentEntry.cs b/Square/Models/OrderFulfillmentFulfillmentEntry.cs index dac1f5fd..738516a9 100644 --- a/Square/Models/OrderFulfillmentFulfillmentEntry.cs +++ b/Square/Models/OrderFulfillmentFulfillmentEntry.cs @@ -132,19 +132,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentFulfillmentEntry other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.LineItemUid == null && other.LineItemUid == null) || (this.LineItemUid?.Equals(other.LineItemUid) == true)) && ((this.Quantity == null && other.Quantity == null) || (this.Quantity?.Equals(other.Quantity) == true)) && diff --git a/Square/Models/OrderFulfillmentPickupDetails.cs b/Square/Models/OrderFulfillmentPickupDetails.cs index 1c5e2c64..10860575 100644 --- a/Square/Models/OrderFulfillmentPickupDetails.cs +++ b/Square/Models/OrderFulfillmentPickupDetails.cs @@ -389,19 +389,19 @@ public bool ShouldSerializeIsCurbsidePickup() { return this.shouldSerialize["is_curbside_pickup"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentPickupDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.ExpiresAt == null && other.ExpiresAt == null) || (this.ExpiresAt?.Equals(other.ExpiresAt) == true)) && ((this.AutoCompleteDuration == null && other.AutoCompleteDuration == null) || (this.AutoCompleteDuration?.Equals(other.AutoCompleteDuration) == true)) && diff --git a/Square/Models/OrderFulfillmentPickupDetailsCurbsidePickupDetails.cs b/Square/Models/OrderFulfillmentPickupDetailsCurbsidePickupDetails.cs index 74061e46..d2f708aa 100644 --- a/Square/Models/OrderFulfillmentPickupDetailsCurbsidePickupDetails.cs +++ b/Square/Models/OrderFulfillmentPickupDetailsCurbsidePickupDetails.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeBuyerArrivedAt() { return this.shouldSerialize["buyer_arrived_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentPickupDetailsCurbsidePickupDetails other && ((this.CurbsideDetails == null && other.CurbsideDetails == null) || (this.CurbsideDetails?.Equals(other.CurbsideDetails) == true)) && ((this.BuyerArrivedAt == null && other.BuyerArrivedAt == null) || (this.BuyerArrivedAt?.Equals(other.BuyerArrivedAt) == true)); } diff --git a/Square/Models/OrderFulfillmentRecipient.cs b/Square/Models/OrderFulfillmentRecipient.cs index 0cbcbed7..521dc148 100644 --- a/Square/Models/OrderFulfillmentRecipient.cs +++ b/Square/Models/OrderFulfillmentRecipient.cs @@ -171,19 +171,19 @@ public bool ShouldSerializePhoneNumber() { return this.shouldSerialize["phone_number"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentRecipient other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.DisplayName == null && other.DisplayName == null) || (this.DisplayName?.Equals(other.DisplayName) == true)) && ((this.EmailAddress == null && other.EmailAddress == null) || (this.EmailAddress?.Equals(other.EmailAddress) == true)) && diff --git a/Square/Models/OrderFulfillmentShipmentDetails.cs b/Square/Models/OrderFulfillmentShipmentDetails.cs index 76391999..e5db03e6 100644 --- a/Square/Models/OrderFulfillmentShipmentDetails.cs +++ b/Square/Models/OrderFulfillmentShipmentDetails.cs @@ -359,19 +359,19 @@ public bool ShouldSerializeFailureReason() { return this.shouldSerialize["failure_reason"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentShipmentDetails other && ((this.Recipient == null && other.Recipient == null) || (this.Recipient?.Equals(other.Recipient) == true)) && ((this.Carrier == null && other.Carrier == null) || (this.Carrier?.Equals(other.Carrier) == true)) && ((this.ShippingNote == null && other.ShippingNote == null) || (this.ShippingNote?.Equals(other.ShippingNote) == true)) && diff --git a/Square/Models/OrderFulfillmentUpdated.cs b/Square/Models/OrderFulfillmentUpdated.cs index afe525c3..ca322902 100644 --- a/Square/Models/OrderFulfillmentUpdated.cs +++ b/Square/Models/OrderFulfillmentUpdated.cs @@ -168,19 +168,19 @@ public bool ShouldSerializeFulfillmentUpdate() { return this.shouldSerialize["fulfillment_update"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentUpdated other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/OrderFulfillmentUpdatedObject.cs b/Square/Models/OrderFulfillmentUpdatedObject.cs index b9876522..b5af8766 100644 --- a/Square/Models/OrderFulfillmentUpdatedObject.cs +++ b/Square/Models/OrderFulfillmentUpdatedObject.cs @@ -43,19 +43,19 @@ public override string ToString() return $"OrderFulfillmentUpdatedObject : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentUpdatedObject other && ((this.OrderFulfillmentUpdated == null && other.OrderFulfillmentUpdated == null) || (this.OrderFulfillmentUpdated?.Equals(other.OrderFulfillmentUpdated) == true)); } diff --git a/Square/Models/OrderFulfillmentUpdatedUpdate.cs b/Square/Models/OrderFulfillmentUpdatedUpdate.cs index 9be29aee..be9f2327 100644 --- a/Square/Models/OrderFulfillmentUpdatedUpdate.cs +++ b/Square/Models/OrderFulfillmentUpdatedUpdate.cs @@ -91,19 +91,19 @@ public bool ShouldSerializeFulfillmentUid() { return this.shouldSerialize["fulfillment_uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderFulfillmentUpdatedUpdate other && ((this.FulfillmentUid == null && other.FulfillmentUid == null) || (this.FulfillmentUid?.Equals(other.FulfillmentUid) == true)) && ((this.OldState == null && other.OldState == null) || (this.OldState?.Equals(other.OldState) == true)) && ((this.NewState == null && other.NewState == null) || (this.NewState?.Equals(other.NewState) == true)); diff --git a/Square/Models/OrderLineItem.cs b/Square/Models/OrderLineItem.cs index 0c6d290c..f75ae493 100644 --- a/Square/Models/OrderLineItem.cs +++ b/Square/Models/OrderLineItem.cs @@ -525,19 +525,19 @@ public bool ShouldSerializeAppliedServiceCharges() { return this.shouldSerialize["applied_service_charges"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItem other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Quantity == null && other.Quantity == null) || (this.Quantity?.Equals(other.Quantity) == true)) && diff --git a/Square/Models/OrderLineItemAppliedDiscount.cs b/Square/Models/OrderLineItemAppliedDiscount.cs index 0b7e96f6..8ef01f64 100644 --- a/Square/Models/OrderLineItemAppliedDiscount.cs +++ b/Square/Models/OrderLineItemAppliedDiscount.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeUid() { return this.shouldSerialize["uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemAppliedDiscount other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.DiscountUid == null && other.DiscountUid == null) || (this.DiscountUid?.Equals(other.DiscountUid) == true)) && ((this.AppliedMoney == null && other.AppliedMoney == null) || (this.AppliedMoney?.Equals(other.AppliedMoney) == true)); diff --git a/Square/Models/OrderLineItemAppliedServiceCharge.cs b/Square/Models/OrderLineItemAppliedServiceCharge.cs index 7ac2c5f0..413ec1f8 100644 --- a/Square/Models/OrderLineItemAppliedServiceCharge.cs +++ b/Square/Models/OrderLineItemAppliedServiceCharge.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeUid() { return this.shouldSerialize["uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemAppliedServiceCharge other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.ServiceChargeUid == null && other.ServiceChargeUid == null) || (this.ServiceChargeUid?.Equals(other.ServiceChargeUid) == true)) && ((this.AppliedMoney == null && other.AppliedMoney == null) || (this.AppliedMoney?.Equals(other.AppliedMoney) == true)); diff --git a/Square/Models/OrderLineItemAppliedTax.cs b/Square/Models/OrderLineItemAppliedTax.cs index 38831aa1..9d507061 100644 --- a/Square/Models/OrderLineItemAppliedTax.cs +++ b/Square/Models/OrderLineItemAppliedTax.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeUid() { return this.shouldSerialize["uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemAppliedTax other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.TaxUid == null && other.TaxUid == null) || (this.TaxUid?.Equals(other.TaxUid) == true)) && ((this.AppliedMoney == null && other.AppliedMoney == null) || (this.AppliedMoney?.Equals(other.AppliedMoney) == true)); diff --git a/Square/Models/OrderLineItemDiscount.cs b/Square/Models/OrderLineItemDiscount.cs index b993b394..f7b302e3 100644 --- a/Square/Models/OrderLineItemDiscount.cs +++ b/Square/Models/OrderLineItemDiscount.cs @@ -296,19 +296,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemDiscount other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)) && diff --git a/Square/Models/OrderLineItemModifier.cs b/Square/Models/OrderLineItemModifier.cs index f0a5f198..e51362df 100644 --- a/Square/Models/OrderLineItemModifier.cs +++ b/Square/Models/OrderLineItemModifier.cs @@ -249,19 +249,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemModifier other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)) && diff --git a/Square/Models/OrderLineItemPricingBlocklists.cs b/Square/Models/OrderLineItemPricingBlocklists.cs index 39a7867b..adb138bb 100644 --- a/Square/Models/OrderLineItemPricingBlocklists.cs +++ b/Square/Models/OrderLineItemPricingBlocklists.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeBlockedTaxes() { return this.shouldSerialize["blocked_taxes"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemPricingBlocklists other && ((this.BlockedDiscounts == null && other.BlockedDiscounts == null) || (this.BlockedDiscounts?.Equals(other.BlockedDiscounts) == true)) && ((this.BlockedTaxes == null && other.BlockedTaxes == null) || (this.BlockedTaxes?.Equals(other.BlockedTaxes) == true)); } diff --git a/Square/Models/OrderLineItemPricingBlocklistsBlockedDiscount.cs b/Square/Models/OrderLineItemPricingBlocklistsBlockedDiscount.cs index cf57f1e1..32eabbbe 100644 --- a/Square/Models/OrderLineItemPricingBlocklistsBlockedDiscount.cs +++ b/Square/Models/OrderLineItemPricingBlocklistsBlockedDiscount.cs @@ -124,19 +124,19 @@ public bool ShouldSerializeDiscountCatalogObjectId() { return this.shouldSerialize["discount_catalog_object_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemPricingBlocklistsBlockedDiscount other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.DiscountUid == null && other.DiscountUid == null) || (this.DiscountUid?.Equals(other.DiscountUid) == true)) && ((this.DiscountCatalogObjectId == null && other.DiscountCatalogObjectId == null) || (this.DiscountCatalogObjectId?.Equals(other.DiscountCatalogObjectId) == true)); diff --git a/Square/Models/OrderLineItemPricingBlocklistsBlockedTax.cs b/Square/Models/OrderLineItemPricingBlocklistsBlockedTax.cs index 46366acd..571e6106 100644 --- a/Square/Models/OrderLineItemPricingBlocklistsBlockedTax.cs +++ b/Square/Models/OrderLineItemPricingBlocklistsBlockedTax.cs @@ -124,19 +124,19 @@ public bool ShouldSerializeTaxCatalogObjectId() { return this.shouldSerialize["tax_catalog_object_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemPricingBlocklistsBlockedTax other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.TaxUid == null && other.TaxUid == null) || (this.TaxUid?.Equals(other.TaxUid) == true)) && ((this.TaxCatalogObjectId == null && other.TaxCatalogObjectId == null) || (this.TaxCatalogObjectId?.Equals(other.TaxCatalogObjectId) == true)); diff --git a/Square/Models/OrderLineItemTax.cs b/Square/Models/OrderLineItemTax.cs index f6da0939..46e43ee9 100644 --- a/Square/Models/OrderLineItemTax.cs +++ b/Square/Models/OrderLineItemTax.cs @@ -264,19 +264,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderLineItemTax other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)) && diff --git a/Square/Models/OrderMoneyAmounts.cs b/Square/Models/OrderMoneyAmounts.cs index 11b36acd..77f0c47b 100644 --- a/Square/Models/OrderMoneyAmounts.cs +++ b/Square/Models/OrderMoneyAmounts.cs @@ -104,19 +104,19 @@ public override string ToString() return $"OrderMoneyAmounts : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderMoneyAmounts other && ((this.TotalMoney == null && other.TotalMoney == null) || (this.TotalMoney?.Equals(other.TotalMoney) == true)) && ((this.TaxMoney == null && other.TaxMoney == null) || (this.TaxMoney?.Equals(other.TaxMoney) == true)) && ((this.DiscountMoney == null && other.DiscountMoney == null) || (this.DiscountMoney?.Equals(other.DiscountMoney) == true)) && diff --git a/Square/Models/OrderPricingOptions.cs b/Square/Models/OrderPricingOptions.cs index 4c299594..bc49fc70 100644 --- a/Square/Models/OrderPricingOptions.cs +++ b/Square/Models/OrderPricingOptions.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeAutoApplyTaxes() { return this.shouldSerialize["auto_apply_taxes"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderPricingOptions other && ((this.AutoApplyDiscounts == null && other.AutoApplyDiscounts == null) || (this.AutoApplyDiscounts?.Equals(other.AutoApplyDiscounts) == true)) && ((this.AutoApplyTaxes == null && other.AutoApplyTaxes == null) || (this.AutoApplyTaxes?.Equals(other.AutoApplyTaxes) == true)); } diff --git a/Square/Models/OrderQuantityUnit.cs b/Square/Models/OrderQuantityUnit.cs index c1c331c3..1b3a945d 100644 --- a/Square/Models/OrderQuantityUnit.cs +++ b/Square/Models/OrderQuantityUnit.cs @@ -140,19 +140,19 @@ public bool ShouldSerializeCatalogVersion() { return this.shouldSerialize["catalog_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderQuantityUnit other && ((this.MeasurementUnit == null && other.MeasurementUnit == null) || (this.MeasurementUnit?.Equals(other.MeasurementUnit) == true)) && ((this.Precision == null && other.Precision == null) || (this.Precision?.Equals(other.Precision) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/OrderReturn.cs b/Square/Models/OrderReturn.cs index 66dc77ee..f2388e28 100644 --- a/Square/Models/OrderReturn.cs +++ b/Square/Models/OrderReturn.cs @@ -223,19 +223,19 @@ public bool ShouldSerializeReturnTips() { return this.shouldSerialize["return_tips"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturn other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceOrderId == null && other.SourceOrderId == null) || (this.SourceOrderId?.Equals(other.SourceOrderId) == true)) && ((this.ReturnLineItems == null && other.ReturnLineItems == null) || (this.ReturnLineItems?.Equals(other.ReturnLineItems) == true)) && diff --git a/Square/Models/OrderReturnDiscount.cs b/Square/Models/OrderReturnDiscount.cs index fb9b8d63..1b1660d1 100644 --- a/Square/Models/OrderReturnDiscount.cs +++ b/Square/Models/OrderReturnDiscount.cs @@ -255,19 +255,19 @@ public bool ShouldSerializePercentage() { return this.shouldSerialize["percentage"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnDiscount other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceDiscountUid == null && other.SourceDiscountUid == null) || (this.SourceDiscountUid?.Equals(other.SourceDiscountUid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/OrderReturnLineItem.cs b/Square/Models/OrderReturnLineItem.cs index f8158213..0cce8e00 100644 --- a/Square/Models/OrderReturnLineItem.cs +++ b/Square/Models/OrderReturnLineItem.cs @@ -487,19 +487,19 @@ public bool ShouldSerializeAppliedServiceCharges() { return this.shouldSerialize["applied_service_charges"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnLineItem other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceLineItemUid == null && other.SourceLineItemUid == null) || (this.SourceLineItemUid?.Equals(other.SourceLineItemUid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && diff --git a/Square/Models/OrderReturnLineItemModifier.cs b/Square/Models/OrderReturnLineItemModifier.cs index 88c0dde5..ccd618c3 100644 --- a/Square/Models/OrderReturnLineItemModifier.cs +++ b/Square/Models/OrderReturnLineItemModifier.cs @@ -238,19 +238,19 @@ public bool ShouldSerializeQuantity() { return this.shouldSerialize["quantity"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnLineItemModifier other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceModifierUid == null && other.SourceModifierUid == null) || (this.SourceModifierUid?.Equals(other.SourceModifierUid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/OrderReturnServiceCharge.cs b/Square/Models/OrderReturnServiceCharge.cs index ca7c5e78..6873474a 100644 --- a/Square/Models/OrderReturnServiceCharge.cs +++ b/Square/Models/OrderReturnServiceCharge.cs @@ -362,19 +362,19 @@ public bool ShouldSerializeAppliedTaxes() { return this.shouldSerialize["applied_taxes"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnServiceCharge other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceServiceChargeUid == null && other.SourceServiceChargeUid == null) || (this.SourceServiceChargeUid?.Equals(other.SourceServiceChargeUid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && diff --git a/Square/Models/OrderReturnTax.cs b/Square/Models/OrderReturnTax.cs index 1385e52a..44c5b214 100644 --- a/Square/Models/OrderReturnTax.cs +++ b/Square/Models/OrderReturnTax.cs @@ -238,19 +238,19 @@ public bool ShouldSerializePercentage() { return this.shouldSerialize["percentage"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnTax other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.SourceTaxUid == null && other.SourceTaxUid == null) || (this.SourceTaxUid?.Equals(other.SourceTaxUid) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/OrderReturnTip.cs b/Square/Models/OrderReturnTip.cs index fdb70c85..ec649828 100644 --- a/Square/Models/OrderReturnTip.cs +++ b/Square/Models/OrderReturnTip.cs @@ -137,19 +137,19 @@ public bool ShouldSerializeSourceTenderId() { return this.shouldSerialize["source_tender_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReturnTip other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.AppliedMoney == null && other.AppliedMoney == null) || (this.AppliedMoney?.Equals(other.AppliedMoney) == true)) && ((this.SourceTenderUid == null && other.SourceTenderUid == null) || (this.SourceTenderUid?.Equals(other.SourceTenderUid) == true)) && diff --git a/Square/Models/OrderReward.cs b/Square/Models/OrderReward.cs index b4c13e49..448af8ba 100644 --- a/Square/Models/OrderReward.cs +++ b/Square/Models/OrderReward.cs @@ -52,19 +52,19 @@ public override string ToString() return $"OrderReward : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderReward other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.RewardTierId == null && other.RewardTierId == null) || (this.RewardTierId?.Equals(other.RewardTierId) == true)); } diff --git a/Square/Models/OrderRoundingAdjustment.cs b/Square/Models/OrderRoundingAdjustment.cs index 6dd33718..889d699c 100644 --- a/Square/Models/OrderRoundingAdjustment.cs +++ b/Square/Models/OrderRoundingAdjustment.cs @@ -111,19 +111,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderRoundingAdjustment other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); diff --git a/Square/Models/OrderServiceCharge.cs b/Square/Models/OrderServiceCharge.cs index 698f7b11..28140462 100644 --- a/Square/Models/OrderServiceCharge.cs +++ b/Square/Models/OrderServiceCharge.cs @@ -388,19 +388,19 @@ public bool ShouldSerializeMetadata() { return this.shouldSerialize["metadata"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderServiceCharge other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.CatalogObjectId == null && other.CatalogObjectId == null) || (this.CatalogObjectId?.Equals(other.CatalogObjectId) == true)) && diff --git a/Square/Models/OrderSource.cs b/Square/Models/OrderSource.cs index bd7b7acc..05c0cbdc 100644 --- a/Square/Models/OrderSource.cs +++ b/Square/Models/OrderSource.cs @@ -70,19 +70,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderSource other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); } diff --git a/Square/Models/OrderUpdated.cs b/Square/Models/OrderUpdated.cs index de07f07b..cde2814b 100644 --- a/Square/Models/OrderUpdated.cs +++ b/Square/Models/OrderUpdated.cs @@ -142,19 +142,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderUpdated other && ((this.OrderId == null && other.OrderId == null) || (this.OrderId?.Equals(other.OrderId) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/OrderUpdatedObject.cs b/Square/Models/OrderUpdatedObject.cs index 94bc5d08..7621232e 100644 --- a/Square/Models/OrderUpdatedObject.cs +++ b/Square/Models/OrderUpdatedObject.cs @@ -43,19 +43,19 @@ public override string ToString() return $"OrderUpdatedObject : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is OrderUpdatedObject other && ((this.OrderUpdated == null && other.OrderUpdated == null) || (this.OrderUpdated?.Equals(other.OrderUpdated) == true)); } diff --git a/Square/Models/PaginationCursor.cs b/Square/Models/PaginationCursor.cs index 9a78595b..6a6d2621 100644 --- a/Square/Models/PaginationCursor.cs +++ b/Square/Models/PaginationCursor.cs @@ -70,19 +70,19 @@ public bool ShouldSerializeOrderValue() { return this.shouldSerialize["order_value"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaginationCursor other && ((this.OrderValue == null && other.OrderValue == null) || (this.OrderValue?.Equals(other.OrderValue) == true)); } diff --git a/Square/Models/PauseSubscriptionRequest.cs b/Square/Models/PauseSubscriptionRequest.cs index 9cf27cd6..2fb6033b 100644 --- a/Square/Models/PauseSubscriptionRequest.cs +++ b/Square/Models/PauseSubscriptionRequest.cs @@ -164,19 +164,19 @@ public bool ShouldSerializePauseReason() { return this.shouldSerialize["pause_reason"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PauseSubscriptionRequest other && ((this.PauseEffectiveDate == null && other.PauseEffectiveDate == null) || (this.PauseEffectiveDate?.Equals(other.PauseEffectiveDate) == true)) && ((this.PauseCycleDuration == null && other.PauseCycleDuration == null) || (this.PauseCycleDuration?.Equals(other.PauseCycleDuration) == true)) && ((this.ResumeEffectiveDate == null && other.ResumeEffectiveDate == null) || (this.ResumeEffectiveDate?.Equals(other.ResumeEffectiveDate) == true)) && diff --git a/Square/Models/PauseSubscriptionResponse.cs b/Square/Models/PauseSubscriptionResponse.cs index c9f10d86..ab3ea879 100644 --- a/Square/Models/PauseSubscriptionResponse.cs +++ b/Square/Models/PauseSubscriptionResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"PauseSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PauseSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)) && diff --git a/Square/Models/PayOrderRequest.cs b/Square/Models/PayOrderRequest.cs index e31240c7..0788bc31 100644 --- a/Square/Models/PayOrderRequest.cs +++ b/Square/Models/PayOrderRequest.cs @@ -110,19 +110,19 @@ public bool ShouldSerializePaymentIds() { return this.shouldSerialize["payment_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PayOrderRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.OrderVersion == null && other.OrderVersion == null) || (this.OrderVersion?.Equals(other.OrderVersion) == true)) && ((this.PaymentIds == null && other.PaymentIds == null) || (this.PaymentIds?.Equals(other.PaymentIds) == true)); diff --git a/Square/Models/PayOrderResponse.cs b/Square/Models/PayOrderResponse.cs index 246644b4..b2e03dae 100644 --- a/Square/Models/PayOrderResponse.cs +++ b/Square/Models/PayOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"PayOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PayOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); diff --git a/Square/Models/Payment.cs b/Square/Models/Payment.cs index 05a5ea24..b8386ef2 100644 --- a/Square/Models/Payment.cs +++ b/Square/Models/Payment.cs @@ -617,19 +617,19 @@ public bool ShouldSerializeVersionToken() { return this.shouldSerialize["version_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Payment other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && diff --git a/Square/Models/PaymentBalanceActivityAppFeeRefundDetail.cs b/Square/Models/PaymentBalanceActivityAppFeeRefundDetail.cs index 067a5034..6ea66eab 100644 --- a/Square/Models/PaymentBalanceActivityAppFeeRefundDetail.cs +++ b/Square/Models/PaymentBalanceActivityAppFeeRefundDetail.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityAppFeeRefundDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.RefundId == null && other.RefundId == null) || (this.RefundId?.Equals(other.RefundId) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/PaymentBalanceActivityAppFeeRevenueDetail.cs b/Square/Models/PaymentBalanceActivityAppFeeRevenueDetail.cs index f1b3bb56..5ed78b29 100644 --- a/Square/Models/PaymentBalanceActivityAppFeeRevenueDetail.cs +++ b/Square/Models/PaymentBalanceActivityAppFeeRevenueDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeLocationId() { return this.shouldSerialize["location_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityAppFeeRevenueDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityAutomaticSavingsDetail.cs b/Square/Models/PaymentBalanceActivityAutomaticSavingsDetail.cs index 1acdf9f4..38cf7715 100644 --- a/Square/Models/PaymentBalanceActivityAutomaticSavingsDetail.cs +++ b/Square/Models/PaymentBalanceActivityAutomaticSavingsDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializePayoutId() { return this.shouldSerialize["payout_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityAutomaticSavingsDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.PayoutId == null && other.PayoutId == null) || (this.PayoutId?.Equals(other.PayoutId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityAutomaticSavingsReversedDetail.cs b/Square/Models/PaymentBalanceActivityAutomaticSavingsReversedDetail.cs index e374518c..1b91d44d 100644 --- a/Square/Models/PaymentBalanceActivityAutomaticSavingsReversedDetail.cs +++ b/Square/Models/PaymentBalanceActivityAutomaticSavingsReversedDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializePayoutId() { return this.shouldSerialize["payout_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityAutomaticSavingsReversedDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.PayoutId == null && other.PayoutId == null) || (this.PayoutId?.Equals(other.PayoutId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityChargeDetail.cs b/Square/Models/PaymentBalanceActivityChargeDetail.cs index 553462d2..b9184823 100644 --- a/Square/Models/PaymentBalanceActivityChargeDetail.cs +++ b/Square/Models/PaymentBalanceActivityChargeDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityChargeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityDepositFeeDetail.cs b/Square/Models/PaymentBalanceActivityDepositFeeDetail.cs index 63335fd8..869c670d 100644 --- a/Square/Models/PaymentBalanceActivityDepositFeeDetail.cs +++ b/Square/Models/PaymentBalanceActivityDepositFeeDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePayoutId() { return this.shouldSerialize["payout_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityDepositFeeDetail other && ((this.PayoutId == null && other.PayoutId == null) || (this.PayoutId?.Equals(other.PayoutId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityDisputeDetail.cs b/Square/Models/PaymentBalanceActivityDisputeDetail.cs index 1dde56a2..c966ef5a 100644 --- a/Square/Models/PaymentBalanceActivityDisputeDetail.cs +++ b/Square/Models/PaymentBalanceActivityDisputeDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeDisputeId() { return this.shouldSerialize["dispute_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityDisputeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.DisputeId == null && other.DisputeId == null) || (this.DisputeId?.Equals(other.DisputeId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityFeeDetail.cs b/Square/Models/PaymentBalanceActivityFeeDetail.cs index 0268b838..363e646e 100644 --- a/Square/Models/PaymentBalanceActivityFeeDetail.cs +++ b/Square/Models/PaymentBalanceActivityFeeDetail.cs @@ -72,19 +72,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityFeeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityFreeProcessingDetail.cs b/Square/Models/PaymentBalanceActivityFreeProcessingDetail.cs index 68c2e6fd..8e5b5e3b 100644 --- a/Square/Models/PaymentBalanceActivityFreeProcessingDetail.cs +++ b/Square/Models/PaymentBalanceActivityFreeProcessingDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityFreeProcessingDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityHoldAdjustmentDetail.cs b/Square/Models/PaymentBalanceActivityHoldAdjustmentDetail.cs index 081d40f9..575f1a54 100644 --- a/Square/Models/PaymentBalanceActivityHoldAdjustmentDetail.cs +++ b/Square/Models/PaymentBalanceActivityHoldAdjustmentDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityHoldAdjustmentDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityOpenDisputeDetail.cs b/Square/Models/PaymentBalanceActivityOpenDisputeDetail.cs index 3d2a6fcb..8a5018d4 100644 --- a/Square/Models/PaymentBalanceActivityOpenDisputeDetail.cs +++ b/Square/Models/PaymentBalanceActivityOpenDisputeDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeDisputeId() { return this.shouldSerialize["dispute_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityOpenDisputeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.DisputeId == null && other.DisputeId == null) || (this.DisputeId?.Equals(other.DisputeId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityOtherAdjustmentDetail.cs b/Square/Models/PaymentBalanceActivityOtherAdjustmentDetail.cs index 80ef3637..e283b27f 100644 --- a/Square/Models/PaymentBalanceActivityOtherAdjustmentDetail.cs +++ b/Square/Models/PaymentBalanceActivityOtherAdjustmentDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityOtherAdjustmentDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityOtherDetail.cs b/Square/Models/PaymentBalanceActivityOtherDetail.cs index 0b51523e..edc87dbc 100644 --- a/Square/Models/PaymentBalanceActivityOtherDetail.cs +++ b/Square/Models/PaymentBalanceActivityOtherDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityOtherDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityRefundDetail.cs b/Square/Models/PaymentBalanceActivityRefundDetail.cs index dbaeae53..d2fc41e7 100644 --- a/Square/Models/PaymentBalanceActivityRefundDetail.cs +++ b/Square/Models/PaymentBalanceActivityRefundDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeRefundId() { return this.shouldSerialize["refund_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityRefundDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.RefundId == null && other.RefundId == null) || (this.RefundId?.Equals(other.RefundId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityReleaseAdjustmentDetail.cs b/Square/Models/PaymentBalanceActivityReleaseAdjustmentDetail.cs index 4487c266..3de186bc 100644 --- a/Square/Models/PaymentBalanceActivityReleaseAdjustmentDetail.cs +++ b/Square/Models/PaymentBalanceActivityReleaseAdjustmentDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityReleaseAdjustmentDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityReserveHoldDetail.cs b/Square/Models/PaymentBalanceActivityReserveHoldDetail.cs index 83f2fab6..38ce56a2 100644 --- a/Square/Models/PaymentBalanceActivityReserveHoldDetail.cs +++ b/Square/Models/PaymentBalanceActivityReserveHoldDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityReserveHoldDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityReserveReleaseDetail.cs b/Square/Models/PaymentBalanceActivityReserveReleaseDetail.cs index 30549f2c..ee331416 100644 --- a/Square/Models/PaymentBalanceActivityReserveReleaseDetail.cs +++ b/Square/Models/PaymentBalanceActivityReserveReleaseDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityReserveReleaseDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivitySquareCapitalPaymentDetail.cs b/Square/Models/PaymentBalanceActivitySquareCapitalPaymentDetail.cs index f0a237bb..8aa04212 100644 --- a/Square/Models/PaymentBalanceActivitySquareCapitalPaymentDetail.cs +++ b/Square/Models/PaymentBalanceActivitySquareCapitalPaymentDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivitySquareCapitalPaymentDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivitySquareCapitalReversedPaymentDetail.cs b/Square/Models/PaymentBalanceActivitySquareCapitalReversedPaymentDetail.cs index 2da4d4dd..56314830 100644 --- a/Square/Models/PaymentBalanceActivitySquareCapitalReversedPaymentDetail.cs +++ b/Square/Models/PaymentBalanceActivitySquareCapitalReversedPaymentDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivitySquareCapitalReversedPaymentDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityTaxOnFeeDetail.cs b/Square/Models/PaymentBalanceActivityTaxOnFeeDetail.cs index 12d21922..b0132b1e 100644 --- a/Square/Models/PaymentBalanceActivityTaxOnFeeDetail.cs +++ b/Square/Models/PaymentBalanceActivityTaxOnFeeDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeTaxRateDescription() { return this.shouldSerialize["tax_rate_description"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityTaxOnFeeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.TaxRateDescription == null && other.TaxRateDescription == null) || (this.TaxRateDescription?.Equals(other.TaxRateDescription) == true)); } diff --git a/Square/Models/PaymentBalanceActivityThirdPartyFeeDetail.cs b/Square/Models/PaymentBalanceActivityThirdPartyFeeDetail.cs index b356e4f6..d315340e 100644 --- a/Square/Models/PaymentBalanceActivityThirdPartyFeeDetail.cs +++ b/Square/Models/PaymentBalanceActivityThirdPartyFeeDetail.cs @@ -69,19 +69,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityThirdPartyFeeDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)); } diff --git a/Square/Models/PaymentBalanceActivityThirdPartyFeeRefundDetail.cs b/Square/Models/PaymentBalanceActivityThirdPartyFeeRefundDetail.cs index ff306f11..9de85381 100644 --- a/Square/Models/PaymentBalanceActivityThirdPartyFeeRefundDetail.cs +++ b/Square/Models/PaymentBalanceActivityThirdPartyFeeRefundDetail.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeRefundId() { return this.shouldSerialize["refund_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentBalanceActivityThirdPartyFeeRefundDetail other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.RefundId == null && other.RefundId == null) || (this.RefundId?.Equals(other.RefundId) == true)); } diff --git a/Square/Models/PaymentLink.cs b/Square/Models/PaymentLink.cs index 62ef8a14..bc186ccb 100644 --- a/Square/Models/PaymentLink.cs +++ b/Square/Models/PaymentLink.cs @@ -198,19 +198,19 @@ public bool ShouldSerializePaymentNote() { return this.shouldSerialize["payment_note"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentLink other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && this.Version.Equals(other.Version) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && diff --git a/Square/Models/PaymentLinkRelatedResources.cs b/Square/Models/PaymentLinkRelatedResources.cs index 02ccd8ba..8fe9f5c3 100644 --- a/Square/Models/PaymentLinkRelatedResources.cs +++ b/Square/Models/PaymentLinkRelatedResources.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeSubscriptionPlans() { return this.shouldSerialize["subscription_plans"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentLinkRelatedResources other && ((this.Orders == null && other.Orders == null) || (this.Orders?.Equals(other.Orders) == true)) && ((this.SubscriptionPlans == null && other.SubscriptionPlans == null) || (this.SubscriptionPlans?.Equals(other.SubscriptionPlans) == true)); } diff --git a/Square/Models/PaymentOptions.cs b/Square/Models/PaymentOptions.cs index 14b77254..f2c4671e 100644 --- a/Square/Models/PaymentOptions.cs +++ b/Square/Models/PaymentOptions.cs @@ -152,19 +152,19 @@ public bool ShouldSerializeAcceptPartialAuthorization() { return this.shouldSerialize["accept_partial_authorization"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentOptions other && ((this.Autocomplete == null && other.Autocomplete == null) || (this.Autocomplete?.Equals(other.Autocomplete) == true)) && ((this.DelayDuration == null && other.DelayDuration == null) || (this.DelayDuration?.Equals(other.DelayDuration) == true)) && ((this.AcceptPartialAuthorization == null && other.AcceptPartialAuthorization == null) || (this.AcceptPartialAuthorization?.Equals(other.AcceptPartialAuthorization) == true)) && diff --git a/Square/Models/PaymentRefund.cs b/Square/Models/PaymentRefund.cs index 50bd58ce..3b1e52ac 100644 --- a/Square/Models/PaymentRefund.cs +++ b/Square/Models/PaymentRefund.cs @@ -329,19 +329,19 @@ public bool ShouldSerializeReason() { return this.shouldSerialize["reason"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PaymentRefund other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/Payout.cs b/Square/Models/Payout.cs index 6b7cfd4e..bac860a4 100644 --- a/Square/Models/Payout.cs +++ b/Square/Models/Payout.cs @@ -229,19 +229,19 @@ public bool ShouldSerializeEndToEndId() { return this.shouldSerialize["end_to_end_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Payout other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/PayoutEntry.cs b/Square/Models/PayoutEntry.cs index b0a24513..e75381ab 100644 --- a/Square/Models/PayoutEntry.cs +++ b/Square/Models/PayoutEntry.cs @@ -392,19 +392,19 @@ public bool ShouldSerializeEffectiveAt() { return this.shouldSerialize["effective_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PayoutEntry other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.PayoutId == null && other.PayoutId == null) || (this.PayoutId?.Equals(other.PayoutId) == true)) && ((this.EffectiveAt == null && other.EffectiveAt == null) || (this.EffectiveAt?.Equals(other.EffectiveAt) == true)) && diff --git a/Square/Models/PayoutFee.cs b/Square/Models/PayoutFee.cs index 04f1faad..d0e10953 100644 --- a/Square/Models/PayoutFee.cs +++ b/Square/Models/PayoutFee.cs @@ -96,19 +96,19 @@ public bool ShouldSerializeEffectiveAt() { return this.shouldSerialize["effective_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PayoutFee other && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.EffectiveAt == null && other.EffectiveAt == null) || (this.EffectiveAt?.Equals(other.EffectiveAt) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)); diff --git a/Square/Models/Phase.cs b/Square/Models/Phase.cs index 904f97de..60bb9524 100644 --- a/Square/Models/Phase.cs +++ b/Square/Models/Phase.cs @@ -147,19 +147,19 @@ public bool ShouldSerializePlanPhaseUid() { return this.shouldSerialize["plan_phase_uid"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Phase other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Ordinal == null && other.Ordinal == null) || (this.Ordinal?.Equals(other.Ordinal) == true)) && ((this.OrderTemplateId == null && other.OrderTemplateId == null) || (this.OrderTemplateId?.Equals(other.OrderTemplateId) == true)) && diff --git a/Square/Models/PhaseInput.cs b/Square/Models/PhaseInput.cs index 5f9d093c..d51e9f2c 100644 --- a/Square/Models/PhaseInput.cs +++ b/Square/Models/PhaseInput.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeOrderTemplateId() { return this.shouldSerialize["order_template_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PhaseInput other && this.Ordinal.Equals(other.Ordinal) && ((this.OrderTemplateId == null && other.OrderTemplateId == null) || (this.OrderTemplateId?.Equals(other.OrderTemplateId) == true)); } diff --git a/Square/Models/PrePopulatedData.cs b/Square/Models/PrePopulatedData.cs index dcbefc56..f4a98a39 100644 --- a/Square/Models/PrePopulatedData.cs +++ b/Square/Models/PrePopulatedData.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeBuyerPhoneNumber() { return this.shouldSerialize["buyer_phone_number"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PrePopulatedData other && ((this.BuyerEmail == null && other.BuyerEmail == null) || (this.BuyerEmail?.Equals(other.BuyerEmail) == true)) && ((this.BuyerPhoneNumber == null && other.BuyerPhoneNumber == null) || (this.BuyerPhoneNumber?.Equals(other.BuyerPhoneNumber) == true)) && ((this.BuyerAddress == null && other.BuyerAddress == null) || (this.BuyerAddress?.Equals(other.BuyerAddress) == true)); diff --git a/Square/Models/ProcessingFee.cs b/Square/Models/ProcessingFee.cs index a9b612dc..4c6aa724 100644 --- a/Square/Models/ProcessingFee.cs +++ b/Square/Models/ProcessingFee.cs @@ -111,19 +111,19 @@ public bool ShouldSerializeType() { return this.shouldSerialize["type"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ProcessingFee other && ((this.EffectiveAt == null && other.EffectiveAt == null) || (this.EffectiveAt?.Equals(other.EffectiveAt) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)); diff --git a/Square/Models/PublishInvoiceRequest.cs b/Square/Models/PublishInvoiceRequest.cs index 57686951..45a0cf9e 100644 --- a/Square/Models/PublishInvoiceRequest.cs +++ b/Square/Models/PublishInvoiceRequest.cs @@ -84,19 +84,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PublishInvoiceRequest other && this.Version.Equals(other.Version) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/PublishInvoiceResponse.cs b/Square/Models/PublishInvoiceResponse.cs index a10d41ef..6606b0c4 100644 --- a/Square/Models/PublishInvoiceResponse.cs +++ b/Square/Models/PublishInvoiceResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"PublishInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is PublishInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/QrCodeOptions.cs b/Square/Models/QrCodeOptions.cs index 039f957a..4aea484f 100644 --- a/Square/Models/QrCodeOptions.cs +++ b/Square/Models/QrCodeOptions.cs @@ -62,19 +62,19 @@ public override string ToString() return $"QrCodeOptions : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is QrCodeOptions other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Body == null && other.Body == null) || (this.Body?.Equals(other.Body) == true)) && ((this.BarcodeContents == null && other.BarcodeContents == null) || (this.BarcodeContents?.Equals(other.BarcodeContents) == true)); diff --git a/Square/Models/QuantityRatio.cs b/Square/Models/QuantityRatio.cs index 40d59f0e..b2621b3a 100644 --- a/Square/Models/QuantityRatio.cs +++ b/Square/Models/QuantityRatio.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeQuantityDenominator() { return this.shouldSerialize["quantity_denominator"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is QuantityRatio other && ((this.Quantity == null && other.Quantity == null) || (this.Quantity?.Equals(other.Quantity) == true)) && ((this.QuantityDenominator == null && other.QuantityDenominator == null) || (this.QuantityDenominator?.Equals(other.QuantityDenominator) == true)); } diff --git a/Square/Models/QuickPay.cs b/Square/Models/QuickPay.cs index e405f26e..fbb7acd9 100644 --- a/Square/Models/QuickPay.cs +++ b/Square/Models/QuickPay.cs @@ -66,19 +66,19 @@ public override string ToString() return $"QuickPay : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is QuickPay other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.PriceMoney == null && other.PriceMoney == null) || (this.PriceMoney?.Equals(other.PriceMoney) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); diff --git a/Square/Models/Range.cs b/Square/Models/Range.cs index 5f0b0b07..4af1afea 100644 --- a/Square/Models/Range.cs +++ b/Square/Models/Range.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeMax() { return this.shouldSerialize["max"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Range other && ((this.Min == null && other.Min == null) || (this.Min?.Equals(other.Min) == true)) && ((this.Max == null && other.Max == null) || (this.Max?.Equals(other.Max) == true)); } diff --git a/Square/Models/ReceiptOptions.cs b/Square/Models/ReceiptOptions.cs index 5ec25b29..d2b224c6 100644 --- a/Square/Models/ReceiptOptions.cs +++ b/Square/Models/ReceiptOptions.cs @@ -109,19 +109,19 @@ public bool ShouldSerializeIsDuplicate() { return this.shouldSerialize["is_duplicate"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ReceiptOptions other && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && ((this.PrintOnly == null && other.PrintOnly == null) || (this.PrintOnly?.Equals(other.PrintOnly) == true)) && ((this.IsDuplicate == null && other.IsDuplicate == null) || (this.IsDuplicate?.Equals(other.IsDuplicate) == true)); diff --git a/Square/Models/RedeemLoyaltyRewardRequest.cs b/Square/Models/RedeemLoyaltyRewardRequest.cs index 8219598f..33fa3580 100644 --- a/Square/Models/RedeemLoyaltyRewardRequest.cs +++ b/Square/Models/RedeemLoyaltyRewardRequest.cs @@ -53,19 +53,19 @@ public override string ToString() return $"RedeemLoyaltyRewardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RedeemLoyaltyRewardRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); } diff --git a/Square/Models/RedeemLoyaltyRewardResponse.cs b/Square/Models/RedeemLoyaltyRewardResponse.cs index b0582b17..46926085 100644 --- a/Square/Models/RedeemLoyaltyRewardResponse.cs +++ b/Square/Models/RedeemLoyaltyRewardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RedeemLoyaltyRewardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RedeemLoyaltyRewardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MEvent == null && other.MEvent == null) || (this.MEvent?.Equals(other.MEvent) == true)); diff --git a/Square/Models/Refund.cs b/Square/Models/Refund.cs index 76f802ea..16db8e75 100644 --- a/Square/Models/Refund.cs +++ b/Square/Models/Refund.cs @@ -194,19 +194,19 @@ public bool ShouldSerializeAdditionalRecipients() { return this.shouldSerialize["additional_recipients"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Refund other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.TransactionId == null && other.TransactionId == null) || (this.TransactionId?.Equals(other.TransactionId) == true)) && diff --git a/Square/Models/RefundPaymentRequest.cs b/Square/Models/RefundPaymentRequest.cs index a5568f3d..aac45687 100644 --- a/Square/Models/RefundPaymentRequest.cs +++ b/Square/Models/RefundPaymentRequest.cs @@ -312,19 +312,19 @@ public bool ShouldSerializeTeamMemberId() { return this.shouldSerialize["team_member_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RefundPaymentRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.AppFeeMoney == null && other.AppFeeMoney == null) || (this.AppFeeMoney?.Equals(other.AppFeeMoney) == true)) && diff --git a/Square/Models/RefundPaymentResponse.cs b/Square/Models/RefundPaymentResponse.cs index 4d2b6e43..cfec3b8d 100644 --- a/Square/Models/RefundPaymentResponse.cs +++ b/Square/Models/RefundPaymentResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RefundPaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RefundPaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refund == null && other.Refund == null) || (this.Refund?.Equals(other.Refund) == true)); diff --git a/Square/Models/RegisterDomainRequest.cs b/Square/Models/RegisterDomainRequest.cs index 02c27d99..21b713e4 100644 --- a/Square/Models/RegisterDomainRequest.cs +++ b/Square/Models/RegisterDomainRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"RegisterDomainRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RegisterDomainRequest other && ((this.DomainName == null && other.DomainName == null) || (this.DomainName?.Equals(other.DomainName) == true)); } diff --git a/Square/Models/RegisterDomainResponse.cs b/Square/Models/RegisterDomainResponse.cs index 6904c77e..d8af7387 100644 --- a/Square/Models/RegisterDomainResponse.cs +++ b/Square/Models/RegisterDomainResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RegisterDomainResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RegisterDomainResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); diff --git a/Square/Models/RemoveGroupFromCustomerResponse.cs b/Square/Models/RemoveGroupFromCustomerResponse.cs index b1669a95..da978b41 100644 --- a/Square/Models/RemoveGroupFromCustomerResponse.cs +++ b/Square/Models/RemoveGroupFromCustomerResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"RemoveGroupFromCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RemoveGroupFromCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/ResumeSubscriptionRequest.cs b/Square/Models/ResumeSubscriptionRequest.cs index 903a493b..8b96fef5 100644 --- a/Square/Models/ResumeSubscriptionRequest.cs +++ b/Square/Models/ResumeSubscriptionRequest.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeResumeEffectiveDate() { return this.shouldSerialize["resume_effective_date"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ResumeSubscriptionRequest other && ((this.ResumeEffectiveDate == null && other.ResumeEffectiveDate == null) || (this.ResumeEffectiveDate?.Equals(other.ResumeEffectiveDate) == true)) && ((this.ResumeChangeTiming == null && other.ResumeChangeTiming == null) || (this.ResumeChangeTiming?.Equals(other.ResumeChangeTiming) == true)); } diff --git a/Square/Models/ResumeSubscriptionResponse.cs b/Square/Models/ResumeSubscriptionResponse.cs index 74a00a08..79b04415 100644 --- a/Square/Models/ResumeSubscriptionResponse.cs +++ b/Square/Models/ResumeSubscriptionResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"ResumeSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ResumeSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)) && diff --git a/Square/Models/RetrieveBookingCustomAttributeDefinitionRequest.cs b/Square/Models/RetrieveBookingCustomAttributeDefinitionRequest.cs index 95129ea9..bb2215a5 100644 --- a/Square/Models/RetrieveBookingCustomAttributeDefinitionRequest.cs +++ b/Square/Models/RetrieveBookingCustomAttributeDefinitionRequest.cs @@ -46,19 +46,19 @@ public override string ToString() return $"RetrieveBookingCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBookingCustomAttributeDefinitionRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveBookingCustomAttributeDefinitionResponse.cs b/Square/Models/RetrieveBookingCustomAttributeDefinitionResponse.cs index 2665bc97..43002738 100644 --- a/Square/Models/RetrieveBookingCustomAttributeDefinitionResponse.cs +++ b/Square/Models/RetrieveBookingCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveBookingCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBookingCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveBookingCustomAttributeRequest.cs b/Square/Models/RetrieveBookingCustomAttributeRequest.cs index 08ab846c..d0e640fa 100644 --- a/Square/Models/RetrieveBookingCustomAttributeRequest.cs +++ b/Square/Models/RetrieveBookingCustomAttributeRequest.cs @@ -85,19 +85,19 @@ public bool ShouldSerializeWithDefinition() { return this.shouldSerialize["with_definition"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBookingCustomAttributeRequest other && ((this.WithDefinition == null && other.WithDefinition == null) || (this.WithDefinition?.Equals(other.WithDefinition) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveBookingCustomAttributeResponse.cs b/Square/Models/RetrieveBookingCustomAttributeResponse.cs index 016556ff..bd279713 100644 --- a/Square/Models/RetrieveBookingCustomAttributeResponse.cs +++ b/Square/Models/RetrieveBookingCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveBookingCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBookingCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveBookingResponse.cs b/Square/Models/RetrieveBookingResponse.cs index a175cee7..bcc19d79 100644 --- a/Square/Models/RetrieveBookingResponse.cs +++ b/Square/Models/RetrieveBookingResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveBookingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBookingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveBusinessBookingProfileResponse.cs b/Square/Models/RetrieveBusinessBookingProfileResponse.cs index 3e5da8b4..4855c9e6 100644 --- a/Square/Models/RetrieveBusinessBookingProfileResponse.cs +++ b/Square/Models/RetrieveBusinessBookingProfileResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveBusinessBookingProfileResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveBusinessBookingProfileResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.BusinessBookingProfile == null && other.BusinessBookingProfile == null) || (this.BusinessBookingProfile?.Equals(other.BusinessBookingProfile) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveCardResponse.cs b/Square/Models/RetrieveCardResponse.cs index a706d0a0..3ecbdfa2 100644 --- a/Square/Models/RetrieveCardResponse.cs +++ b/Square/Models/RetrieveCardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)); diff --git a/Square/Models/RetrieveCashDrawerShiftRequest.cs b/Square/Models/RetrieveCashDrawerShiftRequest.cs index c8badc18..568c10ff 100644 --- a/Square/Models/RetrieveCashDrawerShiftRequest.cs +++ b/Square/Models/RetrieveCashDrawerShiftRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"RetrieveCashDrawerShiftRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCashDrawerShiftRequest other && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)); } diff --git a/Square/Models/RetrieveCashDrawerShiftResponse.cs b/Square/Models/RetrieveCashDrawerShiftResponse.cs index 47bbcbc5..cb27504f 100644 --- a/Square/Models/RetrieveCashDrawerShiftResponse.cs +++ b/Square/Models/RetrieveCashDrawerShiftResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"RetrieveCashDrawerShiftResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCashDrawerShiftResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CashDrawerShift == null && other.CashDrawerShift == null) || (this.CashDrawerShift?.Equals(other.CashDrawerShift) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveCatalogObjectRequest.cs b/Square/Models/RetrieveCatalogObjectRequest.cs index 7929e310..8b16907d 100644 --- a/Square/Models/RetrieveCatalogObjectRequest.cs +++ b/Square/Models/RetrieveCatalogObjectRequest.cs @@ -138,19 +138,19 @@ public bool ShouldSerializeIncludeCategoryPathToRoot() { return this.shouldSerialize["include_category_path_to_root"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCatalogObjectRequest other && ((this.IncludeRelatedObjects == null && other.IncludeRelatedObjects == null) || (this.IncludeRelatedObjects?.Equals(other.IncludeRelatedObjects) == true)) && ((this.CatalogVersion == null && other.CatalogVersion == null) || (this.CatalogVersion?.Equals(other.CatalogVersion) == true)) && ((this.IncludeCategoryPathToRoot == null && other.IncludeCategoryPathToRoot == null) || (this.IncludeCategoryPathToRoot?.Equals(other.IncludeCategoryPathToRoot) == true)); diff --git a/Square/Models/RetrieveCatalogObjectResponse.cs b/Square/Models/RetrieveCatalogObjectResponse.cs index f6543cb5..550182ba 100644 --- a/Square/Models/RetrieveCatalogObjectResponse.cs +++ b/Square/Models/RetrieveCatalogObjectResponse.cs @@ -75,19 +75,19 @@ public override string ToString() return $"RetrieveCatalogObjectResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCatalogObjectResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MObject == null && other.MObject == null) || (this.MObject?.Equals(other.MObject) == true)) && diff --git a/Square/Models/RetrieveCustomerCustomAttributeDefinitionRequest.cs b/Square/Models/RetrieveCustomerCustomAttributeDefinitionRequest.cs index 9a349887..dbe6325a 100644 --- a/Square/Models/RetrieveCustomerCustomAttributeDefinitionRequest.cs +++ b/Square/Models/RetrieveCustomerCustomAttributeDefinitionRequest.cs @@ -46,19 +46,19 @@ public override string ToString() return $"RetrieveCustomerCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerCustomAttributeDefinitionRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveCustomerCustomAttributeDefinitionResponse.cs b/Square/Models/RetrieveCustomerCustomAttributeDefinitionResponse.cs index 2597607a..68189f41 100644 --- a/Square/Models/RetrieveCustomerCustomAttributeDefinitionResponse.cs +++ b/Square/Models/RetrieveCustomerCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveCustomerCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveCustomerCustomAttributeRequest.cs b/Square/Models/RetrieveCustomerCustomAttributeRequest.cs index da30b2d0..96725d48 100644 --- a/Square/Models/RetrieveCustomerCustomAttributeRequest.cs +++ b/Square/Models/RetrieveCustomerCustomAttributeRequest.cs @@ -85,19 +85,19 @@ public bool ShouldSerializeWithDefinition() { return this.shouldSerialize["with_definition"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerCustomAttributeRequest other && ((this.WithDefinition == null && other.WithDefinition == null) || (this.WithDefinition?.Equals(other.WithDefinition) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveCustomerCustomAttributeResponse.cs b/Square/Models/RetrieveCustomerCustomAttributeResponse.cs index a496aaf6..a0046545 100644 --- a/Square/Models/RetrieveCustomerCustomAttributeResponse.cs +++ b/Square/Models/RetrieveCustomerCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveCustomerCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveCustomerGroupResponse.cs b/Square/Models/RetrieveCustomerGroupResponse.cs index 551d85ac..22688989 100644 --- a/Square/Models/RetrieveCustomerGroupResponse.cs +++ b/Square/Models/RetrieveCustomerGroupResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"RetrieveCustomerGroupResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerGroupResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MGroup == null && other.MGroup == null) || (this.MGroup?.Equals(other.MGroup) == true)); diff --git a/Square/Models/RetrieveCustomerResponse.cs b/Square/Models/RetrieveCustomerResponse.cs index 7b6c23b1..50d773e0 100644 --- a/Square/Models/RetrieveCustomerResponse.cs +++ b/Square/Models/RetrieveCustomerResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Customer == null && other.Customer == null) || (this.Customer?.Equals(other.Customer) == true)); diff --git a/Square/Models/RetrieveCustomerSegmentResponse.cs b/Square/Models/RetrieveCustomerSegmentResponse.cs index 506053fa..05a17257 100644 --- a/Square/Models/RetrieveCustomerSegmentResponse.cs +++ b/Square/Models/RetrieveCustomerSegmentResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"RetrieveCustomerSegmentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveCustomerSegmentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Segment == null && other.Segment == null) || (this.Segment?.Equals(other.Segment) == true)); diff --git a/Square/Models/RetrieveDisputeEvidenceResponse.cs b/Square/Models/RetrieveDisputeEvidenceResponse.cs index 7ea19ed7..77b2ed61 100644 --- a/Square/Models/RetrieveDisputeEvidenceResponse.cs +++ b/Square/Models/RetrieveDisputeEvidenceResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveDisputeEvidenceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveDisputeEvidenceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Evidence == null && other.Evidence == null) || (this.Evidence?.Equals(other.Evidence) == true)); diff --git a/Square/Models/RetrieveDisputeResponse.cs b/Square/Models/RetrieveDisputeResponse.cs index e1389530..1c184ffd 100644 --- a/Square/Models/RetrieveDisputeResponse.cs +++ b/Square/Models/RetrieveDisputeResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveDisputeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveDisputeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Dispute == null && other.Dispute == null) || (this.Dispute?.Equals(other.Dispute) == true)); diff --git a/Square/Models/RetrieveEmployeeResponse.cs b/Square/Models/RetrieveEmployeeResponse.cs index 0085cc2a..84bac510 100644 --- a/Square/Models/RetrieveEmployeeResponse.cs +++ b/Square/Models/RetrieveEmployeeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveEmployeeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveEmployeeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Employee == null && other.Employee == null) || (this.Employee?.Equals(other.Employee) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveGiftCardFromGANRequest.cs b/Square/Models/RetrieveGiftCardFromGANRequest.cs index 06ad360a..e6d50f92 100644 --- a/Square/Models/RetrieveGiftCardFromGANRequest.cs +++ b/Square/Models/RetrieveGiftCardFromGANRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"RetrieveGiftCardFromGANRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveGiftCardFromGANRequest other && ((this.Gan == null && other.Gan == null) || (this.Gan?.Equals(other.Gan) == true)); } diff --git a/Square/Models/RetrieveGiftCardFromGANResponse.cs b/Square/Models/RetrieveGiftCardFromGANResponse.cs index 3f1bd220..adca7f82 100644 --- a/Square/Models/RetrieveGiftCardFromGANResponse.cs +++ b/Square/Models/RetrieveGiftCardFromGANResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveGiftCardFromGANResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveGiftCardFromGANResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/RetrieveGiftCardFromNonceRequest.cs b/Square/Models/RetrieveGiftCardFromNonceRequest.cs index cf99ade3..b2222414 100644 --- a/Square/Models/RetrieveGiftCardFromNonceRequest.cs +++ b/Square/Models/RetrieveGiftCardFromNonceRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"RetrieveGiftCardFromNonceRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveGiftCardFromNonceRequest other && ((this.Nonce == null && other.Nonce == null) || (this.Nonce?.Equals(other.Nonce) == true)); } diff --git a/Square/Models/RetrieveGiftCardFromNonceResponse.cs b/Square/Models/RetrieveGiftCardFromNonceResponse.cs index 745c4802..2987a826 100644 --- a/Square/Models/RetrieveGiftCardFromNonceResponse.cs +++ b/Square/Models/RetrieveGiftCardFromNonceResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveGiftCardFromNonceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveGiftCardFromNonceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/RetrieveGiftCardResponse.cs b/Square/Models/RetrieveGiftCardResponse.cs index e7c2b0da..f749533c 100644 --- a/Square/Models/RetrieveGiftCardResponse.cs +++ b/Square/Models/RetrieveGiftCardResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveGiftCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveGiftCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/RetrieveInventoryAdjustmentResponse.cs b/Square/Models/RetrieveInventoryAdjustmentResponse.cs index 21c33ffc..097a1815 100644 --- a/Square/Models/RetrieveInventoryAdjustmentResponse.cs +++ b/Square/Models/RetrieveInventoryAdjustmentResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveInventoryAdjustmentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryAdjustmentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Adjustment == null && other.Adjustment == null) || (this.Adjustment?.Equals(other.Adjustment) == true)); diff --git a/Square/Models/RetrieveInventoryChangesRequest.cs b/Square/Models/RetrieveInventoryChangesRequest.cs index be47699c..1e0907b0 100644 --- a/Square/Models/RetrieveInventoryChangesRequest.cs +++ b/Square/Models/RetrieveInventoryChangesRequest.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryChangesRequest other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/RetrieveInventoryChangesResponse.cs b/Square/Models/RetrieveInventoryChangesResponse.cs index 506cfc24..fc618d12 100644 --- a/Square/Models/RetrieveInventoryChangesResponse.cs +++ b/Square/Models/RetrieveInventoryChangesResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"RetrieveInventoryChangesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryChangesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Changes == null && other.Changes == null) || (this.Changes?.Equals(other.Changes) == true)) && diff --git a/Square/Models/RetrieveInventoryCountRequest.cs b/Square/Models/RetrieveInventoryCountRequest.cs index 8884ac46..77bafdb7 100644 --- a/Square/Models/RetrieveInventoryCountRequest.cs +++ b/Square/Models/RetrieveInventoryCountRequest.cs @@ -98,19 +98,19 @@ public bool ShouldSerializeCursor() { return this.shouldSerialize["cursor"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryCountRequest other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); } diff --git a/Square/Models/RetrieveInventoryCountResponse.cs b/Square/Models/RetrieveInventoryCountResponse.cs index 6fb1000d..306cfb6c 100644 --- a/Square/Models/RetrieveInventoryCountResponse.cs +++ b/Square/Models/RetrieveInventoryCountResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"RetrieveInventoryCountResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryCountResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Counts == null && other.Counts == null) || (this.Counts?.Equals(other.Counts) == true)) && diff --git a/Square/Models/RetrieveInventoryPhysicalCountResponse.cs b/Square/Models/RetrieveInventoryPhysicalCountResponse.cs index b410c528..6a7cec6e 100644 --- a/Square/Models/RetrieveInventoryPhysicalCountResponse.cs +++ b/Square/Models/RetrieveInventoryPhysicalCountResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"RetrieveInventoryPhysicalCountResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryPhysicalCountResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Count == null && other.Count == null) || (this.Count?.Equals(other.Count) == true)); diff --git a/Square/Models/RetrieveInventoryTransferResponse.cs b/Square/Models/RetrieveInventoryTransferResponse.cs index c655a620..fbea0c90 100644 --- a/Square/Models/RetrieveInventoryTransferResponse.cs +++ b/Square/Models/RetrieveInventoryTransferResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveInventoryTransferResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveInventoryTransferResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Transfer == null && other.Transfer == null) || (this.Transfer?.Equals(other.Transfer) == true)); diff --git a/Square/Models/RetrieveLocationBookingProfileResponse.cs b/Square/Models/RetrieveLocationBookingProfileResponse.cs index e48cec67..7985f803 100644 --- a/Square/Models/RetrieveLocationBookingProfileResponse.cs +++ b/Square/Models/RetrieveLocationBookingProfileResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveLocationBookingProfileResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationBookingProfileResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.LocationBookingProfile == null && other.LocationBookingProfile == null) || (this.LocationBookingProfile?.Equals(other.LocationBookingProfile) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveLocationCustomAttributeDefinitionRequest.cs b/Square/Models/RetrieveLocationCustomAttributeDefinitionRequest.cs index 77f57d9c..ad4b3dd4 100644 --- a/Square/Models/RetrieveLocationCustomAttributeDefinitionRequest.cs +++ b/Square/Models/RetrieveLocationCustomAttributeDefinitionRequest.cs @@ -46,19 +46,19 @@ public override string ToString() return $"RetrieveLocationCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationCustomAttributeDefinitionRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveLocationCustomAttributeDefinitionResponse.cs b/Square/Models/RetrieveLocationCustomAttributeDefinitionResponse.cs index 026cfaa0..b4f9fc1d 100644 --- a/Square/Models/RetrieveLocationCustomAttributeDefinitionResponse.cs +++ b/Square/Models/RetrieveLocationCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveLocationCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveLocationCustomAttributeRequest.cs b/Square/Models/RetrieveLocationCustomAttributeRequest.cs index e373abd3..12444162 100644 --- a/Square/Models/RetrieveLocationCustomAttributeRequest.cs +++ b/Square/Models/RetrieveLocationCustomAttributeRequest.cs @@ -85,19 +85,19 @@ public bool ShouldSerializeWithDefinition() { return this.shouldSerialize["with_definition"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationCustomAttributeRequest other && ((this.WithDefinition == null && other.WithDefinition == null) || (this.WithDefinition?.Equals(other.WithDefinition) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveLocationCustomAttributeResponse.cs b/Square/Models/RetrieveLocationCustomAttributeResponse.cs index c3723e96..2aa6aa0d 100644 --- a/Square/Models/RetrieveLocationCustomAttributeResponse.cs +++ b/Square/Models/RetrieveLocationCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveLocationCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveLocationResponse.cs b/Square/Models/RetrieveLocationResponse.cs index 904f7f35..885deb1a 100644 --- a/Square/Models/RetrieveLocationResponse.cs +++ b/Square/Models/RetrieveLocationResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveLocationResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Location == null && other.Location == null) || (this.Location?.Equals(other.Location) == true)); diff --git a/Square/Models/RetrieveLocationSettingsResponse.cs b/Square/Models/RetrieveLocationSettingsResponse.cs index fa0fd1c2..68a2466f 100644 --- a/Square/Models/RetrieveLocationSettingsResponse.cs +++ b/Square/Models/RetrieveLocationSettingsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveLocationSettingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLocationSettingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LocationSettings == null && other.LocationSettings == null) || (this.LocationSettings?.Equals(other.LocationSettings) == true)); diff --git a/Square/Models/RetrieveLoyaltyAccountResponse.cs b/Square/Models/RetrieveLoyaltyAccountResponse.cs index 7959204b..a8c52196 100644 --- a/Square/Models/RetrieveLoyaltyAccountResponse.cs +++ b/Square/Models/RetrieveLoyaltyAccountResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveLoyaltyAccountResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLoyaltyAccountResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyAccount == null && other.LoyaltyAccount == null) || (this.LoyaltyAccount?.Equals(other.LoyaltyAccount) == true)); diff --git a/Square/Models/RetrieveLoyaltyProgramResponse.cs b/Square/Models/RetrieveLoyaltyProgramResponse.cs index 7e28ccb0..2f935d99 100644 --- a/Square/Models/RetrieveLoyaltyProgramResponse.cs +++ b/Square/Models/RetrieveLoyaltyProgramResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"RetrieveLoyaltyProgramResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLoyaltyProgramResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Program == null && other.Program == null) || (this.Program?.Equals(other.Program) == true)); diff --git a/Square/Models/RetrieveLoyaltyPromotionResponse.cs b/Square/Models/RetrieveLoyaltyPromotionResponse.cs index 964ab610..692891a3 100644 --- a/Square/Models/RetrieveLoyaltyPromotionResponse.cs +++ b/Square/Models/RetrieveLoyaltyPromotionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"RetrieveLoyaltyPromotionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLoyaltyPromotionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyPromotion == null && other.LoyaltyPromotion == null) || (this.LoyaltyPromotion?.Equals(other.LoyaltyPromotion) == true)); diff --git a/Square/Models/RetrieveLoyaltyRewardResponse.cs b/Square/Models/RetrieveLoyaltyRewardResponse.cs index 6c37f2dd..82271b23 100644 --- a/Square/Models/RetrieveLoyaltyRewardResponse.cs +++ b/Square/Models/RetrieveLoyaltyRewardResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveLoyaltyRewardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveLoyaltyRewardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Reward == null && other.Reward == null) || (this.Reward?.Equals(other.Reward) == true)); diff --git a/Square/Models/RetrieveMerchantCustomAttributeDefinitionRequest.cs b/Square/Models/RetrieveMerchantCustomAttributeDefinitionRequest.cs index 7677e5c8..9b3dcc61 100644 --- a/Square/Models/RetrieveMerchantCustomAttributeDefinitionRequest.cs +++ b/Square/Models/RetrieveMerchantCustomAttributeDefinitionRequest.cs @@ -46,19 +46,19 @@ public override string ToString() return $"RetrieveMerchantCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantCustomAttributeDefinitionRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveMerchantCustomAttributeDefinitionResponse.cs b/Square/Models/RetrieveMerchantCustomAttributeDefinitionResponse.cs index 95f7b3c6..2bc9ac78 100644 --- a/Square/Models/RetrieveMerchantCustomAttributeDefinitionResponse.cs +++ b/Square/Models/RetrieveMerchantCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveMerchantCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveMerchantCustomAttributeRequest.cs b/Square/Models/RetrieveMerchantCustomAttributeRequest.cs index b602bd3d..c80b362e 100644 --- a/Square/Models/RetrieveMerchantCustomAttributeRequest.cs +++ b/Square/Models/RetrieveMerchantCustomAttributeRequest.cs @@ -85,19 +85,19 @@ public bool ShouldSerializeWithDefinition() { return this.shouldSerialize["with_definition"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantCustomAttributeRequest other && ((this.WithDefinition == null && other.WithDefinition == null) || (this.WithDefinition?.Equals(other.WithDefinition) == true)) && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveMerchantCustomAttributeResponse.cs b/Square/Models/RetrieveMerchantCustomAttributeResponse.cs index 65715a99..03cd8ca3 100644 --- a/Square/Models/RetrieveMerchantCustomAttributeResponse.cs +++ b/Square/Models/RetrieveMerchantCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveMerchantCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveMerchantResponse.cs b/Square/Models/RetrieveMerchantResponse.cs index 4a4aacc0..21f0e573 100644 --- a/Square/Models/RetrieveMerchantResponse.cs +++ b/Square/Models/RetrieveMerchantResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveMerchantResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Merchant == null && other.Merchant == null) || (this.Merchant?.Equals(other.Merchant) == true)); diff --git a/Square/Models/RetrieveMerchantSettingsResponse.cs b/Square/Models/RetrieveMerchantSettingsResponse.cs index 1fdb24ad..bb7e25ff 100644 --- a/Square/Models/RetrieveMerchantSettingsResponse.cs +++ b/Square/Models/RetrieveMerchantSettingsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveMerchantSettingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveMerchantSettingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MerchantSettings == null && other.MerchantSettings == null) || (this.MerchantSettings?.Equals(other.MerchantSettings) == true)); diff --git a/Square/Models/RetrieveOrderCustomAttributeDefinitionRequest.cs b/Square/Models/RetrieveOrderCustomAttributeDefinitionRequest.cs index d1191858..753f68f5 100644 --- a/Square/Models/RetrieveOrderCustomAttributeDefinitionRequest.cs +++ b/Square/Models/RetrieveOrderCustomAttributeDefinitionRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"RetrieveOrderCustomAttributeDefinitionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveOrderCustomAttributeDefinitionRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)); } diff --git a/Square/Models/RetrieveOrderCustomAttributeDefinitionResponse.cs b/Square/Models/RetrieveOrderCustomAttributeDefinitionResponse.cs index 40ca8b76..90b740fe 100644 --- a/Square/Models/RetrieveOrderCustomAttributeDefinitionResponse.cs +++ b/Square/Models/RetrieveOrderCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveOrderCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveOrderCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveOrderCustomAttributeRequest.cs b/Square/Models/RetrieveOrderCustomAttributeRequest.cs index 447edd22..3fb18c41 100644 --- a/Square/Models/RetrieveOrderCustomAttributeRequest.cs +++ b/Square/Models/RetrieveOrderCustomAttributeRequest.cs @@ -83,19 +83,19 @@ public bool ShouldSerializeWithDefinition() { return this.shouldSerialize["with_definition"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveOrderCustomAttributeRequest other && ((this.Version == null && other.Version == null) || (this.Version?.Equals(other.Version) == true)) && ((this.WithDefinition == null && other.WithDefinition == null) || (this.WithDefinition?.Equals(other.WithDefinition) == true)); } diff --git a/Square/Models/RetrieveOrderCustomAttributeResponse.cs b/Square/Models/RetrieveOrderCustomAttributeResponse.cs index 00e4c32e..458ecb6e 100644 --- a/Square/Models/RetrieveOrderCustomAttributeResponse.cs +++ b/Square/Models/RetrieveOrderCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveOrderCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveOrderCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveOrderResponse.cs b/Square/Models/RetrieveOrderResponse.cs index 2b64b938..6dec34a4 100644 --- a/Square/Models/RetrieveOrderResponse.cs +++ b/Square/Models/RetrieveOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"RetrieveOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrievePaymentLinkResponse.cs b/Square/Models/RetrievePaymentLinkResponse.cs index ea043caa..ee0f8068 100644 --- a/Square/Models/RetrievePaymentLinkResponse.cs +++ b/Square/Models/RetrievePaymentLinkResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrievePaymentLinkResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrievePaymentLinkResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.PaymentLink == null && other.PaymentLink == null) || (this.PaymentLink?.Equals(other.PaymentLink) == true)); diff --git a/Square/Models/RetrieveSnippetResponse.cs b/Square/Models/RetrieveSnippetResponse.cs index bcd4ac15..eac508f9 100644 --- a/Square/Models/RetrieveSnippetResponse.cs +++ b/Square/Models/RetrieveSnippetResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveSnippetResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveSnippetResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Snippet == null && other.Snippet == null) || (this.Snippet?.Equals(other.Snippet) == true)); diff --git a/Square/Models/RetrieveSubscriptionRequest.cs b/Square/Models/RetrieveSubscriptionRequest.cs index 1e5e8752..63bfe24c 100644 --- a/Square/Models/RetrieveSubscriptionRequest.cs +++ b/Square/Models/RetrieveSubscriptionRequest.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeInclude() { return this.shouldSerialize["include"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveSubscriptionRequest other && ((this.Include == null && other.Include == null) || (this.Include?.Equals(other.Include) == true)); } diff --git a/Square/Models/RetrieveSubscriptionResponse.cs b/Square/Models/RetrieveSubscriptionResponse.cs index 0d5f0b45..d8c67721 100644 --- a/Square/Models/RetrieveSubscriptionResponse.cs +++ b/Square/Models/RetrieveSubscriptionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"RetrieveSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/RetrieveTeamMemberBookingProfileResponse.cs b/Square/Models/RetrieveTeamMemberBookingProfileResponse.cs index 7bfde6ca..19b41a57 100644 --- a/Square/Models/RetrieveTeamMemberBookingProfileResponse.cs +++ b/Square/Models/RetrieveTeamMemberBookingProfileResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveTeamMemberBookingProfileResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveTeamMemberBookingProfileResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMemberBookingProfile == null && other.TeamMemberBookingProfile == null) || (this.TeamMemberBookingProfile?.Equals(other.TeamMemberBookingProfile) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveTeamMemberResponse.cs b/Square/Models/RetrieveTeamMemberResponse.cs index e60bbb18..a2334339 100644 --- a/Square/Models/RetrieveTeamMemberResponse.cs +++ b/Square/Models/RetrieveTeamMemberResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveTeamMemberResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveTeamMemberResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMember == null && other.TeamMember == null) || (this.TeamMember?.Equals(other.TeamMember) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveTokenStatusResponse.cs b/Square/Models/RetrieveTokenStatusResponse.cs index ad04c38e..7740531e 100644 --- a/Square/Models/RetrieveTokenStatusResponse.cs +++ b/Square/Models/RetrieveTokenStatusResponse.cs @@ -86,19 +86,19 @@ public override string ToString() return $"RetrieveTokenStatusResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveTokenStatusResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Scopes == null && other.Scopes == null) || (this.Scopes?.Equals(other.Scopes) == true)) && ((this.ExpiresAt == null && other.ExpiresAt == null) || (this.ExpiresAt?.Equals(other.ExpiresAt) == true)) && diff --git a/Square/Models/RetrieveTransactionResponse.cs b/Square/Models/RetrieveTransactionResponse.cs index 0cc55cec..81813b0d 100644 --- a/Square/Models/RetrieveTransactionResponse.cs +++ b/Square/Models/RetrieveTransactionResponse.cs @@ -62,19 +62,19 @@ public override string ToString() return $"RetrieveTransactionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveTransactionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Transaction == null && other.Transaction == null) || (this.Transaction?.Equals(other.Transaction) == true)); diff --git a/Square/Models/RetrieveVendorResponse.cs b/Square/Models/RetrieveVendorResponse.cs index bee5dbbb..8b3b6be9 100644 --- a/Square/Models/RetrieveVendorResponse.cs +++ b/Square/Models/RetrieveVendorResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveVendorResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveVendorResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Vendor == null && other.Vendor == null) || (this.Vendor?.Equals(other.Vendor) == true)); diff --git a/Square/Models/RetrieveWageSettingResponse.cs b/Square/Models/RetrieveWageSettingResponse.cs index 12c24499..dc9b7bd0 100644 --- a/Square/Models/RetrieveWageSettingResponse.cs +++ b/Square/Models/RetrieveWageSettingResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RetrieveWageSettingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveWageSettingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.WageSetting == null && other.WageSetting == null) || (this.WageSetting?.Equals(other.WageSetting) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RetrieveWebhookSubscriptionResponse.cs b/Square/Models/RetrieveWebhookSubscriptionResponse.cs index b9ea8c2a..b4442e91 100644 --- a/Square/Models/RetrieveWebhookSubscriptionResponse.cs +++ b/Square/Models/RetrieveWebhookSubscriptionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"RetrieveWebhookSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RetrieveWebhookSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/RevokeTokenRequest.cs b/Square/Models/RevokeTokenRequest.cs index 56fc8557..18a24383 100644 --- a/Square/Models/RevokeTokenRequest.cs +++ b/Square/Models/RevokeTokenRequest.cs @@ -152,19 +152,19 @@ public bool ShouldSerializeRevokeOnlyAccessToken() { return this.shouldSerialize["revoke_only_access_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RevokeTokenRequest other && ((this.ClientId == null && other.ClientId == null) || (this.ClientId?.Equals(other.ClientId) == true)) && ((this.AccessToken == null && other.AccessToken == null) || (this.AccessToken?.Equals(other.AccessToken) == true)) && ((this.MerchantId == null && other.MerchantId == null) || (this.MerchantId?.Equals(other.MerchantId) == true)) && diff --git a/Square/Models/RevokeTokenResponse.cs b/Square/Models/RevokeTokenResponse.cs index d77f6851..6c8b408e 100644 --- a/Square/Models/RevokeTokenResponse.cs +++ b/Square/Models/RevokeTokenResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"RevokeTokenResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RevokeTokenResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Success == null && other.Success == null) || (this.Success?.Equals(other.Success) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/RiskEvaluation.cs b/Square/Models/RiskEvaluation.cs index c5373e98..76a88043 100644 --- a/Square/Models/RiskEvaluation.cs +++ b/Square/Models/RiskEvaluation.cs @@ -52,19 +52,19 @@ public override string ToString() return $"RiskEvaluation : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is RiskEvaluation other && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.RiskLevel == null && other.RiskLevel == null) || (this.RiskLevel?.Equals(other.RiskLevel) == true)); } diff --git a/Square/Models/SaveCardOptions.cs b/Square/Models/SaveCardOptions.cs index 9088d0cb..28cd90e9 100644 --- a/Square/Models/SaveCardOptions.cs +++ b/Square/Models/SaveCardOptions.cs @@ -93,19 +93,19 @@ public bool ShouldSerializeReferenceId() { return this.shouldSerialize["reference_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SaveCardOptions other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)) && ((this.CardId == null && other.CardId == null) || (this.CardId?.Equals(other.CardId) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)); diff --git a/Square/Models/SearchAvailabilityFilter.cs b/Square/Models/SearchAvailabilityFilter.cs index 53189400..4ae96d0c 100644 --- a/Square/Models/SearchAvailabilityFilter.cs +++ b/Square/Models/SearchAvailabilityFilter.cs @@ -141,19 +141,19 @@ public bool ShouldSerializeBookingId() { return this.shouldSerialize["booking_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchAvailabilityFilter other && ((this.StartAtRange == null && other.StartAtRange == null) || (this.StartAtRange?.Equals(other.StartAtRange) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.SegmentFilters == null && other.SegmentFilters == null) || (this.SegmentFilters?.Equals(other.SegmentFilters) == true)) && diff --git a/Square/Models/SearchAvailabilityQuery.cs b/Square/Models/SearchAvailabilityQuery.cs index 031557ca..e0d0cd51 100644 --- a/Square/Models/SearchAvailabilityQuery.cs +++ b/Square/Models/SearchAvailabilityQuery.cs @@ -43,19 +43,19 @@ public override string ToString() return $"SearchAvailabilityQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchAvailabilityQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)); } diff --git a/Square/Models/SearchAvailabilityRequest.cs b/Square/Models/SearchAvailabilityRequest.cs index f849eb2b..4597f17d 100644 --- a/Square/Models/SearchAvailabilityRequest.cs +++ b/Square/Models/SearchAvailabilityRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"SearchAvailabilityRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchAvailabilityRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)); } diff --git a/Square/Models/SearchAvailabilityResponse.cs b/Square/Models/SearchAvailabilityResponse.cs index 00b54a73..7b287fb6 100644 --- a/Square/Models/SearchAvailabilityResponse.cs +++ b/Square/Models/SearchAvailabilityResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"SearchAvailabilityResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchAvailabilityResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Availabilities == null && other.Availabilities == null) || (this.Availabilities?.Equals(other.Availabilities) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/SearchCatalogItemsRequest.cs b/Square/Models/SearchCatalogItemsRequest.cs index c6c3fdc8..be8afae8 100644 --- a/Square/Models/SearchCatalogItemsRequest.cs +++ b/Square/Models/SearchCatalogItemsRequest.cs @@ -131,19 +131,19 @@ public override string ToString() return $"SearchCatalogItemsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCatalogItemsRequest other && ((this.TextFilter == null && other.TextFilter == null) || (this.TextFilter?.Equals(other.TextFilter) == true)) && ((this.CategoryIds == null && other.CategoryIds == null) || (this.CategoryIds?.Equals(other.CategoryIds) == true)) && ((this.StockLevels == null && other.StockLevels == null) || (this.StockLevels?.Equals(other.StockLevels) == true)) && diff --git a/Square/Models/SearchCatalogItemsResponse.cs b/Square/Models/SearchCatalogItemsResponse.cs index 09b12de1..2f64da8b 100644 --- a/Square/Models/SearchCatalogItemsResponse.cs +++ b/Square/Models/SearchCatalogItemsResponse.cs @@ -77,19 +77,19 @@ public override string ToString() return $"SearchCatalogItemsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCatalogItemsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Items == null && other.Items == null) || (this.Items?.Equals(other.Items) == true)) && diff --git a/Square/Models/SearchCatalogObjectsRequest.cs b/Square/Models/SearchCatalogObjectsRequest.cs index c0df1016..9186762b 100644 --- a/Square/Models/SearchCatalogObjectsRequest.cs +++ b/Square/Models/SearchCatalogObjectsRequest.cs @@ -156,19 +156,19 @@ public override string ToString() return $"SearchCatalogObjectsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCatalogObjectsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.ObjectTypes == null && other.ObjectTypes == null) || (this.ObjectTypes?.Equals(other.ObjectTypes) == true)) && ((this.IncludeDeletedObjects == null && other.IncludeDeletedObjects == null) || (this.IncludeDeletedObjects?.Equals(other.IncludeDeletedObjects) == true)) && diff --git a/Square/Models/SearchCatalogObjectsResponse.cs b/Square/Models/SearchCatalogObjectsResponse.cs index baf06781..906b778c 100644 --- a/Square/Models/SearchCatalogObjectsResponse.cs +++ b/Square/Models/SearchCatalogObjectsResponse.cs @@ -88,19 +88,19 @@ public override string ToString() return $"SearchCatalogObjectsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCatalogObjectsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/SearchCustomersRequest.cs b/Square/Models/SearchCustomersRequest.cs index cc95e4c9..8e934aa0 100644 --- a/Square/Models/SearchCustomersRequest.cs +++ b/Square/Models/SearchCustomersRequest.cs @@ -75,19 +75,19 @@ public override string ToString() return $"SearchCustomersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCustomersRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && diff --git a/Square/Models/SearchCustomersResponse.cs b/Square/Models/SearchCustomersResponse.cs index 81ae4dbd..a84bca93 100644 --- a/Square/Models/SearchCustomersResponse.cs +++ b/Square/Models/SearchCustomersResponse.cs @@ -85,19 +85,19 @@ public override string ToString() return $"SearchCustomersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchCustomersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Customers == null && other.Customers == null) || (this.Customers?.Equals(other.Customers) == true)) && diff --git a/Square/Models/SearchEventsFilter.cs b/Square/Models/SearchEventsFilter.cs index 85b100a3..271f3de9 100644 --- a/Square/Models/SearchEventsFilter.cs +++ b/Square/Models/SearchEventsFilter.cs @@ -136,19 +136,19 @@ public bool ShouldSerializeLocationIds() { return this.shouldSerialize["location_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchEventsFilter other && ((this.EventTypes == null && other.EventTypes == null) || (this.EventTypes?.Equals(other.EventTypes) == true)) && ((this.MerchantIds == null && other.MerchantIds == null) || (this.MerchantIds?.Equals(other.MerchantIds) == true)) && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && diff --git a/Square/Models/SearchEventsQuery.cs b/Square/Models/SearchEventsQuery.cs index 4beacf3e..124ae1bd 100644 --- a/Square/Models/SearchEventsQuery.cs +++ b/Square/Models/SearchEventsQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SearchEventsQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchEventsQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/SearchEventsRequest.cs b/Square/Models/SearchEventsRequest.cs index 676bea03..a1d88bde 100644 --- a/Square/Models/SearchEventsRequest.cs +++ b/Square/Models/SearchEventsRequest.cs @@ -64,19 +64,19 @@ public override string ToString() return $"SearchEventsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchEventsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)); diff --git a/Square/Models/SearchEventsResponse.cs b/Square/Models/SearchEventsResponse.cs index b1057f03..c6f29685 100644 --- a/Square/Models/SearchEventsResponse.cs +++ b/Square/Models/SearchEventsResponse.cs @@ -78,19 +78,19 @@ public override string ToString() return $"SearchEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Events == null && other.Events == null) || (this.Events?.Equals(other.Events) == true)) && diff --git a/Square/Models/SearchEventsSort.cs b/Square/Models/SearchEventsSort.cs index cd10ea00..6918b977 100644 --- a/Square/Models/SearchEventsSort.cs +++ b/Square/Models/SearchEventsSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SearchEventsSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchEventsSort other && ((this.Field == null && other.Field == null) || (this.Field?.Equals(other.Field) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); } diff --git a/Square/Models/SearchInvoicesRequest.cs b/Square/Models/SearchInvoicesRequest.cs index 4b0a41a4..e708992e 100644 --- a/Square/Models/SearchInvoicesRequest.cs +++ b/Square/Models/SearchInvoicesRequest.cs @@ -64,19 +64,19 @@ public override string ToString() return $"SearchInvoicesRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchInvoicesRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchInvoicesResponse.cs b/Square/Models/SearchInvoicesResponse.cs index 4c521c67..fbd76c71 100644 --- a/Square/Models/SearchInvoicesResponse.cs +++ b/Square/Models/SearchInvoicesResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"SearchInvoicesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchInvoicesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoices == null && other.Invoices == null) || (this.Invoices?.Equals(other.Invoices) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/SearchLoyaltyAccountsRequest.cs b/Square/Models/SearchLoyaltyAccountsRequest.cs index 73a6489f..7390b357 100644 --- a/Square/Models/SearchLoyaltyAccountsRequest.cs +++ b/Square/Models/SearchLoyaltyAccountsRequest.cs @@ -65,19 +65,19 @@ public override string ToString() return $"SearchLoyaltyAccountsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyAccountsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchLoyaltyAccountsRequestLoyaltyAccountQuery.cs b/Square/Models/SearchLoyaltyAccountsRequestLoyaltyAccountQuery.cs index c4bc13c7..cc7e015e 100644 --- a/Square/Models/SearchLoyaltyAccountsRequestLoyaltyAccountQuery.cs +++ b/Square/Models/SearchLoyaltyAccountsRequestLoyaltyAccountQuery.cs @@ -99,19 +99,19 @@ public bool ShouldSerializeCustomerIds() { return this.shouldSerialize["customer_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyAccountsRequestLoyaltyAccountQuery other && ((this.Mappings == null && other.Mappings == null) || (this.Mappings?.Equals(other.Mappings) == true)) && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)); } diff --git a/Square/Models/SearchLoyaltyAccountsResponse.cs b/Square/Models/SearchLoyaltyAccountsResponse.cs index 167bc5bb..315ee70c 100644 --- a/Square/Models/SearchLoyaltyAccountsResponse.cs +++ b/Square/Models/SearchLoyaltyAccountsResponse.cs @@ -72,19 +72,19 @@ public override string ToString() return $"SearchLoyaltyAccountsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyAccountsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LoyaltyAccounts == null && other.LoyaltyAccounts == null) || (this.LoyaltyAccounts?.Equals(other.LoyaltyAccounts) == true)) && diff --git a/Square/Models/SearchLoyaltyEventsRequest.cs b/Square/Models/SearchLoyaltyEventsRequest.cs index 4ed66a71..0e650565 100644 --- a/Square/Models/SearchLoyaltyEventsRequest.cs +++ b/Square/Models/SearchLoyaltyEventsRequest.cs @@ -65,19 +65,19 @@ public override string ToString() return $"SearchLoyaltyEventsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyEventsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchLoyaltyEventsResponse.cs b/Square/Models/SearchLoyaltyEventsResponse.cs index d07238da..a2da0dc6 100644 --- a/Square/Models/SearchLoyaltyEventsResponse.cs +++ b/Square/Models/SearchLoyaltyEventsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"SearchLoyaltyEventsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyEventsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Events == null && other.Events == null) || (this.Events?.Equals(other.Events) == true)) && diff --git a/Square/Models/SearchLoyaltyRewardsRequest.cs b/Square/Models/SearchLoyaltyRewardsRequest.cs index b1477abb..11634290 100644 --- a/Square/Models/SearchLoyaltyRewardsRequest.cs +++ b/Square/Models/SearchLoyaltyRewardsRequest.cs @@ -65,19 +65,19 @@ public override string ToString() return $"SearchLoyaltyRewardsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyRewardsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchLoyaltyRewardsRequestLoyaltyRewardQuery.cs b/Square/Models/SearchLoyaltyRewardsRequestLoyaltyRewardQuery.cs index d1045ba0..5ba46e65 100644 --- a/Square/Models/SearchLoyaltyRewardsRequestLoyaltyRewardQuery.cs +++ b/Square/Models/SearchLoyaltyRewardsRequestLoyaltyRewardQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SearchLoyaltyRewardsRequestLoyaltyRewardQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyRewardsRequestLoyaltyRewardQuery other && ((this.LoyaltyAccountId == null && other.LoyaltyAccountId == null) || (this.LoyaltyAccountId?.Equals(other.LoyaltyAccountId) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); } diff --git a/Square/Models/SearchLoyaltyRewardsResponse.cs b/Square/Models/SearchLoyaltyRewardsResponse.cs index ade448ea..ba14e229 100644 --- a/Square/Models/SearchLoyaltyRewardsResponse.cs +++ b/Square/Models/SearchLoyaltyRewardsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SearchLoyaltyRewardsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchLoyaltyRewardsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Rewards == null && other.Rewards == null) || (this.Rewards?.Equals(other.Rewards) == true)) && diff --git a/Square/Models/SearchOrdersCustomerFilter.cs b/Square/Models/SearchOrdersCustomerFilter.cs index 789cc552..9decb5c9 100644 --- a/Square/Models/SearchOrdersCustomerFilter.cs +++ b/Square/Models/SearchOrdersCustomerFilter.cs @@ -70,19 +70,19 @@ public bool ShouldSerializeCustomerIds() { return this.shouldSerialize["customer_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersCustomerFilter other && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)); } diff --git a/Square/Models/SearchOrdersDateTimeFilter.cs b/Square/Models/SearchOrdersDateTimeFilter.cs index b6439634..6004fbe6 100644 --- a/Square/Models/SearchOrdersDateTimeFilter.cs +++ b/Square/Models/SearchOrdersDateTimeFilter.cs @@ -73,19 +73,19 @@ public override string ToString() return $"SearchOrdersDateTimeFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersDateTimeFilter other && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && ((this.ClosedAt == null && other.ClosedAt == null) || (this.ClosedAt?.Equals(other.ClosedAt) == true)); diff --git a/Square/Models/SearchOrdersFilter.cs b/Square/Models/SearchOrdersFilter.cs index 0df42d5d..7b8b79f5 100644 --- a/Square/Models/SearchOrdersFilter.cs +++ b/Square/Models/SearchOrdersFilter.cs @@ -92,19 +92,19 @@ public override string ToString() return $"SearchOrdersFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersFilter other && ((this.StateFilter == null && other.StateFilter == null) || (this.StateFilter?.Equals(other.StateFilter) == true)) && ((this.DateTimeFilter == null && other.DateTimeFilter == null) || (this.DateTimeFilter?.Equals(other.DateTimeFilter) == true)) && ((this.FulfillmentFilter == null && other.FulfillmentFilter == null) || (this.FulfillmentFilter?.Equals(other.FulfillmentFilter) == true)) && diff --git a/Square/Models/SearchOrdersFulfillmentFilter.cs b/Square/Models/SearchOrdersFulfillmentFilter.cs index 6d2a4c28..5ea9a994 100644 --- a/Square/Models/SearchOrdersFulfillmentFilter.cs +++ b/Square/Models/SearchOrdersFulfillmentFilter.cs @@ -101,19 +101,19 @@ public bool ShouldSerializeFulfillmentStates() { return this.shouldSerialize["fulfillment_states"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersFulfillmentFilter other && ((this.FulfillmentTypes == null && other.FulfillmentTypes == null) || (this.FulfillmentTypes?.Equals(other.FulfillmentTypes) == true)) && ((this.FulfillmentStates == null && other.FulfillmentStates == null) || (this.FulfillmentStates?.Equals(other.FulfillmentStates) == true)); } diff --git a/Square/Models/SearchOrdersQuery.cs b/Square/Models/SearchOrdersQuery.cs index c0bd3082..347503f9 100644 --- a/Square/Models/SearchOrdersQuery.cs +++ b/Square/Models/SearchOrdersQuery.cs @@ -54,19 +54,19 @@ public override string ToString() return $"SearchOrdersQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/SearchOrdersRequest.cs b/Square/Models/SearchOrdersRequest.cs index 0359205a..3112cf3a 100644 --- a/Square/Models/SearchOrdersRequest.cs +++ b/Square/Models/SearchOrdersRequest.cs @@ -88,19 +88,19 @@ public override string ToString() return $"SearchOrdersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersRequest other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && diff --git a/Square/Models/SearchOrdersResponse.cs b/Square/Models/SearchOrdersResponse.cs index a90d9f68..a253360a 100644 --- a/Square/Models/SearchOrdersResponse.cs +++ b/Square/Models/SearchOrdersResponse.cs @@ -82,19 +82,19 @@ public override string ToString() return $"SearchOrdersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.OrderEntries == null && other.OrderEntries == null) || (this.OrderEntries?.Equals(other.OrderEntries) == true)) && ((this.Orders == null && other.Orders == null) || (this.Orders?.Equals(other.Orders) == true)) && diff --git a/Square/Models/SearchOrdersSort.cs b/Square/Models/SearchOrdersSort.cs index b8fd48f8..5f969c18 100644 --- a/Square/Models/SearchOrdersSort.cs +++ b/Square/Models/SearchOrdersSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SearchOrdersSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersSort other && ((this.SortField == null && other.SortField == null) || (this.SortField?.Equals(other.SortField) == true)) && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)); } diff --git a/Square/Models/SearchOrdersSourceFilter.cs b/Square/Models/SearchOrdersSourceFilter.cs index de54b789..7d1a2848 100644 --- a/Square/Models/SearchOrdersSourceFilter.cs +++ b/Square/Models/SearchOrdersSourceFilter.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeSourceNames() { return this.shouldSerialize["source_names"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersSourceFilter other && ((this.SourceNames == null && other.SourceNames == null) || (this.SourceNames?.Equals(other.SourceNames) == true)); } diff --git a/Square/Models/SearchOrdersStateFilter.cs b/Square/Models/SearchOrdersStateFilter.cs index 359d53f0..8081b7b9 100644 --- a/Square/Models/SearchOrdersStateFilter.cs +++ b/Square/Models/SearchOrdersStateFilter.cs @@ -44,19 +44,19 @@ public override string ToString() return $"SearchOrdersStateFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchOrdersStateFilter other && ((this.States == null && other.States == null) || (this.States?.Equals(other.States) == true)); } diff --git a/Square/Models/SearchShiftsRequest.cs b/Square/Models/SearchShiftsRequest.cs index 84b99c28..fbb0c7f8 100644 --- a/Square/Models/SearchShiftsRequest.cs +++ b/Square/Models/SearchShiftsRequest.cs @@ -61,19 +61,19 @@ public override string ToString() return $"SearchShiftsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchShiftsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchShiftsResponse.cs b/Square/Models/SearchShiftsResponse.cs index b075896d..7549b009 100644 --- a/Square/Models/SearchShiftsResponse.cs +++ b/Square/Models/SearchShiftsResponse.cs @@ -68,19 +68,19 @@ public override string ToString() return $"SearchShiftsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchShiftsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Shifts == null && other.Shifts == null) || (this.Shifts?.Equals(other.Shifts) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/SearchSubscriptionsFilter.cs b/Square/Models/SearchSubscriptionsFilter.cs index aa775299..da5f52cc 100644 --- a/Square/Models/SearchSubscriptionsFilter.cs +++ b/Square/Models/SearchSubscriptionsFilter.cs @@ -121,19 +121,19 @@ public bool ShouldSerializeSourceNames() { return this.shouldSerialize["source_names"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchSubscriptionsFilter other && ((this.CustomerIds == null && other.CustomerIds == null) || (this.CustomerIds?.Equals(other.CustomerIds) == true)) && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.SourceNames == null && other.SourceNames == null) || (this.SourceNames?.Equals(other.SourceNames) == true)); diff --git a/Square/Models/SearchSubscriptionsQuery.cs b/Square/Models/SearchSubscriptionsQuery.cs index 762814ba..4a372cb8 100644 --- a/Square/Models/SearchSubscriptionsQuery.cs +++ b/Square/Models/SearchSubscriptionsQuery.cs @@ -44,19 +44,19 @@ public override string ToString() return $"SearchSubscriptionsQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchSubscriptionsQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)); } diff --git a/Square/Models/SearchSubscriptionsRequest.cs b/Square/Models/SearchSubscriptionsRequest.cs index f8f1beba..ab99df0c 100644 --- a/Square/Models/SearchSubscriptionsRequest.cs +++ b/Square/Models/SearchSubscriptionsRequest.cs @@ -76,19 +76,19 @@ public override string ToString() return $"SearchSubscriptionsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchSubscriptionsRequest other && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && diff --git a/Square/Models/SearchSubscriptionsResponse.cs b/Square/Models/SearchSubscriptionsResponse.cs index 9fda708a..5c22ea1e 100644 --- a/Square/Models/SearchSubscriptionsResponse.cs +++ b/Square/Models/SearchSubscriptionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"SearchSubscriptionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchSubscriptionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscriptions == null && other.Subscriptions == null) || (this.Subscriptions?.Equals(other.Subscriptions) == true)) && diff --git a/Square/Models/SearchTeamMembersFilter.cs b/Square/Models/SearchTeamMembersFilter.cs index e12ccf7e..366e64fd 100644 --- a/Square/Models/SearchTeamMembersFilter.cs +++ b/Square/Models/SearchTeamMembersFilter.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeIsOwner() { return this.shouldSerialize["is_owner"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTeamMembersFilter other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.IsOwner == null && other.IsOwner == null) || (this.IsOwner?.Equals(other.IsOwner) == true)); diff --git a/Square/Models/SearchTeamMembersQuery.cs b/Square/Models/SearchTeamMembersQuery.cs index 8e1c0fe1..5c4b8f59 100644 --- a/Square/Models/SearchTeamMembersQuery.cs +++ b/Square/Models/SearchTeamMembersQuery.cs @@ -49,19 +49,19 @@ public override string ToString() return $"SearchTeamMembersQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTeamMembersQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)); } diff --git a/Square/Models/SearchTeamMembersRequest.cs b/Square/Models/SearchTeamMembersRequest.cs index 0fb9def6..9fb0f30b 100644 --- a/Square/Models/SearchTeamMembersRequest.cs +++ b/Square/Models/SearchTeamMembersRequest.cs @@ -62,19 +62,19 @@ public override string ToString() return $"SearchTeamMembersRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTeamMembersRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchTeamMembersResponse.cs b/Square/Models/SearchTeamMembersResponse.cs index afa996fe..504a8437 100644 --- a/Square/Models/SearchTeamMembersResponse.cs +++ b/Square/Models/SearchTeamMembersResponse.cs @@ -69,19 +69,19 @@ public override string ToString() return $"SearchTeamMembersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTeamMembersResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMembers == null && other.TeamMembers == null) || (this.TeamMembers?.Equals(other.TeamMembers) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && diff --git a/Square/Models/SearchTerminalActionsRequest.cs b/Square/Models/SearchTerminalActionsRequest.cs index ce3aff29..8646072b 100644 --- a/Square/Models/SearchTerminalActionsRequest.cs +++ b/Square/Models/SearchTerminalActionsRequest.cs @@ -64,19 +64,19 @@ public override string ToString() return $"SearchTerminalActionsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalActionsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/SearchTerminalActionsResponse.cs b/Square/Models/SearchTerminalActionsResponse.cs index 51786ca4..c8ea8732 100644 --- a/Square/Models/SearchTerminalActionsResponse.cs +++ b/Square/Models/SearchTerminalActionsResponse.cs @@ -71,19 +71,19 @@ public override string ToString() return $"SearchTerminalActionsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalActionsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)) && diff --git a/Square/Models/SearchTerminalCheckoutsRequest.cs b/Square/Models/SearchTerminalCheckoutsRequest.cs index 3d88ba24..466e55ca 100644 --- a/Square/Models/SearchTerminalCheckoutsRequest.cs +++ b/Square/Models/SearchTerminalCheckoutsRequest.cs @@ -63,19 +63,19 @@ public override string ToString() return $"SearchTerminalCheckoutsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalCheckoutsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/SearchTerminalCheckoutsResponse.cs b/Square/Models/SearchTerminalCheckoutsResponse.cs index 547f4e8a..bee5ce83 100644 --- a/Square/Models/SearchTerminalCheckoutsResponse.cs +++ b/Square/Models/SearchTerminalCheckoutsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SearchTerminalCheckoutsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalCheckoutsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Checkouts == null && other.Checkouts == null) || (this.Checkouts?.Equals(other.Checkouts) == true)) && diff --git a/Square/Models/SearchTerminalRefundsRequest.cs b/Square/Models/SearchTerminalRefundsRequest.cs index eca04a1d..1e706bdc 100644 --- a/Square/Models/SearchTerminalRefundsRequest.cs +++ b/Square/Models/SearchTerminalRefundsRequest.cs @@ -62,19 +62,19 @@ public override string ToString() return $"SearchTerminalRefundsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalRefundsRequest other && ((this.Query == null && other.Query == null) || (this.Query?.Equals(other.Query) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)); diff --git a/Square/Models/SearchTerminalRefundsResponse.cs b/Square/Models/SearchTerminalRefundsResponse.cs index f5ccb1ce..13613a27 100644 --- a/Square/Models/SearchTerminalRefundsResponse.cs +++ b/Square/Models/SearchTerminalRefundsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SearchTerminalRefundsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchTerminalRefundsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Refunds == null && other.Refunds == null) || (this.Refunds?.Equals(other.Refunds) == true)) && diff --git a/Square/Models/SearchVendorsRequest.cs b/Square/Models/SearchVendorsRequest.cs index 636f9e3b..5943eeb7 100644 --- a/Square/Models/SearchVendorsRequest.cs +++ b/Square/Models/SearchVendorsRequest.cs @@ -63,19 +63,19 @@ public override string ToString() return $"SearchVendorsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchVendorsRequest other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)) && ((this.Cursor == null && other.Cursor == null) || (this.Cursor?.Equals(other.Cursor) == true)); diff --git a/Square/Models/SearchVendorsRequestFilter.cs b/Square/Models/SearchVendorsRequestFilter.cs index b9004303..413e2c63 100644 --- a/Square/Models/SearchVendorsRequestFilter.cs +++ b/Square/Models/SearchVendorsRequestFilter.cs @@ -96,19 +96,19 @@ public bool ShouldSerializeStatus() { return this.shouldSerialize["status"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchVendorsRequestFilter other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); } diff --git a/Square/Models/SearchVendorsRequestSort.cs b/Square/Models/SearchVendorsRequestSort.cs index 24d3df8e..3074bfe7 100644 --- a/Square/Models/SearchVendorsRequestSort.cs +++ b/Square/Models/SearchVendorsRequestSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SearchVendorsRequestSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchVendorsRequestSort other && ((this.Field == null && other.Field == null) || (this.Field?.Equals(other.Field) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); } diff --git a/Square/Models/SearchVendorsResponse.cs b/Square/Models/SearchVendorsResponse.cs index 85e6bdb0..18d3e5ba 100644 --- a/Square/Models/SearchVendorsResponse.cs +++ b/Square/Models/SearchVendorsResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SearchVendorsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SearchVendorsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Vendors == null && other.Vendors == null) || (this.Vendors?.Equals(other.Vendors) == true)) && diff --git a/Square/Models/SegmentFilter.cs b/Square/Models/SegmentFilter.cs index 8d51ceae..7a715122 100644 --- a/Square/Models/SegmentFilter.cs +++ b/Square/Models/SegmentFilter.cs @@ -55,19 +55,19 @@ public override string ToString() return $"SegmentFilter : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SegmentFilter other && ((this.ServiceVariationId == null && other.ServiceVariationId == null) || (this.ServiceVariationId?.Equals(other.ServiceVariationId) == true)) && ((this.TeamMemberIdFilter == null && other.TeamMemberIdFilter == null) || (this.TeamMemberIdFilter?.Equals(other.TeamMemberIdFilter) == true)); } diff --git a/Square/Models/SelectOption.cs b/Square/Models/SelectOption.cs index 5578ccea..5ab189dd 100644 --- a/Square/Models/SelectOption.cs +++ b/Square/Models/SelectOption.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SelectOption : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SelectOption other && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)); } diff --git a/Square/Models/SelectOptions.cs b/Square/Models/SelectOptions.cs index 87e5e240..e31ac97a 100644 --- a/Square/Models/SelectOptions.cs +++ b/Square/Models/SelectOptions.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SelectOptions : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SelectOptions other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Body == null && other.Body == null) || (this.Body?.Equals(other.Body) == true)) && ((this.Options == null && other.Options == null) || (this.Options?.Equals(other.Options) == true)) && diff --git a/Square/Models/Shift.cs b/Square/Models/Shift.cs index 9f0893fa..3cc47583 100644 --- a/Square/Models/Shift.cs +++ b/Square/Models/Shift.cs @@ -285,19 +285,19 @@ public bool ShouldSerializeTeamMemberId() { return this.shouldSerialize["team_member_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Shift other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.EmployeeId == null && other.EmployeeId == null) || (this.EmployeeId?.Equals(other.EmployeeId) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && diff --git a/Square/Models/ShiftFilter.cs b/Square/Models/ShiftFilter.cs index 9c52df33..75b3fd71 100644 --- a/Square/Models/ShiftFilter.cs +++ b/Square/Models/ShiftFilter.cs @@ -174,19 +174,19 @@ public bool ShouldSerializeTeamMemberIds() { return this.shouldSerialize["team_member_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShiftFilter other && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)) && ((this.EmployeeIds == null && other.EmployeeIds == null) || (this.EmployeeIds?.Equals(other.EmployeeIds) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && diff --git a/Square/Models/ShiftQuery.cs b/Square/Models/ShiftQuery.cs index 555d1a7b..8ee7b733 100644 --- a/Square/Models/ShiftQuery.cs +++ b/Square/Models/ShiftQuery.cs @@ -53,19 +53,19 @@ public override string ToString() return $"ShiftQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShiftQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/ShiftSort.cs b/Square/Models/ShiftSort.cs index 232f16a4..df0652f8 100644 --- a/Square/Models/ShiftSort.cs +++ b/Square/Models/ShiftSort.cs @@ -52,19 +52,19 @@ public override string ToString() return $"ShiftSort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShiftSort other && ((this.Field == null && other.Field == null) || (this.Field?.Equals(other.Field) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)); } diff --git a/Square/Models/ShiftWage.cs b/Square/Models/ShiftWage.cs index ecf71742..cbda21e8 100644 --- a/Square/Models/ShiftWage.cs +++ b/Square/Models/ShiftWage.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeTipEligible() { return this.shouldSerialize["tip_eligible"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShiftWage other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.HourlyRate == null && other.HourlyRate == null) || (this.HourlyRate?.Equals(other.HourlyRate) == true)) && ((this.JobId == null && other.JobId == null) || (this.JobId?.Equals(other.JobId) == true)) && diff --git a/Square/Models/ShiftWorkday.cs b/Square/Models/ShiftWorkday.cs index 8a2b4ec5..7fe7d57e 100644 --- a/Square/Models/ShiftWorkday.cs +++ b/Square/Models/ShiftWorkday.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeDefaultTimezone() { return this.shouldSerialize["default_timezone"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShiftWorkday other && ((this.DateRange == null && other.DateRange == null) || (this.DateRange?.Equals(other.DateRange) == true)) && ((this.MatchShiftsBy == null && other.MatchShiftsBy == null) || (this.MatchShiftsBy?.Equals(other.MatchShiftsBy) == true)) && ((this.DefaultTimezone == null && other.DefaultTimezone == null) || (this.DefaultTimezone?.Equals(other.DefaultTimezone) == true)); diff --git a/Square/Models/ShippingFee.cs b/Square/Models/ShippingFee.cs index 65d86ae7..899482d6 100644 --- a/Square/Models/ShippingFee.cs +++ b/Square/Models/ShippingFee.cs @@ -85,19 +85,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is ShippingFee other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Charge == null && other.Charge == null) || (this.Charge?.Equals(other.Charge) == true)); } diff --git a/Square/Models/SignatureImage.cs b/Square/Models/SignatureImage.cs index 816d7c4a..3fbbd69e 100644 --- a/Square/Models/SignatureImage.cs +++ b/Square/Models/SignatureImage.cs @@ -53,19 +53,19 @@ public override string ToString() return $"SignatureImage : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SignatureImage other && ((this.ImageType == null && other.ImageType == null) || (this.ImageType?.Equals(other.ImageType) == true)) && ((this.Data == null && other.Data == null) || (this.Data?.Equals(other.Data) == true)); } diff --git a/Square/Models/SignatureOptions.cs b/Square/Models/SignatureOptions.cs index 96d76679..2f2f0e3b 100644 --- a/Square/Models/SignatureOptions.cs +++ b/Square/Models/SignatureOptions.cs @@ -61,19 +61,19 @@ public override string ToString() return $"SignatureOptions : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SignatureOptions other && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && ((this.Body == null && other.Body == null) || (this.Body?.Equals(other.Body) == true)) && ((this.Signature == null && other.Signature == null) || (this.Signature?.Equals(other.Signature) == true)); diff --git a/Square/Models/Site.cs b/Square/Models/Site.cs index 12be8ade..869dea48 100644 --- a/Square/Models/Site.cs +++ b/Square/Models/Site.cs @@ -154,19 +154,19 @@ public bool ShouldSerializeIsPublished() { return this.shouldSerialize["is_published"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Site other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.SiteTitle == null && other.SiteTitle == null) || (this.SiteTitle?.Equals(other.SiteTitle) == true)) && ((this.Domain == null && other.Domain == null) || (this.Domain?.Equals(other.Domain) == true)) && diff --git a/Square/Models/Snippet.cs b/Square/Models/Snippet.cs index 713b7256..bfeea9fc 100644 --- a/Square/Models/Snippet.cs +++ b/Square/Models/Snippet.cs @@ -79,19 +79,19 @@ public override string ToString() return $"Snippet : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Snippet other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.SiteId == null && other.SiteId == null) || (this.SiteId?.Equals(other.SiteId) == true)) && ((this.Content == null && other.Content == null) || (this.Content?.Equals(other.Content) == true)) && diff --git a/Square/Models/SnippetResponse.cs b/Square/Models/SnippetResponse.cs index 8f8996f1..2000c7ea 100644 --- a/Square/Models/SnippetResponse.cs +++ b/Square/Models/SnippetResponse.cs @@ -52,19 +52,19 @@ public override string ToString() return $"SnippetResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SnippetResponse other && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Snippet == null && other.Snippet == null) || (this.Snippet?.Equals(other.Snippet) == true)); } diff --git a/Square/Models/SourceApplication.cs b/Square/Models/SourceApplication.cs index 51624331..ddc86aad 100644 --- a/Square/Models/SourceApplication.cs +++ b/Square/Models/SourceApplication.cs @@ -108,19 +108,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SourceApplication other && ((this.Product == null && other.Product == null) || (this.Product?.Equals(other.Product) == true)) && ((this.ApplicationId == null && other.ApplicationId == null) || (this.ApplicationId?.Equals(other.ApplicationId) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); diff --git a/Square/Models/SquareAccountDetails.cs b/Square/Models/SquareAccountDetails.cs index 3912995a..8460d339 100644 --- a/Square/Models/SquareAccountDetails.cs +++ b/Square/Models/SquareAccountDetails.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeErrors() { return this.shouldSerialize["errors"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SquareAccountDetails other && ((this.PaymentSourceToken == null && other.PaymentSourceToken == null) || (this.PaymentSourceToken?.Equals(other.PaymentSourceToken) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/StandardUnitDescription.cs b/Square/Models/StandardUnitDescription.cs index de960c6f..31fb94ea 100644 --- a/Square/Models/StandardUnitDescription.cs +++ b/Square/Models/StandardUnitDescription.cs @@ -108,19 +108,19 @@ public bool ShouldSerializeAbbreviation() { return this.shouldSerialize["abbreviation"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is StandardUnitDescription other && ((this.Unit == null && other.Unit == null) || (this.Unit?.Equals(other.Unit) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Abbreviation == null && other.Abbreviation == null) || (this.Abbreviation?.Equals(other.Abbreviation) == true)); diff --git a/Square/Models/StandardUnitDescriptionGroup.cs b/Square/Models/StandardUnitDescriptionGroup.cs index 44a8c91e..4a42a820 100644 --- a/Square/Models/StandardUnitDescriptionGroup.cs +++ b/Square/Models/StandardUnitDescriptionGroup.cs @@ -95,19 +95,19 @@ public bool ShouldSerializeLanguageCode() { return this.shouldSerialize["language_code"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is StandardUnitDescriptionGroup other && ((this.StandardUnitDescriptions == null && other.StandardUnitDescriptions == null) || (this.StandardUnitDescriptions?.Equals(other.StandardUnitDescriptions) == true)) && ((this.LanguageCode == null && other.LanguageCode == null) || (this.LanguageCode?.Equals(other.LanguageCode) == true)); } diff --git a/Square/Models/SubmitEvidenceResponse.cs b/Square/Models/SubmitEvidenceResponse.cs index f94a279a..6ac69dfe 100644 --- a/Square/Models/SubmitEvidenceResponse.cs +++ b/Square/Models/SubmitEvidenceResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"SubmitEvidenceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubmitEvidenceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Dispute == null && other.Dispute == null) || (this.Dispute?.Equals(other.Dispute) == true)); diff --git a/Square/Models/Subscription.cs b/Square/Models/Subscription.cs index 7f483a87..f99f306f 100644 --- a/Square/Models/Subscription.cs +++ b/Square/Models/Subscription.cs @@ -341,19 +341,19 @@ public bool ShouldSerializeActions() { return this.shouldSerialize["actions"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Subscription other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.PlanVariationId == null && other.PlanVariationId == null) || (this.PlanVariationId?.Equals(other.PlanVariationId) == true)) && diff --git a/Square/Models/SubscriptionAction.cs b/Square/Models/SubscriptionAction.cs index 39e71ecd..87df91cf 100644 --- a/Square/Models/SubscriptionAction.cs +++ b/Square/Models/SubscriptionAction.cs @@ -169,19 +169,19 @@ public bool ShouldSerializeNewPlanVariationId() { return this.shouldSerialize["new_plan_variation_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionAction other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.EffectiveDate == null && other.EffectiveDate == null) || (this.EffectiveDate?.Equals(other.EffectiveDate) == true)) && diff --git a/Square/Models/SubscriptionEvent.cs b/Square/Models/SubscriptionEvent.cs index 7041a2d7..be34e6fc 100644 --- a/Square/Models/SubscriptionEvent.cs +++ b/Square/Models/SubscriptionEvent.cs @@ -135,19 +135,19 @@ public bool ShouldSerializePhases() { return this.shouldSerialize["phases"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionEvent other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.SubscriptionEventType == null && other.SubscriptionEventType == null) || (this.SubscriptionEventType?.Equals(other.SubscriptionEventType) == true)) && ((this.EffectiveDate == null && other.EffectiveDate == null) || (this.EffectiveDate?.Equals(other.EffectiveDate) == true)) && diff --git a/Square/Models/SubscriptionEventInfo.cs b/Square/Models/SubscriptionEventInfo.cs index e4340bd2..95f4c814 100644 --- a/Square/Models/SubscriptionEventInfo.cs +++ b/Square/Models/SubscriptionEventInfo.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeDetail() { return this.shouldSerialize["detail"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionEventInfo other && ((this.Detail == null && other.Detail == null) || (this.Detail?.Equals(other.Detail) == true)) && ((this.Code == null && other.Code == null) || (this.Code?.Equals(other.Code) == true)); } diff --git a/Square/Models/SubscriptionPhase.cs b/Square/Models/SubscriptionPhase.cs index 81b1dc7f..85c94081 100644 --- a/Square/Models/SubscriptionPhase.cs +++ b/Square/Models/SubscriptionPhase.cs @@ -159,19 +159,19 @@ public bool ShouldSerializeOrdinal() { return this.shouldSerialize["ordinal"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionPhase other && ((this.Uid == null && other.Uid == null) || (this.Uid?.Equals(other.Uid) == true)) && ((this.Cadence == null && other.Cadence == null) || (this.Cadence?.Equals(other.Cadence) == true)) && ((this.Periods == null && other.Periods == null) || (this.Periods?.Equals(other.Periods) == true)) && diff --git a/Square/Models/SubscriptionPricing.cs b/Square/Models/SubscriptionPricing.cs index 323b6336..830de31e 100644 --- a/Square/Models/SubscriptionPricing.cs +++ b/Square/Models/SubscriptionPricing.cs @@ -96,19 +96,19 @@ public bool ShouldSerializeDiscountIds() { return this.shouldSerialize["discount_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionPricing other && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.DiscountIds == null && other.DiscountIds == null) || (this.DiscountIds?.Equals(other.DiscountIds) == true)) && ((this.PriceMoney == null && other.PriceMoney == null) || (this.PriceMoney?.Equals(other.PriceMoney) == true)); diff --git a/Square/Models/SubscriptionSource.cs b/Square/Models/SubscriptionSource.cs index 3d30b258..35f342bb 100644 --- a/Square/Models/SubscriptionSource.cs +++ b/Square/Models/SubscriptionSource.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionSource other && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); } diff --git a/Square/Models/SubscriptionTestResult.cs b/Square/Models/SubscriptionTestResult.cs index 118b5a18..5314bc10 100644 --- a/Square/Models/SubscriptionTestResult.cs +++ b/Square/Models/SubscriptionTestResult.cs @@ -130,19 +130,19 @@ public bool ShouldSerializePayload() { return this.shouldSerialize["payload"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SubscriptionTestResult other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.StatusCode == null && other.StatusCode == null) || (this.StatusCode?.Equals(other.StatusCode) == true)) && ((this.Payload == null && other.Payload == null) || (this.Payload?.Equals(other.Payload) == true)) && diff --git a/Square/Models/SwapPlanRequest.cs b/Square/Models/SwapPlanRequest.cs index 75b63041..3f053435 100644 --- a/Square/Models/SwapPlanRequest.cs +++ b/Square/Models/SwapPlanRequest.cs @@ -96,19 +96,19 @@ public bool ShouldSerializePhases() { return this.shouldSerialize["phases"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SwapPlanRequest other && ((this.NewPlanVariationId == null && other.NewPlanVariationId == null) || (this.NewPlanVariationId?.Equals(other.NewPlanVariationId) == true)) && ((this.Phases == null && other.Phases == null) || (this.Phases?.Equals(other.Phases) == true)); } diff --git a/Square/Models/SwapPlanResponse.cs b/Square/Models/SwapPlanResponse.cs index 5de323b2..7a57e540 100644 --- a/Square/Models/SwapPlanResponse.cs +++ b/Square/Models/SwapPlanResponse.cs @@ -70,19 +70,19 @@ public override string ToString() return $"SwapPlanResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is SwapPlanResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)) && diff --git a/Square/Models/TaxIds.cs b/Square/Models/TaxIds.cs index c86442e0..feab02c4 100644 --- a/Square/Models/TaxIds.cs +++ b/Square/Models/TaxIds.cs @@ -86,19 +86,19 @@ public override string ToString() return $"TaxIds : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TaxIds other && ((this.EuVat == null && other.EuVat == null) || (this.EuVat?.Equals(other.EuVat) == true)) && ((this.FrSiret == null && other.FrSiret == null) || (this.FrSiret?.Equals(other.FrSiret) == true)) && ((this.FrNaf == null && other.FrNaf == null) || (this.FrNaf?.Equals(other.FrNaf) == true)) && diff --git a/Square/Models/TeamMember.cs b/Square/Models/TeamMember.cs index d1e42d30..5f8ab05d 100644 --- a/Square/Models/TeamMember.cs +++ b/Square/Models/TeamMember.cs @@ -243,19 +243,19 @@ public bool ShouldSerializePhoneNumber() { return this.shouldSerialize["phone_number"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TeamMember other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && ((this.IsOwner == null && other.IsOwner == null) || (this.IsOwner?.Equals(other.IsOwner) == true)) && diff --git a/Square/Models/TeamMemberAssignedLocations.cs b/Square/Models/TeamMemberAssignedLocations.cs index 76aea4fc..dc8b0df8 100644 --- a/Square/Models/TeamMemberAssignedLocations.cs +++ b/Square/Models/TeamMemberAssignedLocations.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeLocationIds() { return this.shouldSerialize["location_ids"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TeamMemberAssignedLocations other && ((this.AssignmentType == null && other.AssignmentType == null) || (this.AssignmentType?.Equals(other.AssignmentType) == true)) && ((this.LocationIds == null && other.LocationIds == null) || (this.LocationIds?.Equals(other.LocationIds) == true)); } diff --git a/Square/Models/TeamMemberBookingProfile.cs b/Square/Models/TeamMemberBookingProfile.cs index 1484bd18..825d1034 100644 --- a/Square/Models/TeamMemberBookingProfile.cs +++ b/Square/Models/TeamMemberBookingProfile.cs @@ -113,19 +113,19 @@ public bool ShouldSerializeIsBookable() { return this.shouldSerialize["is_bookable"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TeamMemberBookingProfile other && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && ((this.Description == null && other.Description == null) || (this.Description?.Equals(other.Description) == true)) && ((this.DisplayName == null && other.DisplayName == null) || (this.DisplayName?.Equals(other.DisplayName) == true)) && diff --git a/Square/Models/TeamMemberWage.cs b/Square/Models/TeamMemberWage.cs index 7b815ba8..e2cd0cc3 100644 --- a/Square/Models/TeamMemberWage.cs +++ b/Square/Models/TeamMemberWage.cs @@ -175,19 +175,19 @@ public bool ShouldSerializeTipEligible() { return this.shouldSerialize["tip_eligible"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TeamMemberWage other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && ((this.Title == null && other.Title == null) || (this.Title?.Equals(other.Title) == true)) && diff --git a/Square/Models/Tender.cs b/Square/Models/Tender.cs index 3ff95130..b3635e0a 100644 --- a/Square/Models/Tender.cs +++ b/Square/Models/Tender.cs @@ -340,19 +340,19 @@ public bool ShouldSerializePaymentId() { return this.shouldSerialize["payment_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Tender other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.TransactionId == null && other.TransactionId == null) || (this.TransactionId?.Equals(other.TransactionId) == true)) && diff --git a/Square/Models/TenderBankAccountDetails.cs b/Square/Models/TenderBankAccountDetails.cs index 1db985d4..953c9ceb 100644 --- a/Square/Models/TenderBankAccountDetails.cs +++ b/Square/Models/TenderBankAccountDetails.cs @@ -43,19 +43,19 @@ public override string ToString() return $"TenderBankAccountDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TenderBankAccountDetails other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); } diff --git a/Square/Models/TenderBuyNowPayLaterDetails.cs b/Square/Models/TenderBuyNowPayLaterDetails.cs index 9c47fdb4..ff90f6b2 100644 --- a/Square/Models/TenderBuyNowPayLaterDetails.cs +++ b/Square/Models/TenderBuyNowPayLaterDetails.cs @@ -52,19 +52,19 @@ public override string ToString() return $"TenderBuyNowPayLaterDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TenderBuyNowPayLaterDetails other && ((this.BuyNowPayLaterBrand == null && other.BuyNowPayLaterBrand == null) || (this.BuyNowPayLaterBrand?.Equals(other.BuyNowPayLaterBrand) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); } diff --git a/Square/Models/TenderCardDetails.cs b/Square/Models/TenderCardDetails.cs index 4ca684a9..1d297f71 100644 --- a/Square/Models/TenderCardDetails.cs +++ b/Square/Models/TenderCardDetails.cs @@ -62,19 +62,19 @@ public override string ToString() return $"TenderCardDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TenderCardDetails other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && ((this.Card == null && other.Card == null) || (this.Card?.Equals(other.Card) == true)) && ((this.EntryMethod == null && other.EntryMethod == null) || (this.EntryMethod?.Equals(other.EntryMethod) == true)); diff --git a/Square/Models/TenderCashDetails.cs b/Square/Models/TenderCashDetails.cs index dd1583e1..3177ce0d 100644 --- a/Square/Models/TenderCashDetails.cs +++ b/Square/Models/TenderCashDetails.cs @@ -62,19 +62,19 @@ public override string ToString() return $"TenderCashDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TenderCashDetails other && ((this.BuyerTenderedMoney == null && other.BuyerTenderedMoney == null) || (this.BuyerTenderedMoney?.Equals(other.BuyerTenderedMoney) == true)) && ((this.ChangeBackMoney == null && other.ChangeBackMoney == null) || (this.ChangeBackMoney?.Equals(other.ChangeBackMoney) == true)); } diff --git a/Square/Models/TenderSquareAccountDetails.cs b/Square/Models/TenderSquareAccountDetails.cs index 76513d04..73b47904 100644 --- a/Square/Models/TenderSquareAccountDetails.cs +++ b/Square/Models/TenderSquareAccountDetails.cs @@ -43,19 +43,19 @@ public override string ToString() return $"TenderSquareAccountDetails : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TenderSquareAccountDetails other && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); } diff --git a/Square/Models/TerminalAction.cs b/Square/Models/TerminalAction.cs index 6e3ae4a9..aba7ca4e 100644 --- a/Square/Models/TerminalAction.cs +++ b/Square/Models/TerminalAction.cs @@ -334,19 +334,19 @@ public bool ShouldSerializeAwaitNextActionDuration() { return this.shouldSerialize["await_next_action_duration"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalAction other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.DeadlineDuration == null && other.DeadlineDuration == null) || (this.DeadlineDuration?.Equals(other.DeadlineDuration) == true)) && diff --git a/Square/Models/TerminalActionQuery.cs b/Square/Models/TerminalActionQuery.cs index 0a27d2a9..d1567e0f 100644 --- a/Square/Models/TerminalActionQuery.cs +++ b/Square/Models/TerminalActionQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"TerminalActionQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalActionQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/TerminalActionQueryFilter.cs b/Square/Models/TerminalActionQueryFilter.cs index 7f5f5749..b0456a6a 100644 --- a/Square/Models/TerminalActionQueryFilter.cs +++ b/Square/Models/TerminalActionQueryFilter.cs @@ -123,19 +123,19 @@ public bool ShouldSerializeStatus() { return this.shouldSerialize["status"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalActionQueryFilter other && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)) && diff --git a/Square/Models/TerminalActionQuerySort.cs b/Square/Models/TerminalActionQuerySort.cs index 6187afd4..053e975d 100644 --- a/Square/Models/TerminalActionQuerySort.cs +++ b/Square/Models/TerminalActionQuerySort.cs @@ -43,19 +43,19 @@ public override string ToString() return $"TerminalActionQuerySort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalActionQuerySort other && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)); } diff --git a/Square/Models/TerminalCheckout.cs b/Square/Models/TerminalCheckout.cs index 196c6541..b9b35486 100644 --- a/Square/Models/TerminalCheckout.cs +++ b/Square/Models/TerminalCheckout.cs @@ -405,19 +405,19 @@ public bool ShouldSerializeStatementDescriptionIdentifier() { return this.shouldSerialize["statement_description_identifier"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalCheckout other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.AmountMoney == null && other.AmountMoney == null) || (this.AmountMoney?.Equals(other.AmountMoney) == true)) && ((this.ReferenceId == null && other.ReferenceId == null) || (this.ReferenceId?.Equals(other.ReferenceId) == true)) && diff --git a/Square/Models/TerminalCheckoutQuery.cs b/Square/Models/TerminalCheckoutQuery.cs index 1e867565..a1f78163 100644 --- a/Square/Models/TerminalCheckoutQuery.cs +++ b/Square/Models/TerminalCheckoutQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"TerminalCheckoutQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalCheckoutQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/TerminalCheckoutQueryFilter.cs b/Square/Models/TerminalCheckoutQueryFilter.cs index c41b8e5a..086de34d 100644 --- a/Square/Models/TerminalCheckoutQueryFilter.cs +++ b/Square/Models/TerminalCheckoutQueryFilter.cs @@ -112,19 +112,19 @@ public bool ShouldSerializeStatus() { return this.shouldSerialize["status"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalCheckoutQueryFilter other && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); diff --git a/Square/Models/TerminalCheckoutQuerySort.cs b/Square/Models/TerminalCheckoutQuerySort.cs index f731faa2..cb2e06cc 100644 --- a/Square/Models/TerminalCheckoutQuerySort.cs +++ b/Square/Models/TerminalCheckoutQuerySort.cs @@ -43,19 +43,19 @@ public override string ToString() return $"TerminalCheckoutQuerySort : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalCheckoutQuerySort other && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)); } diff --git a/Square/Models/TerminalRefund.cs b/Square/Models/TerminalRefund.cs index 3c7d7e1c..029a182b 100644 --- a/Square/Models/TerminalRefund.cs +++ b/Square/Models/TerminalRefund.cs @@ -223,19 +223,19 @@ public bool ShouldSerializeDeadlineDuration() { return this.shouldSerialize["deadline_duration"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalRefund other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.RefundId == null && other.RefundId == null) || (this.RefundId?.Equals(other.RefundId) == true)) && ((this.PaymentId == null && other.PaymentId == null) || (this.PaymentId?.Equals(other.PaymentId) == true)) && diff --git a/Square/Models/TerminalRefundQuery.cs b/Square/Models/TerminalRefundQuery.cs index f90c669f..71cfb23d 100644 --- a/Square/Models/TerminalRefundQuery.cs +++ b/Square/Models/TerminalRefundQuery.cs @@ -52,19 +52,19 @@ public override string ToString() return $"TerminalRefundQuery : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalRefundQuery other && ((this.Filter == null && other.Filter == null) || (this.Filter?.Equals(other.Filter) == true)) && ((this.Sort == null && other.Sort == null) || (this.Sort?.Equals(other.Sort) == true)); } diff --git a/Square/Models/TerminalRefundQueryFilter.cs b/Square/Models/TerminalRefundQueryFilter.cs index 2e7cb077..b4007322 100644 --- a/Square/Models/TerminalRefundQueryFilter.cs +++ b/Square/Models/TerminalRefundQueryFilter.cs @@ -112,19 +112,19 @@ public bool ShouldSerializeStatus() { return this.shouldSerialize["status"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalRefundQueryFilter other && ((this.DeviceId == null && other.DeviceId == null) || (this.DeviceId?.Equals(other.DeviceId) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.Status == null && other.Status == null) || (this.Status?.Equals(other.Status) == true)); diff --git a/Square/Models/TerminalRefundQuerySort.cs b/Square/Models/TerminalRefundQuerySort.cs index 6ea7a710..551e7cd2 100644 --- a/Square/Models/TerminalRefundQuerySort.cs +++ b/Square/Models/TerminalRefundQuerySort.cs @@ -71,19 +71,19 @@ public bool ShouldSerializeSortOrder() { return this.shouldSerialize["sort_order"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TerminalRefundQuerySort other && ((this.SortOrder == null && other.SortOrder == null) || (this.SortOrder?.Equals(other.SortOrder) == true)); } diff --git a/Square/Models/TestWebhookSubscriptionRequest.cs b/Square/Models/TestWebhookSubscriptionRequest.cs index 275570e3..79e19ac9 100644 --- a/Square/Models/TestWebhookSubscriptionRequest.cs +++ b/Square/Models/TestWebhookSubscriptionRequest.cs @@ -70,19 +70,19 @@ public bool ShouldSerializeEventType() { return this.shouldSerialize["event_type"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TestWebhookSubscriptionRequest other && ((this.EventType == null && other.EventType == null) || (this.EventType?.Equals(other.EventType) == true)); } diff --git a/Square/Models/TestWebhookSubscriptionResponse.cs b/Square/Models/TestWebhookSubscriptionResponse.cs index bbd28788..54271198 100644 --- a/Square/Models/TestWebhookSubscriptionResponse.cs +++ b/Square/Models/TestWebhookSubscriptionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"TestWebhookSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TestWebhookSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.SubscriptionTestResult == null && other.SubscriptionTestResult == null) || (this.SubscriptionTestResult?.Equals(other.SubscriptionTestResult) == true)); diff --git a/Square/Models/TimeRange.cs b/Square/Models/TimeRange.cs index 06bafc9e..afbdc333 100644 --- a/Square/Models/TimeRange.cs +++ b/Square/Models/TimeRange.cs @@ -97,19 +97,19 @@ public bool ShouldSerializeEndAt() { return this.shouldSerialize["end_at"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TimeRange other && ((this.StartAt == null && other.StartAt == null) || (this.StartAt?.Equals(other.StartAt) == true)) && ((this.EndAt == null && other.EndAt == null) || (this.EndAt?.Equals(other.EndAt) == true)); } diff --git a/Square/Models/TipSettings.cs b/Square/Models/TipSettings.cs index 3e3abdf0..0b9bcc9d 100644 --- a/Square/Models/TipSettings.cs +++ b/Square/Models/TipSettings.cs @@ -181,19 +181,19 @@ public bool ShouldSerializeSmartTipping() { return this.shouldSerialize["smart_tipping"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is TipSettings other && ((this.AllowTipping == null && other.AllowTipping == null) || (this.AllowTipping?.Equals(other.AllowTipping) == true)) && ((this.SeparateTipScreen == null && other.SeparateTipScreen == null) || (this.SeparateTipScreen?.Equals(other.SeparateTipScreen) == true)) && ((this.CustomTipField == null && other.CustomTipField == null) || (this.CustomTipField?.Equals(other.CustomTipField) == true)) && diff --git a/Square/Models/Transaction.cs b/Square/Models/Transaction.cs index 5afb3635..b989498a 100644 --- a/Square/Models/Transaction.cs +++ b/Square/Models/Transaction.cs @@ -253,19 +253,19 @@ public bool ShouldSerializeOrderId() { return this.shouldSerialize["order_id"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Transaction other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.LocationId == null && other.LocationId == null) || (this.LocationId?.Equals(other.LocationId) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && diff --git a/Square/Models/UnlinkCustomerFromGiftCardRequest.cs b/Square/Models/UnlinkCustomerFromGiftCardRequest.cs index c77daca9..80661363 100644 --- a/Square/Models/UnlinkCustomerFromGiftCardRequest.cs +++ b/Square/Models/UnlinkCustomerFromGiftCardRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UnlinkCustomerFromGiftCardRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UnlinkCustomerFromGiftCardRequest other && ((this.CustomerId == null && other.CustomerId == null) || (this.CustomerId?.Equals(other.CustomerId) == true)); } diff --git a/Square/Models/UnlinkCustomerFromGiftCardResponse.cs b/Square/Models/UnlinkCustomerFromGiftCardResponse.cs index dea9b138..ba4fd193 100644 --- a/Square/Models/UnlinkCustomerFromGiftCardResponse.cs +++ b/Square/Models/UnlinkCustomerFromGiftCardResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UnlinkCustomerFromGiftCardResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UnlinkCustomerFromGiftCardResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.GiftCard == null && other.GiftCard == null) || (this.GiftCard?.Equals(other.GiftCard) == true)); diff --git a/Square/Models/UpdateBookingCustomAttributeDefinitionRequest.cs b/Square/Models/UpdateBookingCustomAttributeDefinitionRequest.cs index 3ab7cd44..fc4c7b9a 100644 --- a/Square/Models/UpdateBookingCustomAttributeDefinitionRequest.cs +++ b/Square/Models/UpdateBookingCustomAttributeDefinitionRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBookingCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateBookingCustomAttributeDefinitionResponse.cs b/Square/Models/UpdateBookingCustomAttributeDefinitionResponse.cs index 93dcc676..20cb9d8c 100644 --- a/Square/Models/UpdateBookingCustomAttributeDefinitionResponse.cs +++ b/Square/Models/UpdateBookingCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateBookingCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBookingCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateBookingRequest.cs b/Square/Models/UpdateBookingRequest.cs index 680eef06..1e2540b1 100644 --- a/Square/Models/UpdateBookingRequest.cs +++ b/Square/Models/UpdateBookingRequest.cs @@ -81,19 +81,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBookingRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)); } diff --git a/Square/Models/UpdateBookingResponse.cs b/Square/Models/UpdateBookingResponse.cs index bbf6a5b1..2e88b3e2 100644 --- a/Square/Models/UpdateBookingResponse.cs +++ b/Square/Models/UpdateBookingResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateBookingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBookingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Booking == null && other.Booking == null) || (this.Booking?.Equals(other.Booking) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateBreakTypeRequest.cs b/Square/Models/UpdateBreakTypeRequest.cs index 4138e594..6e1dee9b 100644 --- a/Square/Models/UpdateBreakTypeRequest.cs +++ b/Square/Models/UpdateBreakTypeRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"UpdateBreakTypeRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBreakTypeRequest other && ((this.BreakType == null && other.BreakType == null) || (this.BreakType?.Equals(other.BreakType) == true)); } diff --git a/Square/Models/UpdateBreakTypeResponse.cs b/Square/Models/UpdateBreakTypeResponse.cs index 0f176bd6..22abcbf7 100644 --- a/Square/Models/UpdateBreakTypeResponse.cs +++ b/Square/Models/UpdateBreakTypeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateBreakTypeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateBreakTypeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.BreakType == null && other.BreakType == null) || (this.BreakType?.Equals(other.BreakType) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateCatalogImageRequest.cs b/Square/Models/UpdateCatalogImageRequest.cs index 27ff35ab..5990cbbe 100644 --- a/Square/Models/UpdateCatalogImageRequest.cs +++ b/Square/Models/UpdateCatalogImageRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"UpdateCatalogImageRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCatalogImageRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateCatalogImageResponse.cs b/Square/Models/UpdateCatalogImageResponse.cs index a05987e4..74d71714 100644 --- a/Square/Models/UpdateCatalogImageResponse.cs +++ b/Square/Models/UpdateCatalogImageResponse.cs @@ -66,19 +66,19 @@ public override string ToString() return $"UpdateCatalogImageResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCatalogImageResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Image == null && other.Image == null) || (this.Image?.Equals(other.Image) == true)); diff --git a/Square/Models/UpdateCustomerCustomAttributeDefinitionRequest.cs b/Square/Models/UpdateCustomerCustomAttributeDefinitionRequest.cs index 4e4cfac3..6aaa03f9 100644 --- a/Square/Models/UpdateCustomerCustomAttributeDefinitionRequest.cs +++ b/Square/Models/UpdateCustomerCustomAttributeDefinitionRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateCustomerCustomAttributeDefinitionResponse.cs b/Square/Models/UpdateCustomerCustomAttributeDefinitionResponse.cs index ff822280..2199b6ab 100644 --- a/Square/Models/UpdateCustomerCustomAttributeDefinitionResponse.cs +++ b/Square/Models/UpdateCustomerCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateCustomerCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateCustomerGroupRequest.cs b/Square/Models/UpdateCustomerGroupRequest.cs index 200a7e53..dd99d4af 100644 --- a/Square/Models/UpdateCustomerGroupRequest.cs +++ b/Square/Models/UpdateCustomerGroupRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"UpdateCustomerGroupRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerGroupRequest other && ((this.MGroup == null && other.MGroup == null) || (this.MGroup?.Equals(other.MGroup) == true)); } diff --git a/Square/Models/UpdateCustomerGroupResponse.cs b/Square/Models/UpdateCustomerGroupResponse.cs index 54e1eaf2..1176971d 100644 --- a/Square/Models/UpdateCustomerGroupResponse.cs +++ b/Square/Models/UpdateCustomerGroupResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"UpdateCustomerGroupResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerGroupResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MGroup == null && other.MGroup == null) || (this.MGroup?.Equals(other.MGroup) == true)); diff --git a/Square/Models/UpdateCustomerRequest.cs b/Square/Models/UpdateCustomerRequest.cs index 09d81750..d8981c03 100644 --- a/Square/Models/UpdateCustomerRequest.cs +++ b/Square/Models/UpdateCustomerRequest.cs @@ -324,19 +324,19 @@ public bool ShouldSerializeBirthday() { return this.shouldSerialize["birthday"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerRequest other && ((this.GivenName == null && other.GivenName == null) || (this.GivenName?.Equals(other.GivenName) == true)) && ((this.FamilyName == null && other.FamilyName == null) || (this.FamilyName?.Equals(other.FamilyName) == true)) && ((this.CompanyName == null && other.CompanyName == null) || (this.CompanyName?.Equals(other.CompanyName) == true)) && diff --git a/Square/Models/UpdateCustomerResponse.cs b/Square/Models/UpdateCustomerResponse.cs index ae05dda7..3c372717 100644 --- a/Square/Models/UpdateCustomerResponse.cs +++ b/Square/Models/UpdateCustomerResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateCustomerResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateCustomerResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Customer == null && other.Customer == null) || (this.Customer?.Equals(other.Customer) == true)); diff --git a/Square/Models/UpdateInvoiceRequest.cs b/Square/Models/UpdateInvoiceRequest.cs index a1415699..29f7c8f3 100644 --- a/Square/Models/UpdateInvoiceRequest.cs +++ b/Square/Models/UpdateInvoiceRequest.cs @@ -78,8 +78,9 @@ internal UpdateInvoiceRequest(Dictionary shouldSerialize, public string IdempotencyKey { get; } /// - /// The list of fields to clear. - /// For examples, see [Update an Invoice](https://developer.squareup.com/docs/invoices-api/update-invoices). + /// The list of fields to clear. Although this field is currently supported, we + /// recommend using null values or the `remove` field when possible. For examples, see + /// [Update an Invoice](https://developer.squareup.com/docs/invoices-api/update-invoices). /// [JsonProperty("fields_to_clear")] public IList FieldsToClear { get; } @@ -111,19 +112,19 @@ public bool ShouldSerializeFieldsToClear() { return this.shouldSerialize["fields_to_clear"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateInvoiceRequest other && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.FieldsToClear == null && other.FieldsToClear == null) || (this.FieldsToClear?.Equals(other.FieldsToClear) == true)); diff --git a/Square/Models/UpdateInvoiceResponse.cs b/Square/Models/UpdateInvoiceResponse.cs index 25240bbf..a6e59546 100644 --- a/Square/Models/UpdateInvoiceResponse.cs +++ b/Square/Models/UpdateInvoiceResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateInvoiceResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateInvoiceResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Invoice == null && other.Invoice == null) || (this.Invoice?.Equals(other.Invoice) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateItemModifierListsRequest.cs b/Square/Models/UpdateItemModifierListsRequest.cs index 4026fbd8..25c4836f 100644 --- a/Square/Models/UpdateItemModifierListsRequest.cs +++ b/Square/Models/UpdateItemModifierListsRequest.cs @@ -108,19 +108,19 @@ public bool ShouldSerializeModifierListsToDisable() { return this.shouldSerialize["modifier_lists_to_disable"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateItemModifierListsRequest other && ((this.ItemIds == null && other.ItemIds == null) || (this.ItemIds?.Equals(other.ItemIds) == true)) && ((this.ModifierListsToEnable == null && other.ModifierListsToEnable == null) || (this.ModifierListsToEnable?.Equals(other.ModifierListsToEnable) == true)) && ((this.ModifierListsToDisable == null && other.ModifierListsToDisable == null) || (this.ModifierListsToDisable?.Equals(other.ModifierListsToDisable) == true)); diff --git a/Square/Models/UpdateItemModifierListsResponse.cs b/Square/Models/UpdateItemModifierListsResponse.cs index 733e91d1..099e2e80 100644 --- a/Square/Models/UpdateItemModifierListsResponse.cs +++ b/Square/Models/UpdateItemModifierListsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateItemModifierListsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateItemModifierListsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)); diff --git a/Square/Models/UpdateItemTaxesRequest.cs b/Square/Models/UpdateItemTaxesRequest.cs index 6851d50b..aa303aee 100644 --- a/Square/Models/UpdateItemTaxesRequest.cs +++ b/Square/Models/UpdateItemTaxesRequest.cs @@ -109,19 +109,19 @@ public bool ShouldSerializeTaxesToDisable() { return this.shouldSerialize["taxes_to_disable"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateItemTaxesRequest other && ((this.ItemIds == null && other.ItemIds == null) || (this.ItemIds?.Equals(other.ItemIds) == true)) && ((this.TaxesToEnable == null && other.TaxesToEnable == null) || (this.TaxesToEnable?.Equals(other.TaxesToEnable) == true)) && ((this.TaxesToDisable == null && other.TaxesToDisable == null) || (this.TaxesToDisable?.Equals(other.TaxesToDisable) == true)); diff --git a/Square/Models/UpdateItemTaxesResponse.cs b/Square/Models/UpdateItemTaxesResponse.cs index dcbf9013..d9b959ba 100644 --- a/Square/Models/UpdateItemTaxesResponse.cs +++ b/Square/Models/UpdateItemTaxesResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateItemTaxesResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateItemTaxesResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)); diff --git a/Square/Models/UpdateLocationCustomAttributeDefinitionRequest.cs b/Square/Models/UpdateLocationCustomAttributeDefinitionRequest.cs index e44c57e5..cb7f5e33 100644 --- a/Square/Models/UpdateLocationCustomAttributeDefinitionRequest.cs +++ b/Square/Models/UpdateLocationCustomAttributeDefinitionRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateLocationCustomAttributeDefinitionResponse.cs b/Square/Models/UpdateLocationCustomAttributeDefinitionResponse.cs index cf4cbb72..e9d45943 100644 --- a/Square/Models/UpdateLocationCustomAttributeDefinitionResponse.cs +++ b/Square/Models/UpdateLocationCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateLocationCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateLocationRequest.cs b/Square/Models/UpdateLocationRequest.cs index 32acf0b1..e50094b8 100644 --- a/Square/Models/UpdateLocationRequest.cs +++ b/Square/Models/UpdateLocationRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdateLocationRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationRequest other && ((this.Location == null && other.Location == null) || (this.Location?.Equals(other.Location) == true)); } diff --git a/Square/Models/UpdateLocationResponse.cs b/Square/Models/UpdateLocationResponse.cs index ab8ace52..9a5f4438 100644 --- a/Square/Models/UpdateLocationResponse.cs +++ b/Square/Models/UpdateLocationResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateLocationResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Location == null && other.Location == null) || (this.Location?.Equals(other.Location) == true)); diff --git a/Square/Models/UpdateLocationSettingsRequest.cs b/Square/Models/UpdateLocationSettingsRequest.cs index e8102b79..06bd9b80 100644 --- a/Square/Models/UpdateLocationSettingsRequest.cs +++ b/Square/Models/UpdateLocationSettingsRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdateLocationSettingsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationSettingsRequest other && ((this.LocationSettings == null && other.LocationSettings == null) || (this.LocationSettings?.Equals(other.LocationSettings) == true)); } diff --git a/Square/Models/UpdateLocationSettingsResponse.cs b/Square/Models/UpdateLocationSettingsResponse.cs index f9c67c61..c83e00af 100644 --- a/Square/Models/UpdateLocationSettingsResponse.cs +++ b/Square/Models/UpdateLocationSettingsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateLocationSettingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateLocationSettingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.LocationSettings == null && other.LocationSettings == null) || (this.LocationSettings?.Equals(other.LocationSettings) == true)); diff --git a/Square/Models/UpdateMerchantCustomAttributeDefinitionRequest.cs b/Square/Models/UpdateMerchantCustomAttributeDefinitionRequest.cs index a5169f27..887b734b 100644 --- a/Square/Models/UpdateMerchantCustomAttributeDefinitionRequest.cs +++ b/Square/Models/UpdateMerchantCustomAttributeDefinitionRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateMerchantCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateMerchantCustomAttributeDefinitionResponse.cs b/Square/Models/UpdateMerchantCustomAttributeDefinitionResponse.cs index 861b26db..61ba48cc 100644 --- a/Square/Models/UpdateMerchantCustomAttributeDefinitionResponse.cs +++ b/Square/Models/UpdateMerchantCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateMerchantCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateMerchantCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateMerchantSettingsRequest.cs b/Square/Models/UpdateMerchantSettingsRequest.cs index c6c6a1f6..0f0421c9 100644 --- a/Square/Models/UpdateMerchantSettingsRequest.cs +++ b/Square/Models/UpdateMerchantSettingsRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdateMerchantSettingsRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateMerchantSettingsRequest other && ((this.MerchantSettings == null && other.MerchantSettings == null) || (this.MerchantSettings?.Equals(other.MerchantSettings) == true)); } diff --git a/Square/Models/UpdateMerchantSettingsResponse.cs b/Square/Models/UpdateMerchantSettingsResponse.cs index 203d9ca9..665b2718 100644 --- a/Square/Models/UpdateMerchantSettingsResponse.cs +++ b/Square/Models/UpdateMerchantSettingsResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateMerchantSettingsResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateMerchantSettingsResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.MerchantSettings == null && other.MerchantSettings == null) || (this.MerchantSettings?.Equals(other.MerchantSettings) == true)); diff --git a/Square/Models/UpdateOrderCustomAttributeDefinitionRequest.cs b/Square/Models/UpdateOrderCustomAttributeDefinitionRequest.cs index 320ab704..21dd4747 100644 --- a/Square/Models/UpdateOrderCustomAttributeDefinitionRequest.cs +++ b/Square/Models/UpdateOrderCustomAttributeDefinitionRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateOrderCustomAttributeDefinitionRequest other && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateOrderCustomAttributeDefinitionResponse.cs b/Square/Models/UpdateOrderCustomAttributeDefinitionResponse.cs index 36269c06..93432a91 100644 --- a/Square/Models/UpdateOrderCustomAttributeDefinitionResponse.cs +++ b/Square/Models/UpdateOrderCustomAttributeDefinitionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateOrderCustomAttributeDefinitionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateOrderCustomAttributeDefinitionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttributeDefinition == null && other.CustomAttributeDefinition == null) || (this.CustomAttributeDefinition?.Equals(other.CustomAttributeDefinition) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateOrderRequest.cs b/Square/Models/UpdateOrderRequest.cs index 489d4c8e..115fbe88 100644 --- a/Square/Models/UpdateOrderRequest.cs +++ b/Square/Models/UpdateOrderRequest.cs @@ -117,19 +117,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateOrderRequest other && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.FieldsToClear == null && other.FieldsToClear == null) || (this.FieldsToClear?.Equals(other.FieldsToClear) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); diff --git a/Square/Models/UpdateOrderResponse.cs b/Square/Models/UpdateOrderResponse.cs index bc8db6c7..2047bcb7 100644 --- a/Square/Models/UpdateOrderResponse.cs +++ b/Square/Models/UpdateOrderResponse.cs @@ -63,19 +63,19 @@ public override string ToString() return $"UpdateOrderResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateOrderResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdatePaymentLinkRequest.cs b/Square/Models/UpdatePaymentLinkRequest.cs index 95a27663..8ac749b1 100644 --- a/Square/Models/UpdatePaymentLinkRequest.cs +++ b/Square/Models/UpdatePaymentLinkRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdatePaymentLinkRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdatePaymentLinkRequest other && ((this.PaymentLink == null && other.PaymentLink == null) || (this.PaymentLink?.Equals(other.PaymentLink) == true)); } diff --git a/Square/Models/UpdatePaymentLinkResponse.cs b/Square/Models/UpdatePaymentLinkResponse.cs index 9d170ced..be6a2319 100644 --- a/Square/Models/UpdatePaymentLinkResponse.cs +++ b/Square/Models/UpdatePaymentLinkResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdatePaymentLinkResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdatePaymentLinkResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.PaymentLink == null && other.PaymentLink == null) || (this.PaymentLink?.Equals(other.PaymentLink) == true)); diff --git a/Square/Models/UpdatePaymentRequest.cs b/Square/Models/UpdatePaymentRequest.cs index 83e8b00f..12ed53aa 100644 --- a/Square/Models/UpdatePaymentRequest.cs +++ b/Square/Models/UpdatePaymentRequest.cs @@ -54,19 +54,19 @@ public override string ToString() return $"UpdatePaymentRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdatePaymentRequest other && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdatePaymentResponse.cs b/Square/Models/UpdatePaymentResponse.cs index bb5cbe39..b7a4af42 100644 --- a/Square/Models/UpdatePaymentResponse.cs +++ b/Square/Models/UpdatePaymentResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdatePaymentResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdatePaymentResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Payment == null && other.Payment == null) || (this.Payment?.Equals(other.Payment) == true)); diff --git a/Square/Models/UpdateShiftRequest.cs b/Square/Models/UpdateShiftRequest.cs index 8b55a335..5f25aca6 100644 --- a/Square/Models/UpdateShiftRequest.cs +++ b/Square/Models/UpdateShiftRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"UpdateShiftRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateShiftRequest other && ((this.Shift == null && other.Shift == null) || (this.Shift?.Equals(other.Shift) == true)); } diff --git a/Square/Models/UpdateShiftResponse.cs b/Square/Models/UpdateShiftResponse.cs index db232bff..fb02c2ed 100644 --- a/Square/Models/UpdateShiftResponse.cs +++ b/Square/Models/UpdateShiftResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"UpdateShiftResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateShiftResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Shift == null && other.Shift == null) || (this.Shift?.Equals(other.Shift) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateSubscriptionRequest.cs b/Square/Models/UpdateSubscriptionRequest.cs index ec54cb4d..0c35c604 100644 --- a/Square/Models/UpdateSubscriptionRequest.cs +++ b/Square/Models/UpdateSubscriptionRequest.cs @@ -45,19 +45,19 @@ public override string ToString() return $"UpdateSubscriptionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateSubscriptionRequest other && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); } diff --git a/Square/Models/UpdateSubscriptionResponse.cs b/Square/Models/UpdateSubscriptionResponse.cs index 4e9d1fa0..808c628b 100644 --- a/Square/Models/UpdateSubscriptionResponse.cs +++ b/Square/Models/UpdateSubscriptionResponse.cs @@ -61,19 +61,19 @@ public override string ToString() return $"UpdateSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/UpdateTeamMemberRequest.cs b/Square/Models/UpdateTeamMemberRequest.cs index 9f31827c..ff9a5cd2 100644 --- a/Square/Models/UpdateTeamMemberRequest.cs +++ b/Square/Models/UpdateTeamMemberRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdateTeamMemberRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateTeamMemberRequest other && ((this.TeamMember == null && other.TeamMember == null) || (this.TeamMember?.Equals(other.TeamMember) == true)); } diff --git a/Square/Models/UpdateTeamMemberResponse.cs b/Square/Models/UpdateTeamMemberResponse.cs index c0b28870..9d70bd6e 100644 --- a/Square/Models/UpdateTeamMemberResponse.cs +++ b/Square/Models/UpdateTeamMemberResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateTeamMemberResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateTeamMemberResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.TeamMember == null && other.TeamMember == null) || (this.TeamMember?.Equals(other.TeamMember) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateVendorRequest.cs b/Square/Models/UpdateVendorRequest.cs index ddcab8bd..7f70198c 100644 --- a/Square/Models/UpdateVendorRequest.cs +++ b/Square/Models/UpdateVendorRequest.cs @@ -84,19 +84,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateVendorRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.Vendor == null && other.Vendor == null) || (this.Vendor?.Equals(other.Vendor) == true)); } diff --git a/Square/Models/UpdateVendorResponse.cs b/Square/Models/UpdateVendorResponse.cs index 13cdea53..639653a6 100644 --- a/Square/Models/UpdateVendorResponse.cs +++ b/Square/Models/UpdateVendorResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateVendorResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateVendorResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Vendor == null && other.Vendor == null) || (this.Vendor?.Equals(other.Vendor) == true)); diff --git a/Square/Models/UpdateWageSettingRequest.cs b/Square/Models/UpdateWageSettingRequest.cs index 775c7fcd..055824f6 100644 --- a/Square/Models/UpdateWageSettingRequest.cs +++ b/Square/Models/UpdateWageSettingRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpdateWageSettingRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWageSettingRequest other && ((this.WageSetting == null && other.WageSetting == null) || (this.WageSetting?.Equals(other.WageSetting) == true)); } diff --git a/Square/Models/UpdateWageSettingResponse.cs b/Square/Models/UpdateWageSettingResponse.cs index 8600e8f0..a8d1e10b 100644 --- a/Square/Models/UpdateWageSettingResponse.cs +++ b/Square/Models/UpdateWageSettingResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateWageSettingResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWageSettingResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.WageSetting == null && other.WageSetting == null) || (this.WageSetting?.Equals(other.WageSetting) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpdateWebhookSubscriptionRequest.cs b/Square/Models/UpdateWebhookSubscriptionRequest.cs index 81a6dbaf..9f9cdb14 100644 --- a/Square/Models/UpdateWebhookSubscriptionRequest.cs +++ b/Square/Models/UpdateWebhookSubscriptionRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"UpdateWebhookSubscriptionRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWebhookSubscriptionRequest other && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); } diff --git a/Square/Models/UpdateWebhookSubscriptionResponse.cs b/Square/Models/UpdateWebhookSubscriptionResponse.cs index f03f3ad0..21a4d140 100644 --- a/Square/Models/UpdateWebhookSubscriptionResponse.cs +++ b/Square/Models/UpdateWebhookSubscriptionResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateWebhookSubscriptionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWebhookSubscriptionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Subscription == null && other.Subscription == null) || (this.Subscription?.Equals(other.Subscription) == true)); diff --git a/Square/Models/UpdateWebhookSubscriptionSignatureKeyRequest.cs b/Square/Models/UpdateWebhookSubscriptionSignatureKeyRequest.cs index 5e41fdc6..dc57746d 100644 --- a/Square/Models/UpdateWebhookSubscriptionSignatureKeyRequest.cs +++ b/Square/Models/UpdateWebhookSubscriptionSignatureKeyRequest.cs @@ -69,19 +69,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWebhookSubscriptionSignatureKeyRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpdateWebhookSubscriptionSignatureKeyResponse.cs b/Square/Models/UpdateWebhookSubscriptionSignatureKeyResponse.cs index 48a5cb6f..12ac0112 100644 --- a/Square/Models/UpdateWebhookSubscriptionSignatureKeyResponse.cs +++ b/Square/Models/UpdateWebhookSubscriptionSignatureKeyResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpdateWebhookSubscriptionSignatureKeyResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWebhookSubscriptionSignatureKeyResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.SignatureKey == null && other.SignatureKey == null) || (this.SignatureKey?.Equals(other.SignatureKey) == true)); diff --git a/Square/Models/UpdateWorkweekConfigRequest.cs b/Square/Models/UpdateWorkweekConfigRequest.cs index 4959754f..618dd08e 100644 --- a/Square/Models/UpdateWorkweekConfigRequest.cs +++ b/Square/Models/UpdateWorkweekConfigRequest.cs @@ -44,19 +44,19 @@ public override string ToString() return $"UpdateWorkweekConfigRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWorkweekConfigRequest other && ((this.WorkweekConfig == null && other.WorkweekConfig == null) || (this.WorkweekConfig?.Equals(other.WorkweekConfig) == true)); } diff --git a/Square/Models/UpdateWorkweekConfigResponse.cs b/Square/Models/UpdateWorkweekConfigResponse.cs index 831b5bf1..b87ba929 100644 --- a/Square/Models/UpdateWorkweekConfigResponse.cs +++ b/Square/Models/UpdateWorkweekConfigResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpdateWorkweekConfigResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpdateWorkweekConfigResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.WorkweekConfig == null && other.WorkweekConfig == null) || (this.WorkweekConfig?.Equals(other.WorkweekConfig) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertBookingCustomAttributeRequest.cs b/Square/Models/UpsertBookingCustomAttributeRequest.cs index 090ad1ee..b19d4669 100644 --- a/Square/Models/UpsertBookingCustomAttributeRequest.cs +++ b/Square/Models/UpsertBookingCustomAttributeRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertBookingCustomAttributeRequest other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpsertBookingCustomAttributeResponse.cs b/Square/Models/UpsertBookingCustomAttributeResponse.cs index 36f11ba0..99daf92d 100644 --- a/Square/Models/UpsertBookingCustomAttributeResponse.cs +++ b/Square/Models/UpsertBookingCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpsertBookingCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertBookingCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertCatalogObjectRequest.cs b/Square/Models/UpsertCatalogObjectRequest.cs index b051083c..534d045d 100644 --- a/Square/Models/UpsertCatalogObjectRequest.cs +++ b/Square/Models/UpsertCatalogObjectRequest.cs @@ -66,19 +66,19 @@ public override string ToString() return $"UpsertCatalogObjectRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertCatalogObjectRequest other && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)) && ((this.MObject == null && other.MObject == null) || (this.MObject?.Equals(other.MObject) == true)); } diff --git a/Square/Models/UpsertCatalogObjectResponse.cs b/Square/Models/UpsertCatalogObjectResponse.cs index b0213a5d..4320c267 100644 --- a/Square/Models/UpsertCatalogObjectResponse.cs +++ b/Square/Models/UpsertCatalogObjectResponse.cs @@ -75,19 +75,19 @@ public override string ToString() return $"UpsertCatalogObjectResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertCatalogObjectResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.CatalogObject == null && other.CatalogObject == null) || (this.CatalogObject?.Equals(other.CatalogObject) == true)) && diff --git a/Square/Models/UpsertCustomerCustomAttributeRequest.cs b/Square/Models/UpsertCustomerCustomAttributeRequest.cs index 7fd78f74..869e5d96 100644 --- a/Square/Models/UpsertCustomerCustomAttributeRequest.cs +++ b/Square/Models/UpsertCustomerCustomAttributeRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertCustomerCustomAttributeRequest other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpsertCustomerCustomAttributeResponse.cs b/Square/Models/UpsertCustomerCustomAttributeResponse.cs index 8ffc22a2..bee61027 100644 --- a/Square/Models/UpsertCustomerCustomAttributeResponse.cs +++ b/Square/Models/UpsertCustomerCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpsertCustomerCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertCustomerCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertLocationCustomAttributeRequest.cs b/Square/Models/UpsertLocationCustomAttributeRequest.cs index 8fd4421d..b7d1b506 100644 --- a/Square/Models/UpsertLocationCustomAttributeRequest.cs +++ b/Square/Models/UpsertLocationCustomAttributeRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertLocationCustomAttributeRequest other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpsertLocationCustomAttributeResponse.cs b/Square/Models/UpsertLocationCustomAttributeResponse.cs index f5cf5e42..e58ffa5a 100644 --- a/Square/Models/UpsertLocationCustomAttributeResponse.cs +++ b/Square/Models/UpsertLocationCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpsertLocationCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertLocationCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertMerchantCustomAttributeRequest.cs b/Square/Models/UpsertMerchantCustomAttributeRequest.cs index 533031f4..6692fe1c 100644 --- a/Square/Models/UpsertMerchantCustomAttributeRequest.cs +++ b/Square/Models/UpsertMerchantCustomAttributeRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertMerchantCustomAttributeRequest other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpsertMerchantCustomAttributeResponse.cs b/Square/Models/UpsertMerchantCustomAttributeResponse.cs index 948bc0ce..f2318a9f 100644 --- a/Square/Models/UpsertMerchantCustomAttributeResponse.cs +++ b/Square/Models/UpsertMerchantCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpsertMerchantCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertMerchantCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertOrderCustomAttributeRequest.cs b/Square/Models/UpsertOrderCustomAttributeRequest.cs index 9bdb2ebb..f385fc6c 100644 --- a/Square/Models/UpsertOrderCustomAttributeRequest.cs +++ b/Square/Models/UpsertOrderCustomAttributeRequest.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeIdempotencyKey() { return this.shouldSerialize["idempotency_key"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertOrderCustomAttributeRequest other && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.IdempotencyKey == null && other.IdempotencyKey == null) || (this.IdempotencyKey?.Equals(other.IdempotencyKey) == true)); } diff --git a/Square/Models/UpsertOrderCustomAttributeResponse.cs b/Square/Models/UpsertOrderCustomAttributeResponse.cs index fb4d093c..8712a437 100644 --- a/Square/Models/UpsertOrderCustomAttributeResponse.cs +++ b/Square/Models/UpsertOrderCustomAttributeResponse.cs @@ -60,19 +60,19 @@ public override string ToString() return $"UpsertOrderCustomAttributeResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertOrderCustomAttributeResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.CustomAttribute == null && other.CustomAttribute == null) || (this.CustomAttribute?.Equals(other.CustomAttribute) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); diff --git a/Square/Models/UpsertSnippetRequest.cs b/Square/Models/UpsertSnippetRequest.cs index 95e07858..a6ca3468 100644 --- a/Square/Models/UpsertSnippetRequest.cs +++ b/Square/Models/UpsertSnippetRequest.cs @@ -43,19 +43,19 @@ public override string ToString() return $"UpsertSnippetRequest : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertSnippetRequest other && ((this.Snippet == null && other.Snippet == null) || (this.Snippet?.Equals(other.Snippet) == true)); } diff --git a/Square/Models/UpsertSnippetResponse.cs b/Square/Models/UpsertSnippetResponse.cs index 1882d89b..622a50e3 100644 --- a/Square/Models/UpsertSnippetResponse.cs +++ b/Square/Models/UpsertSnippetResponse.cs @@ -59,19 +59,19 @@ public override string ToString() return $"UpsertSnippetResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is UpsertSnippetResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Snippet == null && other.Snippet == null) || (this.Snippet?.Equals(other.Snippet) == true)); diff --git a/Square/Models/V1Device.cs b/Square/Models/V1Device.cs index 357326c1..e1706683 100644 --- a/Square/Models/V1Device.cs +++ b/Square/Models/V1Device.cs @@ -80,19 +80,19 @@ public bool ShouldSerializeName() { return this.shouldSerialize["name"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1Device other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)); } diff --git a/Square/Models/V1ListOrdersRequest.cs b/Square/Models/V1ListOrdersRequest.cs index 47f58568..827b6bbd 100644 --- a/Square/Models/V1ListOrdersRequest.cs +++ b/Square/Models/V1ListOrdersRequest.cs @@ -107,19 +107,19 @@ public bool ShouldSerializeBatchToken() { return this.shouldSerialize["batch_token"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1ListOrdersRequest other && ((this.Order == null && other.Order == null) || (this.Order?.Equals(other.Order) == true)) && ((this.Limit == null && other.Limit == null) || (this.Limit?.Equals(other.Limit) == true)) && ((this.BatchToken == null && other.BatchToken == null) || (this.BatchToken?.Equals(other.BatchToken) == true)); diff --git a/Square/Models/V1ListOrdersResponse.cs b/Square/Models/V1ListOrdersResponse.cs index 9a573d7e..81544f4d 100644 --- a/Square/Models/V1ListOrdersResponse.cs +++ b/Square/Models/V1ListOrdersResponse.cs @@ -43,19 +43,19 @@ public override string ToString() return $"V1ListOrdersResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1ListOrdersResponse other && ((this.Items == null && other.Items == null) || (this.Items?.Equals(other.Items) == true)); } diff --git a/Square/Models/V1Money.cs b/Square/Models/V1Money.cs index 0a52fe10..c84c4962 100644 --- a/Square/Models/V1Money.cs +++ b/Square/Models/V1Money.cs @@ -82,19 +82,19 @@ public bool ShouldSerializeAmount() { return this.shouldSerialize["amount"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1Money other && ((this.Amount == null && other.Amount == null) || (this.Amount?.Equals(other.Amount) == true)) && ((this.CurrencyCode == null && other.CurrencyCode == null) || (this.CurrencyCode?.Equals(other.CurrencyCode) == true)); } diff --git a/Square/Models/V1Order.cs b/Square/Models/V1Order.cs index 4e33734c..6af3acb4 100644 --- a/Square/Models/V1Order.cs +++ b/Square/Models/V1Order.cs @@ -552,19 +552,19 @@ public bool ShouldSerializeBtcPriceSatoshi() { return this.shouldSerialize["btc_price_satoshi"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1Order other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)) && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && diff --git a/Square/Models/V1OrderHistoryEntry.cs b/Square/Models/V1OrderHistoryEntry.cs index ca4ab168..1ff23bc7 100644 --- a/Square/Models/V1OrderHistoryEntry.cs +++ b/Square/Models/V1OrderHistoryEntry.cs @@ -52,19 +52,19 @@ public override string ToString() return $"V1OrderHistoryEntry : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1OrderHistoryEntry other && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)); } diff --git a/Square/Models/V1PhoneNumber.cs b/Square/Models/V1PhoneNumber.cs index a68e3dd6..c7448403 100644 --- a/Square/Models/V1PhoneNumber.cs +++ b/Square/Models/V1PhoneNumber.cs @@ -52,19 +52,19 @@ public override string ToString() return $"V1PhoneNumber : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1PhoneNumber other && ((this.CallingCode == null && other.CallingCode == null) || (this.CallingCode?.Equals(other.CallingCode) == true)) && ((this.Number == null && other.Number == null) || (this.Number?.Equals(other.Number) == true)); } diff --git a/Square/Models/V1Tender.cs b/Square/Models/V1Tender.cs index 868e1b0f..f53db59b 100644 --- a/Square/Models/V1Tender.cs +++ b/Square/Models/V1Tender.cs @@ -339,19 +339,19 @@ public bool ShouldSerializeIsExchange() { return this.shouldSerialize["is_exchange"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1Tender other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Type == null && other.Type == null) || (this.Type?.Equals(other.Type) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && diff --git a/Square/Models/V1UpdateOrderRequest.cs b/Square/Models/V1UpdateOrderRequest.cs index 61153103..46250861 100644 --- a/Square/Models/V1UpdateOrderRequest.cs +++ b/Square/Models/V1UpdateOrderRequest.cs @@ -158,19 +158,19 @@ public bool ShouldSerializeCanceledNote() { return this.shouldSerialize["canceled_note"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is V1UpdateOrderRequest other && ((this.Action == null && other.Action == null) || (this.Action?.Equals(other.Action) == true)) && ((this.ShippedTrackingNumber == null && other.ShippedTrackingNumber == null) || (this.ShippedTrackingNumber?.Equals(other.ShippedTrackingNumber) == true)) && ((this.CompletedNote == null && other.CompletedNote == null) || (this.CompletedNote?.Equals(other.CompletedNote) == true)) && diff --git a/Square/Models/Vendor.cs b/Square/Models/Vendor.cs index 1f4ce07b..1c3da4f4 100644 --- a/Square/Models/Vendor.cs +++ b/Square/Models/Vendor.cs @@ -219,19 +219,19 @@ public bool ShouldSerializeNote() { return this.shouldSerialize["note"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is Vendor other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.CreatedAt == null && other.CreatedAt == null) || (this.CreatedAt?.Equals(other.CreatedAt) == true)) && ((this.UpdatedAt == null && other.UpdatedAt == null) || (this.UpdatedAt?.Equals(other.UpdatedAt) == true)) && diff --git a/Square/Models/VendorContact.cs b/Square/Models/VendorContact.cs index 787de319..832de147 100644 --- a/Square/Models/VendorContact.cs +++ b/Square/Models/VendorContact.cs @@ -171,19 +171,19 @@ public bool ShouldSerializeRemoved() { return this.shouldSerialize["removed"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is VendorContact other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.EmailAddress == null && other.EmailAddress == null) || (this.EmailAddress?.Equals(other.EmailAddress) == true)) && diff --git a/Square/Models/VoidTransactionResponse.cs b/Square/Models/VoidTransactionResponse.cs index 4a87736a..b086f381 100644 --- a/Square/Models/VoidTransactionResponse.cs +++ b/Square/Models/VoidTransactionResponse.cs @@ -50,19 +50,19 @@ public override string ToString() return $"VoidTransactionResponse : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is VoidTransactionResponse other && ((this.Context == null && other.Context == null) || (this.Context?.Equals(other.Context) == true)) && ((this.Errors == null && other.Errors == null) || (this.Errors?.Equals(other.Errors) == true)); } diff --git a/Square/Models/WageSetting.cs b/Square/Models/WageSetting.cs index 1fa6e20e..011b92fc 100644 --- a/Square/Models/WageSetting.cs +++ b/Square/Models/WageSetting.cs @@ -161,19 +161,19 @@ public bool ShouldSerializeIsOvertimeExempt() { return this.shouldSerialize["is_overtime_exempt"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is WageSetting other && ((this.TeamMemberId == null && other.TeamMemberId == null) || (this.TeamMemberId?.Equals(other.TeamMemberId) == true)) && ((this.JobAssignments == null && other.JobAssignments == null) || (this.JobAssignments?.Equals(other.JobAssignments) == true)) && ((this.IsOvertimeExempt == null && other.IsOvertimeExempt == null) || (this.IsOvertimeExempt?.Equals(other.IsOvertimeExempt) == true)) && diff --git a/Square/Models/WebhookSubscription.cs b/Square/Models/WebhookSubscription.cs index cc3f5de9..03c64cbc 100644 --- a/Square/Models/WebhookSubscription.cs +++ b/Square/Models/WebhookSubscription.cs @@ -220,19 +220,19 @@ public bool ShouldSerializeApiVersion() { return this.shouldSerialize["api_version"]; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is WebhookSubscription other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.Name == null && other.Name == null) || (this.Name?.Equals(other.Name) == true)) && ((this.Enabled == null && other.Enabled == null) || (this.Enabled?.Equals(other.Enabled) == true)) && diff --git a/Square/Models/WorkweekConfig.cs b/Square/Models/WorkweekConfig.cs index 0b5e87a0..2b98c7b0 100644 --- a/Square/Models/WorkweekConfig.cs +++ b/Square/Models/WorkweekConfig.cs @@ -93,19 +93,19 @@ public override string ToString() return $"WorkweekConfig : ({string.Join(", ", toStringOutput)})"; } - - /// - public override bool Equals(object obj) - { - if (obj == null) - { - return false; - } - - if (obj == this) - { - return true; - } + + /// + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + + if (obj == this) + { + return true; + } return obj is WorkweekConfig other && ((this.Id == null && other.Id == null) || (this.Id?.Equals(other.Id) == true)) && ((this.StartOfWeek == null && other.StartOfWeek == null) || (this.StartOfWeek?.Equals(other.StartOfWeek) == true)) && ((this.StartOfDayLocalTime == null && other.StartOfDayLocalTime == null) || (this.StartOfDayLocalTime?.Equals(other.StartOfDayLocalTime) == true)) && diff --git a/Square/Square.csproj b/Square/Square.csproj index 45e0d103..2ec08b64 100644 --- a/Square/Square.csproj +++ b/Square/Square.csproj @@ -4,13 +4,13 @@ netstandard2.0 Square - 37.1.0.0 + 37.1.1.0 Square Developer Platform Square Developer Platform Square Copyright © 2019 - 37.1.0.0 - 37.1.0.0 + 37.1.1.0 + 37.1.1.0 .NET client library for the Square API 7.3 true @@ -22,7 +22,7 @@ - + diff --git a/Square/SquareClient.cs b/Square/SquareClient.cs index c270449e..1de40125 100644 --- a/Square/SquareClient.cs +++ b/Square/SquareClient.cs @@ -43,7 +43,7 @@ public sealed class SquareClient : ISquareClient }; private readonly GlobalConfiguration globalConfiguration; - private const string userAgent = "Square-DotNet-SDK/37.1.0 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}"; + private const string userAgent = "Square-DotNet-SDK/37.1.1 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}"; private readonly HttpCallBack httpCallBack; private readonly IDictionary> additionalHeaders; private readonly Lazy mobileAuthorization; @@ -428,7 +428,7 @@ private SquareClient( /// /// Gets the current version of the SDK. /// - public string SdkVersion => "37.1.0"; + public string SdkVersion => "37.1.1"; /// /// Gets the configuration of the Http Client associated with this client. @@ -586,7 +586,7 @@ private void SetupAdditionalHeaders(AdditionalHeaderParams additionalHeaderParam /// public class Builder { - private string squareVersion = "2024-06-04"; + private string squareVersion = "2024-07-17"; private string userAgentDetail = null; private Environment environment = Square.Environment.Production; private string customUrl = "https://connect.squareup.com"; diff --git a/Square/Utilities/JsonObject.cs b/Square/Utilities/JsonObject.cs index 0f5ca6d7..b7092c64 100644 --- a/Square/Utilities/JsonObject.cs +++ b/Square/Utilities/JsonObject.cs @@ -4,48 +4,48 @@ namespace Square.Utilities using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; - using APIMatic.Core.Types.Sdk; - - [JsonConverter(typeof(JsonObjectSerializer))] - public class JsonObject : CoreJsonObject - { - private JsonObject(JObject json) - : base(json) { } - - /// - /// Creates the JSON Object instance with the provided JSON string. - /// - /// The JSON string. - public static JsonObject FromJsonString(string json) - { - if (json == null) - { - return new JsonObject(null); - } - - return new JsonObject(JObject.Parse(json)); - } - - /// - /// Creates the JSON Object instance with the provided JSON Object. - /// - /// The JSON object. - internal static JsonObject FromJObject(JObject json) - { - return new JsonObject(json); - } - } - - internal class JsonObjectSerializer : JsonConverter - { - public override JsonObject ReadJson(JsonReader reader, Type objectType, JsonObject existingValue, bool hasExistingValue, JsonSerializer serializer) - { - return JsonObject.FromJObject(JObject.Load(reader)); - } - - public override void WriteJson(JsonWriter writer, JsonObject value, JsonSerializer serializer) - { - writer.WriteRawValue(value.ToString()); - } - } + using APIMatic.Core.Types.Sdk; + + [JsonConverter(typeof(JsonObjectSerializer))] + public class JsonObject : CoreJsonObject + { + private JsonObject(JObject json) + : base(json) { } + + /// + /// Creates the JSON Object instance with the provided JSON string. + /// + /// The JSON string. + public static JsonObject FromJsonString(string json) + { + if (json == null) + { + return new JsonObject(null); + } + + return new JsonObject(JObject.Parse(json)); + } + + /// + /// Creates the JSON Object instance with the provided JSON Object. + /// + /// The JSON object. + internal static JsonObject FromJObject(JObject json) + { + return new JsonObject(json); + } + } + + internal class JsonObjectSerializer : JsonConverter + { + public override JsonObject ReadJson(JsonReader reader, Type objectType, JsonObject existingValue, bool hasExistingValue, JsonSerializer serializer) + { + return JsonObject.FromJObject(JObject.Load(reader)); + } + + public override void WriteJson(JsonWriter writer, JsonObject value, JsonSerializer serializer) + { + writer.WriteRawValue(value.ToString()); + } + } } \ No newline at end of file diff --git a/doc/api/apple-pay.md b/doc/api/apple-pay.md index 891ac749..3fcaa7cd 100644 --- a/doc/api/apple-pay.md +++ b/doc/api/apple-pay.md @@ -18,8 +18,11 @@ an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Apple Pay on the Web with Square for merchants using their platform. -Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022. -You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate). +Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The +current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association, +and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your +domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding +long-lived caches that might not keep in sync with the correct file version. To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay). diff --git a/doc/api/invoices.md b/doc/api/invoices.md index a2607a20..66016f43 100644 --- a/doc/api/invoices.md +++ b/doc/api/invoices.md @@ -302,10 +302,10 @@ catch (ApiException e) # Update Invoice -Updates an invoice by modifying fields, clearing fields, or both. For most updates, you can use a sparse -`Invoice` object to add fields or change values and use the `fields_to_clear` field to specify fields to clear. -However, some restrictions apply. For example, you cannot change the `order_id` or `location_id` field and you -must provide the complete `custom_fields` list to update a custom field. Published invoices have additional restrictions. +Updates an invoice. This endpoint supports sparse updates, so you only need +to specify the fields you want to change along with the required `version` field. +Some restrictions apply to updating invoices. For example, you cannot change the +`order_id` or `location_id` field. ```csharp UpdateInvoiceAsync( @@ -337,16 +337,21 @@ Models.UpdateInvoiceRequest body = new Models.UpdateInvoiceRequest.Builder( new Models.InvoicePaymentRequest.Builder() .Uid("2da7964f-f3d2-4f43-81e8-5aa220bf3355") .TippingEnabled(false) + .Reminders( + new List + { + new Models.InvoicePaymentReminder.Builder() + .Build(), + new Models.InvoicePaymentReminder.Builder() + .Build(), + new Models.InvoicePaymentReminder.Builder() + .Build(), + }) .Build(), }) .Build() ) .IdempotencyKey("4ee82288-0910-499e-ab4c-5d0071dad1be") -.FieldsToClear( - new List - { - "payments_requests[2da7964f-f3d2-4f43-81e8-5aa220bf3355].reminders", - }) .Build(); try diff --git a/doc/client.md b/doc/client.md index ff281b34..7a1a61a2 100644 --- a/doc/client.md +++ b/doc/client.md @@ -5,7 +5,7 @@ The following parameters are configurable for the API Client: | Parameter | Type | Description | | --- | --- | --- | -| `SquareVersion` | `string` | Square Connect API versions
*Default*: `"2024-06-04"` | +| `SquareVersion` | `string` | Square Connect API versions
*Default*: `"2024-07-17"` | | `CustomUrl` | `string` | Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`
*Default*: `"https://connect.squareup.com"` | | `Environment` | `string` | The API environment.
**Default: `production`** | | `Timeout` | `TimeSpan` | Http client timeout.
*Default*: `TimeSpan.FromSeconds(60)` | @@ -21,7 +21,7 @@ Square.SquareClient client = new Square.SquareClient.Builder() "AccessToken" ) .Build()) - .SquareVersion("2024-06-04") + .SquareVersion("2024-07-17") .Environment(Square.Environment.Production) .CustomUrl("https://connect.squareup.com") .Build(); @@ -49,7 +49,7 @@ namespace Testing "AccessToken" ) .Build()) - .SquareVersion("2024-06-04") + .SquareVersion("2024-07-17") .Build(); ILocationsApi locationsApi = client.LocationsApi; diff --git a/doc/models/update-invoice-request.md b/doc/models/update-invoice-request.md index ad2a1b07..44e4379e 100644 --- a/doc/models/update-invoice-request.md +++ b/doc/models/update-invoice-request.md @@ -13,19 +13,17 @@ Describes a `UpdateInvoice` request. | --- | --- | --- | --- | | `Invoice` | [`Invoice`](../../doc/models/invoice.md) | Required | Stores information about an invoice. You use the Invoices API to create and manage
invoices. For more information, see [Invoices API Overview](https://developer.squareup.com/docs/invoices-api/overview). | | `IdempotencyKey` | `string` | Optional | A unique string that identifies the `UpdateInvoice` request. If you do not
provide `idempotency_key` (or provide an empty string as the value), the endpoint
treats each request as independent.

For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency).
**Constraints**: *Maximum Length*: `128` | -| `FieldsToClear` | `IList` | Optional | The list of fields to clear.
For examples, see [Update an Invoice](https://developer.squareup.com/docs/invoices-api/update-invoices). | +| `FieldsToClear` | `IList` | Optional | The list of fields to clear. Although this field is currently supported, we
recommend using null values or the `remove` field when possible. For examples, see
[Update an Invoice](https://developer.squareup.com/docs/invoices-api/update-invoices). | ## Example (as JSON) ```json { - "fields_to_clear": [ - "payments_requests[2da7964f-f3d2-4f43-81e8-5aa220bf3355].reminders" - ], "idempotency_key": "4ee82288-0910-499e-ab4c-5d0071dad1be", "invoice": { "payment_requests": [ { + "reminders": null, "tipping_enabled": false, "uid": "2da7964f-f3d2-4f43-81e8-5aa220bf3355" } @@ -47,7 +45,12 @@ Describes a `UpdateInvoice` request. "sublocality": "sublocality6" } } - } + }, + "fields_to_clear": [ + "fields_to_clear1", + "fields_to_clear2", + "fields_to_clear3" + ] } ```