Version Description
- 2021.03.23 =
- Fix - Update jQuery 3 deprecated functions. PR#560
- Fix - Don't display digital wallet buttons when the cart contains a subscription product as Square does not yet support tokenization through digital wallets. PR#597
- Dev - Replace CoffeeScript with plain JS. PR#560
Download this release
Release Info
| Developer | automattic |
| Plugin | |
| Version | 2.4.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.4 to 2.4.0
- assets/js/admin/wc-square-admin-products.coffee +0 -453
- assets/js/admin/wc-square-admin-products.js +489 -0
- assets/js/admin/wc-square-admin-products.min.js +2 -2
- assets/js/admin/wc-square-admin-products.min.js.map +1 -1
- assets/js/admin/wc-square-admin-settings.coffee +0 -299
- assets/js/admin/wc-square-admin-settings.js +327 -0
- assets/js/admin/wc-square-admin-settings.min.js +2 -2
- assets/js/admin/wc-square-admin-settings.min.js.map +1 -1
- assets/js/frontend/wc-square-digital-wallet.coffee +0 -428
- assets/js/frontend/wc-square-digital-wallet.js +525 -0
- assets/js/frontend/wc-square-digital-wallet.min.js +2 -2
- assets/js/frontend/wc-square-digital-wallet.min.js.map +1 -1
- assets/js/frontend/wc-square.coffee +0 -681
- assets/js/frontend/wc-square.js +785 -0
- assets/js/frontend/wc-square.min.js +2 -2
- assets/js/frontend/wc-square.min.js.map +1 -1
- i18n/languages/woocommerce-square.pot +37 -2252
- includes/Gateway/Digital_Wallet.php +40 -15
- includes/Plugin.php +1 -1
- readme.txt +6 -2
- vendor/square/connect/.travis.yml +0 -18
- vendor/square/connect/test/Api/ApplePayApiTest.php +0 -50
- vendor/square/connect/test/Api/CatalogApiTest.php +0 -637
- vendor/square/connect/test/Api/CheckoutApiTest.php +0 -157
- vendor/square/connect/test/Api/CustomersApiTest.php +0 -104
- vendor/square/connect/test/Api/EmployeesApiTest.php +0 -59
- vendor/square/connect/test/Api/InventoryApiTest.php +0 -305
- vendor/square/connect/test/Api/LaborApiTest.php +0 -167
- vendor/square/connect/test/Api/LocationsApiTest.php +0 -70
- vendor/square/connect/test/Api/MobileAuthorizationApiTest.php +0 -50
- vendor/square/connect/test/Api/OAuthApiTest.php +0 -68
- vendor/square/connect/test/Api/OrdersApiTest.php +0 -59
- vendor/square/connect/test/Api/PaymentsApiTest.php +0 -95
- vendor/square/connect/test/Api/RefundsApiTest.php +0 -68
- vendor/square/connect/test/Api/ReportingApiTest.php +0 -67
- vendor/square/connect/test/Api/TransactionsApiTest.php +0 -104
- vendor/square/connect/test/Api/V1EmployeesApiTest.php +0 -185
- vendor/square/connect/test/Api/V1ItemsApiTest.php +0 -401
- vendor/square/connect/test/Api/V1LocationsApiTest.php +0 -59
- vendor/square/connect/test/Api/V1TransactionsApiTest.php +0 -140
- vendor/square/connect/test/ApiClientTest.php +0 -95
- vendor/square/connect/test/Model/AdditionalRecipientReceivableRefundTest.php +0 -43
- vendor/square/connect/test/Model/AdditionalRecipientReceivableTest.php +0 -43
- vendor/square/connect/test/Model/AdditionalRecipientTest.php +0 -43
- vendor/square/connect/test/Model/AddressTest.php +0 -43
- vendor/square/connect/test/Model/AggregationStrategyTest.php +0 -43
- vendor/square/connect/test/Model/BalancePaymentDetailsTest.php +0 -43
- vendor/square/connect/test/Model/BatchChangeInventoryRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchChangeInventoryResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchDeleteCatalogObjectsRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchDeleteCatalogObjectsResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveCatalogObjectsRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveCatalogObjectsResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveInventoryChangesRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveInventoryChangesResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveInventoryCountsRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveInventoryCountsResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveOrdersRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchRetrieveOrdersResponseTest.php +0 -43
- vendor/square/connect/test/Model/BatchUpsertCatalogObjectsRequestTest.php +0 -43
- vendor/square/connect/test/Model/BatchUpsertCatalogObjectsResponseTest.php +0 -43
- vendor/square/connect/test/Model/BreakTypeTest.php +0 -43
- vendor/square/connect/test/Model/BusinessHoursPeriodTest.php +0 -43
- vendor/square/connect/test/Model/BusinessHoursTest.php +0 -43
- vendor/square/connect/test/Model/CancelPaymentByIdempotencyKeyRequestTest.php +0 -43
- vendor/square/connect/test/Model/CancelPaymentByIdempotencyKeyResponseTest.php +0 -43
- vendor/square/connect/test/Model/CancelPaymentRequestTest.php +0 -43
- vendor/square/connect/test/Model/CancelPaymentResponseTest.php +0 -43
- vendor/square/connect/test/Model/CaptureTransactionRequestTest.php +0 -43
- vendor/square/connect/test/Model/CaptureTransactionResponseTest.php +0 -43
- vendor/square/connect/test/Model/CardBrandTest.php +0 -43
- vendor/square/connect/test/Model/CardPaymentDetailsTest.php +0 -43
- vendor/square/connect/test/Model/CardTest.php +0 -43
- vendor/square/connect/test/Model/CatalogCategoryTest.php +0 -43
- vendor/square/connect/test/Model/CatalogDiscountTest.php +0 -43
- vendor/square/connect/test/Model/CatalogDiscountTypeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogIdMappingTest.php +0 -43
- vendor/square/connect/test/Model/CatalogImageTest.php +0 -43
- vendor/square/connect/test/Model/CatalogInfoRequestTest.php +0 -43
- vendor/square/connect/test/Model/CatalogInfoResponseLimitsTest.php +0 -43
- vendor/square/connect/test/Model/CatalogInfoResponseTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemModifierListInfoTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemOptionForItemTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemOptionTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemOptionValueForItemVariationTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemOptionValueTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemProductTypeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemTest.php +0 -43
- vendor/square/connect/test/Model/CatalogItemVariationTest.php +0 -43
- vendor/square/connect/test/Model/CatalogMeasurementUnitTest.php +0 -43
- vendor/square/connect/test/Model/CatalogModifierListSelectionTypeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogModifierListTest.php +0 -43
- vendor/square/connect/test/Model/CatalogModifierOverrideTest.php +0 -43
- vendor/square/connect/test/Model/CatalogModifierTest.php +0 -43
- vendor/square/connect/test/Model/CatalogObjectBatchTest.php +0 -43
- vendor/square/connect/test/Model/CatalogObjectTest.php +0 -43
- vendor/square/connect/test/Model/CatalogObjectTypeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogPricingRuleTest.php +0 -43
- vendor/square/connect/test/Model/CatalogPricingTypeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogProductSetTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryExactTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryItemVariationsForItemOptionValuesTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryItemsForItemOptionsTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryItemsForModifierListTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryItemsForTaxTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryPrefixTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryRangeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQuerySortedAttributeTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryTest.php +0 -43
- vendor/square/connect/test/Model/CatalogQueryTextTest.php +0 -43
- vendor/square/connect/test/Model/CatalogTaxTest.php +0 -43
- vendor/square/connect/test/Model/CatalogTimePeriodTest.php +0 -43
- vendor/square/connect/test/Model/CatalogV1IdTest.php +0 -43
- vendor/square/connect/test/Model/ChargeRequestAdditionalRecipientTest.php +0 -43
- vendor/square/connect/test/Model/ChargeRequestTest.php +0 -43
- vendor/square/connect/test/Model/ChargeResponseTest.php +0 -43
- vendor/square/connect/test/Model/CheckoutTest.php +0 -43
- vendor/square/connect/test/Model/CompletePaymentRequestTest.php +0 -43
- vendor/square/connect/test/Model/CompletePaymentResponseTest.php +0 -43
- vendor/square/connect/test/Model/CoordinatesTest.php +0 -43
- vendor/square/connect/test/Model/CountryTest.php +0 -43
- vendor/square/connect/test/Model/CreateBreakTypeRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateBreakTypeResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateCheckoutRequestTest.php +0 -62
- vendor/square/connect/test/Model/CreateCheckoutResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateCustomerCardRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateCustomerCardResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateCustomerRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateCustomerResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateMobileAuthorizationCodeRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateMobileAuthorizationCodeResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderRequestDiscountTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderRequestLineItemTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderRequestModifierTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderRequestTaxTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateOrderResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreatePaymentRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreatePaymentResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateRefundRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateRefundResponseTest.php +0 -43
- vendor/square/connect/test/Model/CreateShiftRequestTest.php +0 -43
- vendor/square/connect/test/Model/CreateShiftResponseTest.php +0 -43
- vendor/square/connect/test/Model/CurrencyTest.php +0 -43
- vendor/square/connect/test/Model/CustomerCreationSourceFilterTest.php +0 -43
- vendor/square/connect/test/Model/CustomerCreationSourceTest.php +0 -43
- vendor/square/connect/test/Model/CustomerFilterTest.php +0 -43
- vendor/square/connect/test/Model/CustomerGroupInfoTest.php +0 -43
- vendor/square/connect/test/Model/CustomerInclusionExclusionTest.php +0 -43
- vendor/square/connect/test/Model/CustomerPreferencesTest.php +0 -43
- vendor/square/connect/test/Model/CustomerQueryTest.php +0 -43
- vendor/square/connect/test/Model/CustomerSortFieldTest.php +0 -43
- vendor/square/connect/test/Model/CustomerSortTest.php +0 -43
- vendor/square/connect/test/Model/CustomerTest.php +0 -43
- vendor/square/connect/test/Model/DateRangeTest.php +0 -43
- vendor/square/connect/test/Model/DayOfWeekTest.php +0 -43
- vendor/square/connect/test/Model/DeleteBreakTypeRequestTest.php +0 -43
- vendor/square/connect/test/Model/DeleteBreakTypeResponseTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCatalogObjectRequestTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCatalogObjectResponseTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCustomerCardRequestTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCustomerCardResponseTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCustomerRequestTest.php +0 -43
- vendor/square/connect/test/Model/DeleteCustomerResponseTest.php +0 -43
- vendor/square/connect/test/Model/DeleteShiftRequestTest.php +0 -43
- vendor/square/connect/test/Model/DeleteShiftResponseTest.php +0 -43
- vendor/square/connect/test/Model/DeviceTest.php +0 -43
- vendor/square/connect/test/Model/EmployeeStatusTest.php +0 -43
- vendor/square/connect/test/Model/EmployeeTest.php +0 -43
- vendor/square/connect/test/Model/EmployeeWageTest.php +0 -43
- vendor/square/connect/test/Model/ErrorCategoryTest.php +0 -43
- vendor/square/connect/test/Model/ErrorCodeTest.php +0 -43
- vendor/square/connect/test/Model/ErrorTest.php +0 -43
- vendor/square/connect/test/Model/GetBreakTypeRequestTest.php +0 -43
- vendor/square/connect/test/Model/GetBreakTypeResponseTest.php +0 -43
- vendor/square/connect/test/Model/GetEmployeeWageRequestTest.php +0 -43
- vendor/square/connect/test/Model/GetEmployeeWageResponseTest.php +0 -43
- vendor/square/connect/test/Model/GetPaymentRefundRequestTest.php +0 -43
- vendor/square/connect/test/Model/GetPaymentRefundResponseTest.php +0 -43
- vendor/square/connect/test/Model/GetPaymentRequestTest.php +0 -43
- vendor/square/connect/test/Model/GetPaymentResponseTest.php +0 -43
- vendor/square/connect/test/Model/GetShiftRequestTest.php +0 -43
- vendor/square/connect/test/Model/GetShiftResponseTest.php +0 -43
- vendor/square/connect/test/Model/InventoryAdjustmentTest.php +0 -43
- vendor/square/connect/test/Model/InventoryAlertTypeTest.php +0 -43
- vendor/square/connect/test/Model/InventoryChangeTest.php +0 -43
- vendor/square/connect/test/Model/InventoryChangeTypeTest.php +0 -43
- vendor/square/connect/test/Model/InventoryCountTest.php +0 -43
- vendor/square/connect/test/Model/InventoryPhysicalCountTest.php +0 -43
- vendor/square/connect/test/Model/InventoryStateTest.php +0 -43
- vendor/square/connect/test/Model/InventoryTransferTest.php +0 -43
- vendor/square/connect/test/Model/ItemVariationLocationOverridesTest.php +0 -43
- vendor/square/connect/test/Model/ListAdditionalRecipientReceivableRefundsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListAdditionalRecipientReceivableRefundsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListAdditionalRecipientReceivablesRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListAdditionalRecipientReceivablesResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListBreakTypesRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListBreakTypesResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListCatalogRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListCatalogResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListCustomersRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListCustomersResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListEmployeeWagesRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListEmployeeWagesResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListEmployeesRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListEmployeesResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListLocationsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListLocationsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListPaymentRefundsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListPaymentRefundsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListPaymentsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListPaymentsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListRefundsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListRefundsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListTransactionsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListTransactionsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ListWorkweekConfigsRequestTest.php +0 -43
- vendor/square/connect/test/Model/ListWorkweekConfigsResponseTest.php +0 -43
- vendor/square/connect/test/Model/LocationCapabilityTest.php +0 -43
- vendor/square/connect/test/Model/LocationStatusTest.php +0 -43
- vendor/square/connect/test/Model/LocationTest.php +0 -43
- vendor/square/connect/test/Model/LocationTypeTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitAreaTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitCustomTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitGenericTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitLengthTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitTimeTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitUnitTypeTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitVolumeTest.php +0 -43
- vendor/square/connect/test/Model/MeasurementUnitWeightTest.php +0 -43
- vendor/square/connect/test/Model/ModelBreakTest.php +0 -43
- vendor/square/connect/test/Model/MoneyTest.php +0 -43
- vendor/square/connect/test/Model/ObtainTokenRequestTest.php +0 -43
- vendor/square/connect/test/Model/ObtainTokenResponseTest.php +0 -43
- vendor/square/connect/test/Model/OrderEntryTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentPickupDetailsScheduleTypeTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentPickupDetailsTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentRecipientTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentShipmentDetailsTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentStateTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentTest.php +0 -43
- vendor/square/connect/test/Model/OrderFulfillmentTypeTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemAppliedDiscountTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemAppliedTaxTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemDiscountScopeTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemDiscountTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemDiscountTypeTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemModifierTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemTaxScopeTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemTaxTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemTaxTypeTest.php +0 -43
- vendor/square/connect/test/Model/OrderLineItemTest.php +0 -43
- vendor/square/connect/test/Model/OrderMoneyAmountsTest.php +0 -43
- vendor/square/connect/test/Model/OrderQuantityUnitTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnDiscountTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnLineItemModifierTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnLineItemTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnServiceChargeTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnTaxTest.php +0 -43
- vendor/square/connect/test/Model/OrderReturnTest.php +0 -43
- vendor/square/connect/test/Model/OrderRoundingAdjustmentTest.php +0 -43
- vendor/square/connect/test/Model/OrderServiceChargeCalculationPhaseTest.php +0 -43
- vendor/square/connect/test/Model/OrderServiceChargeTest.php +0 -43
- vendor/square/connect/test/Model/OrderSourceTest.php +0 -43
- vendor/square/connect/test/Model/OrderStateTest.php +0 -43
- vendor/square/connect/test/Model/OrderTest.php +0 -43
- vendor/square/connect/test/Model/PayOrderRequestTest.php +0 -43
- vendor/square/connect/test/Model/PayOrderResponseTest.php +0 -43
- vendor/square/connect/test/Model/PaymentRefundTest.php +0 -43
- vendor/square/connect/test/Model/PaymentTest.php +0 -43
- vendor/square/connect/test/Model/ProcessingFeeTest.php +0 -43
- vendor/square/connect/test/Model/ProductTest.php +0 -43
- vendor/square/connect/test/Model/RefundPaymentRequestTest.php +0 -43
- vendor/square/connect/test/Model/RefundPaymentResponseTest.php +0 -43
- vendor/square/connect/test/Model/RefundStatusTest.php +0 -43
- vendor/square/connect/test/Model/RefundTest.php +0 -64
- vendor/square/connect/test/Model/RegisterDomainRequestTest.php +0 -43
- vendor/square/connect/test/Model/RegisterDomainResponseStatusTest.php +0 -43
- vendor/square/connect/test/Model/RegisterDomainResponseTest.php +0 -43
- vendor/square/connect/test/Model/RenewTokenRequestTest.php +0 -43
- vendor/square/connect/test/Model/RenewTokenResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveCatalogObjectRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveCatalogObjectResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveCustomerRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveCustomerResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveEmployeeRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveEmployeeResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryAdjustmentRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryAdjustmentResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryChangesRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryChangesResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryCountRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryCountResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryPhysicalCountRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveInventoryPhysicalCountResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveLocationRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveLocationResponseTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveTransactionRequestTest.php +0 -43
- vendor/square/connect/test/Model/RetrieveTransactionResponseTest.php +0 -43
- vendor/square/connect/test/Model/RevokeTokenRequestTest.php +0 -43
- vendor/square/connect/test/Model/RevokeTokenResponseTest.php +0 -43
- vendor/square/connect/test/Model/SearchCatalogObjectsRequestTest.php +0 -43
- vendor/square/connect/test/Model/SearchCatalogObjectsResponseTest.php +0 -43
- vendor/square/connect/test/Model/SearchCustomersRequestTest.php +0 -43
- vendor/square/connect/test/Model/SearchCustomersResponseTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersCustomerFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersDateTimeFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersFulfillmentFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersQueryTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersRequestTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersResponseTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersSortFieldTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersSortTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersSourceFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchOrdersStateFilterTest.php +0 -43
- vendor/square/connect/test/Model/SearchShiftsRequestTest.php +0 -43
- vendor/square/connect/test/Model/SearchShiftsResponseTest.php +0 -43
- vendor/square/connect/test/Model/ShiftFilterStatusTest.php +0 -43
- vendor/square/connect/test/Model/ShiftFilterTest.php +0 -43
- vendor/square/connect/test/Model/ShiftQueryTest.php +0 -43
- vendor/square/connect/test/Model/ShiftSortFieldTest.php +0 -43
- vendor/square/connect/test/Model/ShiftSortTest.php +0 -43
- vendor/square/connect/test/Model/ShiftStatusTest.php +0 -43
- vendor/square/connect/test/Model/ShiftTest.php +0 -43
- vendor/square/connect/test/Model/ShiftWageTest.php +0 -43
- vendor/square/connect/test/Model/ShiftWorkdayMatcherTest.php +0 -43
- vendor/square/connect/test/Model/ShiftWorkdayTest.php +0 -43
- vendor/square/connect/test/Model/SortOrderTest.php +0 -43
- vendor/square/connect/test/Model/SourceApplicationTest.php +0 -43
- vendor/square/connect/test/Model/StandardUnitDescriptionGroupTest.php +0 -43
- vendor/square/connect/test/Model/StandardUnitDescriptionTest.php +0 -43
- vendor/square/connect/test/Model/TaxCalculationPhaseTest.php +0 -43
- vendor/square/connect/test/Model/TaxInclusionTypeTest.php +0 -43
- vendor/square/connect/test/Model/TenderCardDetailsEntryMethodTest.php +0 -43
- vendor/square/connect/test/Model/TenderCardDetailsStatusTest.php +0 -43
- vendor/square/connect/test/Model/TenderCardDetailsTest.php +0 -43
- vendor/square/connect/test/Model/TenderCashDetailsTest.php +0 -43
- vendor/square/connect/test/Model/TenderTest.php +0 -61
- vendor/square/connect/test/Model/TenderTypeTest.php +0 -43
- vendor/square/connect/test/Model/TimeRangeTest.php +0 -43
- vendor/square/connect/test/Model/TransactionProductTest.php +0 -43
- vendor/square/connect/test/Model/TransactionTest.php +0 -43
- vendor/square/connect/test/Model/UpdateBreakTypeRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateBreakTypeResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateCustomerRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateCustomerResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateItemModifierListsRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateItemModifierListsResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateItemTaxesRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateItemTaxesResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateOrderRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateOrderResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateShiftRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateShiftResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpdateWorkweekConfigRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpdateWorkweekConfigResponseTest.php +0 -43
- vendor/square/connect/test/Model/UpsertCatalogObjectRequestTest.php +0 -43
- vendor/square/connect/test/Model/UpsertCatalogObjectResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1AdjustInventoryRequestAdjustmentTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1AdjustInventoryRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ApplyFeeRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ApplyModifierListRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1BankAccountTest.php +0 -43
- vendor/square/connect/test/Model/V1BankAccountTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1CashDrawerEventEventTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1CashDrawerEventTest.php +0 -43
- vendor/square/connect/test/Model/V1CashDrawerShiftEventTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1CashDrawerShiftTest.php +0 -43
- vendor/square/connect/test/Model/V1CategoryTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateCategoryRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateDiscountRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateEmployeeRoleRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateFeeRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateItemRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateModifierListRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateModifierOptionRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreatePageRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateRefundRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateRefundRequestTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1CreateVariationRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteCategoryRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteDiscountRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteFeeRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteItemRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteModifierListRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteModifierOptionRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeletePageCellRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeletePageRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteTimecardRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteTimecardResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1DeleteVariationRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1DiscountColorTest.php +0 -43
- vendor/square/connect/test/Model/V1DiscountDiscountTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1DiscountTest.php +0 -43
- vendor/square/connect/test/Model/V1EmployeeRolePermissionsTest.php +0 -43
- vendor/square/connect/test/Model/V1EmployeeRoleTest.php +0 -43
- vendor/square/connect/test/Model/V1EmployeeStatusTest.php +0 -43
- vendor/square/connect/test/Model/V1EmployeeTest.php +0 -43
- vendor/square/connect/test/Model/V1FeeAdjustmentTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1FeeCalculationPhaseTest.php +0 -43
- vendor/square/connect/test/Model/V1FeeInclusionTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1FeeTest.php +0 -43
- vendor/square/connect/test/Model/V1FeeTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1InventoryEntryTest.php +0 -43
- vendor/square/connect/test/Model/V1ItemColorTest.php +0 -43
- vendor/square/connect/test/Model/V1ItemImageTest.php +0 -43
- vendor/square/connect/test/Model/V1ItemTest.php +0 -43
- vendor/square/connect/test/Model/V1ItemTypeTest.php +0 -43
- vendor/square/connect/test/Model/V1ItemVisibilityTest.php +0 -43
- vendor/square/connect/test/Model/V1ListBankAccountsRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListBankAccountsResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListCashDrawerShiftsRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListCashDrawerShiftsResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListCategoriesRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListCategoriesResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListDiscountsRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListDiscountsResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListEmployeeRolesRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListEmployeeRolesResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListEmployeesRequestStatusTest.php +0 -43
- vendor/square/connect/test/Model/V1ListEmployeesRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListEmployeesResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListFeesRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListFeesResponseTest.php +0 -43
- vendor/square/connect/test/Model/V1ListInventoryRequestTest.php +0 -43
- vendor/square/connect/test/Model/V1ListInventoryResponseTest.php +0 -43
- vendor/square/connect/{test/Model/V1ListItemsRequestTest.php → test} +0 -0
assets/js/admin/wc-square-admin-products.coffee
DELETED
|
@@ -1,453 +0,0 @@
|
|
| 1 |
-
"use strict"
|
| 2 |
-
|
| 3 |
-
###*
|
| 4 |
-
# WooCommerce Square admin general scripts for the settings page and update tab.
|
| 5 |
-
#
|
| 6 |
-
# @since 2.0.0
|
| 7 |
-
###
|
| 8 |
-
jQuery( document ).ready ( $ ) ->
|
| 9 |
-
|
| 10 |
-
typenow = window.typenow ? ''
|
| 11 |
-
pagenow = window.pagenow ? ''
|
| 12 |
-
|
| 13 |
-
# bail if not on product admin pages
|
| 14 |
-
if 'product' isnt typenow
|
| 15 |
-
return
|
| 16 |
-
|
| 17 |
-
# bail if product sync is disabled
|
| 18 |
-
if not wc_square_admin_products.is_product_sync_enabled
|
| 19 |
-
return
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
# products edit screen
|
| 23 |
-
if 'edit-product' is pagenow
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
# when clicking the quick edit button fetch the default Synced with Square checkbox
|
| 27 |
-
$( '#the-list' ).on 'click', '.editinline', ->
|
| 28 |
-
|
| 29 |
-
$row = $( this ).closest( 'tr' )
|
| 30 |
-
postID = $row.find( 'th.check-column input' ).val()
|
| 31 |
-
data =
|
| 32 |
-
action : 'wc_square_get_quick_edit_product_details'
|
| 33 |
-
security : wc_square_admin_products.get_quick_edit_product_details_nonce
|
| 34 |
-
product_id : $row.find( 'th.check-column input' ).val()
|
| 35 |
-
|
| 36 |
-
$.post wc_square_admin_products.ajax_url, data, ( response ) ->
|
| 37 |
-
|
| 38 |
-
$editRow = $( 'tr#edit-' + postID )
|
| 39 |
-
$squareSynced = $editRow.find( 'select.square-synced' )
|
| 40 |
-
$errors = $editRow.find( '.wc-square-sync-with-square-errors' )
|
| 41 |
-
|
| 42 |
-
if ! response.success and response.data
|
| 43 |
-
# if the product has multiple attributes we show an inline error message and bail
|
| 44 |
-
if 'multiple_attributes' is response.data
|
| 45 |
-
$squareSynced.prop( 'checked', false )
|
| 46 |
-
$squareSynced.prop( 'disabled', true )
|
| 47 |
-
$errors.find( '.multiple_attributes' ).show()
|
| 48 |
-
return
|
| 49 |
-
# if the product has variations without an SKU we show an inline error message and bail
|
| 50 |
-
else if 'missing_variation_sku' is response.data
|
| 51 |
-
$squareSynced.prop( 'checked', false )
|
| 52 |
-
$squareSynced.prop( 'disabled', true )
|
| 53 |
-
$errors.find( '.missing_variation_sku' ).show()
|
| 54 |
-
return
|
| 55 |
-
|
| 56 |
-
$sku = $editRow.find( 'input[name=_sku]' )
|
| 57 |
-
$stockStatus = $editRow.find( 'select[name=_stock_status]' )
|
| 58 |
-
$stockQty = $editRow.find( 'input[name=_stock]' )
|
| 59 |
-
$manageStockLabel = $editRow.find( '.manage_stock_field .manage_stock' )
|
| 60 |
-
$manageStockInput = $editRow.find( 'input[name=_manage_stock]' )
|
| 61 |
-
$manageStockDesc = '<span class="description"><a href="' + wc_square_admin_products.settings_url + '">' + wc_square_admin_products.i18n.synced_with_square + '</a></span>'
|
| 62 |
-
edit_url = response.data.edit_url
|
| 63 |
-
i18n = response.data.i18n
|
| 64 |
-
is_variable = response.data.is_variable
|
| 65 |
-
|
| 66 |
-
$squareSynced.val( response.data.is_synced_with_square )
|
| 67 |
-
|
| 68 |
-
# if the SKU changes, enabled or disable Synced with Square checkbox accordingly
|
| 69 |
-
$sku.on 'change keyup keypress', ( e ) ->
|
| 70 |
-
if '' is $( this ).val() and ! is_variable
|
| 71 |
-
$squareSynced.val( 'no' )
|
| 72 |
-
$squareSynced.prop( 'disabled', true )
|
| 73 |
-
$errors.find( '.missing_sku' ).show()
|
| 74 |
-
else
|
| 75 |
-
$squareSynced.prop( 'disabled', false )
|
| 76 |
-
$squareSynced.trigger 'change'
|
| 77 |
-
$errors.find( '.missing_sku' ).hide()
|
| 78 |
-
.trigger 'change'
|
| 79 |
-
|
| 80 |
-
# if Synced with Square is enabled, we might as well disable stock management (without verbose explanations as in the product page)
|
| 81 |
-
$squareSynced.on 'change', ( e ) ->
|
| 82 |
-
if 'no' is $( this ).val()
|
| 83 |
-
$manageStockInput.off()
|
| 84 |
-
$manageStockInput.add( $stockQty ).css( { 'opacity': 1 } )
|
| 85 |
-
$manageStockLabel.find( '.description' ).remove()
|
| 86 |
-
# Stock input manipulation will differ depending on whether product is variable or simple
|
| 87 |
-
if is_variable
|
| 88 |
-
if $manageStockInput.is( ':checked' )
|
| 89 |
-
$( '.stock_qty_field' ).show()
|
| 90 |
-
$( '.backorder_field' ).show()
|
| 91 |
-
else
|
| 92 |
-
$( '.stock_status_field' ).show()
|
| 93 |
-
else
|
| 94 |
-
$stockQty.prop( 'readonly', false )
|
| 95 |
-
$stockStatus.prop( 'readonly', false )
|
| 96 |
-
else
|
| 97 |
-
$manageStockInput.prop( 'checked', true );
|
| 98 |
-
$manageStockInput.on 'click', -> false
|
| 99 |
-
$manageStockInput.add( $stockQty ).css( { 'opacity': '0.5' } )
|
| 100 |
-
$manageStockLabel.append( $manageStockDesc )
|
| 101 |
-
if wc_square_admin_products.is_woocommerce_sor and edit_url and i18n
|
| 102 |
-
$manageStockLabel.append( '<p class="description"><a href="' + edit_url + '">' + i18n + '</a></p>' )
|
| 103 |
-
if is_variable
|
| 104 |
-
$( '.stock_status_field' ).hide()
|
| 105 |
-
$( '.stock_qty_field' ).hide()
|
| 106 |
-
$( '.backorder_field' ).hide()
|
| 107 |
-
else
|
| 108 |
-
$stockQty.prop( 'readonly', true )
|
| 109 |
-
$stockStatus.prop( 'readonly', true )
|
| 110 |
-
.trigger 'change'
|
| 111 |
-
|
| 112 |
-
# individual product edit screen
|
| 113 |
-
if 'product' is pagenow
|
| 114 |
-
|
| 115 |
-
syncCheckboxID = '#_' + wc_square_admin_products.synced_with_square_taxonomy
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
isVariable = ->
|
| 119 |
-
return $( '#product-type' ).val() in wc_square_admin_products.variable_product_types
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
###*
|
| 123 |
-
# Checks whether the product has a SKU.
|
| 124 |
-
#
|
| 125 |
-
# @since 2.0.0
|
| 126 |
-
###
|
| 127 |
-
hasSKU = ->
|
| 128 |
-
return $( '#_sku' ).val().trim() isnt ''
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
###*
|
| 132 |
-
# Checks whether the product variations all have SKUs.
|
| 133 |
-
#
|
| 134 |
-
# @since 2.2.3
|
| 135 |
-
###
|
| 136 |
-
hasVariableSKUs = ( skus ) ->
|
| 137 |
-
|
| 138 |
-
return false if not skus.length
|
| 139 |
-
|
| 140 |
-
valid = skus.filter ->
|
| 141 |
-
return true if $( this ).val().trim() isnt ''
|
| 142 |
-
|
| 143 |
-
return valid.length is skus.length
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
###*
|
| 147 |
-
# Checks whether the given skus are unique.
|
| 148 |
-
#
|
| 149 |
-
# @since 2.2.3
|
| 150 |
-
###
|
| 151 |
-
hasUniqueSKUs = ( skus ) ->
|
| 152 |
-
|
| 153 |
-
skuValues = skus.map ( sku ) ->
|
| 154 |
-
$( this ).val()
|
| 155 |
-
|
| 156 |
-
skuValues = $.makeArray( skuValues )
|
| 157 |
-
|
| 158 |
-
return skuValues.every ( sku ) ->
|
| 159 |
-
skuValues.indexOf( sku ) is skuValues.lastIndexOf( sku )
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
###*
|
| 163 |
-
# Checks whether the product has more than one variation attribute.
|
| 164 |
-
#
|
| 165 |
-
# @since 2.0.0
|
| 166 |
-
###
|
| 167 |
-
hasMultipleAttributes = ->
|
| 168 |
-
|
| 169 |
-
$variation_attributes = $( '.woocommerce_attribute_data input[name^="attribute_variation"]:checked' )
|
| 170 |
-
|
| 171 |
-
return isVariable() and $variation_attributes and $variation_attributes.length > 1
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
###*
|
| 175 |
-
# Displays the given error and disables the sync checkbox
|
| 176 |
-
# Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'
|
| 177 |
-
#
|
| 178 |
-
# @since 2.2.3
|
| 179 |
-
###
|
| 180 |
-
showError = ( error ) ->
|
| 181 |
-
$( '.wc-square-sync-with-square-error.' + error ).show()
|
| 182 |
-
$( syncCheckboxID ).prop( 'disabled', true )
|
| 183 |
-
$( syncCheckboxID ).prop( 'checked', false )
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
###*
|
| 187 |
-
# Hides the given error and maybe enables the sync checkbox
|
| 188 |
-
# Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'
|
| 189 |
-
#
|
| 190 |
-
# @since 2.2.3
|
| 191 |
-
###
|
| 192 |
-
hideError = ( error, enable = true ) ->
|
| 193 |
-
$( '.wc-square-sync-with-square-error.' + error ).hide()
|
| 194 |
-
if enable
|
| 195 |
-
$( syncCheckboxID ).prop( 'disabled', false )
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
###*
|
| 199 |
-
# Handle SKU.
|
| 200 |
-
#
|
| 201 |
-
# Disables the Sync with Square checkbox and toggles an inline notice when no SKU is set on a product.
|
| 202 |
-
#
|
| 203 |
-
# @since 2.0.0
|
| 204 |
-
###
|
| 205 |
-
handleSKU = ( syncCheckboxID ) ->
|
| 206 |
-
|
| 207 |
-
if isVariable()
|
| 208 |
-
$( '#_sku' ).off 'change keypress keyup'
|
| 209 |
-
hideError( 'missing_sku', not hasMultipleAttributes() )
|
| 210 |
-
|
| 211 |
-
skus = $( 'input[id^="variable_sku"]' )
|
| 212 |
-
|
| 213 |
-
skus.on 'change keypress keyup', ( e ) ->
|
| 214 |
-
if not hasVariableSKUs( skus ) or not hasUniqueSKUs( skus )
|
| 215 |
-
showError( 'missing_variation_sku' )
|
| 216 |
-
else
|
| 217 |
-
hideError( 'missing_variation_sku', not hasMultipleAttributes() )
|
| 218 |
-
$( syncCheckboxID ).triggerHandler 'change'
|
| 219 |
-
.triggerHandler 'change'
|
| 220 |
-
|
| 221 |
-
else
|
| 222 |
-
$( 'input[id^="variable_sku"]' ).off 'change keypress keyup'
|
| 223 |
-
hideError( 'missing_variation_sku', not hasMultipleAttributes() )
|
| 224 |
-
|
| 225 |
-
$( '#_sku' ).on 'change keypress keyup', ( e ) ->
|
| 226 |
-
if '' is $( this ).val().trim()
|
| 227 |
-
showError( 'missing_sku' )
|
| 228 |
-
else
|
| 229 |
-
hideError( 'missing_sku', not hasMultipleAttributes() )
|
| 230 |
-
$( syncCheckboxID ).trigger 'change'
|
| 231 |
-
.trigger 'change'
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
###*
|
| 235 |
-
# Handle attributes.
|
| 236 |
-
#
|
| 237 |
-
# Disables the Sync with Square checkbox and toggles an inline notice when more than one attribute is set on the product.
|
| 238 |
-
#
|
| 239 |
-
# @since 2.0.0
|
| 240 |
-
###
|
| 241 |
-
handleAttributes = ( syncCheckboxID ) ->
|
| 242 |
-
|
| 243 |
-
$( '#variable_product_options' ).on 'reload', ( e ) ->
|
| 244 |
-
|
| 245 |
-
if hasMultipleAttributes()
|
| 246 |
-
showError( 'multiple_attributes' )
|
| 247 |
-
else
|
| 248 |
-
hideError( 'multiple_attributes', if isVariable() then hasVariableSKUs else hasSKU() )
|
| 249 |
-
$( syncCheckboxID ).trigger( 'change' )
|
| 250 |
-
|
| 251 |
-
.trigger( 'reload' )
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
###*
|
| 255 |
-
# Triggers an update to the sync checkbox, checking for relevant errors.
|
| 256 |
-
#
|
| 257 |
-
# @since 2.2.3
|
| 258 |
-
###
|
| 259 |
-
triggerUpdate = ->
|
| 260 |
-
handleSKU( syncCheckboxID )
|
| 261 |
-
# handleSKU misses cases where product is variable with no variations
|
| 262 |
-
if isVariable() and not $( 'input[id^="variable_sku"]' ).length
|
| 263 |
-
showError( 'missing_variation_sku' )
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
# fire once on page load
|
| 267 |
-
handleAttributes( syncCheckboxID )
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
###*
|
| 271 |
-
# Handle stock management.
|
| 272 |
-
#
|
| 273 |
-
# If product is managed by Square, handle stock fields according to chosen SoR.
|
| 274 |
-
###
|
| 275 |
-
$stockFields = $( '.stock_fields' )
|
| 276 |
-
$stockInput = $stockFields.find( '#_stock' )
|
| 277 |
-
$stockStatus = $( '.stock_status_field' )
|
| 278 |
-
$manageField = $( '._manage_stock_field' )
|
| 279 |
-
$manageInput = $manageField.find( '#_manage_stock' )
|
| 280 |
-
$manageDesc = $manageField.find( '.description' )
|
| 281 |
-
# keep note of the original manage stock checkbox description, if we need to restore it later
|
| 282 |
-
manageDescOriginal = $manageDesc.text()
|
| 283 |
-
# keep track of the original manage stock checkbox status, if we need to restore it later
|
| 284 |
-
manageStockOriginal = $( '#_manage_stock' ).is( ':checked' )
|
| 285 |
-
|
| 286 |
-
$( syncCheckboxID ).on 'change', ( e ) ->
|
| 287 |
-
|
| 288 |
-
# only handle stock fields if inventory sync is enabled
|
| 289 |
-
if not wc_square_admin_products.is_inventory_sync_enabled
|
| 290 |
-
return
|
| 291 |
-
|
| 292 |
-
variableProduct = $.inArray( $( '#product-type' ).val(), wc_square_admin_products.variable_product_types ) isnt -1
|
| 293 |
-
|
| 294 |
-
if $( this ).is( ':checked' ) and $( '#_square_item_variation_id' ).length > 0
|
| 295 |
-
|
| 296 |
-
useSquare = true
|
| 297 |
-
|
| 298 |
-
$manageDesc.html( '<a href="' + wc_square_admin_products.settings_url + '">' + wc_square_admin_products.i18n.synced_with_square + '</a>' )
|
| 299 |
-
$manageInput.prop( 'disabled', true ).prop( 'checked', not variableProduct )
|
| 300 |
-
$stockFields.hide()
|
| 301 |
-
$stockStatus.hide()
|
| 302 |
-
$stockInput.prop( 'readonly', true )
|
| 303 |
-
|
| 304 |
-
if not variableProduct
|
| 305 |
-
$stockFields.show()
|
| 306 |
-
|
| 307 |
-
# WooCommerce SoR - note: for variable products, the stock can be fetched for individual variations
|
| 308 |
-
if wc_square_admin_products.is_woocommerce_sor and not variableProduct
|
| 309 |
-
|
| 310 |
-
# add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times)
|
| 311 |
-
if $( 'p._stock_field span.description' ).length is 0
|
| 312 |
-
$stockInput.after( '<span class="description" style="display:block;clear:both;"><a href="#" id="fetch-stock-with-square">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class="spinner" style="float:none;"></div></span>' )
|
| 313 |
-
|
| 314 |
-
$( '#fetch-stock-with-square' ).on 'click', ( e ) ->
|
| 315 |
-
e.preventDefault()
|
| 316 |
-
|
| 317 |
-
$spinner = $( 'p._stock_field span.description .spinner' )
|
| 318 |
-
$spinner.css( 'visibility', 'visible' )
|
| 319 |
-
|
| 320 |
-
data =
|
| 321 |
-
action : 'wc_square_fetch_product_stock_with_square'
|
| 322 |
-
security : wc_square_admin_products.fetch_product_stock_with_square_nonce
|
| 323 |
-
product_id : $( '#post_ID' ).val()
|
| 324 |
-
|
| 325 |
-
$.post wc_square_admin_products.ajax_url, data, ( response ) ->
|
| 326 |
-
|
| 327 |
-
if response and response.success
|
| 328 |
-
|
| 329 |
-
quantity = response.data
|
| 330 |
-
|
| 331 |
-
$stockInput.val( quantity )
|
| 332 |
-
$stockFields.find( 'input[name=_original_stock]' ).val( quantity )
|
| 333 |
-
$stockInput.prop( 'readonly', false )
|
| 334 |
-
$( 'p._stock_field span.description' ).remove()
|
| 335 |
-
|
| 336 |
-
else
|
| 337 |
-
|
| 338 |
-
if response.data
|
| 339 |
-
$( '.inventory-fetch-error' ).remove()
|
| 340 |
-
$spinner.after( '<span class="inventory-fetch-error" style="display:inline-block;color:red;">' + response.data + '</span>' )
|
| 341 |
-
|
| 342 |
-
$spinner.css( 'visibility', 'hidden' )
|
| 343 |
-
console.log( response )
|
| 344 |
-
|
| 345 |
-
# Square SoR
|
| 346 |
-
else if wc_square_admin_products.is_square_sor
|
| 347 |
-
|
| 348 |
-
# add inline note explaining stock is managed by Square (sanity check to avoid appending multiple times)
|
| 349 |
-
if $( 'p._stock_field span.description' ).length is 0
|
| 350 |
-
$stockInput.after( '<span class="description" style="display:block;clear:both;">' + wc_square_admin_products.i18n.managed_by_square + '</span>' )
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
# restore defaults when user chooses to disable Sync with Square checkbox
|
| 354 |
-
else
|
| 355 |
-
|
| 356 |
-
useSquare = false
|
| 357 |
-
|
| 358 |
-
# remove any inline note to WooCommerce core stock fields that may have been added when Synced with Square is enabled
|
| 359 |
-
$( 'p._stock_field span.description' ).remove()
|
| 360 |
-
|
| 361 |
-
$stockInput.prop( 'readonly', false )
|
| 362 |
-
$manageDesc.html( manageDescOriginal )
|
| 363 |
-
$manageInput.prop( 'disabled', false ).prop( 'checked', manageStockOriginal )
|
| 364 |
-
|
| 365 |
-
if manageStockOriginal
|
| 366 |
-
$stockFields.show()
|
| 367 |
-
$stockStatus.hide()
|
| 368 |
-
else
|
| 369 |
-
$stockStatus.show()
|
| 370 |
-
$stockFields.hide()
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
# handle variations data separately (HTML differs from parent UI!)
|
| 374 |
-
$( '.woocommerce_variation' ).each ->
|
| 375 |
-
|
| 376 |
-
# fetch relevant variables for each variation
|
| 377 |
-
variationID = $( this ).find( 'h3 > a' ).attr( 'rel' )
|
| 378 |
-
$variationManageInput = $( this ).find( '#wc_square_variation_manage_stock' )
|
| 379 |
-
$variationManageField = $variationManageInput.parent()
|
| 380 |
-
$variationStockInput = $( this ).find( '.wc_input_stock' )
|
| 381 |
-
$variationStockField = $variationStockInput.parent()
|
| 382 |
-
|
| 383 |
-
# Square manages variations stock
|
| 384 |
-
if useSquare
|
| 385 |
-
|
| 386 |
-
# disable stock management inputs
|
| 387 |
-
$variationManageInput.prop( 'disabled', true ).prop( 'checked', true )
|
| 388 |
-
$variationStockInput.prop( 'readonly', true )
|
| 389 |
-
$( '#wc_square_variation_manage_stock' ).prop( 'disabled', false )
|
| 390 |
-
|
| 391 |
-
# add a note that the variation stock is managed by square, but check if it wasn't added already to avoid duplicates
|
| 392 |
-
if 0 is $variationManageField.find( '.description' ).length
|
| 393 |
-
$variationManageInput.after( '<span class="description">(' + wc_square_admin_products.i18n.managed_by_square + ')</span>' )
|
| 394 |
-
|
| 395 |
-
if wc_square_admin_products.is_woocommerce_sor
|
| 396 |
-
|
| 397 |
-
fetchVariationStockActionID = 'fetch-stock-with-square-' + variationID
|
| 398 |
-
|
| 399 |
-
# add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times)
|
| 400 |
-
if 0 is $variationStockField.find( 'span.description' ).length
|
| 401 |
-
$variationStockInput.after( '<span class="description" style="display:block;clear:both;"><a href="#" id="' + fetchVariationStockActionID + '">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class="spinner" style="float:none;"></div></span>' )
|
| 402 |
-
|
| 403 |
-
# listen for requests to update stock with Square for the individual variation
|
| 404 |
-
$( '#' + fetchVariationStockActionID ).on 'click', ( e ) ->
|
| 405 |
-
e.preventDefault()
|
| 406 |
-
|
| 407 |
-
$spinner = $( this ).next( '.spinner' )
|
| 408 |
-
$spinner.css( 'visibility', 'visible' )
|
| 409 |
-
|
| 410 |
-
data =
|
| 411 |
-
action : 'wc_square_fetch_product_stock_with_square'
|
| 412 |
-
security : wc_square_admin_products.fetch_product_stock_with_square_nonce
|
| 413 |
-
product_id : variationID
|
| 414 |
-
|
| 415 |
-
$.post wc_square_admin_products.ajax_url, data, ( response ) ->
|
| 416 |
-
|
| 417 |
-
if response and response.success
|
| 418 |
-
|
| 419 |
-
quantity = response.data
|
| 420 |
-
|
| 421 |
-
$variationStockInput.val( quantity )
|
| 422 |
-
$variationStockField.parent().find( 'input[name^="variable_original_stock"]' ).val( quantity )
|
| 423 |
-
$variationStockInput.prop( 'readonly', false )
|
| 424 |
-
$variationStockField.find( '.description' ).remove()
|
| 425 |
-
|
| 426 |
-
else
|
| 427 |
-
|
| 428 |
-
if response.data
|
| 429 |
-
$( '.inventory-fetch-error' ).remove()
|
| 430 |
-
$spinner.after( '<span class="inventory-fetch-error" style="display:inline-block;color:red;">' + response.data + '</span>' )
|
| 431 |
-
|
| 432 |
-
$spinner.css( 'visibility', 'hidden' )
|
| 433 |
-
console.log( response )
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
# restore WooCommerce stock when user chooses to disable Sync with Square checkbox
|
| 437 |
-
else
|
| 438 |
-
$variationStockInput.prop( 'readonly', false )
|
| 439 |
-
$variationManageInput.prop( 'disabled', false )
|
| 440 |
-
$variationManageInput.next( '.description' ).remove()
|
| 441 |
-
$( this ).find( '#wc_square_variation_manage_stock' ).prop( 'disabled', true )
|
| 442 |
-
|
| 443 |
-
# initial page load handling
|
| 444 |
-
.trigger 'change'
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
# trigger an update if the product type changes
|
| 448 |
-
$( '#product-type' ).on 'change', ( e ) ->
|
| 449 |
-
triggerUpdate()
|
| 450 |
-
|
| 451 |
-
# trigger an update for variable products when variations are loaded, added, or removed.
|
| 452 |
-
$( '#woocommerce-product-data' ).on 'woocommerce_variations_loaded woocommerce_variations_added woocommerce_variations_removed', ( e ) ->
|
| 453 |
-
triggerUpdate()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* global wc_square_admin_products */
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* WooCommerce Square admin general scripts for the settings page and update tab.
|
| 5 |
+
*
|
| 6 |
+
* @since 2.0.0
|
| 7 |
+
*/
|
| 8 |
+
jQuery( document ).ready( ( $ ) => {
|
| 9 |
+
const typenow = window.typenow || '';
|
| 10 |
+
const pagenow = window.pagenow || '';
|
| 11 |
+
|
| 12 |
+
// bail if not on product admin pages.
|
| 13 |
+
if ( 'product' !== typenow ) {
|
| 14 |
+
return;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
// bail if product sync is disabled.
|
| 18 |
+
if ( ! wc_square_admin_products.is_product_sync_enabled ) {
|
| 19 |
+
return;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
// products quick edit screen.
|
| 23 |
+
if ( 'edit-product' === pagenow ) {
|
| 24 |
+
// when clicking the quick edit button fetch the default Synced with Square checkbox
|
| 25 |
+
$( '#the-list' ).on( 'click', '.editinline', ( e ) => {
|
| 26 |
+
const $row = $( e.target ).closest( 'tr' );
|
| 27 |
+
const postID = $row.find( 'th.check-column input' ).val();
|
| 28 |
+
const data = {
|
| 29 |
+
action: 'wc_square_get_quick_edit_product_details',
|
| 30 |
+
security: wc_square_admin_products.get_quick_edit_product_details_nonce,
|
| 31 |
+
product_id: $row.find( 'th.check-column input' ).val(),
|
| 32 |
+
};
|
| 33 |
+
|
| 34 |
+
$.post( wc_square_admin_products.ajax_url, data, ( response ) => {
|
| 35 |
+
const $editRow = $( 'tr#edit-' + postID );
|
| 36 |
+
const $squareSynced = $editRow.find( 'select.square-synced' );
|
| 37 |
+
const $errors = $editRow.find( '.wc-square-sync-with-square-errors' );
|
| 38 |
+
|
| 39 |
+
if ( ! response.success && response.data ) {
|
| 40 |
+
// if the product has multiple attributes we show an inline error message and bail.
|
| 41 |
+
if ( 'multiple_attributes' === response.data ) {
|
| 42 |
+
$squareSynced.prop( 'checked', false );
|
| 43 |
+
$squareSynced.prop( 'disabled', true );
|
| 44 |
+
$errors.find( '.multiple_attributes' ).show();
|
| 45 |
+
return;
|
| 46 |
+
|
| 47 |
+
// if the product has variations without an SKU we show an inline error message and bail.
|
| 48 |
+
} else if ( 'missing_variation_sku' === response.data ) {
|
| 49 |
+
$squareSynced.prop( 'checked', false );
|
| 50 |
+
$squareSynced.prop( 'disabled', true );
|
| 51 |
+
$errors.find( '.missing_variation_sku' ).show();
|
| 52 |
+
return;
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
const $sku = $editRow.find( 'input[name=_sku]' );
|
| 57 |
+
const $stockStatus = $editRow.find( 'select[name=_stock_status]' );
|
| 58 |
+
const $stockQty = $editRow.find( 'input[name=_stock]' );
|
| 59 |
+
const $manageStockLabel = $editRow.find( '.manage_stock_field .manage_stock' );
|
| 60 |
+
const $manageStockInput = $editRow.find( 'input[name=_manage_stock]' );
|
| 61 |
+
const $manageStockDesc = '<span class="description"><a href="' + wc_square_admin_products.settings_url + '">' + wc_square_admin_products.i18n.synced_with_square + '</a></span>';
|
| 62 |
+
const edit_url = response.data.edit_url;
|
| 63 |
+
const i18n = response.data.i18n;
|
| 64 |
+
const is_variable = response.data.is_variable;
|
| 65 |
+
|
| 66 |
+
$squareSynced.val( response.data.is_synced_with_square );
|
| 67 |
+
|
| 68 |
+
// if the SKU changes, enabled or disable Synced with Square checkbox accordingly
|
| 69 |
+
$sku.on( 'change keyup keypress', ( e ) => {
|
| 70 |
+
if ( '' === $( e.target ).val() && ! is_variable ) {
|
| 71 |
+
$squareSynced.val( 'no' ).trigger( 'change' );
|
| 72 |
+
$squareSynced.prop( 'disabled', true );
|
| 73 |
+
$errors.find( '.missing_sku' ).show();
|
| 74 |
+
} else {
|
| 75 |
+
$squareSynced.prop( 'disabled', false );
|
| 76 |
+
$squareSynced.trigger( 'change' );
|
| 77 |
+
return $errors.find( '.missing_sku' ).hide();
|
| 78 |
+
}
|
| 79 |
+
} ).trigger( 'change' );
|
| 80 |
+
|
| 81 |
+
// if Synced with Square is enabled, we might as well disable stock management (without verbose explanations as in the product page).
|
| 82 |
+
$squareSynced.on( 'change', ( e ) => {
|
| 83 |
+
if ( 'no' === $( e.target ).val() ) {
|
| 84 |
+
$manageStockInput.off();
|
| 85 |
+
$manageStockInput.add( $stockQty ).css( {
|
| 86 |
+
opacity: 1,
|
| 87 |
+
} );
|
| 88 |
+
|
| 89 |
+
$manageStockLabel.find( '.description' ).remove();
|
| 90 |
+
|
| 91 |
+
// Stock input manipulation will differ depending on whether product is variable or simple.
|
| 92 |
+
if ( is_variable ) {
|
| 93 |
+
if ( $manageStockInput.is( ':checked' ) ) {
|
| 94 |
+
$( '.stock_qty_field' ).show();
|
| 95 |
+
$( '.backorder_field' ).show();
|
| 96 |
+
} else {
|
| 97 |
+
$( '.stock_status_field' ).show();
|
| 98 |
+
}
|
| 99 |
+
} else {
|
| 100 |
+
$stockQty.prop( 'readonly', false );
|
| 101 |
+
$stockStatus.prop( 'readonly', false );
|
| 102 |
+
}
|
| 103 |
+
} else {
|
| 104 |
+
$manageStockInput.prop( 'checked', true );
|
| 105 |
+
$manageStockInput.on( 'click', () => {
|
| 106 |
+
return false;
|
| 107 |
+
} );
|
| 108 |
+
|
| 109 |
+
$manageStockInput.add( $stockQty ).css( {
|
| 110 |
+
opacity: '0.5',
|
| 111 |
+
} );
|
| 112 |
+
|
| 113 |
+
$manageStockLabel.append( $manageStockDesc );
|
| 114 |
+
|
| 115 |
+
if ( wc_square_admin_products.is_woocommerce_sor && edit_url && i18n ) {
|
| 116 |
+
$manageStockLabel.append( '<p class="description"><a href="' + edit_url + '">' + i18n + '</a></p>' );
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
if ( is_variable ) {
|
| 120 |
+
$( '.stock_status_field' ).hide();
|
| 121 |
+
$( '.stock_qty_field' ).hide();
|
| 122 |
+
$( '.backorder_field' ).hide();
|
| 123 |
+
} else {
|
| 124 |
+
$stockQty.prop( 'readonly', true );
|
| 125 |
+
$stockStatus.prop( 'readonly', true );
|
| 126 |
+
}
|
| 127 |
+
}
|
| 128 |
+
} ).trigger( 'change' );
|
| 129 |
+
} );
|
| 130 |
+
} );
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
// individual product edit screen.
|
| 134 |
+
if ( 'product' === pagenow ) {
|
| 135 |
+
const syncCheckboxID = '#_' + wc_square_admin_products.synced_with_square_taxonomy;
|
| 136 |
+
|
| 137 |
+
/**
|
| 138 |
+
* Checks whether the product is variable.
|
| 139 |
+
*
|
| 140 |
+
* @since 2.0.0
|
| 141 |
+
*/
|
| 142 |
+
const isVariable = () => {
|
| 143 |
+
return wc_square_admin_products.variable_product_types.includes( $( '#product-type' ).val() );
|
| 144 |
+
};
|
| 145 |
+
|
| 146 |
+
/**
|
| 147 |
+
* Checks whether the product has a SKU.
|
| 148 |
+
*
|
| 149 |
+
* @since 2.0.0
|
| 150 |
+
*/
|
| 151 |
+
const hasSKU = () => {
|
| 152 |
+
return '' !== $( '#_sku' ).val().trim();
|
| 153 |
+
};
|
| 154 |
+
|
| 155 |
+
/**
|
| 156 |
+
* Checks whether the product variations all have SKUs.
|
| 157 |
+
*
|
| 158 |
+
* @since 2.2.3
|
| 159 |
+
*
|
| 160 |
+
* @param {Array} skus
|
| 161 |
+
*/
|
| 162 |
+
const hasVariableSKUs = ( skus ) => {
|
| 163 |
+
if ( ! skus.length ) {
|
| 164 |
+
return false;
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
const valid = skus.filter( ( sku ) => '' !== $( sku ).val().trim() );
|
| 168 |
+
|
| 169 |
+
return valid.length === skus.length;
|
| 170 |
+
};
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* Checks whether the given skus are unique.
|
| 174 |
+
*
|
| 175 |
+
* @since 2.2.3
|
| 176 |
+
*
|
| 177 |
+
* @param {Array} skus
|
| 178 |
+
*/
|
| 179 |
+
const hasUniqueSKUs = ( skus ) => {
|
| 180 |
+
const skuValues = skus.map( ( sku ) => $( sku ).val() );
|
| 181 |
+
|
| 182 |
+
return skuValues.every( ( sku ) => skuValues.indexOf( sku ) === skuValues.lastIndexOf( sku ) );
|
| 183 |
+
};
|
| 184 |
+
|
| 185 |
+
/**
|
| 186 |
+
* Checks whether the product has more than one variation attribute.
|
| 187 |
+
*
|
| 188 |
+
* @since 2.0.0
|
| 189 |
+
*/
|
| 190 |
+
const hasMultipleAttributes = () => {
|
| 191 |
+
const $variation_attributes = $( '.woocommerce_attribute_data input[name^="attribute_variation"]:checked' );
|
| 192 |
+
|
| 193 |
+
return isVariable() && $variation_attributes && $variation_attributes.length > 1;
|
| 194 |
+
};
|
| 195 |
+
|
| 196 |
+
/**
|
| 197 |
+
* Displays the given error and disables the sync checkbox.
|
| 198 |
+
* Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'.
|
| 199 |
+
*
|
| 200 |
+
* @since 2.2.3
|
| 201 |
+
*
|
| 202 |
+
* @param {string} error
|
| 203 |
+
*/
|
| 204 |
+
const showError = ( error ) => {
|
| 205 |
+
$( '.wc-square-sync-with-square-error.' + error ).show();
|
| 206 |
+
$( syncCheckboxID ).prop( 'disabled', true );
|
| 207 |
+
$( syncCheckboxID ).prop( 'checked', false );
|
| 208 |
+
};
|
| 209 |
+
|
| 210 |
+
/**
|
| 211 |
+
* Hides the given error and maybe enables the sync checkbox.
|
| 212 |
+
* Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'.
|
| 213 |
+
*
|
| 214 |
+
* @since 2.2.3
|
| 215 |
+
*
|
| 216 |
+
* @param {string} error
|
| 217 |
+
* @param {boolean} enable Whether to enable the sync checkbox.
|
| 218 |
+
*/
|
| 219 |
+
const hideError = ( error, enable = true ) => {
|
| 220 |
+
$( '.wc-square-sync-with-square-error.' + error ).hide();
|
| 221 |
+
|
| 222 |
+
if ( enable ) {
|
| 223 |
+
$( syncCheckboxID ).prop( 'disabled', false );
|
| 224 |
+
}
|
| 225 |
+
};
|
| 226 |
+
|
| 227 |
+
/**
|
| 228 |
+
* Handle SKU.
|
| 229 |
+
*
|
| 230 |
+
* Disables the Sync with Square checkbox and toggles an inline notice when no SKU is set on a product.
|
| 231 |
+
*
|
| 232 |
+
* @since 2.0.
|
| 233 |
+
*
|
| 234 |
+
* @param {string} syncCheckboxID
|
| 235 |
+
*/
|
| 236 |
+
const handleSKU = ( syncCheckboxID ) => {
|
| 237 |
+
if ( isVariable() ) {
|
| 238 |
+
$( '#_sku' ).off( 'change keypress keyup' );
|
| 239 |
+
hideError( 'missing_sku', ! hasMultipleAttributes() );
|
| 240 |
+
|
| 241 |
+
const skus = $( 'input[id^="variable_sku"]' );
|
| 242 |
+
skus.on( 'change keypress keyup', () => {
|
| 243 |
+
if ( ! hasVariableSKUs( $.makeArray( skus ) ) || ! hasUniqueSKUs( $.makeArray( skus ) ) ) {
|
| 244 |
+
showError( 'missing_variation_sku' );
|
| 245 |
+
} else {
|
| 246 |
+
hideError( 'missing_variation_sku', ! hasMultipleAttributes() );
|
| 247 |
+
}
|
| 248 |
+
$( syncCheckboxID ).triggerHandler( 'change' );
|
| 249 |
+
} ).triggerHandler( 'change' );
|
| 250 |
+
} else {
|
| 251 |
+
$( 'input[id^="variable_sku"]' ).off( 'change keypress keyup' );
|
| 252 |
+
hideError( 'missing_variation_sku', ! hasMultipleAttributes() );
|
| 253 |
+
|
| 254 |
+
$( '#_sku' ).on( 'change keypress keyup', ( e ) => {
|
| 255 |
+
if ( '' === $( e.target ).val().trim() ) {
|
| 256 |
+
showError( 'missing_sku' );
|
| 257 |
+
} else {
|
| 258 |
+
hideError( 'missing_sku', ! hasMultipleAttributes() );
|
| 259 |
+
}
|
| 260 |
+
$( syncCheckboxID ).trigger( 'change' );
|
| 261 |
+
} ).trigger( 'change' );
|
| 262 |
+
}
|
| 263 |
+
};
|
| 264 |
+
|
| 265 |
+
/**
|
| 266 |
+
* Disables the Sync with Square checkbox and toggles an inline notice when more than one attribute is set on the product.
|
| 267 |
+
*
|
| 268 |
+
* @since 2.0.0
|
| 269 |
+
*
|
| 270 |
+
* @param {string} syncCheckboxID
|
| 271 |
+
*/
|
| 272 |
+
const handleAttributes = ( syncCheckboxID ) => {
|
| 273 |
+
$( '#variable_product_options' ).on( 'reload', () => {
|
| 274 |
+
if ( hasMultipleAttributes() ) {
|
| 275 |
+
showError( 'multiple_attributes' );
|
| 276 |
+
} else {
|
| 277 |
+
hideError( 'multiple_attributes', isVariable() ? hasVariableSKUs : hasSKU() );
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
$( syncCheckboxID ).trigger( 'change' );
|
| 281 |
+
} ).trigger( 'reload' );
|
| 282 |
+
};
|
| 283 |
+
|
| 284 |
+
/**
|
| 285 |
+
* Triggers an update to the sync checkbox, checking for relevant errors.
|
| 286 |
+
*
|
| 287 |
+
* @since 2.2.3
|
| 288 |
+
*/
|
| 289 |
+
const triggerUpdate = () => {
|
| 290 |
+
handleSKU( syncCheckboxID );
|
| 291 |
+
$( syncCheckboxID ).trigger( 'change' );
|
| 292 |
+
|
| 293 |
+
// handleSKU misses cases where product is variable with no variations.
|
| 294 |
+
if ( isVariable() && ! $( 'input[id^="variable_sku"]' ).length ) {
|
| 295 |
+
showError( 'missing_variation_sku' );
|
| 296 |
+
}
|
| 297 |
+
};
|
| 298 |
+
|
| 299 |
+
// fire once on page load
|
| 300 |
+
handleAttributes( syncCheckboxID );
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* Handle stock management.
|
| 304 |
+
*
|
| 305 |
+
* If product is managed by Square, handle stock fields according to chosen SoR.
|
| 306 |
+
*/
|
| 307 |
+
const $stockFields = $( '.stock_fields' );
|
| 308 |
+
const $stockInput = $stockFields.find( '#_stock' );
|
| 309 |
+
const $stockStatus = $( '.stock_status_field' );
|
| 310 |
+
const $manageField = $( '._manage_stock_field' );
|
| 311 |
+
const $manageInput = $manageField.find( '#_manage_stock' );
|
| 312 |
+
const $manageDesc = $manageField.find( '.description' );
|
| 313 |
+
// keep note of the original manage stock checkbox description, if we need to restore it later
|
| 314 |
+
const manageDescOriginal = $manageDesc.text();
|
| 315 |
+
// keep track of the original manage stock checkbox status, if we need to restore it later
|
| 316 |
+
const manageStockOriginal = $( '#_manage_stock' ).is( ':checked' );
|
| 317 |
+
|
| 318 |
+
$( syncCheckboxID ).on( 'change', ( e ) => {
|
| 319 |
+
// only handle stock fields if inventory sync is enabled.
|
| 320 |
+
if ( ! wc_square_admin_products.is_inventory_sync_enabled ) {
|
| 321 |
+
return;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
const variableProduct = wc_square_admin_products.variable_product_types.includes( $( '#product-type' ).val() );
|
| 325 |
+
|
| 326 |
+
let useSquare;
|
| 327 |
+
|
| 328 |
+
if ( $( e.target ).is( ':checked' ) && $( '#_square_item_variation_id' ).length > 0 ) {
|
| 329 |
+
useSquare = true;
|
| 330 |
+
|
| 331 |
+
$manageDesc.html( '<a href="' + wc_square_admin_products.settings_url + '">' + wc_square_admin_products.i18n.synced_with_square + '</a>' );
|
| 332 |
+
$manageInput.prop( 'disabled', true ).prop( 'checked', ! variableProduct );
|
| 333 |
+
$stockFields.hide();
|
| 334 |
+
$stockStatus.hide();
|
| 335 |
+
$stockInput.prop( 'readonly', true );
|
| 336 |
+
|
| 337 |
+
if ( ! variableProduct ) {
|
| 338 |
+
$stockFields.show();
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
// WooCommerce SoR - note: for variable products, the stock can be fetched for individual variations.
|
| 342 |
+
if ( wc_square_admin_products.is_woocommerce_sor && ! variableProduct ) {
|
| 343 |
+
// add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times).
|
| 344 |
+
if ( $( 'p._stock_field span.description' ).length === 0 ) {
|
| 345 |
+
$stockInput.after(
|
| 346 |
+
'<span class="description" style="display:block;clear:both;"><a href="#" id="fetch-stock-with-square">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class="spinner" style="float:none;"></div></span>'
|
| 347 |
+
);
|
| 348 |
+
}
|
| 349 |
+
$( '#fetch-stock-with-square' ).on( 'click', ( e ) => {
|
| 350 |
+
e.preventDefault();
|
| 351 |
+
const $spinner = $( 'p._stock_field span.description .spinner' );
|
| 352 |
+
const data = {
|
| 353 |
+
action: 'wc_square_fetch_product_stock_with_square',
|
| 354 |
+
security: wc_square_admin_products.fetch_product_stock_with_square_nonce,
|
| 355 |
+
product_id: $( '#post_ID' ).val(),
|
| 356 |
+
};
|
| 357 |
+
|
| 358 |
+
$spinner.css( 'visibility', 'visible' );
|
| 359 |
+
|
| 360 |
+
$.post( wc_square_admin_products.ajax_url, data, ( response ) => {
|
| 361 |
+
if ( response && response.success ) {
|
| 362 |
+
const quantity = response.data;
|
| 363 |
+
|
| 364 |
+
$stockInput.val( quantity );
|
| 365 |
+
$stockFields.find( 'input[name=_original_stock]' ).val( quantity );
|
| 366 |
+
$stockInput.prop( 'readonly', false );
|
| 367 |
+
$( 'p._stock_field span.description' ).remove();
|
| 368 |
+
} else {
|
| 369 |
+
if ( response.data ) {
|
| 370 |
+
$( '.inventory-fetch-error' ).remove();
|
| 371 |
+
$spinner.after( '<span class="inventory-fetch-error" style="display:inline-block;color:red;">' + response.data + '</span>' );
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
$spinner.css( 'visibility', 'hidden' );
|
| 375 |
+
}
|
| 376 |
+
} );
|
| 377 |
+
} );
|
| 378 |
+
|
| 379 |
+
// Square SoR.
|
| 380 |
+
} else if ( wc_square_admin_products.is_square_sor ) {
|
| 381 |
+
// add inline note explaining stock is managed by Square (sanity check to avoid appending multiple times)
|
| 382 |
+
if ( $( 'p._stock_field span.description' ).length === 0 ) {
|
| 383 |
+
$stockInput.after( '<span class="description" style="display:block;clear:both;">' + wc_square_admin_products.i18n.managed_by_square + '</span>' );
|
| 384 |
+
}
|
| 385 |
+
}
|
| 386 |
+
} else {
|
| 387 |
+
useSquare = false;
|
| 388 |
+
|
| 389 |
+
// remove any inline note to WooCommerce core stock fields that may have been added when Synced with Square is enabled.
|
| 390 |
+
$( 'p._stock_field span.description' ).remove();
|
| 391 |
+
$stockInput.prop( 'readonly', false );
|
| 392 |
+
$manageDesc.html( manageDescOriginal );
|
| 393 |
+
$manageInput.prop( 'disabled', false ).prop( 'checked', manageStockOriginal );
|
| 394 |
+
|
| 395 |
+
if ( manageStockOriginal ) {
|
| 396 |
+
$stockFields.show();
|
| 397 |
+
$stockStatus.hide();
|
| 398 |
+
} else {
|
| 399 |
+
$stockStatus.show();
|
| 400 |
+
$stockFields.hide();
|
| 401 |
+
}
|
| 402 |
+
}
|
| 403 |
+
|
| 404 |
+
// handle variations data separately (HTML differs from parent UI!).
|
| 405 |
+
$( '.woocommerce_variation' ).each( ( index, e ) => {
|
| 406 |
+
// fetch relevant variables for each variation.
|
| 407 |
+
const variationID = $( e ).find( 'h3 > a' ).attr( 'rel' );
|
| 408 |
+
const $variationManageInput = $( e ).find( '.variable_manage_stock' );
|
| 409 |
+
const $variationManageField = $variationManageInput.parent();
|
| 410 |
+
const $variationStockInput = $( e ).find( '.wc_input_stock' );
|
| 411 |
+
const $variationStockField = $variationStockInput.parent();
|
| 412 |
+
|
| 413 |
+
// Square manages variations stock
|
| 414 |
+
if ( useSquare ) {
|
| 415 |
+
// disable stock management inputs
|
| 416 |
+
$( '#wc_square_variation_manage_stock' ).prop( 'disabled', false );
|
| 417 |
+
$variationStockInput.prop( 'readonly', true );
|
| 418 |
+
$variationManageInput
|
| 419 |
+
.prop( 'disabled', true )
|
| 420 |
+
.prop( 'checked', true );
|
| 421 |
+
|
| 422 |
+
// add a note that the variation stock is managed by square, but check if it wasn't added already to avoid duplicates.
|
| 423 |
+
if ( 0 === $variationManageField.find( '.description' ).length ) {
|
| 424 |
+
$variationManageInput.after( '<span class="description">(' + wc_square_admin_products.i18n.managed_by_square + ')</span>' );
|
| 425 |
+
}
|
| 426 |
+
|
| 427 |
+
if ( wc_square_admin_products.is_woocommerce_sor ) {
|
| 428 |
+
const fetchVariationStockActionID = 'fetch-stock-with-square-' + variationID;
|
| 429 |
+
|
| 430 |
+
// add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times)
|
| 431 |
+
if ( 0 === $variationStockField.find( 'span.description' ).length ) {
|
| 432 |
+
$variationStockInput.after(
|
| 433 |
+
'<span class="description" style="display:block;clear:both;"><a href="#" id="' + fetchVariationStockActionID + '">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class="spinner" style="float:none;"></div></span>'
|
| 434 |
+
);
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
// listen for requests to update stock with Square for the individual variation.
|
| 438 |
+
$( '#' + fetchVariationStockActionID ).on( 'click', ( e ) => {
|
| 439 |
+
e.preventDefault();
|
| 440 |
+
const $spinner = $( e.target ).next( '.spinner' );
|
| 441 |
+
const data = {
|
| 442 |
+
action: 'wc_square_fetch_product_stock_with_square',
|
| 443 |
+
security: wc_square_admin_products.fetch_product_stock_with_square_nonce,
|
| 444 |
+
product_id: variationID,
|
| 445 |
+
};
|
| 446 |
+
|
| 447 |
+
$spinner.css( 'visibility', 'visible' );
|
| 448 |
+
|
| 449 |
+
$.post( wc_square_admin_products.ajax_url, data, ( response ) => {
|
| 450 |
+
if ( response && response.success ) {
|
| 451 |
+
const quantity = response.data;
|
| 452 |
+
|
| 453 |
+
$variationStockInput.val( quantity );
|
| 454 |
+
$variationStockField.parent().find( 'input[name^="variable_original_stock"]' ).val( quantity );
|
| 455 |
+
$variationStockInput.prop( 'readonly', false );
|
| 456 |
+
$variationStockField.find( '.description' ).remove();
|
| 457 |
+
} else {
|
| 458 |
+
if ( response.data ) {
|
| 459 |
+
$( '.inventory-fetch-error' ).remove();
|
| 460 |
+
$spinner.after( '<span class="inventory-fetch-error" style="display:inline-block;color:red;">' + response.data + '</span>' );
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
$spinner.css( 'visibility', 'hidden' );
|
| 464 |
+
}
|
| 465 |
+
} );
|
| 466 |
+
} );
|
| 467 |
+
}
|
| 468 |
+
} else {
|
| 469 |
+
// restore WooCommerce stock when user chooses to disable Sync with Square checkbox.
|
| 470 |
+
$variationStockInput.prop( 'readonly', false );
|
| 471 |
+
$variationManageInput.prop( 'disabled', false );
|
| 472 |
+
$variationManageInput.next( '.description' ).remove();
|
| 473 |
+
$( e.target ).find( '#wc_square_variation_manage_stock' ).prop( 'disabled', true );
|
| 474 |
+
}
|
| 475 |
+
} );
|
| 476 |
+
// initial page load handling.
|
| 477 |
+
} ).trigger( 'change' );
|
| 478 |
+
|
| 479 |
+
// trigger an update if the product type changes.
|
| 480 |
+
$( '#product-type' ).on( 'change', () => {
|
| 481 |
+
triggerUpdate();
|
| 482 |
+
} );
|
| 483 |
+
|
| 484 |
+
// trigger an update for variable products when variations are loaded, added, or removed.
|
| 485 |
+
$( '#woocommerce-product-data' ).on( 'woocommerce_variations_loaded woocommerce_variations_added woocommerce_variations_removed', () => {
|
| 486 |
+
triggerUpdate();
|
| 487 |
+
} );
|
| 488 |
+
}
|
| 489 |
+
} );
|
assets/js/admin/wc-square-admin-products.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
"use strict";(function(){var e=[].indexOf;jQuery(document).ready(function(i){var r,t,n,a,s,o,c,d,_,u,p,l,f,h,m,k,v,g,w,y,q,b,x;if(x=null!=(g=window.typenow)?g:"",v=null!=(w=window.pagenow)?w:"","product"===x&&wc_square_admin_products.is_product_sync_enabled)return"edit-product"===v&&i("#the-list").on("click",".editinline",function(){var e,r,t;return e=i(this).closest("tr"),t=e.find("th.check-column input").val(),r={action:"wc_square_get_quick_edit_product_details",security:wc_square_admin_products.get_quick_edit_product_details_nonce,product_id:e.find("th.check-column input").val()},i.post(wc_square_admin_products.ajax_url,r,function(e){var r,n,a,s,o,c,d,_,u,p,l,f;if(r=i("tr#edit-"+t),d=r.find("select.square-synced"),n=r.find(".wc-square-sync-with-square-errors"),!e.success&&e.data){if("multiple_attributes"===e.data)return d.prop("checked",!1),d.prop("disabled",!0),void n.find(".multiple_attributes").show();if("missing_variation_sku"===e.data)return d.prop("checked",!1),d.prop("disabled",!0),void n.find(".missing_variation_sku").show()}return c=r.find("input[name=_sku]"),u=r.find("select[name=_stock_status]"),_=r.find("input[name=_stock]"),o=r.find(".manage_stock_field .manage_stock"),s=r.find("input[name=_manage_stock]"),a='<span class="description"><a href="'+wc_square_admin_products.settings_url+'">'+wc_square_admin_products.i18n.synced_with_square+"</a></span>",p=e.data.edit_url,l=e.data.i18n,f=e.data.is_variable,d.val(e.data.is_synced_with_square),c.on("change keyup keypress",function(e){return""!==i(this).val()||f?(d.prop("disabled",!1),d.trigger("change"),n.find(".missing_sku").hide()):(d.val("no"),d.prop("disabled",!0),n.find(".missing_sku").show())}).trigger("change"),d.on("change",function(e){return"no"===i(this).val()?(s.off(),s.add(_).css({opacity:1}),o.find(".description").remove(),f?s.is(":checked")?(i(".stock_qty_field").show(),i(".backorder_field").show()):i(".stock_status_field").show():(_.prop("readonly",!1),u.prop("readonly",!1))):(s.prop("checked",!0),s.on("click",function(){return!1}),s.add(_).css({opacity:"0.5"}),o.append(a),wc_square_admin_products.is_woocommerce_sor&&p&&l&&o.append('<p class="description"><a href="'+p+'">'+l+"</a></p>"),f?(i(".stock_status_field").hide(),i(".stock_qty_field").hide(),i(".backorder_field").hide()):(_.prop("readonly",!0),u.prop("readonly",!0)))}).trigger("change")})}),"product"===v?(q="#_"+wc_square_admin_products.synced_with_square_taxonomy,h=function(){var r;return r=i("#product-type").val(),e.call(wc_square_admin_products.variable_product_types,r)>=0},u=function(){return""!==i("#_sku").val().trim()},l=function(e){return!!e.length&&e.filter(function(){if(""!==i(this).val().trim())return!0}).length===e.length},p=function(e){var r;return r=e.map(function(e){return i(this).val()}),(r=i.makeArray(r)).every(function(e){return r.indexOf(e)===r.lastIndexOf(e)})},_=function(){var e;return e=i('.woocommerce_attribute_data input[name^="attribute_variation"]:checked'),h()&&e&&e.length>1},y=function(e){return i(".wc-square-sync-with-square-error."+e).show(),i(q).prop("disabled",!0),i(q).prop("checked",!1)},f=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(i(".wc-square-sync-with-square-error."+e).hide(),r)return i(q).prop("disabled",!1)},d=function(e){var r;return h()?(i("#_sku").off("change keypress keyup"),f("missing_sku",!_()),(r=i('input[id^="variable_sku"]')).on("change keypress keyup",function(t){return l(r)&&p(r)?f("missing_variation_sku",!_()):y("missing_variation_sku"),i(e).triggerHandler("change")}).triggerHandler("change")):(i('input[id^="variable_sku"]').off("change keypress keyup"),f("missing_variation_sku",!_()),i("#_sku").on("change keypress keyup",function(r){return""===i(this).val().trim()?y("missing_sku"):f("missing_sku",!_()),i(e).trigger("change")}).trigger("change"))},c=function(e){return i("#variable_product_options").on("reload",function(r){return _()?y("multiple_attributes"):f("multiple_attributes",h()?l:u()),i(e).trigger("change")}).trigger("reload")},b=function(){if(d(q),h()&&!i('input[id^="variable_sku"]').length)return y("missing_variation_sku")},c(q),a=i(".stock_fields"),s=a.find("#_stock"),o=i(".stock_status_field"),t=i("._manage_stock_field"),n=t.find("#_manage_stock"),r=t.find(".description"),m=r.text(),k=i("#_manage_stock").is(":checked"),i(q).on("change",function(e){var t,c;if(wc_square_admin_products.is_inventory_sync_enabled)return c=-1!==i.inArray(i("#product-type").val(),wc_square_admin_products.variable_product_types),i(this).is(":checked")&&i("#_square_item_variation_id").length>0?(t=!0,r.html('<a href="'+wc_square_admin_products.settings_url+'">'+wc_square_admin_products.i18n.synced_with_square+"</a>"),n.prop("disabled",!0).prop("checked",!c),a.hide(),o.hide(),s.prop("readonly",!0),c||a.show(),wc_square_admin_products.is_woocommerce_sor&&!c?(0===i("p._stock_field span.description").length&&s.after('<span class="description" style="display:block;clear:both;"><a href="#" id="fetch-stock-with-square">'+wc_square_admin_products.i18n.fetch_stock_with_square+'</a><div class="spinner" style="float:none;"></div></span>'),i("#fetch-stock-with-square").on("click",function(e){var r,t;return e.preventDefault(),(r=i("p._stock_field span.description .spinner")).css("visibility","visible"),t={action:"wc_square_fetch_product_stock_with_square",security:wc_square_admin_products.fetch_product_stock_with_square_nonce,product_id:i("#post_ID").val()},i.post(wc_square_admin_products.ajax_url,t,function(e){var t;return e&&e.success?(t=e.data,s.val(t),a.find("input[name=_original_stock]").val(t),s.prop("readonly",!1),i("p._stock_field span.description").remove()):(e.data&&(i(".inventory-fetch-error").remove(),r.after('<span class="inventory-fetch-error" style="display:inline-block;color:red;">'+e.data+"</span>")),r.css("visibility","hidden"),console.log(e))})})):wc_square_admin_products.is_square_sor&&0===i("p._stock_field span.description").length&&s.after('<span class="description" style="display:block;clear:both;">'+wc_square_admin_products.i18n.managed_by_square+"</span>")):(t=!1,i("p._stock_field span.description").remove(),s.prop("readonly",!1),r.html(m),n.prop("disabled",!1).prop("checked",k),k?(a.show(),o.hide()):(o.show(),a.hide())),i(".woocommerce_variation").each(function(){var e,r,n,a,s,o;return o=i(this).find("h3 > a").attr("rel"),r=i(this).find("#wc_square_variation_manage_stock"),e=r.parent(),a=i(this).find(".wc_input_stock"),n=a.parent(),t?(r.prop("disabled",!0).prop("checked",!0),a.prop("readonly",!0),i("#wc_square_variation_manage_stock").prop("disabled",!1),0===e.find(".description").length&&r.after('<span class="description">('+wc_square_admin_products.i18n.managed_by_square+")</span>"),wc_square_admin_products.is_woocommerce_sor?(s="fetch-stock-with-square-"+o,0===n.find("span.description").length&&a.after('<span class="description" style="display:block;clear:both;"><a href="#" id="'+s+'">'+wc_square_admin_products.i18n.fetch_stock_with_square+'</a><div class="spinner" style="float:none;"></div></span>'),i("#"+s).on("click",function(e){var r,t;return e.preventDefault(),(r=i(this).next(".spinner")).css("visibility","visible"),t={action:"wc_square_fetch_product_stock_with_square",security:wc_square_admin_products.fetch_product_stock_with_square_nonce,product_id:o},i.post(wc_square_admin_products.ajax_url,t,function(e){var t;return e&&e.success?(t=e.data,a.val(t),n.parent().find('input[name^="variable_original_stock"]').val(t),a.prop("readonly",!1),n.find(".description").remove()):(e.data&&(i(".inventory-fetch-error").remove(),r.after('<span class="inventory-fetch-error" style="display:inline-block;color:red;">'+e.data+"</span>")),r.css("visibility","hidden"),console.log(e))})})):void 0):(a.prop("readonly",!1),r.prop("disabled",!1),r.next(".description").remove(),i(this).find("#wc_square_variation_manage_stock").prop("disabled",!0))})}).trigger("change"),i("#product-type").on("change",function(e){return b()}),i("#woocommerce-product-data").on("woocommerce_variations_loaded woocommerce_variations_added woocommerce_variations_removed",function(e){return b()})):void 0})}).call(void 0);
|
| 2 |
-
//# sourceMappingURL=wc-square-admin-products.min.js.map
|
| 1 |
+
"use strict";jQuery(document).ready(function($){var typenow=window.typenow||"";var pagenow=window.pagenow||"";if("product"!==typenow){return}if(!wc_square_admin_products.is_product_sync_enabled){return}if("edit-product"===pagenow){$("#the-list").on("click",".editinline",function(e){var $row=$(e.target).closest("tr");var postID=$row.find("th.check-column input").val();var data={action:"wc_square_get_quick_edit_product_details",security:wc_square_admin_products.get_quick_edit_product_details_nonce,product_id:$row.find("th.check-column input").val()};$.post(wc_square_admin_products.ajax_url,data,function(response){var $editRow=$("tr#edit-"+postID);var $squareSynced=$editRow.find("select.square-synced");var $errors=$editRow.find(".wc-square-sync-with-square-errors");if(!response.success&&response.data){if("multiple_attributes"===response.data){$squareSynced.prop("checked",false);$squareSynced.prop("disabled",true);$errors.find(".multiple_attributes").show();return}else if("missing_variation_sku"===response.data){$squareSynced.prop("checked",false);$squareSynced.prop("disabled",true);$errors.find(".missing_variation_sku").show();return}}var $sku=$editRow.find("input[name=_sku]");var $stockStatus=$editRow.find("select[name=_stock_status]");var $stockQty=$editRow.find("input[name=_stock]");var $manageStockLabel=$editRow.find(".manage_stock_field .manage_stock");var $manageStockInput=$editRow.find("input[name=_manage_stock]");var $manageStockDesc="<span class=\"description\"><a href=\""+wc_square_admin_products.settings_url+"\">"+wc_square_admin_products.i18n.synced_with_square+"</a></span>";var edit_url=response.data.edit_url;var i18n=response.data.i18n;var is_variable=response.data.is_variable;$squareSynced.val(response.data.is_synced_with_square);$sku.on("change keyup keypress",function(e){if(""===$(e.target).val()&&!is_variable){$squareSynced.val("no").trigger("change");$squareSynced.prop("disabled",true);$errors.find(".missing_sku").show()}else{$squareSynced.prop("disabled",false);$squareSynced.trigger("change");return $errors.find(".missing_sku").hide()}}).trigger("change");$squareSynced.on("change",function(e){if("no"===$(e.target).val()){$manageStockInput.off();$manageStockInput.add($stockQty).css({opacity:1});$manageStockLabel.find(".description").remove();if(is_variable){if($manageStockInput.is(":checked")){$(".stock_qty_field").show();$(".backorder_field").show()}else{$(".stock_status_field").show()}}else{$stockQty.prop("readonly",false);$stockStatus.prop("readonly",false)}}else{$manageStockInput.prop("checked",true);$manageStockInput.on("click",function(){return false});$manageStockInput.add($stockQty).css({opacity:"0.5"});$manageStockLabel.append($manageStockDesc);if(wc_square_admin_products.is_woocommerce_sor&&edit_url&&i18n){$manageStockLabel.append("<p class=\"description\"><a href=\""+edit_url+"\">"+i18n+"</a></p>")}if(is_variable){$(".stock_status_field").hide();$(".stock_qty_field").hide();$(".backorder_field").hide()}else{$stockQty.prop("readonly",true);$stockStatus.prop("readonly",true)}}}).trigger("change")})})}if("product"===pagenow){var syncCheckboxID="#_"+wc_square_admin_products.synced_with_square_taxonomy;var isVariable=function isVariable(){return wc_square_admin_products.variable_product_types.includes($("#product-type").val())};var hasSKU=function hasSKU(){return""!==$("#_sku").val().trim()};var hasVariableSKUs=function hasVariableSKUs(skus){if(!skus.length){return false}var valid=skus.filter(function(sku){return""!==$(sku).val().trim()});return valid.length===skus.length};var hasUniqueSKUs=function hasUniqueSKUs(skus){var skuValues=skus.map(function(sku){return $(sku).val()});return skuValues.every(function(sku){return skuValues.indexOf(sku)===skuValues.lastIndexOf(sku)})};var hasMultipleAttributes=function hasMultipleAttributes(){var $variation_attributes=$(".woocommerce_attribute_data input[name^=\"attribute_variation\"]:checked");return isVariable()&&$variation_attributes&&$variation_attributes.length>1};var showError=function showError(error){$(".wc-square-sync-with-square-error."+error).show();$(syncCheckboxID).prop("disabled",true);$(syncCheckboxID).prop("checked",false)};var hideError=function hideError(error){var enable=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;$(".wc-square-sync-with-square-error."+error).hide();if(enable){$(syncCheckboxID).prop("disabled",false)}};var handleSKU=function handleSKU(syncCheckboxID){if(isVariable()){$("#_sku").off("change keypress keyup");hideError("missing_sku",!hasMultipleAttributes());var skus=$("input[id^=\"variable_sku\"]");skus.on("change keypress keyup",function(){if(!hasVariableSKUs($.makeArray(skus))||!hasUniqueSKUs($.makeArray(skus))){showError("missing_variation_sku")}else{hideError("missing_variation_sku",!hasMultipleAttributes())}$(syncCheckboxID).triggerHandler("change")}).triggerHandler("change")}else{$("input[id^=\"variable_sku\"]").off("change keypress keyup");hideError("missing_variation_sku",!hasMultipleAttributes());$("#_sku").on("change keypress keyup",function(e){if(""===$(e.target).val().trim()){showError("missing_sku")}else{hideError("missing_sku",!hasMultipleAttributes())}$(syncCheckboxID).trigger("change")}).trigger("change")}};var handleAttributes=function handleAttributes(syncCheckboxID){$("#variable_product_options").on("reload",function(){if(hasMultipleAttributes()){showError("multiple_attributes")}else{hideError("multiple_attributes",isVariable()?hasVariableSKUs:hasSKU())}$(syncCheckboxID).trigger("change")}).trigger("reload")};var triggerUpdate=function triggerUpdate(){handleSKU(syncCheckboxID);$(syncCheckboxID).trigger("change");if(isVariable()&&!$("input[id^=\"variable_sku\"]").length){showError("missing_variation_sku")}};handleAttributes(syncCheckboxID);var $stockFields=$(".stock_fields");var $stockInput=$stockFields.find("#_stock");var $stockStatus=$(".stock_status_field");var $manageField=$("._manage_stock_field");var $manageInput=$manageField.find("#_manage_stock");var $manageDesc=$manageField.find(".description");var manageDescOriginal=$manageDesc.text();var manageStockOriginal=$("#_manage_stock").is(":checked");$(syncCheckboxID).on("change",function(e){if(!wc_square_admin_products.is_inventory_sync_enabled){return}var variableProduct=wc_square_admin_products.variable_product_types.includes($("#product-type").val());var useSquare;if($(e.target).is(":checked")&&$("#_square_item_variation_id").length>0){useSquare=true;$manageDesc.html("<a href=\""+wc_square_admin_products.settings_url+"\">"+wc_square_admin_products.i18n.synced_with_square+"</a>");$manageInput.prop("disabled",true).prop("checked",!variableProduct);$stockFields.hide();$stockStatus.hide();$stockInput.prop("readonly",true);if(!variableProduct){$stockFields.show()}if(wc_square_admin_products.is_woocommerce_sor&&!variableProduct){if($("p._stock_field span.description").length===0){$stockInput.after("<span class=\"description\" style=\"display:block;clear:both;\"><a href=\"#\" id=\"fetch-stock-with-square\">"+wc_square_admin_products.i18n.fetch_stock_with_square+"</a><div class=\"spinner\" style=\"float:none;\"></div></span>")}$("#fetch-stock-with-square").on("click",function(e){e.preventDefault();var $spinner=$("p._stock_field span.description .spinner");var data={action:"wc_square_fetch_product_stock_with_square",security:wc_square_admin_products.fetch_product_stock_with_square_nonce,product_id:$("#post_ID").val()};$spinner.css("visibility","visible");$.post(wc_square_admin_products.ajax_url,data,function(response){if(response&&response.success){var quantity=response.data;$stockInput.val(quantity);$stockFields.find("input[name=_original_stock]").val(quantity);$stockInput.prop("readonly",false);$("p._stock_field span.description").remove()}else{if(response.data){$(".inventory-fetch-error").remove();$spinner.after("<span class=\"inventory-fetch-error\" style=\"display:inline-block;color:red;\">"+response.data+"</span>")}$spinner.css("visibility","hidden")}})})}else if(wc_square_admin_products.is_square_sor){if($("p._stock_field span.description").length===0){$stockInput.after("<span class=\"description\" style=\"display:block;clear:both;\">"+wc_square_admin_products.i18n.managed_by_square+"</span>")}}}else{useSquare=false;$("p._stock_field span.description").remove();$stockInput.prop("readonly",false);$manageDesc.html(manageDescOriginal);$manageInput.prop("disabled",false).prop("checked",manageStockOriginal);if(manageStockOriginal){$stockFields.show();$stockStatus.hide()}else{$stockStatus.show();$stockFields.hide()}}$(".woocommerce_variation").each(function(index,e){var variationID=$(e).find("h3 > a").attr("rel");var $variationManageInput=$(e).find(".variable_manage_stock");var $variationManageField=$variationManageInput.parent();var $variationStockInput=$(e).find(".wc_input_stock");var $variationStockField=$variationStockInput.parent();if(useSquare){$("#wc_square_variation_manage_stock").prop("disabled",false);$variationStockInput.prop("readonly",true);$variationManageInput.prop("disabled",true).prop("checked",true);if(0===$variationManageField.find(".description").length){$variationManageInput.after("<span class=\"description\">("+wc_square_admin_products.i18n.managed_by_square+")</span>")}if(wc_square_admin_products.is_woocommerce_sor){var fetchVariationStockActionID="fetch-stock-with-square-"+variationID;if(0===$variationStockField.find("span.description").length){$variationStockInput.after("<span class=\"description\" style=\"display:block;clear:both;\"><a href=\"#\" id=\""+fetchVariationStockActionID+"\">"+wc_square_admin_products.i18n.fetch_stock_with_square+"</a><div class=\"spinner\" style=\"float:none;\"></div></span>")}$("#"+fetchVariationStockActionID).on("click",function(e){e.preventDefault();var $spinner=$(e.target).next(".spinner");var data={action:"wc_square_fetch_product_stock_with_square",security:wc_square_admin_products.fetch_product_stock_with_square_nonce,product_id:variationID};$spinner.css("visibility","visible");$.post(wc_square_admin_products.ajax_url,data,function(response){if(response&&response.success){var quantity=response.data;$variationStockInput.val(quantity);$variationStockField.parent().find("input[name^=\"variable_original_stock\"]").val(quantity);$variationStockInput.prop("readonly",false);$variationStockField.find(".description").remove()}else{if(response.data){$(".inventory-fetch-error").remove();$spinner.after("<span class=\"inventory-fetch-error\" style=\"display:inline-block;color:red;\">"+response.data+"</span>")}$spinner.css("visibility","hidden")}})})}}else{$variationStockInput.prop("readonly",false);$variationManageInput.prop("disabled",false);$variationManageInput.next(".description").remove();$(e.target).find("#wc_square_variation_manage_stock").prop("disabled",true)}})}).trigger("change");$("#product-type").on("change",function(){triggerUpdate()});$("#woocommerce-product-data").on("woocommerce_variations_loaded woocommerce_variations_added woocommerce_variations_removed",function(){triggerUpdate()})}});
|
| 2 |
+
//# sourceMappingURL=wc-square-admin-products.min.js.map
|
assets/js/admin/wc-square-admin-products.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":3,"sources":["wc-square-admin-products.min.js"],"names":["indexOf","jQuery","document","ready","$","$manageDesc","$manageField","$manageInput","$stockFields","$stockInput","$stockStatus","handleAttributes","handleSKU","hasMultipleAttributes","hasSKU","hasUniqueSKUs","hasVariableSKUs","hideError","isVariable","manageDescOriginal","manageStockOriginal","pagenow","ref","ref1","showError","syncCheckboxID","triggerUpdate","typenow","window","wc_square_admin_products","is_product_sync_enabled","on","$row","data","postID","this","closest","find","val","action","security","get_quick_edit_product_details_nonce","product_id","post","ajax_url","response","$editRow","$errors","$manageStockDesc","$manageStockInput","$manageStockLabel","$sku","$squareSynced","$stockQty","edit_url","i18n","is_variable","success","prop","show","settings_url","synced_with_square","is_synced_with_square","e","trigger","hide","off","add","css","opacity","remove","is","append","is_woocommerce_sor","synced_with_square_taxonomy","ref2","call","variable_product_types","trim","skus","length","filter","skuValues","map","sku","makeArray","every","lastIndexOf","$variation_attributes","error","enable","arguments","undefined","triggerHandler","text","useSquare","variableProduct","is_inventory_sync_enabled","inArray","html","after","fetch_stock_with_square","$spinner","preventDefault","fetch_product_stock_with_square_nonce","quantity","console","log","is_square_sor","managed_by_square","each","$variationManageField","$variationManageInput","$variationStockField","$variationStockInput","fetchVariationStockActionID","variationID","attr","parent","next"],"mappings":"AAAA,cAEA,WAGE,IAAIA,KAAaA,QAOjBC,OAAOC,UAAUC,MAAM,SAAUC,GAyD/B,IAAIC,EAAaC,EAAcC,EAAcC,EAAcC,EAAaC,EAAcC,EAAkBC,EAAWC,EAAuBC,EAAQC,EAAeC,EAAiBC,EAAWC,EAAYC,EAAoBC,EAAqBC,EAASC,EAAKC,EAAMC,EAAWC,EAAgBC,EAAeC,EAIhT,GAHAA,EAAoC,OAAzBL,EAAMM,OAAOD,SAAmBL,EAAM,GACjDD,EAAqC,OAA1BE,EAAOK,OAAOP,SAAmBE,EAAO,GAE/C,YAAcI,GAIbE,yBAAyBC,wBAuG9B,MAnGI,iBAAmBT,GAErBjB,EAAE,aAAa2B,G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,KAAKsD,kBAAoB,YAE5GhF,yBAAyB4C,oBAC3B0C,EAA8B,2BAA6BC,EAEvD,IAAMH,EAAqB5E,KAAK,oBAAoB2C,QACtDkC,EAAqBd,MAAM,+EAAiFe,EAA8B,KAAOtF,yBAAyB0B,KAAK8C,wBAA0B,8DAGpMjG,EAAE,IAAM+G,GAA6BpF,GAAG,QAAS,SAAUgC,GAChE,IAAIuC,EAAUrE,EASd,OARA8B,EAAEwC,kBACFD,EAAWlG,EAAE+B,MAAMoF,KAAK,aACfnD,IAAI,aAAc,WAC3BnC,GACEM,OAAQ,4CACRC,SAAUX,yBAAyB2E,sCACnC9D,WAAY0E,GAEPhH,EAAEuC,KAAKd,yBAAyBe,SAAUX,EAAM,SAAUY,GAC/D,IAAI4D,EACJ,OAAI5D,GAAYA,EAASY,SACvBgD,EAAW5D,EAASZ,KACpBiF,EAAqB5E,IAAImE,GACzBQ,EAAqBK,SAASjF,KAAK,0CAA0CC,IAAImE,GACjFS,EAAqBxD,KAAK,YAAY,GAC/BuD,EAAqB5E,KAAK,gBAAgBiC,WAE7CzB,EAASZ,OACX7B,EAAE,0BAA0BkE,SAC5BgC,EAASF,MAAM,+EAAiFvD,EAASZ,KAAO,YAElHqE,EAASlC,IAAI,aAAc,UACpBsC,QAAQC,IAAI9D,cA/B3B,IAsCAqE,EAAqBxD,KAAK,YAAY,GACtCsD,EAAsBtD,KAAK,YAAY,GACvCsD,EAAsBO,KAAK,gBAAgBjD,SACpClE,EAAE+B,MAAME,KAAK,qCAAqCqB,KAAK,YAAY,QAI7EM,QAAQ,UAEX5D,EAAE,iBAAiB2B,GAAG,SAAU,SAAUgC,GACxC,OAAOrC,MAGFtB,EAAE,6BAA6B2B,GAAG,4FAA6F,SAAUgC,GAC9I,OAAOrC,YA1PX,MA8PDkD,UAAKgB","file":"wc-square-admin-products.min.js"}
|
| 1 |
+
{"version":3,"sources":["wc-square-admin-products.js"],"names":["jQuery","document","ready","$","typenow","window","pagenow","wc_square_admin_products","is_product_sync_enabled","on","e","$row","target","closest","postID","find","val","data","action","security","get_quick_edit_product_details_nonce","product_id","post","ajax_url","response","$editRow","$squareSynced","$errors","success","prop","show","$sku","$stockStatus","$stockQty","$manageStockLabel","$manageStockInput","$manageStockDesc","settings_url","i18n","synced_with_square","edit_url","is_variable","is_synced_with_square","trigger","hide","off","add","css","opacity","remove","is","append","is_woocommerce_sor","syncCheckboxID","synced_with_square_taxonomy","isVariable","variable_product_types","includes","hasSKU","trim","hasVariableSKUs","skus","length","valid","filter","sku","hasUniqueSKUs","skuValues","map","every","indexOf","lastIndexOf","hasMultipleAttributes","$variation_attributes","showError","error","hideError","enable","handleSKU","makeArray","triggerHandler","handleAttributes","triggerUpdate","$stockFields","$stockInput","$manageField","$manageInput","$manageDesc","manageDescOriginal","text","manageStockOriginal","is_inventory_sync_enabled","variableProduct","useSquare","html","after","fetch_stock_with_square","preventDefault","$spinner","fetch_product_stock_with_square_nonce","quantity","is_square_sor","managed_by_square","each","index","variationID","attr","$variationManageInput","$variationManageField","parent","$variationStockInput","$variationStockField","fetchVariationStockActionID","next"],"mappings":"aAOAA,MAAM,CAAEC,QAAF,CAAN,CAAmBC,KAAnB,CAA0B,SAAEC,CAAF,CAAS,CAClC,GAAMC,CAAAA,OAAO,CAAGC,MAAM,CAACD,OAAP,EAAkB,EAAlC,CACA,GAAME,CAAAA,OAAO,CAAGD,MAAM,CAACC,OAAP,EAAkB,EAAlC,CAGA,GAAK,YAAcF,OAAnB,CAA6B,CAC5B,MACA,CAGD,GAAK,CAAEG,wBAAwB,CAACC,uBAAhC,CAA0D,CACzD,MACA,CAGD,GAAK,iBAAmBF,OAAxB,CAAkC,CAEjCH,CAAC,CAAE,WAAF,CAAD,CAAiBM,EAAjB,CAAqB,OAArB,CAA8B,aAA9B,CAA6C,SAAEC,CAAF,CAAS,CACrD,GAAMC,CAAAA,IAAI,CAAGR,CAAC,CAAEO,CAAC,CAACE,MAAJ,CAAD,CAAcC,OAAd,CAAuB,IAAvB,C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A,CACD,CAjeD","sourcesContent":["/* global wc_square_admin_products */\n\n/**\n * WooCommerce Square admin general scripts for the settings page and update tab.\n *\n * @since 2.0.0\n */\njQuery( document ).ready( ( $ ) => {\n\tconst typenow = window.typenow || '';\n\tconst pagenow = window.pagenow || '';\n\n\t// bail if not on product admin pages.\n\tif ( 'product' !== typenow ) {\n\t\treturn;\n\t}\n\n\t// bail if product sync is disabled.\n\tif ( ! wc_square_admin_products.is_product_sync_enabled ) {\n\t\treturn;\n\t}\n\n\t// products quick edit screen.\n\tif ( 'edit-product' === pagenow ) {\n\t\t// when clicking the quick edit button fetch the default Synced with Square checkbox\n\t\t$( '#the-list' ).on( 'click', '.editinline', ( e ) => {\n\t\t\tconst $row = $( e.target ).closest( 'tr' );\n\t\t\tconst postID = $row.find( 'th.check-column input' ).val();\n\t\t\tconst data = {\n\t\t\t\taction: 'wc_square_get_quick_edit_product_details',\n\t\t\t\tsecurity: wc_square_admin_products.get_quick_edit_product_details_nonce,\n\t\t\t\tproduct_id: $row.find( 'th.check-column input' ).val(),\n\t\t\t};\n\n\t\t\t$.post( wc_square_admin_products.ajax_url, data, ( response ) => {\n\t\t\t\tconst $editRow = $( 'tr#edit-' + postID );\n\t\t\t\tconst $squareSynced = $editRow.find( 'select.square-synced' );\n\t\t\t\tconst $errors = $editRow.find( '.wc-square-sync-with-square-errors' );\n\n\t\t\t\tif ( ! response.success && response.data ) {\n\t\t\t\t\t// if the product has multiple attributes we show an inline error message and bail.\n\t\t\t\t\tif ( 'multiple_attributes' === response.data ) {\n\t\t\t\t\t\t$squareSynced.prop( 'checked', false );\n\t\t\t\t\t\t$squareSynced.prop( 'disabled', true );\n\t\t\t\t\t\t$errors.find( '.multiple_attributes' ).show();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// if the product has variations without an SKU we show an inline error message and bail.\n\t\t\t\t\t} else if ( 'missing_variation_sku' === response.data ) {\n\t\t\t\t\t\t$squareSynced.prop( 'checked', false );\n\t\t\t\t\t\t$squareSynced.prop( 'disabled', true );\n\t\t\t\t\t\t$errors.find( '.missing_variation_sku' ).show();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst $sku = $editRow.find( 'input[name=_sku]' );\n\t\t\t\tconst $stockStatus = $editRow.find( 'select[name=_stock_status]' );\n\t\t\t\tconst $stockQty = $editRow.find( 'input[name=_stock]' );\n\t\t\t\tconst $manageStockLabel = $editRow.find( '.manage_stock_field .manage_stock' );\n\t\t\t\tconst $manageStockInput = $editRow.find( 'input[name=_manage_stock]' );\n\t\t\t\tconst $manageStockDesc = '<span class=\"description\"><a href=\"' + wc_square_admin_products.settings_url + '\">' + wc_square_admin_products.i18n.synced_with_square + '</a></span>';\n\t\t\t\tconst edit_url = response.data.edit_url;\n\t\t\t\tconst i18n = response.data.i18n;\n\t\t\t\tconst is_variable = response.data.is_variable;\n\n\t\t\t\t$squareSynced.val( response.data.is_synced_with_square );\n\n\t\t\t\t// if the SKU changes, enabled or disable Synced with Square checkbox accordingly\n\t\t\t\t$sku.on( 'change keyup keypress', ( e ) => {\n\t\t\t\t\tif ( '' === $( e.target ).val() && ! is_variable ) {\n\t\t\t\t\t\t$squareSynced.val( 'no' ).trigger( 'change' );\n\t\t\t\t\t\t$squareSynced.prop( 'disabled', true );\n\t\t\t\t\t\t$errors.find( '.missing_sku' ).show();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$squareSynced.prop( 'disabled', false );\n\t\t\t\t\t\t$squareSynced.trigger( 'change' );\n\t\t\t\t\t\treturn $errors.find( '.missing_sku' ).hide();\n\t\t\t\t\t}\n\t\t\t\t} ).trigger( 'change' );\n\n\t\t\t\t// if Synced with Square is enabled, we might as well disable stock management (without verbose explanations as in the product page).\n\t\t\t\t$squareSynced.on( 'change', ( e ) => {\n\t\t\t\t\tif ( 'no' === $( e.target ).val() ) {\n\t\t\t\t\t\t$manageStockInput.off();\n\t\t\t\t\t\t$manageStockInput.add( $stockQty ).css( {\n\t\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\t} );\n\n\t\t\t\t\t\t$manageStockLabel.find( '.description' ).remove();\n\n\t\t\t\t\t\t// Stock input manipulation will differ depending on whether product is variable or simple.\n\t\t\t\t\t\tif ( is_variable ) {\n\t\t\t\t\t\t\tif ( $manageStockInput.is( ':checked' ) ) {\n\t\t\t\t\t\t\t\t$( '.stock_qty_field' ).show();\n\t\t\t\t\t\t\t\t$( '.backorder_field' ).show();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$( '.stock_status_field' ).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$stockQty.prop( 'readonly', false );\n\t\t\t\t\t\t\t$stockStatus.prop( 'readonly', false );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$manageStockInput.prop( 'checked', true );\n\t\t\t\t\t\t$manageStockInput.on( 'click', () => {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t} );\n\n\t\t\t\t\t\t$manageStockInput.add( $stockQty ).css( {\n\t\t\t\t\t\t\topacity: '0.5',\n\t\t\t\t\t\t} );\n\n\t\t\t\t\t\t$manageStockLabel.append( $manageStockDesc );\n\n\t\t\t\t\t\tif ( wc_square_admin_products.is_woocommerce_sor && edit_url && i18n ) {\n\t\t\t\t\t\t\t$manageStockLabel.append( '<p class=\"description\"><a href=\"' + edit_url + '\">' + i18n + '</a></p>' );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( is_variable ) {\n\t\t\t\t\t\t\t$( '.stock_status_field' ).hide();\n\t\t\t\t\t\t\t$( '.stock_qty_field' ).hide();\n\t\t\t\t\t\t\t$( '.backorder_field' ).hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$stockQty.prop( 'readonly', true );\n\t\t\t\t\t\t\t$stockStatus.prop( 'readonly', true );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ).trigger( 'change' );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// individual product edit screen.\n\tif ( 'product' === pagenow ) {\n\t\tconst syncCheckboxID = '#_' + wc_square_admin_products.synced_with_square_taxonomy;\n\n\t\t/**\n\t\t * Checks whether the product is variable.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\tconst isVariable = () => {\n\t\t\treturn wc_square_admin_products.variable_product_types.includes( $( '#product-type' ).val() );\n\t\t};\n\n\t\t/**\n\t\t * Checks whether the product has a SKU.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\tconst hasSKU = () => {\n\t\t\treturn '' !== $( '#_sku' ).val().trim();\n\t\t};\n\n\t\t/**\n\t\t * Checks whether the product variations all have SKUs.\n\t\t *\n\t\t * @since 2.2.3\n\t\t *\n\t\t * @param {Array} skus\n\t\t */\n\t\tconst hasVariableSKUs = ( skus ) => {\n\t\t\tif ( ! skus.length ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tconst valid = skus.filter( ( sku ) => '' !== $( sku ).val().trim() );\n\n\t\t\treturn valid.length === skus.length;\n\t\t};\n\n\t\t/**\n\t\t * Checks whether the given skus are unique.\n\t\t *\n\t\t * @since 2.2.3\n\t\t *\n\t\t * @param {Array} skus\n\t\t */\n\t\tconst hasUniqueSKUs = ( skus ) => {\n\t\t\tconst skuValues = skus.map( ( sku ) => $( sku ).val() );\n\n\t\t\treturn skuValues.every( ( sku ) => skuValues.indexOf( sku ) === skuValues.lastIndexOf( sku ) );\n\t\t};\n\n\t\t/**\n\t\t * Checks whether the product has more than one variation attribute.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\tconst hasMultipleAttributes = () => {\n\t\t\tconst $variation_attributes = $( '.woocommerce_attribute_data input[name^=\"attribute_variation\"]:checked' );\n\n\t\t\treturn isVariable() && $variation_attributes && $variation_attributes.length > 1;\n\t\t};\n\n\t\t/**\n\t\t * Displays the given error and disables the sync checkbox.\n\t\t * Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'.\n\t\t *\n\t\t * @since 2.2.3\n\t\t *\n\t\t * @param {string} error\n\t\t */\n\t\tconst showError = ( error ) => {\n\t\t\t$( '.wc-square-sync-with-square-error.' + error ).show();\n\t\t\t$( syncCheckboxID ).prop( 'disabled', true );\n\t\t\t$( syncCheckboxID ).prop( 'checked', false );\n\t\t};\n\n\t\t/**\n\t\t * Hides the given error and maybe enables the sync checkbox.\n\t\t * Accepted errors are 'missing_sku', 'missing_variation_sku', and 'multiple_attributes'.\n\t\t *\n\t\t * @since 2.2.3\n\t\t *\n\t\t * @param {string} error\n\t\t * @param {boolean} enable Whether to enable the sync checkbox.\n\t\t */\n\t\tconst hideError = ( error, enable = true ) => {\n\t\t\t$( '.wc-square-sync-with-square-error.' + error ).hide();\n\n\t\t\tif ( enable ) {\n\t\t\t\t$( syncCheckboxID ).prop( 'disabled', false );\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Handle SKU.\n\t\t *\n\t\t * Disables the Sync with Square checkbox and toggles an inline notice when no SKU is set on a product.\n\t\t *\n\t\t * @since 2.0.\n\t\t *\n\t\t * @param {string} syncCheckboxID\n\t\t */\n\t\tconst handleSKU = ( syncCheckboxID ) => {\n\t\t\tif ( isVariable() ) {\n\t\t\t\t$( '#_sku' ).off( 'change keypress keyup' );\n\t\t\t\thideError( 'missing_sku', ! hasMultipleAttributes() );\n\n\t\t\t\tconst skus = $( 'input[id^=\"variable_sku\"]' );\n\t\t\t\tskus.on( 'change keypress keyup', () => {\n\t\t\t\t\tif ( ! hasVariableSKUs( $.makeArray( skus ) ) || ! hasUniqueSKUs( $.makeArray( skus ) ) ) {\n\t\t\t\t\t\tshowError( 'missing_variation_sku' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\thideError( 'missing_variation_sku', ! hasMultipleAttributes() );\n\t\t\t\t\t}\n\t\t\t\t\t$( syncCheckboxID ).triggerHandler( 'change' );\n\t\t\t\t} ).triggerHandler( 'change' );\n\t\t\t} else {\n\t\t\t\t$( 'input[id^=\"variable_sku\"]' ).off( 'change keypress keyup' );\n\t\t\t\thideError( 'missing_variation_sku', ! hasMultipleAttributes() );\n\n\t\t\t\t$( '#_sku' ).on( 'change keypress keyup', ( e ) => {\n\t\t\t\t\tif ( '' === $( e.target ).val().trim() ) {\n\t\t\t\t\t\tshowError( 'missing_sku' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\thideError( 'missing_sku', ! hasMultipleAttributes() );\n\t\t\t\t\t}\n\t\t\t\t\t$( syncCheckboxID ).trigger( 'change' );\n\t\t\t\t} ).trigger( 'change' );\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Disables the Sync with Square checkbox and toggles an inline notice when more than one attribute is set on the product.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {string} syncCheckboxID\n\t\t */\n\t\tconst handleAttributes = ( syncCheckboxID ) => {\n\t\t\t$( '#variable_product_options' ).on( 'reload', () => {\n\t\t\t\tif ( hasMultipleAttributes() ) {\n\t\t\t\t\tshowError( 'multiple_attributes' );\n\t\t\t\t} else {\n\t\t\t\t\thideError( 'multiple_attributes', isVariable() ? hasVariableSKUs : hasSKU() );\n\t\t\t\t}\n\n\t\t\t\t$( syncCheckboxID ).trigger( 'change' );\n\t\t\t} ).trigger( 'reload' );\n\t\t};\n\n\t\t/**\n\t\t * Triggers an update to the sync checkbox, checking for relevant errors.\n\t\t *\n\t\t * @since 2.2.3\n\t\t */\n\t\tconst triggerUpdate = () => {\n\t\t\thandleSKU( syncCheckboxID );\n\t\t\t$( syncCheckboxID ).trigger( 'change' );\n\n\t\t\t// handleSKU misses cases where product is variable with no variations.\n\t\t\tif ( isVariable() && ! $( 'input[id^=\"variable_sku\"]' ).length ) {\n\t\t\t\tshowError( 'missing_variation_sku' );\n\t\t\t}\n\t\t};\n\n\t\t// fire once on page load\n\t\thandleAttributes( syncCheckboxID );\n\n\t\t/**\n\t\t * Handle stock management.\n\t\t *\n\t\t * If product is managed by Square, handle stock fields according to chosen SoR.\n\t\t */\n\t\tconst $stockFields = $( '.stock_fields' );\n\t\tconst $stockInput = $stockFields.find( '#_stock' );\n\t\tconst $stockStatus = $( '.stock_status_field' );\n\t\tconst $manageField = $( '._manage_stock_field' );\n\t\tconst $manageInput = $manageField.find( '#_manage_stock' );\n\t\tconst $manageDesc = $manageField.find( '.description' );\n\t\t// keep note of the original manage stock checkbox description, if we need to restore it later\n\t\tconst manageDescOriginal = $manageDesc.text();\n\t\t// keep track of the original manage stock checkbox status, if we need to restore it later\n\t\tconst manageStockOriginal = $( '#_manage_stock' ).is( ':checked' );\n\n\t\t$( syncCheckboxID ).on( 'change', ( e ) => {\n\t\t\t// only handle stock fields if inventory sync is enabled.\n\t\t\tif ( ! wc_square_admin_products.is_inventory_sync_enabled ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst variableProduct = wc_square_admin_products.variable_product_types.includes( $( '#product-type' ).val() );\n\n\t\t\tlet useSquare;\n\n\t\t\tif ( $( e.target ).is( ':checked' ) && $( '#_square_item_variation_id' ).length > 0 ) {\n\t\t\t\tuseSquare = true;\n\n\t\t\t\t$manageDesc.html( '<a href=\"' + wc_square_admin_products.settings_url + '\">' + wc_square_admin_products.i18n.synced_with_square + '</a>' );\n\t\t\t\t$manageInput.prop( 'disabled', true ).prop( 'checked', ! variableProduct );\n\t\t\t\t$stockFields.hide();\n\t\t\t\t$stockStatus.hide();\n\t\t\t\t$stockInput.prop( 'readonly', true );\n\n\t\t\t\tif ( ! variableProduct ) {\n\t\t\t\t\t$stockFields.show();\n\t\t\t\t}\n\n\t\t\t\t// WooCommerce SoR - note: for variable products, the stock can be fetched for individual variations.\n\t\t\t\tif ( wc_square_admin_products.is_woocommerce_sor && ! variableProduct ) {\n\t\t\t\t\t// add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times).\n\t\t\t\t\tif ( $( 'p._stock_field span.description' ).length === 0 ) {\n\t\t\t\t\t\t$stockInput.after(\n\t\t\t\t\t\t\t'<span class=\"description\" style=\"display:block;clear:both;\"><a href=\"#\" id=\"fetch-stock-with-square\">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class=\"spinner\" style=\"float:none;\"></div></span>'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$( '#fetch-stock-with-square' ).on( 'click', ( e ) => {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tconst $spinner = $( 'p._stock_field span.description .spinner' );\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\taction: 'wc_square_fetch_product_stock_with_square',\n\t\t\t\t\t\t\tsecurity: wc_square_admin_products.fetch_product_stock_with_square_nonce,\n\t\t\t\t\t\t\tproduct_id: $( '#post_ID' ).val(),\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t$spinner.css( 'visibility', 'visible' );\n\n\t\t\t\t\t\t$.post( wc_square_admin_products.ajax_url, data, ( response ) => {\n\t\t\t\t\t\t\tif ( response && response.success ) {\n\t\t\t\t\t\t\t\tconst quantity = response.data;\n\n\t\t\t\t\t\t\t\t$stockInput.val( quantity );\n\t\t\t\t\t\t\t\t$stockFields.find( 'input[name=_original_stock]' ).val( quantity );\n\t\t\t\t\t\t\t\t$stockInput.prop( 'readonly', false );\n\t\t\t\t\t\t\t\t$( 'p._stock_field span.description' ).remove();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif ( response.data ) {\n\t\t\t\t\t\t\t\t\t$( '.inventory-fetch-error' ).remove();\n\t\t\t\t\t\t\t\t\t$spinner.after( '<span class=\"inventory-fetch-error\" style=\"display:inline-block;color:red;\">' + response.data + '</span>' );\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t$spinner.css( 'visibility', 'hidden' );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} );\n\n\t\t\t\t// Square SoR.\n\t\t\t\t} else if ( wc_square_admin_products.is_square_sor ) {\n\t\t\t\t\t// add inline note explaining stock is managed by Square (sanity check to avoid appending multiple times)\n\t\t\t\t\tif ( $( 'p._stock_field span.description' ).length === 0 ) {\n\t\t\t\t\t\t$stockInput.after( '<span class=\"description\" style=\"display:block;clear:both;\">' + wc_square_admin_products.i18n.managed_by_square + '</span>' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tuseSquare = false;\n\n\t\t\t\t// remove any inline note to WooCommerce core stock fields that may have been added when Synced with Square is enabled.\n\t\t\t\t$( 'p._stock_field span.description' ).remove();\n\t\t\t\t$stockInput.prop( 'readonly', false );\n\t\t\t\t$manageDesc.html( manageDescOriginal );\n\t\t\t\t$manageInput.prop( 'disabled', false ).prop( 'checked', manageStockOriginal );\n\n\t\t\t\tif ( manageStockOriginal ) {\n\t\t\t\t\t$stockFields.show();\n\t\t\t\t\t$stockStatus.hide();\n\t\t\t\t} else {\n\t\t\t\t\t$stockStatus.show();\n\t\t\t\t\t$stockFields.hide();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle variations data separately (HTML differs from parent UI!).\n\t\t\t$( '.woocommerce_variation' ).each( ( index, e ) => {\n\t\t\t\t// fetch relevant variables for each variation.\n\t\t\t\tconst variationID = $( e ).find( 'h3 > a' ).attr( 'rel' );\n\t\t\t\tconst $variationManageInput = $( e ).find( '.variable_manage_stock' );\n\t\t\t\tconst $variationManageField = $variationManageInput.parent();\n\t\t\t\tconst $variationStockInput = $( e ).find( '.wc_input_stock' );\n\t\t\t\tconst $variationStockField = $variationStockInput.parent();\n\n\t\t\t\t// Square manages variations stock\n\t\t\t\tif ( useSquare ) {\n\t\t\t\t\t// disable stock management inputs\n\t\t\t\t\t$( '#wc_square_variation_manage_stock' ).prop( 'disabled', false );\n\t\t\t\t\t$variationStockInput.prop( 'readonly', true );\n\t\t\t\t\t$variationManageInput\n\t\t\t\t\t\t.prop( 'disabled', true )\n\t\t\t\t\t\t.prop( 'checked', true );\n\n\t\t\t\t\t// add a note that the variation stock is managed by square, but check if it wasn't added already to avoid duplicates.\n\t\t\t\t\tif ( 0 === $variationManageField.find( '.description' ).length ) {\n\t\t\t\t\t\t$variationManageInput.after( '<span class=\"description\">(' + wc_square_admin_products.i18n.managed_by_square + ')</span>' );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( wc_square_admin_products.is_woocommerce_sor ) {\n\t\t\t\t\t\tconst fetchVariationStockActionID = 'fetch-stock-with-square-' + variationID;\n\n\t\t\t\t\t\t// add inline note with a toggle to fetch stock from Square manually via AJAX (sanity check to avoid appending multiple times)\n\t\t\t\t\t\tif ( 0 === $variationStockField.find( 'span.description' ).length ) {\n\t\t\t\t\t\t\t$variationStockInput.after(\n\t\t\t\t\t\t\t\t'<span class=\"description\" style=\"display:block;clear:both;\"><a href=\"#\" id=\"' + fetchVariationStockActionID + '\">' + wc_square_admin_products.i18n.fetch_stock_with_square + '</a><div class=\"spinner\" style=\"float:none;\"></div></span>'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// listen for requests to update stock with Square for the individual variation.\n\t\t\t\t\t\t$( '#' + fetchVariationStockActionID ).on( 'click', ( e ) => {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tconst $spinner = $( e.target ).next( '.spinner' );\n\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\taction: 'wc_square_fetch_product_stock_with_square',\n\t\t\t\t\t\t\t\tsecurity: wc_square_admin_products.fetch_product_stock_with_square_nonce,\n\t\t\t\t\t\t\t\tproduct_id: variationID,\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t$spinner.css( 'visibility', 'visible' );\n\n\t\t\t\t\t\t\t$.post( wc_square_admin_products.ajax_url, data, ( response ) => {\n\t\t\t\t\t\t\t\tif ( response && response.success ) {\n\t\t\t\t\t\t\t\t\tconst quantity = response.data;\n\n\t\t\t\t\t\t\t\t\t$variationStockInput.val( quantity );\n\t\t\t\t\t\t\t\t\t$variationStockField.parent().find( 'input[name^=\"variable_original_stock\"]' ).val( quantity );\n\t\t\t\t\t\t\t\t\t$variationStockInput.prop( 'readonly', false );\n\t\t\t\t\t\t\t\t\t$variationStockField.find( '.description' ).remove();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif ( response.data ) {\n\t\t\t\t\t\t\t\t\t\t$( '.inventory-fetch-error' ).remove();\n\t\t\t\t\t\t\t\t\t\t$spinner.after( '<span class=\"inventory-fetch-error\" style=\"display:inline-block;color:red;\">' + response.data + '</span>' );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t$spinner.css( 'visibility', 'hidden' );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// restore WooCommerce stock when user chooses to disable Sync with Square checkbox.\n\t\t\t\t\t$variationStockInput.prop( 'readonly', false );\n\t\t\t\t\t$variationManageInput.prop( 'disabled', false );\n\t\t\t\t\t$variationManageInput.next( '.description' ).remove();\n\t\t\t\t\t$( e.target ).find( '#wc_square_variation_manage_stock' ).prop( 'disabled', true );\n\t\t\t\t}\n\t\t\t} );\n\t\t// initial page load handling.\n\t\t} ).trigger( 'change' );\n\n\t\t// trigger an update if the product type changes.\n\t\t$( '#product-type' ).on( 'change', () => {\n\t\t\ttriggerUpdate();\n\t\t} );\n\n\t\t// trigger an update for variable products when variations are loaded, added, or removed.\n\t\t$( '#woocommerce-product-data' ).on( 'woocommerce_variations_loaded woocommerce_variations_added woocommerce_variations_removed', () => {\n\t\t\ttriggerUpdate();\n\t\t} );\n\t}\n} );\n"],"file":"wc-square-admin-products.min.js"}
|
assets/js/admin/wc-square-admin-settings.coffee
DELETED
|
@@ -1,299 +0,0 @@
|
|
| 1 |
-
"use strict"
|
| 2 |
-
|
| 3 |
-
###*
|
| 4 |
-
# WooCommerce Square scripts for admin product pages.
|
| 5 |
-
#
|
| 6 |
-
# @since 2.0.0
|
| 7 |
-
###
|
| 8 |
-
jQuery( document ).ready ( $ ) ->
|
| 9 |
-
|
| 10 |
-
typenow = window.typenow ? ''
|
| 11 |
-
pagenow = window.pagenow ? ''
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
# bail if not on the admin settings page
|
| 15 |
-
if ( 'woocommerce_page_wc-settings' isnt pagenow )
|
| 16 |
-
return
|
| 17 |
-
|
| 18 |
-
if not wc_square_admin_settings.is_sandbox
|
| 19 |
-
# Hide sandbox settings if is_sandbox is set
|
| 20 |
-
$( '#wc_square_sandbox_settings' ).hide()
|
| 21 |
-
|
| 22 |
-
$( '#wc_square_sandbox_settings' ).next().hide()
|
| 23 |
-
|
| 24 |
-
$( '.wc_square_sandbox_settings' ).closest( 'tr' ).hide()
|
| 25 |
-
|
| 26 |
-
# toggle the "hide products" setting depending on the SOR
|
| 27 |
-
$( '#wc_square_system_of_record' ).change( ->
|
| 28 |
-
|
| 29 |
-
system_of_record = $( this ).val()
|
| 30 |
-
|
| 31 |
-
$inventory_sync = $( '#wc_square_enable_inventory_sync' )
|
| 32 |
-
$inventory_sync_row = $inventory_sync.closest( 'tr' )
|
| 33 |
-
|
| 34 |
-
# toggle the "Sync inventory" setting depending on the SOR
|
| 35 |
-
if system_of_record in [ 'square', 'woocommerce' ]
|
| 36 |
-
|
| 37 |
-
$inventory_sync.next( 'span' ).html( wc_square_admin_settings.i18n.sync_inventory_label[system_of_record] )
|
| 38 |
-
|
| 39 |
-
$inventory_sync_row.find( '.description' ).html( wc_square_admin_settings.i18n.sync_inventory_description[system_of_record] )
|
| 40 |
-
|
| 41 |
-
$inventory_sync_row.show()
|
| 42 |
-
else
|
| 43 |
-
|
| 44 |
-
$inventory_sync.prop( 'checked', false )
|
| 45 |
-
|
| 46 |
-
$inventory_sync_row.hide()
|
| 47 |
-
|
| 48 |
-
# toggle the "Hide missing products" setting depending on the SOR
|
| 49 |
-
if 'square' is system_of_record
|
| 50 |
-
$( '#wc_square_hide_missing_products' ).closest( 'tr' ).show()
|
| 51 |
-
else
|
| 52 |
-
$( '#wc_square_hide_missing_products' ).closest( 'tr' ).hide()
|
| 53 |
-
|
| 54 |
-
).change()
|
| 55 |
-
|
| 56 |
-
$( '.js-import-square-products' ).on 'click', ( e ) ->
|
| 57 |
-
e.preventDefault()
|
| 58 |
-
|
| 59 |
-
new $.WCBackboneModal.View
|
| 60 |
-
target : 'wc-square-import-products'
|
| 61 |
-
|
| 62 |
-
$( '#btn-close' ).on 'click', ( e ) ->
|
| 63 |
-
e.preventDefault()
|
| 64 |
-
$( 'button.modal-close' ).trigger( 'click' )
|
| 65 |
-
|
| 66 |
-
# initiate a manual sync
|
| 67 |
-
$( '#wc-square-sync' ).on 'click', ( e ) ->
|
| 68 |
-
e.preventDefault()
|
| 69 |
-
|
| 70 |
-
# open a modal dialog
|
| 71 |
-
new $.WCBackboneModal.View
|
| 72 |
-
target : 'wc-square-sync'
|
| 73 |
-
|
| 74 |
-
# enable cancel sync button
|
| 75 |
-
$( '#btn-close' ).on 'click', ( e ) ->
|
| 76 |
-
e.preventDefault()
|
| 77 |
-
$( 'button.modal-close' ).trigger( 'click' )
|
| 78 |
-
|
| 79 |
-
# Listen for wc_backbone_modal_response event handler.
|
| 80 |
-
$( document.body ).on 'wc_backbone_modal_response', ( e, target ) ->
|
| 81 |
-
switch target
|
| 82 |
-
|
| 83 |
-
when 'wc-square-import-products'
|
| 84 |
-
# Add Block overlay since the modal exits immediately
|
| 85 |
-
# after wc_backbone_modal_response is triggered.
|
| 86 |
-
$( '#wpbody' ).block
|
| 87 |
-
message : null
|
| 88 |
-
overlayCSS :
|
| 89 |
-
'opacity' : '0.2'
|
| 90 |
-
onBlock: ->
|
| 91 |
-
$( '.blockUI.blockOverlay' ).css
|
| 92 |
-
'position': 'fixed'
|
| 93 |
-
return
|
| 94 |
-
|
| 95 |
-
update_during_import = $( '#wc-square-import-product-updates' ).prop( 'checked' )
|
| 96 |
-
data =
|
| 97 |
-
action : 'wc_square_import_products_from_square'
|
| 98 |
-
dispatch : wc_square_admin_settings.sync_in_background
|
| 99 |
-
security : wc_square_admin_settings.import_products_from_square
|
| 100 |
-
update_during_import : update_during_import
|
| 101 |
-
|
| 102 |
-
$.post wc_square_admin_settings.ajax_url, data, ( response ) ->
|
| 103 |
-
message = if response.data then response.data else null
|
| 104 |
-
|
| 105 |
-
if message
|
| 106 |
-
alert( message )
|
| 107 |
-
|
| 108 |
-
location.reload()
|
| 109 |
-
|
| 110 |
-
when 'wc-square-sync'
|
| 111 |
-
$( 'table.sync' ).block
|
| 112 |
-
message : null
|
| 113 |
-
overlayCSS :
|
| 114 |
-
'opacity' : '0.2'
|
| 115 |
-
$( 'table.records' ).block
|
| 116 |
-
message : null
|
| 117 |
-
overlayCSS :
|
| 118 |
-
'opacity' : '0.2'
|
| 119 |
-
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true )
|
| 120 |
-
|
| 121 |
-
data =
|
| 122 |
-
action : 'wc_square_sync_products_with_square'
|
| 123 |
-
dispatch : wc_square_admin_settings.sync_in_background
|
| 124 |
-
security : wc_square_admin_settings.sync_products_with_square
|
| 125 |
-
|
| 126 |
-
$.post wc_square_admin_settings.ajax_url, data, ( response ) ->
|
| 127 |
-
if response and response.success
|
| 128 |
-
location.reload()
|
| 129 |
-
else
|
| 130 |
-
$( '#wc-square_clear-sync-records' ).prop( 'disabled', false )
|
| 131 |
-
$( 'table.sync' ).unblock()
|
| 132 |
-
$( 'table.records' ).unblock()
|
| 133 |
-
|
| 134 |
-
else
|
| 135 |
-
return
|
| 136 |
-
return
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
# sync record handling
|
| 140 |
-
noRecordsFoundRow = '<tr><td colspan="4"><em>' + wc_square_admin_settings.i18n.no_records_found + '</em></td></tr>'
|
| 141 |
-
|
| 142 |
-
# clear sync records history
|
| 143 |
-
$( '#wc-square_clear-sync-records' ).on 'click', ( e ) ->
|
| 144 |
-
e.preventDefault()
|
| 145 |
-
|
| 146 |
-
$( 'table.records' ).block
|
| 147 |
-
message : null
|
| 148 |
-
overlayCSS :
|
| 149 |
-
'opacity' : '0.2'
|
| 150 |
-
|
| 151 |
-
data =
|
| 152 |
-
action : 'wc_square_handle_sync_records'
|
| 153 |
-
id : 'all'
|
| 154 |
-
handle : 'delete'
|
| 155 |
-
security : wc_square_admin_settings.handle_sync_with_square_records
|
| 156 |
-
|
| 157 |
-
$.post wc_square_admin_settings.ajax_url, data, ( response ) ->
|
| 158 |
-
if response and response.success
|
| 159 |
-
$( 'table.records tbody' ).html( noRecordsFoundRow )
|
| 160 |
-
$( '#wc-square_clear-sync-records').prop( 'disabled', true )
|
| 161 |
-
else
|
| 162 |
-
if ( response.data )
|
| 163 |
-
alert( response.data )
|
| 164 |
-
console.log( response )
|
| 165 |
-
|
| 166 |
-
$( 'table.records' ).unblock()
|
| 167 |
-
|
| 168 |
-
# individual sync records actions
|
| 169 |
-
$( '.records .actions button.action' ).on 'click', ( e ) ->
|
| 170 |
-
e.preventDefault()
|
| 171 |
-
|
| 172 |
-
$( 'table.records' ).block
|
| 173 |
-
message : null
|
| 174 |
-
overlayCSS :
|
| 175 |
-
'opacity' : '0.2'
|
| 176 |
-
|
| 177 |
-
recordId = $( this ).data( 'id' )
|
| 178 |
-
action = $( this ).data( 'action' )
|
| 179 |
-
data =
|
| 180 |
-
action : 'wc_square_handle_sync_records'
|
| 181 |
-
id : recordId
|
| 182 |
-
handle : action
|
| 183 |
-
security : wc_square_admin_settings.handle_sync_with_square_records
|
| 184 |
-
|
| 185 |
-
$.post wc_square_admin_settings.ajax_url, data, ( response ) ->
|
| 186 |
-
if response and response.success
|
| 187 |
-
|
| 188 |
-
rowId = '#record-' + recordId
|
| 189 |
-
|
| 190 |
-
if 'delete' is action
|
| 191 |
-
|
| 192 |
-
$( rowId ).remove()
|
| 193 |
-
|
| 194 |
-
if not $( 'table.records tbody tr' ).length
|
| 195 |
-
$( 'table.records tbody' ).html( noRecordsFoundRow )
|
| 196 |
-
$( '#wc-square_clear-sync-records').prop( 'disabled', true )
|
| 197 |
-
|
| 198 |
-
else if 'resolve' is action or 'unsync' is action
|
| 199 |
-
|
| 200 |
-
$( rowId + ' .type' ).html( '<mark class="resolved"><span>' + wc_square_admin_settings.i18n.resolved + '</span></mark>' )
|
| 201 |
-
$( rowId + ' .actions' ).html( '—' )
|
| 202 |
-
|
| 203 |
-
else
|
| 204 |
-
if response and response.data
|
| 205 |
-
alert( response.data )
|
| 206 |
-
console.log( {
|
| 207 |
-
record : recordId
|
| 208 |
-
action : action
|
| 209 |
-
response : response
|
| 210 |
-
} )
|
| 211 |
-
|
| 212 |
-
$( 'table.records' ).unblock()
|
| 213 |
-
|
| 214 |
-
# Add explicit square environment to post data to deal with swapping between production and sandbox in the back end
|
| 215 |
-
$( 'form' ).submit ( e ) ->
|
| 216 |
-
|
| 217 |
-
environment = if $( '#wc_square_enable_sandbox' ).is( ':checked' ) then 'sandbox' else 'production'
|
| 218 |
-
|
| 219 |
-
$( this ).append( $( '<input>', {
|
| 220 |
-
type: 'hidden',
|
| 221 |
-
name: 'wc_square_environment',
|
| 222 |
-
value: environment,
|
| 223 |
-
} ) )
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
###*
|
| 227 |
-
# Returns a job sync status.
|
| 228 |
-
#
|
| 229 |
-
# @since 2.0.0
|
| 230 |
-
#
|
| 231 |
-
# @param {string} job_id
|
| 232 |
-
###
|
| 233 |
-
getSyncStatus = ( job_id ) ->
|
| 234 |
-
|
| 235 |
-
$progress = $( 'span.progress' )
|
| 236 |
-
|
| 237 |
-
if not $progress or $progress.length is 0
|
| 238 |
-
# note: the space below in the inserted string is intended
|
| 239 |
-
$( 'p.sync-result' ).append( ' <span class="progress" style="display:block"></span>' )
|
| 240 |
-
$progress = $( 'span.progress' )
|
| 241 |
-
|
| 242 |
-
data =
|
| 243 |
-
action : 'wc_square_get_sync_with_square_status'
|
| 244 |
-
security : wc_square_admin_settings.get_sync_with_square_status_nonce
|
| 245 |
-
job_id : job_id
|
| 246 |
-
|
| 247 |
-
$.post wc_square_admin_settings.ajax_url, data, ( response ) ->
|
| 248 |
-
if response and response.data
|
| 249 |
-
if response.success and response.data.id
|
| 250 |
-
|
| 251 |
-
# start the progress spinner
|
| 252 |
-
$( 'table.sync .spinner' ).css( 'visibility', 'visible' )
|
| 253 |
-
# disable interacting with records as more could be added during a sync process
|
| 254 |
-
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true )
|
| 255 |
-
$( 'table.records .actions button' ).prop( 'disabled', true )
|
| 256 |
-
|
| 257 |
-
# continue if the job is in progression
|
| 258 |
-
if response.data.status not in [ 'completed', 'failed' ]
|
| 259 |
-
|
| 260 |
-
progress = ' '
|
| 261 |
-
|
| 262 |
-
# update progress info in table cell
|
| 263 |
-
if 'product_import' is response.data.action
|
| 264 |
-
progress += wc_square_admin_settings.i18n.skipped + ': ' + parseInt( response.data.skipped_products_count, 10 ) + '<br/>'
|
| 265 |
-
progress += wc_square_admin_settings.i18n.updated + ': ' + parseInt( response.data.updated_products_count, 10 ) + '<br/>'
|
| 266 |
-
progress += wc_square_admin_settings.i18n.imported + ': ' + parseInt( response.data.imported_products_count, 10 )
|
| 267 |
-
else if response.data.percentage
|
| 268 |
-
progress += parseInt( response.data.percentage, 10 ) + '%'
|
| 269 |
-
|
| 270 |
-
$progress.html( progress )
|
| 271 |
-
|
| 272 |
-
# recursion update loop until we're 'completed' (add a long timeout to avoid missing callback return output)
|
| 273 |
-
return setTimeout( ->
|
| 274 |
-
getSyncStatus( response.data.id )
|
| 275 |
-
, 30 * 1000 )
|
| 276 |
-
|
| 277 |
-
# reload page, display updated sync dates and any sync records messages
|
| 278 |
-
else
|
| 279 |
-
location.reload()
|
| 280 |
-
|
| 281 |
-
else # unlikely job processing exception
|
| 282 |
-
$( '#wc-square_clear-sync-records' ).prop( 'disabled', false )
|
| 283 |
-
$( 'table.records .actions button' ).prop( 'disabled', false )
|
| 284 |
-
$( 'table.sync .spinner' ).css( 'visibility', 'hidden' )
|
| 285 |
-
console.log( response )
|
| 286 |
-
|
| 287 |
-
# run once on page load
|
| 288 |
-
if wc_square_admin_settings.existing_sync_job_id
|
| 289 |
-
getSyncStatus( wc_square_admin_settings.existing_sync_job_id )
|
| 290 |
-
|
| 291 |
-
# Show/hide Digital Wallet Settings on Square gateway settings page
|
| 292 |
-
$( '#woocommerce_square_credit_card_enable_digital_wallets' ).change( ->
|
| 293 |
-
wallet_settings = $( '.wc-square-digital-wallet-options' )
|
| 294 |
-
|
| 295 |
-
if $( '#woocommerce_square_credit_card_enable_digital_wallets' ).is( ':checked' )
|
| 296 |
-
wallet_settings.closest( 'tr' ).show()
|
| 297 |
-
else
|
| 298 |
-
wallet_settings.closest( 'tr' ).hide()
|
| 299 |
-
).change()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* global wc_square_admin_settings */
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* WooCommerce Square scripts for admin product pages.
|
| 5 |
+
*
|
| 6 |
+
* @since 2.0.0
|
| 7 |
+
*/
|
| 8 |
+
jQuery( document ).ready( ( $ ) => {
|
| 9 |
+
const pagenow = window.pagenow || '';
|
| 10 |
+
|
| 11 |
+
// bail if not on the admin settings page.
|
| 12 |
+
if ( 'woocommerce_page_wc-settings' !== pagenow ) {
|
| 13 |
+
return;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
if ( ! wc_square_admin_settings.is_sandbox ) {
|
| 17 |
+
// Hide sandbox settings if is_sandbox is set.
|
| 18 |
+
$( '#wc_square_sandbox_settings' ).hide();
|
| 19 |
+
$( '#wc_square_sandbox_settings' ).next().hide();
|
| 20 |
+
$( '.wc_square_sandbox_settings' ).closest( 'tr' ).hide();
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
$( '#wc_square_system_of_record' ).on( 'change', ( e ) => {
|
| 24 |
+
const system_of_record = $( e.target ).val();
|
| 25 |
+
const $inventory_sync = $( '#wc_square_enable_inventory_sync' );
|
| 26 |
+
const $inventory_sync_row = $inventory_sync.closest( 'tr' );
|
| 27 |
+
|
| 28 |
+
// toggle the "Sync inventory" setting depending on the SOR.
|
| 29 |
+
if ( 'square' === system_of_record || 'woocommerce' === system_of_record ) {
|
| 30 |
+
$inventory_sync.next( 'span' ).html( wc_square_admin_settings.i18n.sync_inventory_label[ system_of_record ] );
|
| 31 |
+
$inventory_sync_row.find( '.description' ).html( wc_square_admin_settings.i18n.sync_inventory_description[ system_of_record ] );
|
| 32 |
+
$inventory_sync_row.show();
|
| 33 |
+
} else {
|
| 34 |
+
$inventory_sync.prop( 'checked', false );
|
| 35 |
+
$inventory_sync_row.hide();
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
// toggle the "Hide missing products" setting depending on the SOR.
|
| 39 |
+
if ( 'square' === system_of_record ) {
|
| 40 |
+
$( '#wc_square_hide_missing_products' ).closest( 'tr' ).show();
|
| 41 |
+
} else {
|
| 42 |
+
$( '#wc_square_hide_missing_products' ).closest( 'tr' ).hide();
|
| 43 |
+
}
|
| 44 |
+
} ).trigger( 'change' );
|
| 45 |
+
|
| 46 |
+
$( '.js-import-square-products' ).on( 'click', ( e ) => {
|
| 47 |
+
e.preventDefault();
|
| 48 |
+
|
| 49 |
+
new $.WCBackboneModal.View( {
|
| 50 |
+
target: 'wc-square-import-products',
|
| 51 |
+
} );
|
| 52 |
+
|
| 53 |
+
$( '#btn-close' ).on( 'click', ( e ) => {
|
| 54 |
+
e.preventDefault();
|
| 55 |
+
|
| 56 |
+
$( 'button.modal-close' ).trigger( 'click' );
|
| 57 |
+
} );
|
| 58 |
+
} );
|
| 59 |
+
|
| 60 |
+
// initiate a manual sync.
|
| 61 |
+
$( '#wc-square-sync' ).on( 'click', ( e ) => {
|
| 62 |
+
e.preventDefault();
|
| 63 |
+
|
| 64 |
+
// open a modal dialog.
|
| 65 |
+
new $.WCBackboneModal.View( {
|
| 66 |
+
target: 'wc-square-sync',
|
| 67 |
+
} );
|
| 68 |
+
|
| 69 |
+
// enable cancel sync button.
|
| 70 |
+
$( '#btn-close' ).on( 'click', ( e ) => {
|
| 71 |
+
e.preventDefault();
|
| 72 |
+
|
| 73 |
+
$( 'button.modal-close' ).trigger( 'click' );
|
| 74 |
+
} );
|
| 75 |
+
} );
|
| 76 |
+
|
| 77 |
+
// Listen for wc_backbone_modal_response event handler.
|
| 78 |
+
$( document.body ).on( 'wc_backbone_modal_response', ( e, target ) => {
|
| 79 |
+
let data;
|
| 80 |
+
|
| 81 |
+
switch ( target ) {
|
| 82 |
+
case 'wc-square-import-products':
|
| 83 |
+
// Add Block overlay since the modal exits immediately
|
| 84 |
+
// after wc_backbone_modal_response is triggered.
|
| 85 |
+
$( '#wpbody' ).block( {
|
| 86 |
+
message: null,
|
| 87 |
+
overlayCSS: {
|
| 88 |
+
opacity: '0.2',
|
| 89 |
+
},
|
| 90 |
+
onBlock: function onBlock() {
|
| 91 |
+
$( '.blockUI.blockOverlay' ).css(
|
| 92 |
+
{
|
| 93 |
+
position: 'fixed',
|
| 94 |
+
}
|
| 95 |
+
);
|
| 96 |
+
},
|
| 97 |
+
} );
|
| 98 |
+
|
| 99 |
+
const update_during_import = $( '#wc-square-import-product-updates' ).prop( 'checked' );
|
| 100 |
+
data = {
|
| 101 |
+
action: 'wc_square_import_products_from_square',
|
| 102 |
+
dispatch: wc_square_admin_settings.sync_in_background,
|
| 103 |
+
security: wc_square_admin_settings.import_products_from_square,
|
| 104 |
+
update_during_import,
|
| 105 |
+
};
|
| 106 |
+
|
| 107 |
+
$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {
|
| 108 |
+
const message = response.data ? response.data : null;
|
| 109 |
+
|
| 110 |
+
if ( message ) {
|
| 111 |
+
alert( message );
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
location.reload();
|
| 115 |
+
} );
|
| 116 |
+
break;
|
| 117 |
+
|
| 118 |
+
case 'wc-square-sync':
|
| 119 |
+
$( 'table.sync' ).block( {
|
| 120 |
+
message: null,
|
| 121 |
+
overlayCSS: {
|
| 122 |
+
opacity: '0.2',
|
| 123 |
+
},
|
| 124 |
+
} );
|
| 125 |
+
|
| 126 |
+
$( 'table.records' ).block( {
|
| 127 |
+
message: null,
|
| 128 |
+
overlayCSS: {
|
| 129 |
+
opacity: '0.2',
|
| 130 |
+
},
|
| 131 |
+
} );
|
| 132 |
+
|
| 133 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );
|
| 134 |
+
|
| 135 |
+
data = {
|
| 136 |
+
action: 'wc_square_sync_products_with_square',
|
| 137 |
+
dispatch: wc_square_admin_settings.sync_in_background,
|
| 138 |
+
security: wc_square_admin_settings.sync_products_with_square,
|
| 139 |
+
};
|
| 140 |
+
|
| 141 |
+
$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {
|
| 142 |
+
if ( response && response.success ) {
|
| 143 |
+
location.reload();
|
| 144 |
+
} else {
|
| 145 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', false );
|
| 146 |
+
$( 'table.sync' ).unblock();
|
| 147 |
+
$( 'table.records' ).unblock();
|
| 148 |
+
}
|
| 149 |
+
} );
|
| 150 |
+
break;
|
| 151 |
+
}
|
| 152 |
+
} );
|
| 153 |
+
|
| 154 |
+
// Clear sync records history.
|
| 155 |
+
const noRecordsFoundRow = '<tr><td colspan="4"><em>' + wc_square_admin_settings.i18n.no_records_found + '</em></td></tr>';
|
| 156 |
+
$( '#wc-square_clear-sync-records' ).on( 'click', ( e ) => {
|
| 157 |
+
e.preventDefault();
|
| 158 |
+
|
| 159 |
+
$( 'table.records' ).block( {
|
| 160 |
+
message: null,
|
| 161 |
+
overlayCSS: {
|
| 162 |
+
opacity: '0.2',
|
| 163 |
+
},
|
| 164 |
+
} );
|
| 165 |
+
|
| 166 |
+
const data = {
|
| 167 |
+
action: 'wc_square_handle_sync_records',
|
| 168 |
+
id: 'all',
|
| 169 |
+
handle: 'delete',
|
| 170 |
+
security: wc_square_admin_settings.handle_sync_with_square_records,
|
| 171 |
+
};
|
| 172 |
+
|
| 173 |
+
$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {
|
| 174 |
+
if ( response && response.success ) {
|
| 175 |
+
$( 'table.records tbody' ).html( noRecordsFoundRow );
|
| 176 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );
|
| 177 |
+
} else {
|
| 178 |
+
if ( response.data ) {
|
| 179 |
+
alert( response.data );
|
| 180 |
+
}
|
| 181 |
+
console.log( response );
|
| 182 |
+
}
|
| 183 |
+
$( 'table.records' ).unblock();
|
| 184 |
+
} );
|
| 185 |
+
} );
|
| 186 |
+
|
| 187 |
+
// Individual sync records actions.
|
| 188 |
+
$( '.records .actions button.action' ).on( 'click', ( e ) => {
|
| 189 |
+
e.preventDefault();
|
| 190 |
+
|
| 191 |
+
$( 'table.records' ).block( {
|
| 192 |
+
message: null,
|
| 193 |
+
overlayCSS: {
|
| 194 |
+
opacity: '0.2',
|
| 195 |
+
},
|
| 196 |
+
} );
|
| 197 |
+
const recordId = $( e.currentTarget ).data( 'id' );
|
| 198 |
+
const action = $( e.currentTarget ).data( 'action' );
|
| 199 |
+
const data = {
|
| 200 |
+
action: 'wc_square_handle_sync_records',
|
| 201 |
+
id: recordId,
|
| 202 |
+
handle: action,
|
| 203 |
+
security: wc_square_admin_settings.handle_sync_with_square_records,
|
| 204 |
+
};
|
| 205 |
+
|
| 206 |
+
$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {
|
| 207 |
+
if ( response && response.success ) {
|
| 208 |
+
const rowId = '#record-' + recordId;
|
| 209 |
+
|
| 210 |
+
if ( 'delete' === action ) {
|
| 211 |
+
$( rowId ).remove();
|
| 212 |
+
|
| 213 |
+
if ( ! $( 'table.records tbody tr' ).length ) {
|
| 214 |
+
$( 'table.records tbody' ).html( noRecordsFoundRow );
|
| 215 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );
|
| 216 |
+
}
|
| 217 |
+
} else if ( 'resolve' === action || 'unsync' === action ) {
|
| 218 |
+
$( rowId + ' .type' ).html( '<mark class="resolved"><span>' + wc_square_admin_settings.i18n.resolved + '</span></mark>' );
|
| 219 |
+
$( rowId + ' .actions' ).html( '—' );
|
| 220 |
+
}
|
| 221 |
+
} else {
|
| 222 |
+
if ( response && response.data ) {
|
| 223 |
+
alert( response.data );
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
console.log( {
|
| 227 |
+
record: recordId,
|
| 228 |
+
action,
|
| 229 |
+
response,
|
| 230 |
+
} );
|
| 231 |
+
}
|
| 232 |
+
$( 'table.records' ).unblock();
|
| 233 |
+
} );
|
| 234 |
+
} );
|
| 235 |
+
|
| 236 |
+
// Add explicit square environment to post data to deal with swapping between production and sandbox in the back end.
|
| 237 |
+
$( 'form' ).on( 'submit', ( e ) => {
|
| 238 |
+
const environment = $( '#wc_square_enable_sandbox' ).is( ':checked' ) ? 'sandbox' : 'production';
|
| 239 |
+
|
| 240 |
+
$( e.target ).append(
|
| 241 |
+
$( '<input>',
|
| 242 |
+
{
|
| 243 |
+
type: 'hidden',
|
| 244 |
+
name: 'wc_square_environment',
|
| 245 |
+
value: environment,
|
| 246 |
+
}
|
| 247 |
+
)
|
| 248 |
+
);
|
| 249 |
+
} );
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
* Returns a job sync status.
|
| 253 |
+
*
|
| 254 |
+
* @since 2.0.0
|
| 255 |
+
*
|
| 256 |
+
* @param {string} job_id
|
| 257 |
+
*/
|
| 258 |
+
const getSyncStatus = ( job_id ) => {
|
| 259 |
+
let $progress = $( 'span.progress' );
|
| 260 |
+
|
| 261 |
+
if ( ! $progress || 0 === $progress.length ) {
|
| 262 |
+
$( 'p.sync-result' ).append( ' <span class="progress" style="display:block"></span>' );
|
| 263 |
+
$progress = $( 'span.progress' );
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
const data = {
|
| 267 |
+
action: 'wc_square_get_sync_with_square_status',
|
| 268 |
+
security: wc_square_admin_settings.get_sync_with_square_status_nonce,
|
| 269 |
+
job_id,
|
| 270 |
+
};
|
| 271 |
+
|
| 272 |
+
$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {
|
| 273 |
+
if ( response && response.data ) {
|
| 274 |
+
if ( response.success && response.data.id ) {
|
| 275 |
+
// start the progress spinner.
|
| 276 |
+
$( 'table.sync .spinner' ).css( 'visibility', 'visible' );
|
| 277 |
+
// disable interacting with records as more could be added during a sync process.
|
| 278 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );
|
| 279 |
+
$( 'table.records .actions button' ).prop( 'disabled', true );
|
| 280 |
+
// continue if the job is in progression.
|
| 281 |
+
if ( 'completed' !== response.data.status && 'failed' !== response.data.status ) {
|
| 282 |
+
let progress = ' ';
|
| 283 |
+
// update progress info in table cell.
|
| 284 |
+
if ( 'product_import' === response.data.action ) {
|
| 285 |
+
progress += wc_square_admin_settings.i18n.skipped + ': ' + parseInt( response.data.skipped_products_count, 10 ) + '<br/>';
|
| 286 |
+
progress += wc_square_admin_settings.i18n.updated + ': ' + parseInt( response.data.updated_products_count, 10 ) + '<br/>';
|
| 287 |
+
progress += wc_square_admin_settings.i18n.imported + ': ' + parseInt( response.data.imported_products_count, 10 );
|
| 288 |
+
} else if ( response.data.percentage ) {
|
| 289 |
+
progress += parseInt( response.data.percentage, 10 ) + '%';
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
$progress.html( progress );
|
| 293 |
+
|
| 294 |
+
// recursion update loop until we're 'completed' (add a long timeout to avoid missing callback return output).
|
| 295 |
+
setTimeout( () => {
|
| 296 |
+
getSyncStatus( response.data.id );
|
| 297 |
+
}, 30 * 1000 );
|
| 298 |
+
} else {
|
| 299 |
+
// reload page, display updated sync dates and any sync records messages.
|
| 300 |
+
location.reload(); // unlikely job processing exception.
|
| 301 |
+
}
|
| 302 |
+
} else {
|
| 303 |
+
$( '#wc-square_clear-sync-records' ).prop( 'disabled', false );
|
| 304 |
+
$( 'table.records .actions button' ).prop( 'disabled', false );
|
| 305 |
+
$( 'table.sync .spinner' ).css( 'visibility', 'hidden' );
|
| 306 |
+
console.log( response );
|
| 307 |
+
}
|
| 308 |
+
}
|
| 309 |
+
} );
|
| 310 |
+
};
|
| 311 |
+
|
| 312 |
+
// run once on page load.
|
| 313 |
+
if ( wc_square_admin_settings.existing_sync_job_id ) {
|
| 314 |
+
getSyncStatus( wc_square_admin_settings.existing_sync_job_id );
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
// Show/hide Digital Wallet Settings on Square gateway settings page.
|
| 318 |
+
$( '#woocommerce_square_credit_card_enable_digital_wallets' ).on( 'change', () => {
|
| 319 |
+
const wallet_settings = $( '.wc-square-digital-wallet-options' );
|
| 320 |
+
|
| 321 |
+
if ( $( '#woocommerce_square_credit_card_enable_digital_wallets' ).is( ':checked' ) ) {
|
| 322 |
+
wallet_settings.closest( 'tr' ).show();
|
| 323 |
+
} else {
|
| 324 |
+
wallet_settings.closest( 'tr' ).hide();
|
| 325 |
+
}
|
| 326 |
+
} ).trigger( 'change' );
|
| 327 |
+
} );
|
assets/js/admin/wc-square-admin-settings.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
"use strict";
|
| 2 |
-
//# sourceMappingURL=wc-square-admin-settings.min.js.map
|
| 1 |
+
"use strict";jQuery(document).ready(function($){var pagenow=window.pagenow||"";if("woocommerce_page_wc-settings"!==pagenow){return}if(!wc_square_admin_settings.is_sandbox){$("#wc_square_sandbox_settings").hide();$("#wc_square_sandbox_settings").next().hide();$(".wc_square_sandbox_settings").closest("tr").hide()}$("#wc_square_system_of_record").on("change",function(e){var system_of_record=$(e.target).val();var $inventory_sync=$("#wc_square_enable_inventory_sync");var $inventory_sync_row=$inventory_sync.closest("tr");if("square"===system_of_record||"woocommerce"===system_of_record){$inventory_sync.next("span").html(wc_square_admin_settings.i18n.sync_inventory_label[system_of_record]);$inventory_sync_row.find(".description").html(wc_square_admin_settings.i18n.sync_inventory_description[system_of_record]);$inventory_sync_row.show()}else{$inventory_sync.prop("checked",false);$inventory_sync_row.hide()}if("square"===system_of_record){$("#wc_square_hide_missing_products").closest("tr").show()}else{$("#wc_square_hide_missing_products").closest("tr").hide()}}).trigger("change");$(".js-import-square-products").on("click",function(e){e.preventDefault();new $.WCBackboneModal.View({target:"wc-square-import-products"});$("#btn-close").on("click",function(e){e.preventDefault();$("button.modal-close").trigger("click")})});$("#wc-square-sync").on("click",function(e){e.preventDefault();new $.WCBackboneModal.View({target:"wc-square-sync"});$("#btn-close").on("click",function(e){e.preventDefault();$("button.modal-close").trigger("click")})});$(document.body).on("wc_backbone_modal_response",function(e,target){var data;switch(target){case"wc-square-import-products":$("#wpbody").block({message:null,overlayCSS:{opacity:"0.2"},onBlock:function onBlock(){$(".blockUI.blockOverlay").css({position:"fixed"})}});var update_during_import=$("#wc-square-import-product-updates").prop("checked");data={action:"wc_square_import_products_from_square",dispatch:wc_square_admin_settings.sync_in_background,security:wc_square_admin_settings.import_products_from_square,update_during_import:update_during_import};$.post(wc_square_admin_settings.ajax_url,data,function(response){var message=response.data?response.data:null;if(message){alert(message)}location.reload()});break;case"wc-square-sync":$("table.sync").block({message:null,overlayCSS:{opacity:"0.2"}});$("table.records").block({message:null,overlayCSS:{opacity:"0.2"}});$("#wc-square_clear-sync-records").prop("disabled",true);data={action:"wc_square_sync_products_with_square",dispatch:wc_square_admin_settings.sync_in_background,security:wc_square_admin_settings.sync_products_with_square};$.post(wc_square_admin_settings.ajax_url,data,function(response){if(response&&response.success){location.reload()}else{$("#wc-square_clear-sync-records").prop("disabled",false);$("table.sync").unblock();$("table.records").unblock()}});break;}});var noRecordsFoundRow="<tr><td colspan=\"4\"><em>"+wc_square_admin_settings.i18n.no_records_found+"</em></td></tr>";$("#wc-square_clear-sync-records").on("click",function(e){e.preventDefault();$("table.records").block({message:null,overlayCSS:{opacity:"0.2"}});var data={action:"wc_square_handle_sync_records",id:"all",handle:"delete",security:wc_square_admin_settings.handle_sync_with_square_records};$.post(wc_square_admin_settings.ajax_url,data,function(response){if(response&&response.success){$("table.records tbody").html(noRecordsFoundRow);$("#wc-square_clear-sync-records").prop("disabled",true)}else{if(response.data){alert(response.data)}console.log(response)}$("table.records").unblock()})});$(".records .actions button.action").on("click",function(e){e.preventDefault();$("table.records").block({message:null,overlayCSS:{opacity:"0.2"}});var recordId=$(e.currentTarget).data("id");var action=$(e.currentTarget).data("action");var data={action:"wc_square_handle_sync_records",id:recordId,handle:action,security:wc_square_admin_settings.handle_sync_with_square_records};$.post(wc_square_admin_settings.ajax_url,data,function(response){if(response&&response.success){var rowId="#record-"+recordId;if("delete"===action){$(rowId).remove();if(!$("table.records tbody tr").length){$("table.records tbody").html(noRecordsFoundRow);$("#wc-square_clear-sync-records").prop("disabled",true)}}else if("resolve"===action||"unsync"===action){$(rowId+" .type").html("<mark class=\"resolved\"><span>"+wc_square_admin_settings.i18n.resolved+"</span></mark>");$(rowId+" .actions").html("—")}}else{if(response&&response.data){alert(response.data)}console.log({record:recordId,action:action,response:response})}$("table.records").unblock()})});$("form").on("submit",function(e){var environment=$("#wc_square_enable_sandbox").is(":checked")?"sandbox":"production";$(e.target).append($("<input>",{type:"hidden",name:"wc_square_environment",value:environment}))});var getSyncStatus=function getSyncStatus(job_id){var $progress=$("span.progress");if(!$progress||0===$progress.length){$("p.sync-result").append(" <span class=\"progress\" style=\"display:block\"></span>");$progress=$("span.progress")}var data={action:"wc_square_get_sync_with_square_status",security:wc_square_admin_settings.get_sync_with_square_status_nonce,job_id:job_id};$.post(wc_square_admin_settings.ajax_url,data,function(response){if(response&&response.data){if(response.success&&response.data.id){$("table.sync .spinner").css("visibility","visible");$("#wc-square_clear-sync-records").prop("disabled",true);$("table.records .actions button").prop("disabled",true);if("completed"!==response.data.status&&"failed"!==response.data.status){var progress=" ";if("product_import"===response.data.action){progress+=wc_square_admin_settings.i18n.skipped+": "+parseInt(response.data.skipped_products_count,10)+"<br/>";progress+=wc_square_admin_settings.i18n.updated+": "+parseInt(response.data.updated_products_count,10)+"<br/>";progress+=wc_square_admin_settings.i18n.imported+": "+parseInt(response.data.imported_products_count,10)}else if(response.data.percentage){progress+=parseInt(response.data.percentage,10)+"%"}$progress.html(progress);setTimeout(function(){getSyncStatus(response.data.id)},30*1000)}else{location.reload()}}else{$("#wc-square_clear-sync-records").prop("disabled",false);$("table.records .actions button").prop("disabled",false);$("table.sync .spinner").css("visibility","hidden");console.log(response)}}})};if(wc_square_admin_settings.existing_sync_job_id){getSyncStatus(wc_square_admin_settings.existing_sync_job_id)}$("#woocommerce_square_credit_card_enable_digital_wallets").on("change",function(){var wallet_settings=$(".wc-square-digital-wallet-options");if($("#woocommerce_square_credit_card_enable_digital_wallets").is(":checked")){wallet_settings.closest("tr").show()}else{wallet_settings.closest("tr").hide()}}).trigger("change")});
|
| 2 |
+
//# sourceMappingURL=wc-square-admin-settings.min.js.map
|
assets/js/admin/wc-square-admin-settings.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":3,"sources":["wc-square-admin-settings.min.js"],"names":["jQuery","document","ready","$","_getSyncStatus","noRecordsFoundRow","ref","ref1","window","typenow","pagenow","wc_square_admin_settings","is_sandbox","hide","next","closest","change","$inventory_sync","$inventory_sync_row","system_of_record","this","val","html","i18n","sync_inventory_label","find","sync_inventory_description","show","prop","on","e","preventDefault","WCBackboneModal","View","target","trigger","body","data","update_during_import","block","message","overlayCSS","opacity","onBlock","css","position","action","dispatch","sync_in_background","security","import_products_from_square","post","ajax_url","response","alert","location","reload","sync_products_with_square","success","unblock","no_records_found","id","handle","handle_sync_with_square_records","console","log","recordId","rowId","remove","length","resolved","record","submit","environment","is","append","type","name","value","job_id","$progress","get_sync_with_square_status_nonce","progress","ref2","status","skipped","parseInt","skipped_products_count","updated","updated_products_count","imported","imported_products_count","percentage","setTimeout","existing_sync_job_id","wallet_settings","call","undefined"],"mappings":"AAAA,cAEA,WAQEA,OAAOC,UAAUC,MAAM,SAAUC,GAQ/B,IAAIC,EAAgBC,EAA4BC,EAAKC,EAIrD,GAHoC,OAAzBD,EAAME,OAAOC,SAAmBH,EAAM,GAG7C,kCAFiC,OAA1BC,EAAOC,OAAOE,SAAmBH,EAAO,IAyQnD,OApQKI,yBAAyBC,aAE5BT,EAAE,+BAA+BU,OACjCV,EAAE,+BAA+BW,OAAOD,OACxCV,EAAE,+BAA+BY,QAAQ,MAAMF,QAGjDV,EAAE,+BAA+Ba,OAAO,WACtC,IAAIC,EAAiBC,EAAqBC,EAc1C,OAbAA,EAAmBhB,EAAEiB,MAAMC,MAC3BJ,EAAkBd,EAAE,oCACpBe,EAAsBD,EAAgBF,QAAQ,MAErB,WAArBI,GAAsD,gBAArBA,GACnCF,EAAgBH,KAAK,QAAQQ,KAAKX,y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AAKS,QACrCoC,GAAYvE,yBAAyBY,KAAK8D,QAAU,KAAOC,SAASjC,EAAShB,KAAKkD,uBAAwB,IAAM,QAChHL,GAAYvE,yBAAyBY,KAAKiE,QAAU,KAAOF,SAASjC,EAAShB,KAAKoD,uBAAwB,IAAM,QAChHP,GAAYvE,yBAAyBY,KAAKmE,SAAW,KAAOJ,SAASjC,EAAShB,KAAKsD,wBAAyB,KACnGtC,EAAShB,KAAKuD,aACvBV,GAAYI,SAASjC,EAAShB,KAAKuD,WAAY,IAAM,KAEvDZ,EAAU1D,KAAK4D,GAERW,WAAW,WAChB,OAAOzF,EAAeiD,EAAShB,KAAKwB,KACnC,MAGIN,SAASC,WAGlBrD,EAAE,iCAAiCyB,KAAK,YAAY,GACpDzB,EAAE,iCAAiCyB,KAAK,YAAY,GACpDzB,EAAE,uBAAuByC,IAAI,aAAc,UACpCoB,QAAQC,IAAIZ,OAMvB1C,yBAAyBmF,sBAC3B1F,EAAeO,yBAAyBmF,sBAGnC3F,EAAE,0DAA0Da,OAAO,WACxE,IAAI+E,EAEJ,OADAA,EAAkB5F,EAAE,qCAChBA,EAAE,0DAA0DuE,GAAG,YAC1DqB,EAAgBhF,QAAQ,MAAMY,OAE9BoE,EAAgBhF,QAAQ,MAAMF,SAEtCG,aAEJgF,UAAKC","file":"wc-square-admin-settings.min.js"}
|
| 1 |
+
{"version":3,"sources":["wc-square-admin-settings.js"],"names":["jQuery","document","ready","$","pagenow","window","wc_square_admin_settings","is_sandbox","hide","next","closest","on","e","system_of_record","target","val","$inventory_sync","$inventory_sync_row","html","i18n","sync_inventory_label","find","sync_inventory_description","show","prop","trigger","preventDefault","WCBackboneModal","View","body","data","block","message","overlayCSS","opacity","onBlock","css","position","update_during_import","action","dispatch","sync_in_background","security","import_products_from_square","post","ajax_url","response","alert","location","reload","sync_products_with_square","success","unblock","noRecordsFoundRow","no_records_found","id","handle","handle_sync_with_square_records","console","log","recordId","currentTarget","rowId","remove","length","resolved","record","environment","is","append","type","name","value","getSyncStatus","job_id","$progress","get_sync_with_square_status_nonce","status","progress","skipped","parseInt","skipped_products_count","updated","updated_products_count","imported","imported_products_count","percentage","setTimeout","existing_sync_job_id","wallet_settings"],"mappings":"aAOAA,MAAM,CAAEC,QAAF,CAAN,CAAmBC,KAAnB,CAA0B,SAAEC,CAAF,CAAS,CAClC,GAAMC,CAAAA,OAAO,CAAGC,MAAM,CAACD,OAAP,EAAkB,EAAlC,CAGA,GAAK,iCAAmCA,OAAxC,CAAkD,CACjD,MACA,CAED,GAAK,CAAEE,wBAAwB,CAACC,UAAhC,CAA6C,CAE5CJ,CAAC,CAAE,6BAAF,CAAD,CAAmCK,IAAnC,GACAL,CAAC,CAAE,6BAAF,CAAD,CAAmCM,IAAnC,GAA0CD,IAA1C,GACAL,CAAC,CAAE,6BAAF,CAAD,CAAmCO,OAAnC,CAA4C,IAA5C,EAAmDF,IAAnD,EACA,CAEDL,CAAC,CAAE,6BAAF,CAAD,CAAmCQ,EAAnC,CAAuC,QAAvC,CAAiD,SAAEC,CAAF,CAAS,CACzD,GAAMC,CAAAA,gBAAgB,CAAGV,CAAC,CAAES,CAAC,CAACE,MAAJ,CAAD,CAAcC,GAAd,EAAzB,CACA,GAAMC,CAAAA,eAAe,CAAGb,CAAC,CAAE,kCAAF,CAAzB,CACA,GAAMc,CAAAA,mBAAmB,CAAGD,eAAe,CAACN,OAAhB,CAAyB,IAAzB,CAA5B,CAGA,GAAK,WAAaG,gBAAb,EAAiC,gBAAkBA,gBAAxD,CAA2E,CAC1EG,eAAe,CAACP,IAAhB,CAAsB,MAAtB,EAA+BS,IAA/B,CAAqCZ,wBAAwB,CAACa,IAAzB,CAA8BC,oBAA9B,CAAoDP,gBAApD,CAArC,EACAI,mBAAmB,CAACI,IAApB,CAA0B,cAA1B,EAA2CH,IAA3C,CAAiDZ,wBAAwB,CAACa,IAAzB,CAA8BG,0BAA9B,CAA0DT,gBAA1D,CAAjD,EACAI,mBAAmB,CAACM,IAApB,EACA,CAJD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AAR,CAAab,QAAb,CACA,CACD,CACD,CArCD,CAsCA,CApDD,CAuDA,GAAKxC,wBAAwB,CAACkF,oBAA9B,CAAqD,CACpDf,aAAa,CAAEnE,wBAAwB,CAACkF,oBAA3B,CACb,CAGDrF,CAAC,CAAE,wDAAF,CAAD,CAA8DQ,EAA9D,CAAkE,QAAlE,CAA4E,UAAM,CACjF,GAAM8E,CAAAA,eAAe,CAAGtF,CAAC,CAAE,mCAAF,CAAzB,CAEA,GAAKA,CAAC,CAAE,wDAAF,CAAD,CAA8DiE,EAA9D,CAAkE,UAAlE,CAAL,CAAsF,CACrFqB,eAAe,CAAC/E,OAAhB,CAAyB,IAAzB,EAAgCa,IAAhC,EACA,CAFD,IAEO,CACNkE,eAAe,CAAC/E,OAAhB,CAAyB,IAAzB,EAAgCF,IAAhC,EACA,CACD,CARD,EAQIiB,OARJ,CAQa,QARb,CASA,CA/TD","sourcesContent":["/* global wc_square_admin_settings */\n\n/**\n * WooCommerce Square scripts for admin product pages.\n *\n * @since 2.0.0\n */\njQuery( document ).ready( ( $ ) => {\n\tconst pagenow = window.pagenow || '';\n\n\t// bail if not on the admin settings page.\n\tif ( 'woocommerce_page_wc-settings' !== pagenow ) {\n\t\treturn;\n\t}\n\n\tif ( ! wc_square_admin_settings.is_sandbox ) {\n\t\t// Hide sandbox settings if is_sandbox is set.\n\t\t$( '#wc_square_sandbox_settings' ).hide();\n\t\t$( '#wc_square_sandbox_settings' ).next().hide();\n\t\t$( '.wc_square_sandbox_settings' ).closest( 'tr' ).hide();\n\t}\n\n\t$( '#wc_square_system_of_record' ).on( 'change', ( e ) => {\n\t\tconst system_of_record = $( e.target ).val();\n\t\tconst $inventory_sync = $( '#wc_square_enable_inventory_sync' );\n\t\tconst $inventory_sync_row = $inventory_sync.closest( 'tr' );\n\n\t\t// toggle the \"Sync inventory\" setting depending on the SOR.\n\t\tif ( 'square' === system_of_record || 'woocommerce' === system_of_record ) {\n\t\t\t$inventory_sync.next( 'span' ).html( wc_square_admin_settings.i18n.sync_inventory_label[ system_of_record ] );\n\t\t\t$inventory_sync_row.find( '.description' ).html( wc_square_admin_settings.i18n.sync_inventory_description[ system_of_record ] );\n\t\t\t$inventory_sync_row.show();\n\t\t} else {\n\t\t\t$inventory_sync.prop( 'checked', false );\n\t\t\t$inventory_sync_row.hide();\n\t\t}\n\n\t\t// toggle the \"Hide missing products\" setting depending on the SOR.\n\t\tif ( 'square' === system_of_record ) {\n\t\t\t$( '#wc_square_hide_missing_products' ).closest( 'tr' ).show();\n\t\t} else {\n\t\t\t$( '#wc_square_hide_missing_products' ).closest( 'tr' ).hide();\n\t\t}\n\t} ).trigger( 'change' );\n\n\t$( '.js-import-square-products' ).on( 'click', ( e ) => {\n\t\te.preventDefault();\n\n\t\tnew $.WCBackboneModal.View( {\n\t\t\ttarget: 'wc-square-import-products',\n\t\t} );\n\n\t\t$( '#btn-close' ).on( 'click', ( e ) => {\n\t\t\te.preventDefault();\n\n\t\t\t$( 'button.modal-close' ).trigger( 'click' );\n\t\t} );\n\t} );\n\n\t// initiate a manual sync.\n\t$( '#wc-square-sync' ).on( 'click', ( e ) => {\n\t\te.preventDefault();\n\n\t\t// open a modal dialog.\n\t\tnew $.WCBackboneModal.View( {\n\t\t\ttarget: 'wc-square-sync',\n\t\t} );\n\n\t\t// enable cancel sync button.\n\t\t$( '#btn-close' ).on( 'click', ( e ) => {\n\t\t\te.preventDefault();\n\n\t\t\t$( 'button.modal-close' ).trigger( 'click' );\n\t\t} );\n\t} );\n\n\t// Listen for wc_backbone_modal_response event handler.\n\t$( document.body ).on( 'wc_backbone_modal_response', ( e, target ) => {\n\t\tlet data;\n\n\t\tswitch ( target ) {\n\t\t\tcase 'wc-square-import-products':\n\t\t\t\t// Add Block overlay since the modal exits immediately\n\t\t\t\t// after wc_backbone_modal_response is triggered.\n\t\t\t\t$( '#wpbody' ).block( {\n\t\t\t\t\tmessage: null,\n\t\t\t\t\toverlayCSS: {\n\t\t\t\t\t\topacity: '0.2',\n\t\t\t\t\t},\n\t\t\t\t\tonBlock: function onBlock() {\n\t\t\t\t\t\t$( '.blockUI.blockOverlay' ).css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t} );\n\n\t\t\t\tconst update_during_import = $( '#wc-square-import-product-updates' ).prop( 'checked' );\n\t\t\t\tdata = {\n\t\t\t\t\taction: 'wc_square_import_products_from_square',\n\t\t\t\t\tdispatch: wc_square_admin_settings.sync_in_background,\n\t\t\t\t\tsecurity: wc_square_admin_settings.import_products_from_square,\n\t\t\t\t\tupdate_during_import,\n\t\t\t\t};\n\n\t\t\t\t$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {\n\t\t\t\t\tconst message = response.data ? response.data : null;\n\n\t\t\t\t\tif ( message ) {\n\t\t\t\t\t\talert( message );\n\t\t\t\t\t}\n\n\t\t\t\t\tlocation.reload();\n\t\t\t\t} );\n\t\t\t\tbreak;\n\n\t\t\tcase 'wc-square-sync':\n\t\t\t\t$( 'table.sync' ).block( {\n\t\t\t\t\tmessage: null,\n\t\t\t\t\toverlayCSS: {\n\t\t\t\t\t\topacity: '0.2',\n\t\t\t\t\t},\n\t\t\t\t} );\n\n\t\t\t\t$( 'table.records' ).block( {\n\t\t\t\t\tmessage: null,\n\t\t\t\t\toverlayCSS: {\n\t\t\t\t\t\topacity: '0.2',\n\t\t\t\t\t},\n\t\t\t\t} );\n\n\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );\n\n\t\t\t\tdata = {\n\t\t\t\t\taction: 'wc_square_sync_products_with_square',\n\t\t\t\t\tdispatch: wc_square_admin_settings.sync_in_background,\n\t\t\t\t\tsecurity: wc_square_admin_settings.sync_products_with_square,\n\t\t\t\t};\n\n\t\t\t\t$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {\n\t\t\t\t\tif ( response && response.success ) {\n\t\t\t\t\t\tlocation.reload();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', false );\n\t\t\t\t\t\t$( 'table.sync' ).unblock();\n\t\t\t\t\t\t$( 'table.records' ).unblock();\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\tbreak;\n\t\t}\n\t} );\n\n\t// Clear sync records history.\n\tconst noRecordsFoundRow = '<tr><td colspan=\"4\"><em>' + wc_square_admin_settings.i18n.no_records_found + '</em></td></tr>';\n\t$( '#wc-square_clear-sync-records' ).on( 'click', ( e ) => {\n\t\te.preventDefault();\n\n\t\t$( 'table.records' ).block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\topacity: '0.2',\n\t\t\t},\n\t\t} );\n\n\t\tconst data = {\n\t\t\taction: 'wc_square_handle_sync_records',\n\t\t\tid: 'all',\n\t\t\thandle: 'delete',\n\t\t\tsecurity: wc_square_admin_settings.handle_sync_with_square_records,\n\t\t};\n\n\t\t$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {\n\t\t\tif ( response && response.success ) {\n\t\t\t\t$( 'table.records tbody' ).html( noRecordsFoundRow );\n\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );\n\t\t\t} else {\n\t\t\t\tif ( response.data ) {\n\t\t\t\t\talert( response.data );\n\t\t\t\t}\n\t\t\t\tconsole.log( response );\n\t\t\t}\n\t\t\t$( 'table.records' ).unblock();\n\t\t} );\n\t} );\n\n\t// Individual sync records actions.\n\t$( '.records .actions button.action' ).on( 'click', ( e ) => {\n\t\te.preventDefault();\n\n\t\t$( 'table.records' ).block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\topacity: '0.2',\n\t\t\t},\n\t\t} );\n\t\tconst recordId = $( e.currentTarget ).data( 'id' );\n\t\tconst action = $( e.currentTarget ).data( 'action' );\n\t\tconst data = {\n\t\t\taction: 'wc_square_handle_sync_records',\n\t\t\tid: recordId,\n\t\t\thandle: action,\n\t\t\tsecurity: wc_square_admin_settings.handle_sync_with_square_records,\n\t\t};\n\n\t\t$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {\n\t\t\tif ( response && response.success ) {\n\t\t\t\tconst rowId = '#record-' + recordId;\n\n\t\t\t\tif ( 'delete' === action ) {\n\t\t\t\t\t$( rowId ).remove();\n\n\t\t\t\t\tif ( ! $( 'table.records tbody tr' ).length ) {\n\t\t\t\t\t\t$( 'table.records tbody' ).html( noRecordsFoundRow );\n\t\t\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );\n\t\t\t\t\t}\n\t\t\t\t} else if ( 'resolve' === action || 'unsync' === action ) {\n\t\t\t\t\t$( rowId + ' .type' ).html( '<mark class=\"resolved\"><span>' + wc_square_admin_settings.i18n.resolved + '</span></mark>' );\n\t\t\t\t\t$( rowId + ' .actions' ).html( '—' );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ( response && response.data ) {\n\t\t\t\t\talert( response.data );\n\t\t\t\t}\n\n\t\t\t\tconsole.log( {\n\t\t\t\t\trecord: recordId,\n\t\t\t\t\taction,\n\t\t\t\t\tresponse,\n\t\t\t\t} );\n\t\t\t}\n\t\t\t$( 'table.records' ).unblock();\n\t\t} );\n\t} );\n\n\t// Add explicit square environment to post data to deal with swapping between production and sandbox in the back end.\n\t$( 'form' ).on( 'submit', ( e ) => {\n\t\tconst environment = $( '#wc_square_enable_sandbox' ).is( ':checked' ) ? 'sandbox' : 'production';\n\n\t\t$( e.target ).append(\n\t\t\t$( '<input>',\n\t\t\t\t{\n\t\t\t\t\ttype: 'hidden',\n\t\t\t\t\tname: 'wc_square_environment',\n\t\t\t\t\tvalue: environment,\n\t\t\t\t}\n\t\t\t)\n\t\t);\n\t} );\n\n\t/**\n\t * Returns a job sync status.\n\t *\n\t * @since 2.0.0\n\t *\n\t * @param {string} job_id\n\t */\n\tconst getSyncStatus = ( job_id ) => {\n\t\tlet $progress = $( 'span.progress' );\n\n\t\tif ( ! $progress || 0 === $progress.length ) {\n\t\t\t$( 'p.sync-result' ).append( ' <span class=\"progress\" style=\"display:block\"></span>' );\n\t\t\t$progress = $( 'span.progress' );\n\t\t}\n\n\t\tconst data = {\n\t\t\taction: 'wc_square_get_sync_with_square_status',\n\t\t\tsecurity: wc_square_admin_settings.get_sync_with_square_status_nonce,\n\t\t\tjob_id,\n\t\t};\n\n\t\t$.post( wc_square_admin_settings.ajax_url, data, ( response ) => {\n\t\t\tif ( response && response.data ) {\n\t\t\t\tif ( response.success && response.data.id ) {\n\t\t\t\t\t// start the progress spinner.\n\t\t\t\t\t$( 'table.sync .spinner' ).css( 'visibility', 'visible' );\n\t\t\t\t\t// disable interacting with records as more could be added during a sync process.\n\t\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', true );\n\t\t\t\t\t$( 'table.records .actions button' ).prop( 'disabled', true );\n\t\t\t\t\t// continue if the job is in progression.\n\t\t\t\t\tif ( 'completed' !== response.data.status && 'failed' !== response.data.status ) {\n\t\t\t\t\t\tlet progress = ' ';\n\t\t\t\t\t\t// update progress info in table cell.\n\t\t\t\t\t\tif ( 'product_import' === response.data.action ) {\n\t\t\t\t\t\t\tprogress += wc_square_admin_settings.i18n.skipped + ': ' + parseInt( response.data.skipped_products_count, 10 ) + '<br/>';\n\t\t\t\t\t\t\tprogress += wc_square_admin_settings.i18n.updated + ': ' + parseInt( response.data.updated_products_count, 10 ) + '<br/>';\n\t\t\t\t\t\t\tprogress += wc_square_admin_settings.i18n.imported + ': ' + parseInt( response.data.imported_products_count, 10 );\n\t\t\t\t\t\t} else if ( response.data.percentage ) {\n\t\t\t\t\t\t\tprogress += parseInt( response.data.percentage, 10 ) + '%';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$progress.html( progress );\n\n\t\t\t\t\t\t// recursion update loop until we're 'completed' (add a long timeout to avoid missing callback return output).\n\t\t\t\t\t\tsetTimeout( () => {\n\t\t\t\t\t\t\tgetSyncStatus( response.data.id );\n\t\t\t\t\t\t}, 30 * 1000 );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// reload page, display updated sync dates and any sync records messages.\n\t\t\t\t\t\tlocation.reload(); // unlikely job processing exception.\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$( '#wc-square_clear-sync-records' ).prop( 'disabled', false );\n\t\t\t\t\t$( 'table.records .actions button' ).prop( 'disabled', false );\n\t\t\t\t\t$( 'table.sync .spinner' ).css( 'visibility', 'hidden' );\n\t\t\t\t\tconsole.log( response );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t};\n\n\t// run once on page load.\n\tif ( wc_square_admin_settings.existing_sync_job_id ) {\n\t\tgetSyncStatus( wc_square_admin_settings.existing_sync_job_id );\n\t}\n\n\t// Show/hide Digital Wallet Settings on Square gateway settings page.\n\t$( '#woocommerce_square_credit_card_enable_digital_wallets' ).on( 'change', () => {\n\t\tconst wallet_settings = $( '.wc-square-digital-wallet-options' );\n\n\t\tif ( $( '#woocommerce_square_credit_card_enable_digital_wallets' ).is( ':checked' ) ) {\n\t\t\twallet_settings.closest( 'tr' ).show();\n\t\t} else {\n\t\t\twallet_settings.closest( 'tr' ).hide();\n\t\t}\n\t} ).trigger( 'change' );\n} );\n"],"file":"wc-square-admin-settings.min.js"}
|
assets/js/frontend/wc-square-digital-wallet.coffee
DELETED
|
@@ -1,428 +0,0 @@
|
|
| 1 |
-
###*
|
| 2 |
-
# Square Credit Card Digital Wallet Handler class.
|
| 3 |
-
#
|
| 4 |
-
# @since 2.3
|
| 5 |
-
###
|
| 6 |
-
|
| 7 |
-
jQuery( document ).ready ( $ ) ->
|
| 8 |
-
|
| 9 |
-
"use strict"
|
| 10 |
-
|
| 11 |
-
# Square Credit Card Digital Wallet Handler class.
|
| 12 |
-
#
|
| 13 |
-
# @since 2.3
|
| 14 |
-
class window.WC_Square_Digital_Wallet_Handler
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
# Setup handler
|
| 18 |
-
#
|
| 19 |
-
# @since 2.3
|
| 20 |
-
constructor: ( args ) ->
|
| 21 |
-
@args = args
|
| 22 |
-
@payment_request = args.payment_request
|
| 23 |
-
@wallet = '#wc-square-digital-wallet'
|
| 24 |
-
@buttons = '.wc-square-wallet-buttons'
|
| 25 |
-
|
| 26 |
-
if $( @wallet ).length == 0
|
| 27 |
-
return
|
| 28 |
-
|
| 29 |
-
$( @wallet ).hide()
|
| 30 |
-
$( @buttons ).hide()
|
| 31 |
-
|
| 32 |
-
this.build_digital_wallet()
|
| 33 |
-
this.attach_page_events()
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
# Fetch a new payment request object and reload the SqPaymentForm
|
| 37 |
-
#
|
| 38 |
-
# @since 2.3
|
| 39 |
-
build_digital_wallet: ->
|
| 40 |
-
this.block_ui()
|
| 41 |
-
|
| 42 |
-
this.get_payment_request().then ( response ) =>
|
| 43 |
-
@payment_request = $.parseJSON( response )
|
| 44 |
-
|
| 45 |
-
this.load_square_form()
|
| 46 |
-
this.unblock_ui()
|
| 47 |
-
|
| 48 |
-
, ( response ) =>
|
| 49 |
-
|
| 50 |
-
this.log( '[Square] Could not build payment request. ' + response.message, 'error' )
|
| 51 |
-
$( @wallet ).hide()
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
# Add page event listeners
|
| 55 |
-
#
|
| 56 |
-
# @since 2.3
|
| 57 |
-
attach_page_events: ->
|
| 58 |
-
|
| 59 |
-
if @args.context is 'product'
|
| 60 |
-
addToCartButton = $( '.single_add_to_cart_button' )
|
| 61 |
-
|
| 62 |
-
$( '#wc-square-apple-pay, #wc-square-google-pay' ).on 'click', ( e ) =>
|
| 63 |
-
if addToCartButton.is( '.disabled' )
|
| 64 |
-
e.stopImmediatePropagation()
|
| 65 |
-
|
| 66 |
-
if addToCartButton.is( '.wc-variation-is-unavailable' )
|
| 67 |
-
window.alert( wc_add_to_cart_variation_params.i18n_unavailable_text )
|
| 68 |
-
else if addToCartButton.is( '.wc-variation-selection-needed' )
|
| 69 |
-
window.alert( wc_add_to_cart_variation_params.i18n_make_a_selection_text )
|
| 70 |
-
|
| 71 |
-
return
|
| 72 |
-
|
| 73 |
-
this.add_to_cart()
|
| 74 |
-
|
| 75 |
-
$( document.body ).on 'woocommerce_variation_has_changed', () =>
|
| 76 |
-
this.build_digital_wallet()
|
| 77 |
-
|
| 78 |
-
$( '.quantity' ).on 'input', '.qty', () =>
|
| 79 |
-
this.build_digital_wallet()
|
| 80 |
-
|
| 81 |
-
else if @args.context is 'cart'
|
| 82 |
-
$( document.body ).on 'updated_cart_totals', () =>
|
| 83 |
-
this.build_digital_wallet()
|
| 84 |
-
|
| 85 |
-
else if @args.context is 'checkout'
|
| 86 |
-
$( document.body ).on 'updated_checkout', () =>
|
| 87 |
-
this.build_digital_wallet()
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
# Load the digital wallet payment form
|
| 91 |
-
#
|
| 92 |
-
# @since 2.3
|
| 93 |
-
load_square_form: ->
|
| 94 |
-
|
| 95 |
-
if @payment_form
|
| 96 |
-
this.log( '[Square] Destroying digital wallet payment form' )
|
| 97 |
-
@payment_form.destroy()
|
| 98 |
-
|
| 99 |
-
this.log( '[Square] Building digital wallet payment form' )
|
| 100 |
-
@payment_form = new SqPaymentForm( this.get_form_params() )
|
| 101 |
-
@payment_form.build()
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
# Gets the Square payment form params.
|
| 105 |
-
#
|
| 106 |
-
# @since 2.3
|
| 107 |
-
get_form_params: =>
|
| 108 |
-
params = {
|
| 109 |
-
applicationId: @args.application_id,
|
| 110 |
-
locationId: @args.location_id,
|
| 111 |
-
autobuild: false,
|
| 112 |
-
applePay: {
|
| 113 |
-
elementId: 'wc-square-apple-pay'
|
| 114 |
-
},
|
| 115 |
-
googlePay: {
|
| 116 |
-
elementId: 'wc-square-google-pay'
|
| 117 |
-
},
|
| 118 |
-
callbacks: {
|
| 119 |
-
paymentFormLoaded: => this.unblock_ui()
|
| 120 |
-
createPaymentRequest: => this.create_payment_request()
|
| 121 |
-
methodsSupported: ( methods, unsupportedReason ) => this.methods_supported( methods, unsupportedReason )
|
| 122 |
-
shippingContactChanged: ( shippingContact, done ) => this.handle_shipping_address_changed( shippingContact, done )
|
| 123 |
-
shippingOptionChanged: ( shippingOption, done ) => this.handle_shipping_option_changed( shippingOption, done )
|
| 124 |
-
cardNonceResponseReceived: ( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) => this.handle_card_nonce_response( errors, nonce, cardData, billingContact, shippingContact, shippingOption )
|
| 125 |
-
}
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
# Fix console errors for Google Pay when there are no shipping options set. See note in Square documentation under shippingOptions: https://developer.squareup.com/docs/api/paymentform#paymentrequestfields
|
| 129 |
-
if @payment_request.requestShippingAddress == false
|
| 130 |
-
delete params.callbacks.shippingOptionChanged
|
| 131 |
-
|
| 132 |
-
# Remove support for Google Pay and/or Apple Pay if chosen in settings
|
| 133 |
-
if 'google' in @args.hide_button_options
|
| 134 |
-
delete params.googlePay
|
| 135 |
-
|
| 136 |
-
if 'apple' in @args.hide_button_options
|
| 137 |
-
delete params.applePay
|
| 138 |
-
|
| 139 |
-
return params
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
# Sets the a payment request object for the Square Payment Form
|
| 143 |
-
#
|
| 144 |
-
# @since 2.3
|
| 145 |
-
create_payment_request: ->
|
| 146 |
-
return @payment_request
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
# Check which methods are supported and show/hide the correct buttons on frontend
|
| 150 |
-
# Reference: https://developer.squareup.com/docs/api/paymentform#methodssupported
|
| 151 |
-
#
|
| 152 |
-
# @since 2.3
|
| 153 |
-
methods_supported: ( methods, unsupportedReason ) ->
|
| 154 |
-
|
| 155 |
-
if methods.applePay == true or methods.googlePay == true
|
| 156 |
-
if methods.applePay == true
|
| 157 |
-
$( '#wc-square-apple-pay' ).show()
|
| 158 |
-
|
| 159 |
-
if methods.googlePay == true
|
| 160 |
-
$( '#wc-square-google-pay' ).show()
|
| 161 |
-
|
| 162 |
-
$( @wallet ).show()
|
| 163 |
-
else
|
| 164 |
-
this.log( unsupportedReason )
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
# Get the payment request on a product page
|
| 168 |
-
#
|
| 169 |
-
# @since 2.3
|
| 170 |
-
get_payment_request: => new Promise ( resolve, reject ) =>
|
| 171 |
-
data = {
|
| 172 |
-
'context' : @args.context,
|
| 173 |
-
'security' : @args.payment_request_nonce,
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
-
if @args.context is 'product'
|
| 177 |
-
product_data = this.get_product_data()
|
| 178 |
-
$.extend data, product_data
|
| 179 |
-
|
| 180 |
-
# retrieve a payment request object
|
| 181 |
-
$.post this.get_ajax_url( 'get_payment_request' ), data, ( response ) =>
|
| 182 |
-
if response.success
|
| 183 |
-
resolve response.data
|
| 184 |
-
else
|
| 185 |
-
reject response.data
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
# Handle all shipping address recalculations in the Apple/Google Pay window
|
| 189 |
-
# Reference: https://developer.squareup.com/docs/api/paymentform#shippingcontactchanged
|
| 190 |
-
#
|
| 191 |
-
# @since 2.3
|
| 192 |
-
handle_shipping_address_changed: ( shippingContact, done ) ->
|
| 193 |
-
data = {
|
| 194 |
-
'context' : @args.context,
|
| 195 |
-
'shipping_contact' : shippingContact.data,
|
| 196 |
-
'security' : @args.recalculate_totals_nonce
|
| 197 |
-
}
|
| 198 |
-
|
| 199 |
-
# send ajax request get_shipping_options
|
| 200 |
-
this.recalculate_totals( data ).then ( response ) =>
|
| 201 |
-
done( response )
|
| 202 |
-
, ( response ) =>
|
| 203 |
-
done({ error: 'Bad Request' })
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
# Handle all shipping method changes in the Apple/Google Pay window
|
| 207 |
-
# Reference: https://developer.squareup.com/docs/api/paymentform#shippingoptionchanged
|
| 208 |
-
#
|
| 209 |
-
# @since 2.3
|
| 210 |
-
handle_shipping_option_changed: ( shippingOption, done ) ->
|
| 211 |
-
data = {
|
| 212 |
-
'context' : @args.context,
|
| 213 |
-
'shipping_option' : shippingOption.data.id,
|
| 214 |
-
'security' : @args.recalculate_totals_nonce
|
| 215 |
-
}
|
| 216 |
-
|
| 217 |
-
this.recalculate_totals( data ).then ( response ) =>
|
| 218 |
-
done( response )
|
| 219 |
-
, ( response ) =>
|
| 220 |
-
done({ error: 'Bad Request' })
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
# Handle the payment response.
|
| 224 |
-
#
|
| 225 |
-
# On success, set the checkout billing/shipping data and submit the checkout.
|
| 226 |
-
#
|
| 227 |
-
# @since 2.3
|
| 228 |
-
handle_card_nonce_response: ( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) ->
|
| 229 |
-
|
| 230 |
-
if errors
|
| 231 |
-
return this.render_errors( errors )
|
| 232 |
-
|
| 233 |
-
if not nonce
|
| 234 |
-
return this.render_errors( @args.general_error )
|
| 235 |
-
|
| 236 |
-
this.block_ui()
|
| 237 |
-
|
| 238 |
-
data = {
|
| 239 |
-
'action' : '',
|
| 240 |
-
'_wpnonce': @args.process_checkout_nonce,
|
| 241 |
-
'billing_first_name': if billingContact.givenName then billingContact.givenName else '',
|
| 242 |
-
'billing_last_name': if billingContact.familyName then billingContact.familyName else '',
|
| 243 |
-
'billing_company': '',
|
| 244 |
-
'billing_email': if shippingContact.email then shippingContact.email else '',
|
| 245 |
-
'billing_phone': if shippingContact.phone then shippingContact.phone else '',
|
| 246 |
-
'billing_country': if billingContact.country then billingContact.country.toUpperCase() else '',
|
| 247 |
-
'billing_address_1': if billingContact.addressLines && billingContact.addressLines[0] then billingContact.addressLines[0] else '',
|
| 248 |
-
'billing_address_2': if billingContact.addressLines && billingContact.addressLines[1] then billingContact.addressLines[1] else '',
|
| 249 |
-
'billing_city': if billingContact.city then billingContact.city else '',
|
| 250 |
-
'billing_state': if billingContact.region then billingContact.region else '',
|
| 251 |
-
'billing_postcode': if billingContact.postalCode then billingContact.postalCode else '',
|
| 252 |
-
'shipping_first_name': if shippingContact.givenName then shippingContact.givenName else '',
|
| 253 |
-
'shipping_last_name': if shippingContact.familyName then shippingContact.familyName else '',
|
| 254 |
-
'shipping_company': '',
|
| 255 |
-
'shipping_country': if shippingContact.country then shippingContact.country.toUpperCase() else '',
|
| 256 |
-
'shipping_address_1': if shippingContact.addressLines && shippingContact.addressLines[0] then shippingContact.addressLines[0] else '',
|
| 257 |
-
'shipping_address_2': if shippingContact.addressLines && shippingContact.addressLines[1] then shippingContact.addressLines[1] else '',
|
| 258 |
-
'shipping_city': if shippingContact.city then shippingContact.city else '',
|
| 259 |
-
'shipping_state': if shippingContact.region then shippingContact.region else '',
|
| 260 |
-
'shipping_postcode': if shippingContact.postalCode then shippingContact.postalCode else '',
|
| 261 |
-
'shipping_method': [ if not shippingOption then null else shippingOption.id ],
|
| 262 |
-
'order_comments': '',
|
| 263 |
-
'payment_method': 'square_credit_card',
|
| 264 |
-
'ship_to_different_address': 1,
|
| 265 |
-
'terms': 1,
|
| 266 |
-
'wc-square-credit-card-payment-nonce': nonce,
|
| 267 |
-
'wc-square-credit-card-last-four': if cardData.last_4 then cardData.last_4 else null,
|
| 268 |
-
'wc-square-credit-card-exp-month': if cardData.exp_month then cardData.exp_month else null,
|
| 269 |
-
'wc-square-credit-card-exp-year': if cardData.exp_year then cardData.exp_year else null,
|
| 270 |
-
'wc-square-credit-card-payment-postcode': if cardData.billing_postal_code then cardData.billing_postal_code else null,
|
| 271 |
-
'wc-square-digital-wallet-type': cardData.digital_wallet_type,
|
| 272 |
-
}
|
| 273 |
-
|
| 274 |
-
# handle slightly different mapping for Google Pay (Google returns full name as a single string)
|
| 275 |
-
if cardData.digital_wallet_type is 'GOOGLE_PAY'
|
| 276 |
-
if billingContact.givenName
|
| 277 |
-
data.billing_first_name = billingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' )
|
| 278 |
-
data.billing_last_name = billingContact.givenName.split( ' ' ).slice( 1 ).join(' ')
|
| 279 |
-
|
| 280 |
-
if shippingContact.givenName
|
| 281 |
-
data.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' )
|
| 282 |
-
data.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 1 ).join( ' ' )
|
| 283 |
-
|
| 284 |
-
# if the billing_phone was not found on shippingContact, use the value on billingContact if that exists
|
| 285 |
-
if not data.billing_phone && billingContact.phone
|
| 286 |
-
data.billing_phone = billingContact.phone
|
| 287 |
-
|
| 288 |
-
# AJAX process checkout
|
| 289 |
-
this.process_digital_wallet_checkout( data ).then ( response ) =>
|
| 290 |
-
window.location = response.redirect
|
| 291 |
-
|
| 292 |
-
, ( response ) =>
|
| 293 |
-
this.log( response, 'error' )
|
| 294 |
-
this.render_errors_html( response.messages )
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
# Recalculate totals
|
| 298 |
-
#
|
| 299 |
-
# @since 2.3
|
| 300 |
-
recalculate_totals: ( data ) => new Promise ( resolve, reject ) =>
|
| 301 |
-
$.post this.get_ajax_url( 'recalculate_totals' ), data, ( response ) =>
|
| 302 |
-
if response.success
|
| 303 |
-
resolve response.data
|
| 304 |
-
else
|
| 305 |
-
reject response.data
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
# Get the product data for building the payment request on the product page
|
| 309 |
-
#
|
| 310 |
-
# @since 2.3
|
| 311 |
-
get_product_data: ->
|
| 312 |
-
product_id = $( '.single_add_to_cart_button' ).val()
|
| 313 |
-
attributes = {}
|
| 314 |
-
|
| 315 |
-
# Check if product is a variable product.
|
| 316 |
-
if $( '.single_variation_wrap' ).length
|
| 317 |
-
product_id = $( '.single_variation_wrap' ).find( 'input[name="product_id"]' ).val()
|
| 318 |
-
|
| 319 |
-
if $( '.variations_form' ).length
|
| 320 |
-
$( '.variations_form' ).find( '.variations select' ).each ( index, select ) =>
|
| 321 |
-
attribute_name = $( select ).data( 'attribute_name' ) || $( select ).attr( 'name' )
|
| 322 |
-
value = $( select ).val() || ''
|
| 323 |
-
|
| 324 |
-
attributes[ attribute_name ] = value;
|
| 325 |
-
|
| 326 |
-
return {
|
| 327 |
-
'product_id' : product_id,
|
| 328 |
-
'quantity' : $( '.quantity .qty' ).val(),
|
| 329 |
-
'attributes' : attributes,
|
| 330 |
-
}
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
# Add the product to the cart
|
| 334 |
-
#
|
| 335 |
-
# @since 2.3
|
| 336 |
-
add_to_cart: ->
|
| 337 |
-
data = {
|
| 338 |
-
'security' : @args.add_to_cart_nonce,
|
| 339 |
-
}
|
| 340 |
-
|
| 341 |
-
product_data = this.get_product_data()
|
| 342 |
-
$.extend data, product_data
|
| 343 |
-
|
| 344 |
-
# retrieve a payment request object
|
| 345 |
-
$.post this.get_ajax_url( 'add_to_cart' ), data, ( response ) =>
|
| 346 |
-
if response.error
|
| 347 |
-
window.alert( response.data )
|
| 348 |
-
else
|
| 349 |
-
data = $.parseJSON( response.data )
|
| 350 |
-
|
| 351 |
-
@payment_request = data.payment_request
|
| 352 |
-
@args.payment_request_nonce = data.payment_request_nonce
|
| 353 |
-
@args.add_to_cart_nonce = data.add_to_cart_nonce
|
| 354 |
-
@args.recalculate_totals_nonce = data.recalculate_totals_nonce
|
| 355 |
-
@args.process_checkout_nonce = data.process_checkout_nonce
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
# Process the digital wallet checkout
|
| 359 |
-
#
|
| 360 |
-
# @since 2.3
|
| 361 |
-
process_digital_wallet_checkout: ( data ) => new Promise ( resolve, reject ) =>
|
| 362 |
-
$.post this.get_ajax_url( 'process_checkout' ), data, ( response ) =>
|
| 363 |
-
if response.result is 'success'
|
| 364 |
-
resolve response
|
| 365 |
-
else
|
| 366 |
-
reject response
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
# Helper function to return the ajax URL for the given request/action
|
| 370 |
-
#
|
| 371 |
-
# @since 2.3
|
| 372 |
-
get_ajax_url: ( request ) ->
|
| 373 |
-
return @args.ajax_url.replace( '%%endpoint%%', 'square_digital_wallet_' + request )
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
# Renders errors given the error message HTML
|
| 377 |
-
#
|
| 378 |
-
# @since 2.3
|
| 379 |
-
render_errors_html: ( errors_html ) ->
|
| 380 |
-
# hide and remove any previous errors
|
| 381 |
-
$( '.woocommerce-error, .woocommerce-message' ).remove()
|
| 382 |
-
|
| 383 |
-
element = if @args.context == 'product' then $( '.product' ) else $( '.shop_table.cart' ).closest( 'form' )
|
| 384 |
-
|
| 385 |
-
# add errors
|
| 386 |
-
element.before errors_html
|
| 387 |
-
|
| 388 |
-
# unblock UI
|
| 389 |
-
this.unblock_ui()
|
| 390 |
-
|
| 391 |
-
# scroll to top
|
| 392 |
-
$( 'html, body' ).animate( { scrollTop: element.offset().top - 100 }, 1000 )
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
# Renders errors
|
| 396 |
-
#
|
| 397 |
-
# @since 2.3
|
| 398 |
-
render_errors: ( errors ) ->
|
| 399 |
-
error_message_html = '<ul class="woocommerce-error"><li>' + errors.join( '</li><li>' ) + '</li></ul>'
|
| 400 |
-
|
| 401 |
-
this.render_errors_html( error_message_html )
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
# Block the Apple Pay and Google Pay buttons from being clicked which processing certain actions
|
| 405 |
-
#
|
| 406 |
-
# @since 2.3
|
| 407 |
-
block_ui: ->
|
| 408 |
-
$( @buttons ).block( { message: null, overlayCSS: background: '#fff', opacity: 0.6 } )
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
# Unblock the wallet buttons
|
| 412 |
-
#
|
| 413 |
-
# @since 2.3
|
| 414 |
-
unblock_ui: ->
|
| 415 |
-
$( @buttons ).unblock()
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
# Logs messages to the console when logging is turned on in the settings
|
| 419 |
-
#
|
| 420 |
-
# @since 2.3
|
| 421 |
-
log: ( message, type = 'notice' ) ->
|
| 422 |
-
# if logging is disabled, bail
|
| 423 |
-
return unless @args.logging_enabled
|
| 424 |
-
|
| 425 |
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* global wc_add_to_cart_variation_params, SqPaymentForm */
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Square Credit Card Digital Wallet Handler class.
|
| 5 |
+
*
|
| 6 |
+
* @since 2.3
|
| 7 |
+
*/
|
| 8 |
+
jQuery( document ).ready( ( $ ) => {
|
| 9 |
+
/**
|
| 10 |
+
* Square Credit Card Digital Wallet Handler class.
|
| 11 |
+
*
|
| 12 |
+
* @since 2.3
|
| 13 |
+
*/
|
| 14 |
+
class WC_Square_Digital_Wallet_Handler {
|
| 15 |
+
/**
|
| 16 |
+
* Setup handler
|
| 17 |
+
*
|
| 18 |
+
* @param {Array} args
|
| 19 |
+
* @since 2.3
|
| 20 |
+
*/
|
| 21 |
+
constructor( args ) {
|
| 22 |
+
this.args = args;
|
| 23 |
+
this.payment_request = args.payment_request;
|
| 24 |
+
this.wallet = '#wc-square-digital-wallet';
|
| 25 |
+
this.buttons = '.wc-square-wallet-buttons';
|
| 26 |
+
|
| 27 |
+
if ( $( this.wallet ).length === 0 ) {
|
| 28 |
+
return;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
$( this.wallet ).hide();
|
| 32 |
+
$( this.buttons ).hide();
|
| 33 |
+
|
| 34 |
+
this.build_digital_wallet();
|
| 35 |
+
this.attach_page_events();
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* Fetch a new payment request object and reload the SqPaymentForm
|
| 40 |
+
*
|
| 41 |
+
* @since 2.3
|
| 42 |
+
*/
|
| 43 |
+
build_digital_wallet() {
|
| 44 |
+
this.block_ui();
|
| 45 |
+
this.get_payment_request().then(
|
| 46 |
+
( response ) => {
|
| 47 |
+
this.payment_request = JSON.parse( response );
|
| 48 |
+
this.load_square_form();
|
| 49 |
+
this.unblock_ui();
|
| 50 |
+
},
|
| 51 |
+
( message ) => {
|
| 52 |
+
this.log( '[Square] Could not build payment request. ' + message, 'error' );
|
| 53 |
+
$( this.wallet ).hide();
|
| 54 |
+
}
|
| 55 |
+
);
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/**
|
| 59 |
+
* Add page event listeners
|
| 60 |
+
*
|
| 61 |
+
* @since 2.3
|
| 62 |
+
*/
|
| 63 |
+
attach_page_events() {
|
| 64 |
+
if ( this.args.context === 'product' ) {
|
| 65 |
+
const addToCartButton = $( '.single_add_to_cart_button' );
|
| 66 |
+
|
| 67 |
+
$( '#wc-square-apple-pay, #wc-square-google-pay' ).on( 'click', ( e ) => {
|
| 68 |
+
if ( addToCartButton.is( '.disabled' ) ) {
|
| 69 |
+
e.stopImmediatePropagation();
|
| 70 |
+
|
| 71 |
+
if ( addToCartButton.is( '.wc-variation-is-unavailable' ) ) {
|
| 72 |
+
window.alert( wc_add_to_cart_variation_params.i18n_unavailable_text );
|
| 73 |
+
} else if ( addToCartButton.is( '.wc-variation-selection-needed' ) ) {
|
| 74 |
+
window.alert( wc_add_to_cart_variation_params.i18n_make_a_selection_text );
|
| 75 |
+
}
|
| 76 |
+
return;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
this.add_to_cart();
|
| 80 |
+
} );
|
| 81 |
+
|
| 82 |
+
$( document.body ).on( 'woocommerce_variation_has_changed', () => this.build_digital_wallet() );
|
| 83 |
+
|
| 84 |
+
$( '.quantity' ).on( 'input', '.qty', () => this.build_digital_wallet() );
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
if ( this.args.context === 'cart' ) {
|
| 88 |
+
$( document.body ).on( 'updated_cart_totals', () => this.build_digital_wallet() );
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
if ( this.args.context === 'checkout' ) {
|
| 92 |
+
$( document.body ).on( 'updated_checkout', () => this.build_digital_wallet() );
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
/**
|
| 97 |
+
* Load the digital wallet payment form
|
| 98 |
+
*
|
| 99 |
+
* @since 2.3
|
| 100 |
+
*/
|
| 101 |
+
load_square_form() {
|
| 102 |
+
if ( this.payment_form ) {
|
| 103 |
+
this.log( '[Square] Destroying digital wallet payment form' );
|
| 104 |
+
this.payment_form.destroy();
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
this.log( '[Square] Building digital wallet payment form' );
|
| 108 |
+
this.payment_form = new SqPaymentForm( this.get_form_params() );
|
| 109 |
+
this.payment_form.build();
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
/**
|
| 113 |
+
* Gets the Square payment form params.
|
| 114 |
+
*
|
| 115 |
+
* @since 2.3
|
| 116 |
+
*/
|
| 117 |
+
get_form_params() {
|
| 118 |
+
const params = {
|
| 119 |
+
applicationId: this.args.application_id,
|
| 120 |
+
locationId: this.args.location_id,
|
| 121 |
+
autobuild: false,
|
| 122 |
+
applePay: {
|
| 123 |
+
elementId: 'wc-square-apple-pay',
|
| 124 |
+
},
|
| 125 |
+
googlePay: {
|
| 126 |
+
elementId: 'wc-square-google-pay',
|
| 127 |
+
},
|
| 128 |
+
callbacks: {
|
| 129 |
+
paymentFormLoaded: () => this.unblock_ui(),
|
| 130 |
+
createPaymentRequest: () => this.create_payment_request(),
|
| 131 |
+
methodsSupported: ( methods, unsupportedReason ) => this.methods_supported( methods, unsupportedReason ),
|
| 132 |
+
shippingContactChanged: ( shippingContact, done ) => this.handle_shipping_address_changed( shippingContact, done ),
|
| 133 |
+
shippingOptionChanged: ( shippingOption, done ) => this.handle_shipping_option_changed( shippingOption, done ),
|
| 134 |
+
cardNonceResponseReceived: ( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) => {
|
| 135 |
+
this.handle_card_nonce_response( errors, nonce, cardData, billingContact, shippingContact, shippingOption );
|
| 136 |
+
},
|
| 137 |
+
},
|
| 138 |
+
};
|
| 139 |
+
|
| 140 |
+
// Fix console errors for Google Pay when there are no shipping options set. See note in Square documentation under shippingOptions: https://developer.squareup.com/docs/api/paymentform#paymentrequestfields.
|
| 141 |
+
if ( this.payment_request.requestShippingAddress === false ) {
|
| 142 |
+
delete params.callbacks.shippingOptionChanged;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
// Remove support for Google Pay and/or Apple Pay if chosen in settings.
|
| 146 |
+
if ( this.args.hide_button_options.includes( 'google' ) ) {
|
| 147 |
+
delete params.googlePay;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
if ( this.args.hide_button_options.includes( 'apple' ) ) {
|
| 151 |
+
delete params.applePay;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
return params;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
/**
|
| 158 |
+
* Sets the a payment request object for the Square Payment Form
|
| 159 |
+
*
|
| 160 |
+
* @since 2.3
|
| 161 |
+
*/
|
| 162 |
+
create_payment_request() {
|
| 163 |
+
return this.payment_request;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
/**
|
| 167 |
+
* Check which methods are supported and show/hide the correct buttons on frontend
|
| 168 |
+
* Reference: https://developer.squareup.com/docs/api/paymentform#methodssupported
|
| 169 |
+
*
|
| 170 |
+
* @param {Object} methods
|
| 171 |
+
* @param {string} unsupportedReason
|
| 172 |
+
*
|
| 173 |
+
* @since 2.3
|
| 174 |
+
*/
|
| 175 |
+
methods_supported( methods, unsupportedReason ) {
|
| 176 |
+
if ( methods.applePay === true || methods.googlePay === true ) {
|
| 177 |
+
if ( methods.applePay === true ) {
|
| 178 |
+
$( '#wc-square-apple-pay' ).show();
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
if ( methods.googlePay === true ) {
|
| 182 |
+
$( '#wc-square-google-pay' ).show();
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
$( this.wallet ).show();
|
| 186 |
+
} else {
|
| 187 |
+
this.log( unsupportedReason );
|
| 188 |
+
}
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
/*
|
| 192 |
+
* Get the payment request on a product page
|
| 193 |
+
*
|
| 194 |
+
* @since 2.3
|
| 195 |
+
*/
|
| 196 |
+
get_payment_request() {
|
| 197 |
+
return new Promise( ( resolve, reject ) => {
|
| 198 |
+
const data = {
|
| 199 |
+
context: this.args.context,
|
| 200 |
+
security: this.args.payment_request_nonce,
|
| 201 |
+
};
|
| 202 |
+
|
| 203 |
+
if ( this.args.context === 'product' ) {
|
| 204 |
+
const product_data = this.get_product_data();
|
| 205 |
+
$.extend( data, product_data );
|
| 206 |
+
}
|
| 207 |
+
// retrieve a payment request object.
|
| 208 |
+
$.post( this.get_ajax_url( 'get_payment_request' ), data, ( response ) => {
|
| 209 |
+
if ( response.success ) {
|
| 210 |
+
return resolve( response.data );
|
| 211 |
+
}
|
| 212 |
+
|
| 213 |
+
return reject( response.data );
|
| 214 |
+
} );
|
| 215 |
+
} );
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
/*
|
| 219 |
+
* Handle all shipping address recalculations in the Apple/Google Pay window
|
| 220 |
+
*
|
| 221 |
+
* Reference: https://developer.squareup.com/docs/api/paymentform#shippingcontactchanged
|
| 222 |
+
*
|
| 223 |
+
* @since 2.3
|
| 224 |
+
*/
|
| 225 |
+
handle_shipping_address_changed( shippingContact, done ) {
|
| 226 |
+
const data = {
|
| 227 |
+
context: this.args.context,
|
| 228 |
+
shipping_contact: shippingContact.data,
|
| 229 |
+
security: this.args.recalculate_totals_nonce,
|
| 230 |
+
};
|
| 231 |
+
|
| 232 |
+
// send ajax request get_shipping_options.
|
| 233 |
+
this.recalculate_totals( data ).then( ( response ) => {
|
| 234 |
+
return done( response );
|
| 235 |
+
}, () => {
|
| 236 |
+
return done( {
|
| 237 |
+
error: 'Bad Request',
|
| 238 |
+
} );
|
| 239 |
+
} );
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
/*
|
| 243 |
+
* Handle all shipping method changes in the Apple/Google Pay window
|
| 244 |
+
*
|
| 245 |
+
* Reference: https://developer.squareup.com/docs/api/paymentform#shippingoptionchanged
|
| 246 |
+
*
|
| 247 |
+
* @since 2.3
|
| 248 |
+
*/
|
| 249 |
+
handle_shipping_option_changed( shippingOption, done ) {
|
| 250 |
+
const data = {
|
| 251 |
+
context: this.args.context,
|
| 252 |
+
shipping_option: shippingOption.data.id,
|
| 253 |
+
security: this.args.recalculate_totals_nonce,
|
| 254 |
+
};
|
| 255 |
+
|
| 256 |
+
this.recalculate_totals( data ).then( ( response ) => {
|
| 257 |
+
return done( response );
|
| 258 |
+
}, () => {
|
| 259 |
+
return done( {
|
| 260 |
+
error: 'Bad Request',
|
| 261 |
+
} );
|
| 262 |
+
} );
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
/*
|
| 266 |
+
* Handle the payment response.
|
| 267 |
+
*
|
| 268 |
+
* On success, set the checkout billing/shipping data and submit the checkout.
|
| 269 |
+
*
|
| 270 |
+
* @since 2.3
|
| 271 |
+
*/
|
| 272 |
+
handle_card_nonce_response( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) {
|
| 273 |
+
if ( errors ) {
|
| 274 |
+
return this.render_errors( errors );
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
if ( ! nonce ) {
|
| 278 |
+
return this.render_errors( this.args.general_error );
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
this.block_ui();
|
| 282 |
+
|
| 283 |
+
const data = {
|
| 284 |
+
action: '',
|
| 285 |
+
_wpnonce: this.args.process_checkout_nonce,
|
| 286 |
+
billing_first_name: billingContact.givenName ? billingContact.givenName : '',
|
| 287 |
+
billing_last_name: billingContact.familyName ? billingContact.familyName : '',
|
| 288 |
+
billing_company: '',
|
| 289 |
+
billing_email: shippingContact.email ? shippingContact.email : '',
|
| 290 |
+
billing_phone: shippingContact.phone ? shippingContact.phone : '',
|
| 291 |
+
billing_country: billingContact.country ? billingContact.country.toUpperCase() : '',
|
| 292 |
+
billing_address_1: billingContact.addressLines && billingContact.addressLines[ 0 ] ? billingContact.addressLines[ 0 ] : '',
|
| 293 |
+
billing_address_2: billingContact.addressLines && billingContact.addressLines[ 1 ] ? billingContact.addressLines[ 1 ] : '',
|
| 294 |
+
billing_city: billingContact.city ? billingContact.city : '',
|
| 295 |
+
billing_state: billingContact.region ? billingContact.region : '',
|
| 296 |
+
billing_postcode: billingContact.postalCode ? billingContact.postalCode : '',
|
| 297 |
+
shipping_first_name: shippingContact.givenName ? shippingContact.givenName : '',
|
| 298 |
+
shipping_last_name: shippingContact.familyName ? shippingContact.familyName : '',
|
| 299 |
+
shipping_company: '',
|
| 300 |
+
shipping_country: shippingContact.country ? shippingContact.country.toUpperCase() : '',
|
| 301 |
+
shipping_address_1: shippingContact.addressLines && shippingContact.addressLines[ 0 ] ? shippingContact.addressLines[ 0 ] : '',
|
| 302 |
+
shipping_address_2: shippingContact.addressLines && shippingContact.addressLines[ 1 ] ? shippingContact.addressLines[ 1 ] : '',
|
| 303 |
+
shipping_city: shippingContact.city ? shippingContact.city : '',
|
| 304 |
+
shipping_state: shippingContact.region ? shippingContact.region : '',
|
| 305 |
+
shipping_postcode: shippingContact.postalCode ? shippingContact.postalCode : '',
|
| 306 |
+
shipping_method: [ ! shippingOption ? null : shippingOption.id ],
|
| 307 |
+
order_comments: '',
|
| 308 |
+
payment_method: 'square_credit_card',
|
| 309 |
+
ship_to_different_address: 1,
|
| 310 |
+
terms: 1,
|
| 311 |
+
'wc-square-credit-card-payment-nonce': nonce,
|
| 312 |
+
'wc-square-credit-card-last-four': cardData.last_4 ? cardData.last_4 : null,
|
| 313 |
+
'wc-square-credit-card-exp-month': cardData.exp_month ? cardData.exp_month : null,
|
| 314 |
+
'wc-square-credit-card-exp-year': cardData.exp_year ? cardData.exp_year : null,
|
| 315 |
+
'wc-square-credit-card-payment-postcode': cardData.billing_postal_code ? cardData.billing_postal_code : null,
|
| 316 |
+
'wc-square-digital-wallet-type': cardData.digital_wallet_type,
|
| 317 |
+
};
|
| 318 |
+
|
| 319 |
+
// handle slightly different mapping for Google Pay (Google returns full name as a single string).
|
| 320 |
+
if ( cardData.digital_wallet_type === 'GOOGLE_PAY' ) {
|
| 321 |
+
if ( billingContact.givenName ) {
|
| 322 |
+
data.billing_first_name = billingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' );
|
| 323 |
+
data.billing_last_name = billingContact.givenName.split( ' ' ).slice( 1 ).join( ' ' );
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
if ( shippingContact.givenName ) {
|
| 327 |
+
data.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' );
|
| 328 |
+
data.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 1 ).join( ' ' );
|
| 329 |
+
}
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
// if the billing_phone was not found on shippingContact, use the value on billingContact if that exists.
|
| 333 |
+
if ( ! data.billing_phone && billingContact.phone ) {
|
| 334 |
+
data.billing_phone = billingContact.phone;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
// AJAX process checkout.
|
| 338 |
+
this.process_digital_wallet_checkout( data ).then(
|
| 339 |
+
( response ) => {
|
| 340 |
+
window.location = response.redirect;
|
| 341 |
+
},
|
| 342 |
+
( response ) => {
|
| 343 |
+
this.log( response, 'error' );
|
| 344 |
+
this.render_errors_html( response.messages );
|
| 345 |
+
}
|
| 346 |
+
);
|
| 347 |
+
}
|
| 348 |
+
|
| 349 |
+
/*
|
| 350 |
+
* Recalculate totals
|
| 351 |
+
*
|
| 352 |
+
* @since 2.3
|
| 353 |
+
*/
|
| 354 |
+
recalculate_totals( data ) {
|
| 355 |
+
return new Promise( ( resolve, reject ) => {
|
| 356 |
+
return $.post( this.get_ajax_url( 'recalculate_totals' ), data, ( response ) => {
|
| 357 |
+
if ( response.success ) {
|
| 358 |
+
return resolve( response.data );
|
| 359 |
+
}
|
| 360 |
+
return reject( response.data );
|
| 361 |
+
} );
|
| 362 |
+
} );
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
/*
|
| 366 |
+
* Get the product data for building the payment request on the product page
|
| 367 |
+
*
|
| 368 |
+
* @since 2.3
|
| 369 |
+
*/
|
| 370 |
+
get_product_data() {
|
| 371 |
+
let product_id = $( '.single_add_to_cart_button' ).val();
|
| 372 |
+
|
| 373 |
+
const attributes = {};
|
| 374 |
+
|
| 375 |
+
// Check if product is a variable product.
|
| 376 |
+
if ( $( '.single_variation_wrap' ).length ) {
|
| 377 |
+
product_id = $( '.single_variation_wrap' ).find( 'input[name="product_id"]' ).val();
|
| 378 |
+
if ( $( '.variations_form' ).length ) {
|
| 379 |
+
$( '.variations_form' ).find( '.variations select' ).each( ( index, select ) => {
|
| 380 |
+
const attribute_name = $( select ).data( 'attribute_name' ) || $( select ).attr( 'name' );
|
| 381 |
+
const value = $( select ).val() || '';
|
| 382 |
+
return attributes[ attribute_name ] = value;
|
| 383 |
+
} );
|
| 384 |
+
}
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
return {
|
| 388 |
+
product_id,
|
| 389 |
+
quantity: $( '.quantity .qty' ).val(),
|
| 390 |
+
attributes,
|
| 391 |
+
};
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
/*
|
| 395 |
+
* Add the product to the cart
|
| 396 |
+
*
|
| 397 |
+
* @since 2.3
|
| 398 |
+
*/
|
| 399 |
+
add_to_cart() {
|
| 400 |
+
const data = {
|
| 401 |
+
security: this.args.add_to_cart_nonce,
|
| 402 |
+
};
|
| 403 |
+
const product_data = this.get_product_data();
|
| 404 |
+
$.extend( data, product_data );
|
| 405 |
+
|
| 406 |
+
// retrieve a payment request object.
|
| 407 |
+
$.post( this.get_ajax_url( 'add_to_cart' ), data, ( response ) => {
|
| 408 |
+
if ( response.error ) {
|
| 409 |
+
return window.alert( response.data );
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
const data = JSON.parse( response.data );
|
| 413 |
+
this.payment_request = data.payment_request;
|
| 414 |
+
this.args.payment_request_nonce = data.payment_request_nonce;
|
| 415 |
+
this.args.add_to_cart_nonce = data.add_to_cart_nonce;
|
| 416 |
+
this.args.recalculate_totals_nonce = data.recalculate_totals_nonce;
|
| 417 |
+
this.args.process_checkout_nonce = data.process_checkout_nonce;
|
| 418 |
+
} );
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
/*
|
| 422 |
+
* Process the digital wallet checkout
|
| 423 |
+
*
|
| 424 |
+
* @since 2.3
|
| 425 |
+
*/
|
| 426 |
+
process_digital_wallet_checkout( data ) {
|
| 427 |
+
return new Promise( ( resolve, reject ) => {
|
| 428 |
+
$.post( this.get_ajax_url( 'process_checkout' ), data, ( response ) => {
|
| 429 |
+
if ( response.result === 'success' ) {
|
| 430 |
+
return resolve( response );
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
return reject( response );
|
| 434 |
+
} );
|
| 435 |
+
} );
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
/*
|
| 439 |
+
* Helper function to return the ajax URL for the given request/action
|
| 440 |
+
*
|
| 441 |
+
* @since 2.3
|
| 442 |
+
*/
|
| 443 |
+
get_ajax_url( request ) {
|
| 444 |
+
return this.args.ajax_url.replace( '%%endpoint%%', 'square_digital_wallet_' + request );
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
/*
|
| 448 |
+
* Renders errors given the error message HTML
|
| 449 |
+
*
|
| 450 |
+
* @since 2.3
|
| 451 |
+
*/
|
| 452 |
+
render_errors_html( errors_html ) {
|
| 453 |
+
// hide and remove any previous errors.
|
| 454 |
+
$( '.woocommerce-error, .woocommerce-message' ).remove();
|
| 455 |
+
|
| 456 |
+
const element = this.args.context === 'product' ? $( '.product' ) : $( '.shop_table.cart' ).closest( 'form' );
|
| 457 |
+
|
| 458 |
+
// add errors
|
| 459 |
+
element.before( errors_html );
|
| 460 |
+
|
| 461 |
+
// unblock UI
|
| 462 |
+
this.unblock_ui();
|
| 463 |
+
|
| 464 |
+
// scroll to top
|
| 465 |
+
$( 'html, body' ).animate( {
|
| 466 |
+
scrollTop: element.offset().top - 100,
|
| 467 |
+
}, 1000 );
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
/*
|
| 471 |
+
* Renders errors
|
| 472 |
+
*
|
| 473 |
+
* @since 2.3
|
| 474 |
+
*/
|
| 475 |
+
render_errors( errors ) {
|
| 476 |
+
const error_message_html = '<ul class="woocommerce-error"><li>' + errors.join( '</li><li>' ) + '</li></ul>';
|
| 477 |
+
this.render_errors_html( error_message_html );
|
| 478 |
+
}
|
| 479 |
+
|
| 480 |
+
/*
|
| 481 |
+
* Block the Apple Pay and Google Pay buttons from being clicked which processing certain actions
|
| 482 |
+
*
|
| 483 |
+
* @since 2.3
|
| 484 |
+
*/
|
| 485 |
+
block_ui() {
|
| 486 |
+
$( this.buttons ).block( {
|
| 487 |
+
message: null,
|
| 488 |
+
overlayCSS: {
|
| 489 |
+
background: '#fff',
|
| 490 |
+
opacity: 0.6,
|
| 491 |
+
},
|
| 492 |
+
} );
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
/*
|
| 496 |
+
* Unblock the wallet buttons
|
| 497 |
+
*
|
| 498 |
+
* @since 2.3
|
| 499 |
+
*/
|
| 500 |
+
unblock_ui() {
|
| 501 |
+
$( this.buttons ).unblock();
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
/*
|
| 505 |
+
* Logs messages to the console when logging is turned on in the settings
|
| 506 |
+
*
|
| 507 |
+
* @since 2.3
|
| 508 |
+
*/
|
| 509 |
+
log( message, type = 'notice' ) {
|
| 510 |
+
// if logging is disabled, bail.
|
| 511 |
+
if ( ! this.args.logging_enabled ) {
|
| 512 |
+
return;
|
| 513 |
+
}
|
| 514 |
+
|
| 515 |
+
if ( type === 'error' ) {
|
| 516 |
+
return console.error( message );
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
return console.log( message );
|
| 520 |
+
}
|
| 521 |
+
}
|
| 522 |
+
|
| 523 |
+
window.WC_Square_Digital_Wallet_Handler = WC_Square_Digital_Wallet_Handler;
|
| 524 |
+
} );
|
| 525 |
+
|
assets/js/frontend/wc-square-digital-wallet.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();(function(){var e=[].indexOf;jQuery(document).ready(function(t){return window.WC_Square_Digital_Wallet_Handler=function(){function a(e){_classCallCheck(this,a),this.get_form_params=this.get_form_params.bind(this),this.get_payment_request=this.get_payment_request.bind(this),this.recalculate_totals=this.recalculate_totals.bind(this),this.process_digital_wallet_checkout=this.process_digital_wallet_checkout.bind(this),this.args=e,this.payment_request=e.payment_request,this.wallet="#wc-square-digital-wallet",this.buttons=".wc-square-wallet-buttons",0!==t(this.wallet).length&&(t(this.wallet).hide(),t(this.buttons).hide(),this.build_digital_wallet(),this.attach_page_events())}return _createClass(a,[{key:"build_digital_wallet",value:function(){var e=this;return this.block_ui(),this.get_payment_request().then(function(a){return e.payment_request=t.parseJSON(a),e.load_square_form(),e.unblock_ui()},function(a){return e.log("[Square] Could not build payment request. "+a.message,"error"),t(e.wallet).hide()})}},{key:"attach_page_events",value:function(){var e,a=this;return"product"===this.args.context?(e=t(".single_add_to_cart_button"),t("#wc-square-apple-pay, #wc-square-google-pay").on("click",function(t){return e.is(".disabled")?(t.stopImmediatePropagation(),void(e.is(".wc-variation-is-unavailable")?window.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):e.is(".wc-variation-selection-needed")&&window.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))):a.add_to_cart()}),t(document.body).on("woocommerce_variation_has_changed",function(){return a.build_digital_wallet()}),t(".quantity").on("input",".qty",function(){return a.build_digital_wallet()})):"cart"===this.args.context?t(document.body).on("updated_cart_totals",function(){return a.build_digital_wallet()}):"checkout"===this.args.context?t(document.body).on("updated_checkout",function(){return a.build_digital_wallet()}):void 0}},{key:"load_square_form",value:function(){return this.payment_form&&(this.log("[Square] Destroying digital wallet payment form"),this.payment_form.destroy()),this.log("[Square] Building digital wallet payment form"),this.payment_form=new SqPaymentForm(this.get_form_params()),this.payment_form.build()}},{key:"get_form_params",value:function(){var t,a=this;return t={applicationId:this.args.application_id,locationId:this.args.location_id,autobuild:!1,applePay:{elementId:"wc-square-apple-pay"},googlePay:{elementId:"wc-square-google-pay"},callbacks:{paymentFormLoaded:function(){return a.unblock_ui()},createPaymentRequest:function(){return a.create_payment_request()},methodsSupported:function(e,t){return a.methods_supported(e,t)},shippingContactChanged:function(e,t){return a.handle_shipping_address_changed(e,t)},shippingOptionChanged:function(e,t){return a.handle_shipping_option_changed(e,t)},cardNonceResponseReceived:function(e,t,n,r,i,o){return a.handle_card_nonce_response(e,t,n,r,i,o)}}},!1===this.payment_request.requestShippingAddress&&delete t.callbacks.shippingOptionChanged,e.call(this.args.hide_button_options,"google")>=0&&delete t.googlePay,e.call(this.args.hide_button_options,"apple")>=0&&delete t.applePay,t}},{key:"create_payment_request",value:function(){return this.payment_request}},{key:"methods_supported",value:function(e,a){return!0===e.applePay||!0===e.googlePay?(!0===e.applePay&&t("#wc-square-apple-pay").show(),!0===e.googlePay&&t("#wc-square-google-pay").show(),t(this.wallet).show()):this.log(a)}},{key:"get_payment_request",value:function(){var e=this;return new Promise(function(a,n){var r,i;return r={context:e.args.context,security:e.args.payment_request_nonce},"product"===e.args.context&&(i=e.get_product_data(),t.extend(r,i)),t.post(e.get_ajax_url("get_payment_request"),r,function(e){return e.success?a(e.data):n(e.data)})})}},{key:"handle_shipping_address_changed",value:function(e,t){var a;return a={context:this.args.context,shipping_contact:e.data,security:this.args.recalculate_totals_nonce},this.recalculate_totals(a).then(function(e){return t(e)},function(e){return t({error:"Bad Request"})})}},{key:"handle_shipping_option_changed",value:function(e,t){var a;return a={context:this.args.context,shipping_option:e.data.id,security:this.args.recalculate_totals_nonce},this.recalculate_totals(a).then(function(e){return t(e)},function(e){return t({error:"Bad Request"})})}},{key:"handle_card_nonce_response",value:function(e,t,a,n,r,i){var o,s=this;return e?this.render_errors(e):t?(this.block_ui(),o={action:"",_wpnonce:this.args.process_checkout_nonce,billing_first_name:n.givenName?n.givenName:"",billing_last_name:n.familyName?n.familyName:"",billing_company:"",billing_email:r.email?r.email:"",billing_phone:r.phone?r.phone:"",billing_country:n.country?n.country.toUpperCase():"",billing_address_1:n.addressLines&&n.addressLines[0]?n.addressLines[0]:"",billing_address_2:n.addressLines&&n.addressLines[1]?n.addressLines[1]:"",billing_city:n.city?n.city:"",billing_state:n.region?n.region:"",billing_postcode:n.postalCode?n.postalCode:"",shipping_first_name:r.givenName?r.givenName:"",shipping_last_name:r.familyName?r.familyName:"",shipping_company:"",shipping_country:r.country?r.country.toUpperCase():"",shipping_address_1:r.addressLines&&r.addressLines[0]?r.addressLines[0]:"",shipping_address_2:r.addressLines&&r.addressLines[1]?r.addressLines[1]:"",shipping_city:r.city?r.city:"",shipping_state:r.region?r.region:"",shipping_postcode:r.postalCode?r.postalCode:"",shipping_method:[i?i.id:null],order_comments:"",payment_method:"square_credit_card",ship_to_different_address:1,terms:1,"wc-square-credit-card-payment-nonce":t,"wc-square-credit-card-last-four":a.last_4?a.last_4:null,"wc-square-credit-card-exp-month":a.exp_month?a.exp_month:null,"wc-square-credit-card-exp-year":a.exp_year?a.exp_year:null,"wc-square-credit-card-payment-postcode":a.billing_postal_code?a.billing_postal_code:null,"wc-square-digital-wallet-type":a.digital_wallet_type},"GOOGLE_PAY"===a.digital_wallet_type&&(n.givenName&&(o.billing_first_name=n.givenName.split(" ").slice(0,1).join(" "),o.billing_last_name=n.givenName.split(" ").slice(1).join(" ")),r.givenName&&(o.shipping_last_name=r.givenName.split(" ").slice(0,1).join(" "),o.shipping_last_name=r.givenName.split(" ").slice(1).join(" "))),!o.billing_phone&&n.phone&&(o.billing_phone=n.phone),this.process_digital_wallet_checkout(o).then(function(e){return window.location=e.redirect},function(e){return s.log(e,"error"),s.render_errors_html(e.messages)})):this.render_errors(this.args.general_error)}},{key:"recalculate_totals",value:function(e){var a=this;return new Promise(function(n,r){return t.post(a.get_ajax_url("recalculate_totals"),e,function(e){return e.success?n(e.data):r(e.data)})})}},{key:"get_product_data",value:function(){var e,a;return a=t(".single_add_to_cart_button").val(),e={},t(".single_variation_wrap").length&&(a=t(".single_variation_wrap").find('input[name="product_id"]').val(),t(".variations_form").length&&t(".variations_form").find(".variations select").each(function(a,n){var r,i;return r=t(n).data("attribute_name")||t(n).attr("name"),i=t(n).val()||"",e[r]=i})),{product_id:a,quantity:t(".quantity .qty").val(),attributes:e}}},{key:"add_to_cart",value:function(){var e,a,n=this;return e={security:this.args.add_to_cart_nonce},a=this.get_product_data(),t.extend(e,a),t.post(this.get_ajax_url("add_to_cart"),e,function(a){return a.error?window.alert(a.data):(e=t.parseJSON(a.data),n.payment_request=e.payment_request,n.args.payment_request_nonce=e.payment_request_nonce,n.args.add_to_cart_nonce=e.add_to_cart_nonce,n.args.recalculate_totals_nonce=e.recalculate_totals_nonce,n.args.process_checkout_nonce=e.process_checkout_nonce)})}},{key:"process_digital_wallet_checkout",value:function(e){var a=this;return new Promise(function(n,r){return t.post(a.get_ajax_url("process_checkout"),e,function(e){return"success"===e.result?n(e):r(e)})})}},{key:"get_ajax_url",value:function(e){return this.args.ajax_url.replace("%%endpoint%%","square_digital_wallet_"+e)}},{key:"render_errors_html",value:function(e){var a;return t(".woocommerce-error, .woocommerce-message").remove(),(a="product"===this.args.context?t(".product"):t(".shop_table.cart").closest("form")).before(e),this.unblock_ui(),t("html, body").animate({scrollTop:a.offset().top-100},1e3)}},{key:"render_errors",value:function(e){var t;return t='<ul class="woocommerce-error"><li>'+e.join("</li><li>")+"</li></ul>",this.render_errors_html(t)}},{key:"block_ui",value:function(){return t(this.buttons).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})}},{key:"unblock_ui",value:function(){return t(this.buttons).unblock()}},{key:"log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"notice";if(this.args.logging_enabled)return"error"===t?console.error(e):console.log(e)}}]),a}()})}).call(void 0);
|
| 2 |
-
//# sourceMappingURL=wc-square-digital-wallet.min.js.map
|
| 1 |
+
"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}jQuery(document).ready(function($){var WC_Square_Digital_Wallet_Handler=function(){function WC_Square_Digital_Wallet_Handler(args){_classCallCheck(this,WC_Square_Digital_Wallet_Handler);this.args=args;this.payment_request=args.payment_request;this.wallet="#wc-square-digital-wallet";this.buttons=".wc-square-wallet-buttons";if($(this.wallet).length===0){return}$(this.wallet).hide();$(this.buttons).hide();this.build_digital_wallet();this.attach_page_events()}_createClass(WC_Square_Digital_Wallet_Handler,[{key:"build_digital_wallet",value:function build_digital_wallet(){var _this=this;this.block_ui();this.get_payment_request().then(function(response){_this.payment_request=JSON.parse(response);_this.load_square_form();_this.unblock_ui()},function(message){_this.log("[Square] Could not build payment request. "+message,"error");$(_this.wallet).hide()})}},{key:"attach_page_events",value:function attach_page_events(){var _this2=this;if(this.args.context==="product"){var addToCartButton=$(".single_add_to_cart_button");$("#wc-square-apple-pay, #wc-square-google-pay").on("click",function(e){if(addToCartButton.is(".disabled")){e.stopImmediatePropagation();if(addToCartButton.is(".wc-variation-is-unavailable")){window.alert(wc_add_to_cart_variation_params.i18n_unavailable_text)}else if(addToCartButton.is(".wc-variation-selection-needed")){window.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text)}return}_this2.add_to_cart()});$(document.body).on("woocommerce_variation_has_changed",function(){return _this2.build_digital_wallet()});$(".quantity").on("input",".qty",function(){return _this2.build_digital_wallet()})}if(this.args.context==="cart"){$(document.body).on("updated_cart_totals",function(){return _this2.build_digital_wallet()})}if(this.args.context==="checkout"){$(document.body).on("updated_checkout",function(){return _this2.build_digital_wallet()})}}},{key:"load_square_form",value:function load_square_form(){if(this.payment_form){this.log("[Square] Destroying digital wallet payment form");this.payment_form.destroy()}this.log("[Square] Building digital wallet payment form");this.payment_form=new SqPaymentForm(this.get_form_params());this.payment_form.build()}},{key:"get_form_params",value:function get_form_params(){var _this3=this;var params={applicationId:this.args.application_id,locationId:this.args.location_id,autobuild:false,applePay:{elementId:"wc-square-apple-pay"},googlePay:{elementId:"wc-square-google-pay"},callbacks:{paymentFormLoaded:function paymentFormLoaded(){return _this3.unblock_ui()},createPaymentRequest:function createPaymentRequest(){return _this3.create_payment_request()},methodsSupported:function methodsSupported(methods,unsupportedReason){return _this3.methods_supported(methods,unsupportedReason)},shippingContactChanged:function shippingContactChanged(shippingContact,done){return _this3.handle_shipping_address_changed(shippingContact,done)},shippingOptionChanged:function shippingOptionChanged(shippingOption,done){return _this3.handle_shipping_option_changed(shippingOption,done)},cardNonceResponseReceived:function cardNonceResponseReceived(errors,nonce,cardData,billingContact,shippingContact,shippingOption){_this3.handle_card_nonce_response(errors,nonce,cardData,billingContact,shippingContact,shippingOption)}}};if(this.payment_request.requestShippingAddress===false){delete params.callbacks.shippingOptionChanged}if(this.args.hide_button_options.includes("google")){delete params.googlePay}if(this.args.hide_button_options.includes("apple")){delete params.applePay}return params}},{key:"create_payment_request",value:function create_payment_request(){return this.payment_request}},{key:"methods_supported",value:function methods_supported(methods,unsupportedReason){if(methods.applePay===true||methods.googlePay===true){if(methods.applePay===true){$("#wc-square-apple-pay").show()}if(methods.googlePay===true){$("#wc-square-google-pay").show()}$(this.wallet).show()}else{this.log(unsupportedReason)}}},{key:"get_payment_request",value:function get_payment_request(){var _this4=this;return new Promise(function(resolve,reject){var data={context:_this4.args.context,security:_this4.args.payment_request_nonce};if(_this4.args.context==="product"){var product_data=_this4.get_product_data();$.extend(data,product_data)}$.post(_this4.get_ajax_url("get_payment_request"),data,function(response){if(response.success){return resolve(response.data)}return reject(response.data)})})}},{key:"handle_shipping_address_changed",value:function handle_shipping_address_changed(shippingContact,done){var data={context:this.args.context,shipping_contact:shippingContact.data,security:this.args.recalculate_totals_nonce};this.recalculate_totals(data).then(function(response){return done(response)},function(){return done({error:"Bad Request"})})}},{key:"handle_shipping_option_changed",value:function handle_shipping_option_changed(shippingOption,done){var data={context:this.args.context,shipping_option:shippingOption.data.id,security:this.args.recalculate_totals_nonce};this.recalculate_totals(data).then(function(response){return done(response)},function(){return done({error:"Bad Request"})})}},{key:"handle_card_nonce_response",value:function handle_card_nonce_response(errors,nonce,cardData,billingContact,shippingContact,shippingOption){var _this5=this;if(errors){return this.render_errors(errors)}if(!nonce){return this.render_errors(this.args.general_error)}this.block_ui();var data={action:"",_wpnonce:this.args.process_checkout_nonce,billing_first_name:billingContact.givenName?billingContact.givenName:"",billing_last_name:billingContact.familyName?billingContact.familyName:"",billing_company:"",billing_email:shippingContact.email?shippingContact.email:"",billing_phone:shippingContact.phone?shippingContact.phone:"",billing_country:billingContact.country?billingContact.country.toUpperCase():"",billing_address_1:billingContact.addressLines&&billingContact.addressLines[0]?billingContact.addressLines[0]:"",billing_address_2:billingContact.addressLines&&billingContact.addressLines[1]?billingContact.addressLines[1]:"",billing_city:billingContact.city?billingContact.city:"",billing_state:billingContact.region?billingContact.region:"",billing_postcode:billingContact.postalCode?billingContact.postalCode:"",shipping_first_name:shippingContact.givenName?shippingContact.givenName:"",shipping_last_name:shippingContact.familyName?shippingContact.familyName:"",shipping_company:"",shipping_country:shippingContact.country?shippingContact.country.toUpperCase():"",shipping_address_1:shippingContact.addressLines&&shippingContact.addressLines[0]?shippingContact.addressLines[0]:"",shipping_address_2:shippingContact.addressLines&&shippingContact.addressLines[1]?shippingContact.addressLines[1]:"",shipping_city:shippingContact.city?shippingContact.city:"",shipping_state:shippingContact.region?shippingContact.region:"",shipping_postcode:shippingContact.postalCode?shippingContact.postalCode:"",shipping_method:[!shippingOption?null:shippingOption.id],order_comments:"",payment_method:"square_credit_card",ship_to_different_address:1,terms:1,"wc-square-credit-card-payment-nonce":nonce,"wc-square-credit-card-last-four":cardData.last_4?cardData.last_4:null,"wc-square-credit-card-exp-month":cardData.exp_month?cardData.exp_month:null,"wc-square-credit-card-exp-year":cardData.exp_year?cardData.exp_year:null,"wc-square-credit-card-payment-postcode":cardData.billing_postal_code?cardData.billing_postal_code:null,"wc-square-digital-wallet-type":cardData.digital_wallet_type};if(cardData.digital_wallet_type==="GOOGLE_PAY"){if(billingContact.givenName){data.billing_first_name=billingContact.givenName.split(" ").slice(0,1).join(" ");data.billing_last_name=billingContact.givenName.split(" ").slice(1).join(" ")}if(shippingContact.givenName){data.shipping_last_name=shippingContact.givenName.split(" ").slice(0,1).join(" ");data.shipping_last_name=shippingContact.givenName.split(" ").slice(1).join(" ")}}if(!data.billing_phone&&billingContact.phone){data.billing_phone=billingContact.phone}this.process_digital_wallet_checkout(data).then(function(response){window.location=response.redirect},function(response){_this5.log(response,"error");_this5.render_errors_html(response.messages)})}},{key:"recalculate_totals",value:function recalculate_totals(data){var _this6=this;return new Promise(function(resolve,reject){return $.post(_this6.get_ajax_url("recalculate_totals"),data,function(response){if(response.success){return resolve(response.data)}return reject(response.data)})})}},{key:"get_product_data",value:function get_product_data(){var product_id=$(".single_add_to_cart_button").val();var attributes={};if($(".single_variation_wrap").length){product_id=$(".single_variation_wrap").find("input[name=\"product_id\"]").val();if($(".variations_form").length){$(".variations_form").find(".variations select").each(function(index,select){var attribute_name=$(select).data("attribute_name")||$(select).attr("name");var value=$(select).val()||"";return attributes[attribute_name]=value})}}return{product_id:product_id,quantity:$(".quantity .qty").val(),attributes:attributes}}},{key:"add_to_cart",value:function add_to_cart(){var _this7=this;var data={security:this.args.add_to_cart_nonce};var product_data=this.get_product_data();$.extend(data,product_data);$.post(this.get_ajax_url("add_to_cart"),data,function(response){if(response.error){return window.alert(response.data)}var data=JSON.parse(response.data);_this7.payment_request=data.payment_request;_this7.args.payment_request_nonce=data.payment_request_nonce;_this7.args.add_to_cart_nonce=data.add_to_cart_nonce;_this7.args.recalculate_totals_nonce=data.recalculate_totals_nonce;_this7.args.process_checkout_nonce=data.process_checkout_nonce})}},{key:"process_digital_wallet_checkout",value:function process_digital_wallet_checkout(data){var _this8=this;return new Promise(function(resolve,reject){$.post(_this8.get_ajax_url("process_checkout"),data,function(response){if(response.result==="success"){return resolve(response)}return reject(response)})})}},{key:"get_ajax_url",value:function get_ajax_url(request){return this.args.ajax_url.replace("%%endpoint%%","square_digital_wallet_"+request)}},{key:"render_errors_html",value:function render_errors_html(errors_html){$(".woocommerce-error, .woocommerce-message").remove();var element=this.args.context==="product"?$(".product"):$(".shop_table.cart").closest("form");element.before(errors_html);this.unblock_ui();$("html, body").animate({scrollTop:element.offset().top-100},1000)}},{key:"render_errors",value:function render_errors(errors){var error_message_html="<ul class=\"woocommerce-error\"><li>"+errors.join("</li><li>")+"</li></ul>";this.render_errors_html(error_message_html)}},{key:"block_ui",value:function block_ui(){$(this.buttons).block({message:null,overlayCSS:{background:"#fff",opacity:0.6}})}},{key:"unblock_ui",value:function unblock_ui(){$(this.buttons).unblock()}},{key:"log",value:function log(message){var type=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"notice";if(!this.args.logging_enabled){return}if(type==="error"){return console.error(message)}return console.log(message)}}]);return WC_Square_Digital_Wallet_Handler}();window.WC_Square_Digital_Wallet_Handler=WC_Square_Digital_Wallet_Handler});
|
| 2 |
+
//# sourceMappingURL=wc-square-digital-wallet.min.js.map
|
assets/js/frontend/wc-square-digital-wallet.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":3,"sources":["wc-square-digital-wallet.min.js"],"names":["_classCallCheck","instance","Constructor","TypeError","_createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","protoProps","staticProps","prototype","indexOf","jQuery","document","ready","$","window","WC_Square_Digital_Wallet_Handler","args","this","get_form_params","bind","get_payment_request","recalculate_totals","process_digital_wallet_checkout","payment_request","wallet","buttons","hide","build_digital_wallet","attach_page_events","value","_this","block_ui","then","response","parseJSON","load_square_form","unblock_ui","log","message","addToCartButton","_this2","context","on","e","is","stopImmediatePropagation","alert","wc_add_to_cart_variation_params","i18n_unavailable_text","i18n_make_a_selection_text","add_to_cart","body","payment_form","destroy","SqPaymentForm","build","params","_this3","applicationId","application_id","locationId","location_id","autobuild","applePay","elementId","googlePay","callbacks","paymentFormLoaded","createPaymentRequest","create_payment_request","methodsSupported","methods","unsupportedReason","methods_supported","shippingContactChanged","shippingContact","done","handle_shipping_address_changed","shippingOptionChanged","shippingOption","handle_shipping_option_changed","cardNonceResponseReceived","errors","nonce","cardData","billingContact","handle_card_nonce_response","requestShippingAddress","call","hide_button_options","show","_this4","Promise","resolve","reject","data","product_data","security","payment_request_nonce","get_product_data","extend","post","get_ajax_url","success","shipping_contact","recalculate_totals_nonce","error","shipping_option","id","_this5","render_errors","action","_wpnonce","process_checkout_nonce","billing_first_name","givenName","billing_last_name","familyName","billing_company","billing_email","email","billing_phone","phone","billing_country","country","toUpperCase","billing_address_1","addressLines","billing_address_2","billing_city","city","billing_state","region","billing_postcode","postalCode","shipping_first_name","shipping_last_name","shipping_company","shipping_country","shipping_address_1","shipping_address_2","shipping_city","shipping_state","shipping_postcode","shipping_method","order_comments","payment_method","ship_to_different_address","terms","wc-square-credit-card-payment-nonce","wc-square-credit-card-last-four","last_4","wc-square-credit-card-exp-month","exp_month","wc-square-credit-card-exp-year","exp_year","wc-square-credit-card-payment-postcode","billing_postal_code","wc-square-digital-wallet-type","digital_wallet_type","split","slice","join","location","redirect","render_errors_html","messages","general_error","_this6","attributes","product_id","val","find","each","index","select","attribute_name","attr","quantity","_this7","add_to_cart_nonce","_this8","result","request","ajax_url","replace","errors_html","element","remove","closest","before","animate","scrollTop","offset","top","error_message_html","block","overlayCSS","background","opacity","unblock","type","arguments","undefined","logging_enabled","console"],"mappings":"AAAA,aAIA,SAASA,gBAAgBC,EAAUC,GAAe,KAAMD,aAAoBC,GAAgB,MAAM,IAAIC,UAAU,qCAFhH,IAAIC,aAAe,WAAc,SAASC,EAAiBC,EAAQC,GAAS,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CAAE,IAAIE,EAAaH,EAAMC,GAAIE,EAAWC,WAAaD,EAAWC,aAAc,EAAOD,EAAWE,cAAe,EAAU,UAAWF,IAAYA,EAAWG,UAAW,GAAMC,OAAOC,eAAeT,EAAQI,EAAWM,IAAKN,IAAiB,OAAO,SAAUR,EAAae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duK,QAAQxK,IAAIC,OAKlBvB,EA5gBwC,OA+gBlDyE,UAAKmH","file":"wc-square-digital-wallet.min.js"}
|
| 1 |
+
{"version":3,"sources":["wc-square-digital-wallet.js"],"names":["jQuery","document","ready","$","WC_Square_Digital_Wallet_Handler","args","payment_request","wallet","buttons","length","hide","build_digital_wallet","attach_page_events","block_ui","get_payment_request","then","response","JSON","parse","load_square_form","unblock_ui","message","log","context","addToCartButton","on","e","is","stopImmediatePropagation","window","alert","wc_add_to_cart_variation_params","i18n_unavailable_text","i18n_make_a_selection_text","add_to_cart","body","payment_form","destroy","SqPaymentForm","get_form_params","build","params","applicationId","application_id","locationId","location_id","autobuild","applePay","elementId","googlePay","callbacks","paymentFormLoaded","createPaymentRequest","create_payment_request","methodsSupported","methods","unsupportedReason","methods_supported","shippingContactChanged","shippingContact","done","handle_shipping_address_changed","shippingOptionChanged","shippingOption","handle_shipping_option_changed","cardNonceResponseReceived","errors","nonce","cardData","billingContact","handle_card_nonce_response","requestShippingAddress","hide_button_options","includes","show","Promise","resolve","reject","data","security","payment_request_nonce","product_data","get_product_data","extend","post","get_ajax_url","success","shipping_contact","recalculate_totals_nonce","recalculate_totals","error","shipping_option","id","render_errors","general_error","action","_wpnonce","process_checkout_nonce","billing_first_name","givenName","billing_last_name","familyName","billing_company","billing_email","email","billing_phone","phone","billing_country","country","toUpperCase","billing_address_1","addressLines","billing_address_2","billing_city","city","billing_state","region","billing_postcode","postalCode","shipping_first_name","shipping_last_name","shipping_company","shipping_country","shipping_address_1","shipping_address_2","shipping_city","shipping_state","shipping_postcode","shipping_method","order_comments","payment_method","ship_to_different_address","terms","last_4","exp_month","exp_year","billing_postal_code","digital_wallet_type","split","slice","join","process_digital_wallet_checkout","location","redirect","render_errors_html","messages","product_id","val","attributes","find","each","index","select","attribute_name","attr","value","quantity","add_to_cart_nonce","result","request","ajax_url","replace","errors_html","remove","element","closest","before","animate","scrollTop","offset","top","error_message_html","block","overlayCSS","background","opacity","unblock","type","logging_enab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AD,CAAwBkK,OAAxB,CAAiC,MAAjC,CAApE,CAGAD,OAAO,CAACE,MAAR,CAAgBJ,WAAhB,EAGA,KAAK9I,UAAL,GAGAjB,CAAC,CAAE,YAAF,CAAD,CAAkBoK,OAAlB,CAA2B,CAC1BC,SAAS,CAAEJ,OAAO,CAACK,MAAR,GAAiBC,GAAjB,CAAuB,GADR,CAA3B,CAEG,IAFH,CAGA,CA5cgC,6BAmdjC,uBAAexG,MAAf,CAAwB,CACvB,GAAMyG,CAAAA,kBAAkB,CAAG,uCAAuCzG,MAAM,CAAC0E,IAAP,CAAa,WAAb,CAAvC,CAAoE,YAA/F,CACA,KAAKI,kBAAL,CAAyB2B,kBAAzB,CACA,CAtdgC,wBA6djC,mBAAW,CACVxK,CAAC,CAAE,KAAKK,OAAP,CAAD,CAAkBoK,KAAlB,CAAyB,CACxBvJ,OAAO,CAAE,IADe,CAExBwJ,UAAU,CAAE,CACXC,UAAU,CAAE,MADD,CAEXC,OAAO,CAAE,GAFE,CAFY,CAAzB,CAOA,CAregC,0BA4ejC,qBAAa,CACZ5K,CAAC,CAAE,KAAKK,OAAP,CAAD,CAAkBwK,OAAlB,EACA,CA9egC,mBAqfjC,aAAK3J,OAAL,CAAgC,IAAlB4J,CAAAA,IAAkB,2DAAX,QAAW,CAE/B,GAAK,CAAE,KAAK5K,IAAL,CAAU6K,eAAjB,CAAmC,CAClC,MACA,CAED,GAAKD,IAAI,GAAK,OAAd,CAAwB,CACvB,MAAOE,CAAAA,OAAO,CAACzF,KAAR,CAAerE,OAAf,CACP,CAED,MAAO8J,CAAAA,OAAO,CAAC7J,GAAR,CAAaD,OAAb,CACP,CAhgBgC,+CAmgBlCQ,MAAM,CAACzB,gCAAP,CAA0CA,gCAC1C,CApgBD","sourcesContent":["/* global wc_add_to_cart_variation_params, SqPaymentForm */\n\n/**\n * Square Credit Card Digital Wallet Handler class.\n *\n * @since 2.3\n */\njQuery( document ).ready( ( $ ) => {\n\t/**\n\t * Square Credit Card Digital Wallet Handler class.\n\t *\n\t * @since 2.3\n\t */\n\tclass WC_Square_Digital_Wallet_Handler {\n\t\t/**\n\t\t * Setup handler\n\t\t *\n\t\t * @param {Array} args\n\t\t * @since 2.3\n\t\t */\n\t\tconstructor( args ) {\n\t\t\tthis.args = args;\n\t\t\tthis.payment_request = args.payment_request;\n\t\t\tthis.wallet = '#wc-square-digital-wallet';\n\t\t\tthis.buttons = '.wc-square-wallet-buttons';\n\n\t\t\tif ( $( this.wallet ).length === 0 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$( this.wallet ).hide();\n\t\t\t$( this.buttons ).hide();\n\n\t\t\tthis.build_digital_wallet();\n\t\t\tthis.attach_page_events();\n\t\t}\n\n\t\t/**\n\t\t * Fetch a new payment request object and reload the SqPaymentForm\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tbuild_digital_wallet() {\n\t\t\tthis.block_ui();\n\t\t\tthis.get_payment_request().then(\n\t\t\t\t( response ) => {\n\t\t\t\t\tthis.payment_request = JSON.parse( response );\n\t\t\t\t\tthis.load_square_form();\n\t\t\t\t\tthis.unblock_ui();\n\t\t\t\t},\n\t\t\t\t( message ) => {\n\t\t\t\t\tthis.log( '[Square] Could not build payment request. ' + message, 'error' );\n\t\t\t\t\t$( this.wallet ).hide();\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\t/**\n\t\t * Add page event listeners\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tattach_page_events() {\n\t\t\tif ( this.args.context === 'product' ) {\n\t\t\t\tconst addToCartButton = $( '.single_add_to_cart_button' );\n\n\t\t\t\t$( '#wc-square-apple-pay, #wc-square-google-pay' ).on( 'click', ( e ) => {\n\t\t\t\t\tif ( addToCartButton.is( '.disabled' ) ) {\n\t\t\t\t\t\te.stopImmediatePropagation();\n\n\t\t\t\t\t\tif ( addToCartButton.is( '.wc-variation-is-unavailable' ) ) {\n\t\t\t\t\t\t\twindow.alert( wc_add_to_cart_variation_params.i18n_unavailable_text );\n\t\t\t\t\t\t} else if ( addToCartButton.is( '.wc-variation-selection-needed' ) ) {\n\t\t\t\t\t\t\twindow.alert( wc_add_to_cart_variation_params.i18n_make_a_selection_text );\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.add_to_cart();\n\t\t\t\t} );\n\n\t\t\t\t$( document.body ).on( 'woocommerce_variation_has_changed', () => this.build_digital_wallet() );\n\n\t\t\t\t$( '.quantity' ).on( 'input', '.qty', () => this.build_digital_wallet() );\n\t\t\t}\n\n\t\t\tif ( this.args.context === 'cart' ) {\n\t\t\t\t$( document.body ).on( 'updated_cart_totals', () => this.build_digital_wallet() );\n\t\t\t}\n\n\t\t\tif ( this.args.context === 'checkout' ) {\n\t\t\t\t$( document.body ).on( 'updated_checkout', () => this.build_digital_wallet() );\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Load the digital wallet payment form\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tload_square_form() {\n\t\t\tif ( this.payment_form ) {\n\t\t\t\tthis.log( '[Square] Destroying digital wallet payment form' );\n\t\t\t\tthis.payment_form.destroy();\n\t\t\t}\n\n\t\t\tthis.log( '[Square] Building digital wallet payment form' );\n\t\t\tthis.payment_form = new SqPaymentForm( this.get_form_params() );\n\t\t\tthis.payment_form.build();\n\t\t}\n\n\t\t/**\n\t\t * Gets the Square payment form params.\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tget_form_params() {\n\t\t\tconst params = {\n\t\t\t\tapplicationId: this.args.application_id,\n\t\t\t\tlocationId: this.args.location_id,\n\t\t\t\tautobuild: false,\n\t\t\t\tapplePay: {\n\t\t\t\t\telementId: 'wc-square-apple-pay',\n\t\t\t\t},\n\t\t\t\tgooglePay: {\n\t\t\t\t\telementId: 'wc-square-google-pay',\n\t\t\t\t},\n\t\t\t\tcallbacks: {\n\t\t\t\t\tpaymentFormLoaded: () => this.unblock_ui(),\n\t\t\t\t\tcreatePaymentRequest: () => this.create_payment_request(),\n\t\t\t\t\tmethodsSupported: ( methods, unsupportedReason ) => this.methods_supported( methods, unsupportedReason ),\n\t\t\t\t\tshippingContactChanged: ( shippingContact, done ) => this.handle_shipping_address_changed( shippingContact, done ),\n\t\t\t\t\tshippingOptionChanged: ( shippingOption, done ) => this.handle_shipping_option_changed( shippingOption, done ),\n\t\t\t\t\tcardNonceResponseReceived: ( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) => {\n\t\t\t\t\t\tthis.handle_card_nonce_response( errors, nonce, cardData, billingContact, shippingContact, shippingOption );\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t};\n\n\t\t\t// Fix console errors for Google Pay when there are no shipping options set. See note in Square documentation under shippingOptions: https://developer.squareup.com/docs/api/paymentform#paymentrequestfields.\n\t\t\tif ( this.payment_request.requestShippingAddress === false ) {\n\t\t\t\tdelete params.callbacks.shippingOptionChanged;\n\t\t\t}\n\n\t\t\t// Remove support for Google Pay and/or Apple Pay if chosen in settings.\n\t\t\tif ( this.args.hide_button_options.includes( 'google' ) ) {\n\t\t\t\tdelete params.googlePay;\n\t\t\t}\n\n\t\t\tif ( this.args.hide_button_options.includes( 'apple' ) ) {\n\t\t\t\tdelete params.applePay;\n\t\t\t}\n\n\t\t\treturn params;\n\t\t}\n\n\t\t/**\n\t\t * Sets the a payment request object for the Square Payment Form\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tcreate_payment_request() {\n\t\t\treturn this.payment_request;\n\t\t}\n\n\t\t/**\n\t\t * Check which methods are supported and show/hide the correct buttons on frontend\n\t\t * Reference: https://developer.squareup.com/docs/api/paymentform#methodssupported\n\t\t *\n\t\t * @param {Object} methods\n\t\t * @param {string} unsupportedReason\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tmethods_supported( methods, unsupportedReason ) {\n\t\t\tif ( methods.applePay === true || methods.googlePay === true ) {\n\t\t\t\tif ( methods.applePay === true ) {\n\t\t\t\t\t$( '#wc-square-apple-pay' ).show();\n\t\t\t\t}\n\n\t\t\t\tif ( methods.googlePay === true ) {\n\t\t\t\t\t$( '#wc-square-google-pay' ).show();\n\t\t\t\t}\n\n\t\t\t\t$( this.wallet ).show();\n\t\t\t} else {\n\t\t\t\tthis.log( unsupportedReason );\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Get the payment request on a product page\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tget_payment_request() {\n\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\tconst data = {\n\t\t\t\t\tcontext: this.args.context,\n\t\t\t\t\tsecurity: this.args.payment_request_nonce,\n\t\t\t\t};\n\n\t\t\t\tif ( this.args.context === 'product' ) {\n\t\t\t\t\tconst product_data = this.get_product_data();\n\t\t\t\t\t$.extend( data, product_data );\n\t\t\t\t}\n\t\t\t\t// retrieve a payment request object.\n\t\t\t\t$.post( this.get_ajax_url( 'get_payment_request' ), data, ( response ) => {\n\t\t\t\t\tif ( response.success ) {\n\t\t\t\t\t\treturn resolve( response.data );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn reject( response.data );\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Handle all shipping address recalculations in the Apple/Google Pay window\n\t\t *\n\t\t * Reference: https://developer.squareup.com/docs/api/paymentform#shippingcontactchanged\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\thandle_shipping_address_changed( shippingContact, done ) {\n\t\t\tconst data = {\n\t\t\t\tcontext: this.args.context,\n\t\t\t\tshipping_contact: shippingContact.data,\n\t\t\t\tsecurity: this.args.recalculate_totals_nonce,\n\t\t\t};\n\n\t\t\t// send ajax request get_shipping_options.\n\t\t\tthis.recalculate_totals( data ).then( ( response ) => {\n\t\t\t\treturn done( response );\n\t\t\t}, () => {\n\t\t\t\treturn done( {\n\t\t\t\t\terror: 'Bad Request',\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Handle all shipping method changes in the Apple/Google Pay window\n\t\t *\n\t\t * Reference: https://developer.squareup.com/docs/api/paymentform#shippingoptionchanged\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\thandle_shipping_option_changed( shippingOption, done ) {\n\t\t\tconst data = {\n\t\t\t\tcontext: this.args.context,\n\t\t\t\tshipping_option: shippingOption.data.id,\n\t\t\t\tsecurity: this.args.recalculate_totals_nonce,\n\t\t\t};\n\n\t\t\tthis.recalculate_totals( data ).then( ( response ) => {\n\t\t\t\treturn done( response );\n\t\t\t}, () => {\n\t\t\t\treturn done( {\n\t\t\t\t\terror: 'Bad Request',\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Handle the payment response.\n\t\t *\n\t\t * On success, set the checkout billing/shipping data and submit the checkout.\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\thandle_card_nonce_response( errors, nonce, cardData, billingContact, shippingContact, shippingOption ) {\n\t\t\tif ( errors ) {\n\t\t\t\treturn this.render_errors( errors );\n\t\t\t}\n\n\t\t\tif ( ! nonce ) {\n\t\t\t\treturn this.render_errors( this.args.general_error );\n\t\t\t}\n\n\t\t\tthis.block_ui();\n\n\t\t\tconst data = {\n\t\t\t\taction: '',\n\t\t\t\t_wpnonce: this.args.process_checkout_nonce,\n\t\t\t\tbilling_first_name: billingContact.givenName ? billingContact.givenName : '',\n\t\t\t\tbilling_last_name: billingContact.familyName ? billingContact.familyName : '',\n\t\t\t\tbilling_company: '',\n\t\t\t\tbilling_email: shippingContact.email ? shippingContact.email : '',\n\t\t\t\tbilling_phone: shippingContact.phone ? shippingContact.phone : '',\n\t\t\t\tbilling_country: billingContact.country ? billingContact.country.toUpperCase() : '',\n\t\t\t\tbilling_address_1: billingContact.addressLines && billingContact.addressLines[ 0 ] ? billingContact.addressLines[ 0 ] : '',\n\t\t\t\tbilling_address_2: billingContact.addressLines && billingContact.addressLines[ 1 ] ? billingContact.addressLines[ 1 ] : '',\n\t\t\t\tbilling_city: billingContact.city ? billingContact.city : '',\n\t\t\t\tbilling_state: billingContact.region ? billingContact.region : '',\n\t\t\t\tbilling_postcode: billingContact.postalCode ? billingContact.postalCode : '',\n\t\t\t\tshipping_first_name: shippingContact.givenName ? shippingContact.givenName : '',\n\t\t\t\tshipping_last_name: shippingContact.familyName ? shippingContact.familyName : '',\n\t\t\t\tshipping_company: '',\n\t\t\t\tshipping_country: shippingContact.country ? shippingContact.country.toUpperCase() : '',\n\t\t\t\tshipping_address_1: shippingContact.addressLines && shippingContact.addressLines[ 0 ] ? shippingContact.addressLines[ 0 ] : '',\n\t\t\t\tshipping_address_2: shippingContact.addressLines && shippingContact.addressLines[ 1 ] ? shippingContact.addressLines[ 1 ] : '',\n\t\t\t\tshipping_city: shippingContact.city ? shippingContact.city : '',\n\t\t\t\tshipping_state: shippingContact.region ? shippingContact.region : '',\n\t\t\t\tshipping_postcode: shippingContact.postalCode ? shippingContact.postalCode : '',\n\t\t\t\tshipping_method: [ ! shippingOption ? null : shippingOption.id ],\n\t\t\t\torder_comments: '',\n\t\t\t\tpayment_method: 'square_credit_card',\n\t\t\t\tship_to_different_address: 1,\n\t\t\t\tterms: 1,\n\t\t\t\t'wc-square-credit-card-payment-nonce': nonce,\n\t\t\t\t'wc-square-credit-card-last-four': cardData.last_4 ? cardData.last_4 : null,\n\t\t\t\t'wc-square-credit-card-exp-month': cardData.exp_month ? cardData.exp_month : null,\n\t\t\t\t'wc-square-credit-card-exp-year': cardData.exp_year ? cardData.exp_year : null,\n\t\t\t\t'wc-square-credit-card-payment-postcode': cardData.billing_postal_code ? cardData.billing_postal_code : null,\n\t\t\t\t'wc-square-digital-wallet-type': cardData.digital_wallet_type,\n\t\t\t};\n\n\t\t\t// handle slightly different mapping for Google Pay (Google returns full name as a single string).\n\t\t\tif ( cardData.digital_wallet_type === 'GOOGLE_PAY' ) {\n\t\t\t\tif ( billingContact.givenName ) {\n\t\t\t\t\tdata.billing_first_name = billingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' );\n\t\t\t\t\tdata.billing_last_name = billingContact.givenName.split( ' ' ).slice( 1 ).join( ' ' );\n\t\t\t\t}\n\n\t\t\t\tif ( shippingContact.givenName ) {\n\t\t\t\t\tdata.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 0, 1 ).join( ' ' );\n\t\t\t\t\tdata.shipping_last_name = shippingContact.givenName.split( ' ' ).slice( 1 ).join( ' ' );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// if the billing_phone was not found on shippingContact, use the value on billingContact if that exists.\n\t\t\tif ( ! data.billing_phone && billingContact.phone ) {\n\t\t\t\tdata.billing_phone = billingContact.phone;\n\t\t\t}\n\n\t\t\t// AJAX process checkout.\n\t\t\tthis.process_digital_wallet_checkout( data ).then(\n\t\t\t\t( response ) => {\n\t\t\t\t\twindow.location = response.redirect;\n\t\t\t\t},\n\t\t\t\t( response ) => {\n\t\t\t\t\tthis.log( response, 'error' );\n\t\t\t\t\tthis.render_errors_html( response.messages );\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\t/*\n\t\t * Recalculate totals\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\trecalculate_totals( data ) {\n\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\treturn $.post( this.get_ajax_url( 'recalculate_totals' ), data, ( response ) => {\n\t\t\t\t\tif ( response.success ) {\n\t\t\t\t\t\treturn resolve( response.data );\n\t\t\t\t\t}\n\t\t\t\t\treturn reject( response.data );\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Get the product data for building the payment request on the product page\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tget_product_data() {\n\t\t\tlet product_id = $( '.single_add_to_cart_button' ).val();\n\n\t\t\tconst attributes = {};\n\n\t\t\t// Check if product is a variable product.\n\t\t\tif ( $( '.single_variation_wrap' ).length ) {\n\t\t\t\tproduct_id = $( '.single_variation_wrap' ).find( 'input[name=\"product_id\"]' ).val();\n\t\t\t\tif ( $( '.variations_form' ).length ) {\n\t\t\t\t\t$( '.variations_form' ).find( '.variations select' ).each( ( index, select ) => {\n\t\t\t\t\t\tconst attribute_name = $( select ).data( 'attribute_name' ) || $( select ).attr( 'name' );\n\t\t\t\t\t\tconst value = $( select ).val() || '';\n\t\t\t\t\t\treturn attributes[ attribute_name ] = value;\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tproduct_id,\n\t\t\t\tquantity: $( '.quantity .qty' ).val(),\n\t\t\t\tattributes,\n\t\t\t};\n\t\t}\n\n\t\t/*\n\t\t * Add the product to the cart\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tadd_to_cart() {\n\t\t\tconst data = {\n\t\t\t\tsecurity: this.args.add_to_cart_nonce,\n\t\t\t};\n\t\t\tconst product_data = this.get_product_data();\n\t\t\t$.extend( data, product_data );\n\n\t\t\t// retrieve a payment request object.\n\t\t\t$.post( this.get_ajax_url( 'add_to_cart' ), data, ( response ) => {\n\t\t\t\tif ( response.error ) {\n\t\t\t\t\treturn window.alert( response.data );\n\t\t\t\t}\n\n\t\t\t\tconst data = JSON.parse( response.data );\n\t\t\t\tthis.payment_request = data.payment_request;\n\t\t\t\tthis.args.payment_request_nonce = data.payment_request_nonce;\n\t\t\t\tthis.args.add_to_cart_nonce = data.add_to_cart_nonce;\n\t\t\t\tthis.args.recalculate_totals_nonce = data.recalculate_totals_nonce;\n\t\t\t\tthis.args.process_checkout_nonce = data.process_checkout_nonce;\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Process the digital wallet checkout\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tprocess_digital_wallet_checkout( data ) {\n\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\t$.post( this.get_ajax_url( 'process_checkout' ), data, ( response ) => {\n\t\t\t\t\tif ( response.result === 'success' ) {\n\t\t\t\t\t\treturn resolve( response );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn reject( response );\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Helper function to return the ajax URL for the given request/action\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tget_ajax_url( request ) {\n\t\t\treturn this.args.ajax_url.replace( '%%endpoint%%', 'square_digital_wallet_' + request );\n\t\t}\n\n\t\t/*\n\t\t * Renders errors given the error message HTML\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\trender_errors_html( errors_html ) {\n\t\t\t// hide and remove any previous errors.\n\t\t\t$( '.woocommerce-error, .woocommerce-message' ).remove();\n\n\t\t\tconst element = this.args.context === 'product' ? $( '.product' ) : $( '.shop_table.cart' ).closest( 'form' );\n\n\t\t\t// add errors\n\t\t\telement.before( errors_html );\n\n\t\t\t// unblock UI\n\t\t\tthis.unblock_ui();\n\n\t\t\t// scroll to top\n\t\t\t$( 'html, body' ).animate( {\n\t\t\t\tscrollTop: element.offset().top - 100,\n\t\t\t}, 1000 );\n\t\t}\n\n\t\t/*\n\t\t * Renders errors\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\trender_errors( errors ) {\n\t\t\tconst error_message_html = '<ul class=\"woocommerce-error\"><li>' + errors.join( '</li><li>' ) + '</li></ul>';\n\t\t\tthis.render_errors_html( error_message_html );\n\t\t}\n\n\t\t/*\n\t\t * Block the Apple Pay and Google Pay buttons from being clicked which processing certain actions\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tblock_ui() {\n\t\t\t$( this.buttons ).block( {\n\t\t\t\tmessage: null,\n\t\t\t\toverlayCSS: {\n\t\t\t\t\tbackground: '#fff',\n\t\t\t\t\topacity: 0.6,\n\t\t\t\t},\n\t\t\t} );\n\t\t}\n\n\t\t/*\n\t\t * Unblock the wallet buttons\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tunblock_ui() {\n\t\t\t$( this.buttons ).unblock();\n\t\t}\n\n\t\t/*\n\t\t * Logs messages to the console when logging is turned on in the settings\n\t\t *\n\t\t * @since 2.3\n\t\t */\n\t\tlog( message, type = 'notice' ) {\n\t\t\t// if logging is disabled, bail.\n\t\t\tif ( ! this.args.logging_enabled ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( type === 'error' ) {\n\t\t\t\treturn console.error( message );\n\t\t\t}\n\n\t\t\treturn console.log( message );\n\t\t}\n\t}\n\n\twindow.WC_Square_Digital_Wallet_Handler = WC_Square_Digital_Wallet_Handler;\n} );\n\n"],"file":"wc-square-digital-wallet.min.js"}
|
assets/js/frontend/wc-square.coffee
DELETED
|
@@ -1,681 +0,0 @@
|
|
| 1 |
-
###*
|
| 2 |
-
# WooCommerce Square Payment Form handler.
|
| 3 |
-
#
|
| 4 |
-
# @since 2.0.0
|
| 5 |
-
###
|
| 6 |
-
|
| 7 |
-
jQuery( document ).ready ( $ ) ->
|
| 8 |
-
|
| 9 |
-
"use strict"
|
| 10 |
-
|
| 11 |
-
# Square Credit Card Payment Form Handler class.
|
| 12 |
-
#
|
| 13 |
-
# @since 2.0.0
|
| 14 |
-
class window.WC_Square_Payment_Form_Handler
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
# Setup handler
|
| 18 |
-
#
|
| 19 |
-
# @since 2.3.2-1
|
| 20 |
-
constructor: ( args ) ->
|
| 21 |
-
|
| 22 |
-
@id = args.id
|
| 23 |
-
@id_dasherized = args.id_dasherized
|
| 24 |
-
@csc_required = args.csc_required
|
| 25 |
-
@enabled_card_types = args.enabled_card_types
|
| 26 |
-
@square_card_types = args.square_card_types
|
| 27 |
-
|
| 28 |
-
@ajax_log_nonce = args.ajax_log_nonce
|
| 29 |
-
@ajax_url = args.ajax_url
|
| 30 |
-
@application_id = args.application_id
|
| 31 |
-
@currency_code = args.currency_code
|
| 32 |
-
@general_error = args.general_error
|
| 33 |
-
@input_styles = args.input_styles
|
| 34 |
-
@is_3ds_enabled = args.is_3d_secure_enabled
|
| 35 |
-
@is_add_payment_method_page = args.is_add_payment_method_page
|
| 36 |
-
@is_checkout_registration_enabled = args.is_checkout_registration_enabled
|
| 37 |
-
@is_user_logged_in = args.is_user_logged_in
|
| 38 |
-
@location_id = args.location_id
|
| 39 |
-
@logging_enabled = args.logging_enabled
|
| 40 |
-
@ajax_wc_checkout_validate_nonce = args.ajax_wc_checkout_validate_nonce
|
| 41 |
-
@is_manual_order_payment = args.is_manual_order_payment
|
| 42 |
-
|
| 43 |
-
# which payment form?
|
| 44 |
-
if $( 'form.checkout' ).length
|
| 45 |
-
@form = $( 'form.checkout' )
|
| 46 |
-
this.handle_checkout_page()
|
| 47 |
-
|
| 48 |
-
else if $( 'form#order_review' ).length
|
| 49 |
-
@form = $( 'form#order_review' )
|
| 50 |
-
this.handle_pay_page()
|
| 51 |
-
|
| 52 |
-
else if $( 'form#add_payment_method' ).length
|
| 53 |
-
@form = $( 'form#add_payment_method' )
|
| 54 |
-
this.handle_add_payment_method_page()
|
| 55 |
-
|
| 56 |
-
else
|
| 57 |
-
this.log 'No payment form found!'
|
| 58 |
-
return
|
| 59 |
-
|
| 60 |
-
# localized error messages
|
| 61 |
-
@params = window[ "sv_wc_payment_gateway_payment_form_params" ]
|
| 62 |
-
|
| 63 |
-
# unblock the UI and clear any payment nonces when a server-side error occurs
|
| 64 |
-
$( document.body ).on( 'checkout_error', ->
|
| 65 |
-
$( "input[name=wc-square-credit-card-payment-nonce]" ).val( '' )
|
| 66 |
-
$( "input[name=wc-square-credit-card-buyer-verification-token]" ).val( '' )
|
| 67 |
-
)
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
$( document.body ).on( 'click', "#payment_method_#{@id}", ->
|
| 71 |
-
|
| 72 |
-
if @payment_form
|
| 73 |
-
|
| 74 |
-
this.log 'Recalculating payment form size'
|
| 75 |
-
@payment_form.recalculateSize()
|
| 76 |
-
)
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
# Public: Handle required actions on the checkout page
|
| 80 |
-
#
|
| 81 |
-
# Returns nothing.
|
| 82 |
-
handle_checkout_page: ->
|
| 83 |
-
|
| 84 |
-
# updated payment fields jQuery object on each checkout update (prevents stale data)
|
| 85 |
-
$( document.body ).on( 'updated_checkout', => this.set_payment_fields() )
|
| 86 |
-
|
| 87 |
-
# handle saved payment methods
|
| 88 |
-
# note on the checkout page, this is bound to `updated_checkout` so it
|
| 89 |
-
# fires even when other parts of the checkout are changed
|
| 90 |
-
$( document.body ).on( 'updated_checkout', => this.handle_saved_payment_methods() )
|
| 91 |
-
|
| 92 |
-
# validate payment data before order is submitted
|
| 93 |
-
@form.on( "checkout_place_order_#{ @id }", => this.validate_payment_data() )
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
# Public: Handle associated actions for saved payment methods
|
| 97 |
-
#
|
| 98 |
-
# Returns nothing.
|
| 99 |
-
handle_saved_payment_methods: ->
|
| 100 |
-
|
| 101 |
-
# make available inside change events
|
| 102 |
-
id_dasherized = @id_dasherized
|
| 103 |
-
form_handler = @
|
| 104 |
-
|
| 105 |
-
$new_payment_method_selection = $( "div.js-wc-#{ id_dasherized }-new-payment-method-form" )
|
| 106 |
-
|
| 107 |
-
# show/hide the saved payment methods when a saved payment method is de-selected/selected
|
| 108 |
-
$( "input.js-wc-#{ @id_dasherized }-payment-token" ).change ->
|
| 109 |
-
|
| 110 |
-
tokenized_payment_method_selected = $( "input.js-wc-#{ id_dasherized }-payment-token:checked" ).val()
|
| 111 |
-
|
| 112 |
-
if tokenized_payment_method_selected
|
| 113 |
-
|
| 114 |
-
# using an existing tokenized payment method, hide the 'new method' fields
|
| 115 |
-
$new_payment_method_selection.slideUp( 200 )
|
| 116 |
-
|
| 117 |
-
else
|
| 118 |
-
# use new payment method, display the 'new method' fields
|
| 119 |
-
$new_payment_method_selection.slideDown( 200 )
|
| 120 |
-
|
| 121 |
-
.change()
|
| 122 |
-
|
| 123 |
-
# display the 'save payment method' option for guest checkouts if the 'create account' option is checked
|
| 124 |
-
# but only hide the input if there is a 'create account' checkbox (some themes just display the password)
|
| 125 |
-
$( 'input#createaccount' ).change ->
|
| 126 |
-
if $( this ).is( ':checked' )
|
| 127 |
-
form_handler.show_save_payment_checkbox id_dasherized
|
| 128 |
-
else
|
| 129 |
-
form_handler.hide_save_payment_checkbox id_dasherized
|
| 130 |
-
|
| 131 |
-
$( 'input#createaccount' ).change() unless $( 'input#createaccount' ).is( ':checked' )
|
| 132 |
-
|
| 133 |
-
# hide the 'save payment method' when account creation is not enabled and customer is not logged in
|
| 134 |
-
if not @is_user_logged_in and not @is_checkout_registration_enabled
|
| 135 |
-
@hide_save_payment_checkbox id_dasherized
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
# Public: Handle required actions on the Order > Pay page
|
| 139 |
-
#
|
| 140 |
-
# Returns nothing.
|
| 141 |
-
handle_pay_page: ->
|
| 142 |
-
|
| 143 |
-
this.set_payment_fields()
|
| 144 |
-
|
| 145 |
-
# handle saved payment methods
|
| 146 |
-
this.handle_saved_payment_methods()
|
| 147 |
-
|
| 148 |
-
# validate payment data before order is submitted
|
| 149 |
-
@form.submit =>
|
| 150 |
-
|
| 151 |
-
# but only when one of our payment gateways is selected
|
| 152 |
-
return this.validate_payment_data() if $( '#order_review input[name=payment_method]:checked' ).val() is @id
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
# Public: Handle required actions on the Add Payment Method page
|
| 156 |
-
#
|
| 157 |
-
# Returns nothing.
|
| 158 |
-
handle_add_payment_method_page: ->
|
| 159 |
-
|
| 160 |
-
this.set_payment_fields()
|
| 161 |
-
|
| 162 |
-
# validate payment data before order is submitted
|
| 163 |
-
@form.submit =>
|
| 164 |
-
|
| 165 |
-
# but only when one of our payment gateways is selected
|
| 166 |
-
return this.validate_payment_data() if $( '#add_payment_method input[name=payment_method]:checked' ).val() is @id
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
# Sets up the Square payment fields
|
| 170 |
-
#
|
| 171 |
-
# @since 2.0.0
|
| 172 |
-
set_payment_fields: =>
|
| 173 |
-
if not $( "#wc-#{@id_dasherized}-account-number-hosted" ).length
|
| 174 |
-
return
|
| 175 |
-
|
| 176 |
-
if $( "#wc-#{@id_dasherized}-account-number-hosted" ).is( 'iframe' )
|
| 177 |
-
|
| 178 |
-
this.log 'Re-adding payment form'
|
| 179 |
-
|
| 180 |
-
for _, field of @form_fields
|
| 181 |
-
$( field.attr( 'id' ) ).replaceWith( field )
|
| 182 |
-
|
| 183 |
-
this.handle_form_loaded()
|
| 184 |
-
|
| 185 |
-
else
|
| 186 |
-
if @payment_form
|
| 187 |
-
|
| 188 |
-
this.log 'Destroying payment form'
|
| 189 |
-
|
| 190 |
-
@payment_form.destroy()
|
| 191 |
-
@payment_form = null
|
| 192 |
-
|
| 193 |
-
this.log 'Building payment form'
|
| 194 |
-
|
| 195 |
-
@payment_form = new SqPaymentForm( this.get_form_params() )
|
| 196 |
-
|
| 197 |
-
@payment_form.build()
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
# Gets the Square payment form params.
|
| 201 |
-
#
|
| 202 |
-
# @since 2.0.0
|
| 203 |
-
#
|
| 204 |
-
# @return Object
|
| 205 |
-
get_form_params: =>
|
| 206 |
-
|
| 207 |
-
@form_fields = {
|
| 208 |
-
card_number: $( "#wc-#{@id_dasherized}-account-number-hosted" )
|
| 209 |
-
expiration: $( "#wc-#{@id_dasherized}-expiry-hosted" )
|
| 210 |
-
csc: $( "#wc-#{@id_dasherized}-csc-hosted" )
|
| 211 |
-
postal_code: $( "#wc-#{@id_dasherized}-postal-code-hosted" )
|
| 212 |
-
}
|
| 213 |
-
|
| 214 |
-
return {
|
| 215 |
-
applicationId: @application_id,
|
| 216 |
-
locationId: @location_id,
|
| 217 |
-
cardNumber: {
|
| 218 |
-
elementId: @form_fields.card_number.attr( 'id' )
|
| 219 |
-
placeholder: @form_fields.card_number.data( 'placeholder' )
|
| 220 |
-
}
|
| 221 |
-
expirationDate: {
|
| 222 |
-
elementId: @form_fields.expiration.attr( 'id' )
|
| 223 |
-
placeholder: @form_fields.expiration.data( 'placeholder' )
|
| 224 |
-
}
|
| 225 |
-
cvv: {
|
| 226 |
-
elementId: @form_fields.csc.attr( 'id' )
|
| 227 |
-
placeholder: @form_fields.csc.data( 'placeholder' )
|
| 228 |
-
}
|
| 229 |
-
postalCode: {
|
| 230 |
-
elementId: @form_fields.postal_code.attr( 'id' )
|
| 231 |
-
placeholder: @form_fields.postal_code.data( 'placeholder' )
|
| 232 |
-
}
|
| 233 |
-
inputClass: "wc-#{@id_dasherized}-payment-field"
|
| 234 |
-
inputStyles: @input_styles
|
| 235 |
-
callbacks: {
|
| 236 |
-
inputEventReceived: ( event ) => this.handle_input_event( event )
|
| 237 |
-
cardNonceResponseReceived: ( errors, nonce, cardData ) => this.handle_card_nonce_response( errors, nonce, cardData )
|
| 238 |
-
unsupportedBrowserDetected: => this.handle_unsupported_browser()
|
| 239 |
-
paymentFormLoaded: => this.handle_form_loaded()
|
| 240 |
-
}
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
# Handles when the payment form is fully loaded.
|
| 245 |
-
#
|
| 246 |
-
# @since 2.0.0
|
| 247 |
-
handle_form_loaded: ->
|
| 248 |
-
|
| 249 |
-
this.log 'Payment form loaded'
|
| 250 |
-
|
| 251 |
-
@payment_form.setPostalCode( $( '#billing_postcode' ).val() )
|
| 252 |
-
|
| 253 |
-
# hide the postcode field on the checkout page or if it already has a value
|
| 254 |
-
if $( 'form.checkout' ).length or $( '#billing_postcode' ).val()
|
| 255 |
-
$( ".wc-square-credit-card-card-postal-code-parent" ).addClass( 'hidden' )
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
# Handles payment form input changes.
|
| 259 |
-
#
|
| 260 |
-
# @since 2.0.0
|
| 261 |
-
handle_input_event: ( event ) =>
|
| 262 |
-
|
| 263 |
-
$input = $( '#' + event.elementId )
|
| 264 |
-
|
| 265 |
-
if event.eventType is 'cardBrandChanged'
|
| 266 |
-
this.handle_card_brand_change( event.cardBrand, $input )
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
# Handles card number brand changes.
|
| 270 |
-
#
|
| 271 |
-
# @since 2.0.0
|
| 272 |
-
handle_card_brand_change: ( brand, $input ) ->
|
| 273 |
-
|
| 274 |
-
this.log "Card brand changed to #{brand}"
|
| 275 |
-
|
| 276 |
-
# clear any existing card type class
|
| 277 |
-
$input.attr( 'class', (i, c) -> c.replace( /(^|\s)card-type-\S+/g, '' ) )
|
| 278 |
-
|
| 279 |
-
card_class = 'plain'
|
| 280 |
-
|
| 281 |
-
if not brand? or brand is 'unknown'
|
| 282 |
-
brand = ''
|
| 283 |
-
|
| 284 |
-
if @square_card_types[brand]?
|
| 285 |
-
brand = @square_card_types[brand]
|
| 286 |
-
|
| 287 |
-
if brand and brand not in @enabled_card_types
|
| 288 |
-
card_class = 'invalid'
|
| 289 |
-
else
|
| 290 |
-
card_class = brand
|
| 291 |
-
|
| 292 |
-
$( "input[name=wc-#{@id_dasherized}-card-type]" ).val( brand )
|
| 293 |
-
|
| 294 |
-
$input.addClass( "card-type-#{card_class}" )
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
# Used to request a card nonce and submit the form.
|
| 298 |
-
#
|
| 299 |
-
# @since 2.0.0
|
| 300 |
-
validate_payment_data: ->
|
| 301 |
-
|
| 302 |
-
# bail when already processing
|
| 303 |
-
return false if @form.is( '.processing' )
|
| 304 |
-
|
| 305 |
-
# let through if nonce is already present - nonce is only present on non-tokenized payments
|
| 306 |
-
if this.has_nonce()
|
| 307 |
-
this.log 'Payment nonce present, placing order'
|
| 308 |
-
return true
|
| 309 |
-
|
| 310 |
-
tokenized_card_id = this.get_tokenized_payment_method_id()
|
| 311 |
-
|
| 312 |
-
if tokenized_card_id
|
| 313 |
-
|
| 314 |
-
# if 3DS is disabled and paying with a saved method, no further validation needed
|
| 315 |
-
return true unless @is_3ds_enabled
|
| 316 |
-
|
| 317 |
-
if this.has_verification_token()
|
| 318 |
-
this.log 'Tokenized payment verification token present, placing order'
|
| 319 |
-
return true
|
| 320 |
-
|
| 321 |
-
this.log 'Requesting verification token for tokenized payment'
|
| 322 |
-
this.block_ui()
|
| 323 |
-
@payment_form.verifyBuyer tokenized_card_id, this.get_verification_details(), this.handle_verify_buyer_response
|
| 324 |
-
return false
|
| 325 |
-
|
| 326 |
-
this.log 'Requesting payment nonce'
|
| 327 |
-
this.block_ui()
|
| 328 |
-
@payment_form.requestCardNonce()
|
| 329 |
-
return false
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
# Gets the selected tokenized payment method ID, if there is one.
|
| 333 |
-
#
|
| 334 |
-
# @since 2.1.0
|
| 335 |
-
#
|
| 336 |
-
# @return String
|
| 337 |
-
get_tokenized_payment_method_id: ->
|
| 338 |
-
return $( ".payment_method_#{ @id }" ).find( '.js-wc-square-credit-card-payment-token:checked' ).val()
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
# Handles the Square payment form card nonce response.
|
| 342 |
-
#
|
| 343 |
-
# @since 2.1.0
|
| 344 |
-
#
|
| 345 |
-
# @param Object[] errors validation errors, if any
|
| 346 |
-
# @param String nonce payment nonce
|
| 347 |
-
# @param Object cardData non-confidential info about the card used
|
| 348 |
-
handle_card_nonce_response: ( errors, nonce, cardData ) ->
|
| 349 |
-
|
| 350 |
-
# if we have real errors to display from Square
|
| 351 |
-
if errors
|
| 352 |
-
return this.handle_errors( errors )
|
| 353 |
-
|
| 354 |
-
# no errors, but also no payment data
|
| 355 |
-
if not nonce
|
| 356 |
-
|
| 357 |
-
message = 'Nonce is missing from the Square response'
|
| 358 |
-
|
| 359 |
-
this.log message, 'error'
|
| 360 |
-
this.log_data message, 'response'
|
| 361 |
-
|
| 362 |
-
return this.handle_errors()
|
| 363 |
-
|
| 364 |
-
# if we made it this far, we have payment data
|
| 365 |
-
this.log 'Card data received'
|
| 366 |
-
this.log cardData
|
| 367 |
-
this.log_data( cardData, 'response' )
|
| 368 |
-
|
| 369 |
-
if cardData.last_4
|
| 370 |
-
$( "input[name=wc-#{@id_dasherized}-last-four]" ).val( cardData.last_4 )
|
| 371 |
-
|
| 372 |
-
if cardData.exp_month
|
| 373 |
-
$( "input[name=wc-#{@id_dasherized}-exp-month]" ).val( cardData.exp_month )
|
| 374 |
-
|
| 375 |
-
if cardData.exp_year
|
| 376 |
-
$( "input[name=wc-#{@id_dasherized}-exp-year]" ).val( cardData.exp_year )
|
| 377 |
-
|
| 378 |
-
if cardData.billing_postal_code
|
| 379 |
-
$( "input[name=wc-#{@id_dasherized}-payment-postcode]" ).val( cardData.billing_postal_code )
|
| 380 |
-
|
| 381 |
-
# payment nonce data
|
| 382 |
-
$( "input[name=wc-#{@id_dasherized}-payment-nonce]" ).val( nonce )
|
| 383 |
-
|
| 384 |
-
# if 3ds is enabled, we need to verify the buyer and record the verification token before continuing
|
| 385 |
-
if @is_3ds_enabled
|
| 386 |
-
|
| 387 |
-
this.log 'Verifying buyer'
|
| 388 |
-
|
| 389 |
-
@payment_form.verifyBuyer nonce, this.get_verification_details(), this.handle_verify_buyer_response
|
| 390 |
-
return
|
| 391 |
-
|
| 392 |
-
# now that we have a nonce, resubmit the form
|
| 393 |
-
@form.submit()
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
# Handles the response from a call to verifyBuyer()
|
| 397 |
-
#
|
| 398 |
-
# @since 2.1.0
|
| 399 |
-
#
|
| 400 |
-
# @param Object[] errors verification errors, if any
|
| 401 |
-
# @param Object verification_result the results of verification
|
| 402 |
-
handle_verify_buyer_response: ( errors, verification_result ) =>
|
| 403 |
-
|
| 404 |
-
if errors
|
| 405 |
-
$( errors ).each ( index, error ) =>
|
| 406 |
-
if not error.field
|
| 407 |
-
error.field = 'none';
|
| 408 |
-
return this.handle_errors( errors )
|
| 409 |
-
|
| 410 |
-
# no errors, but also no verification token
|
| 411 |
-
if not verification_result or not verification_result.token
|
| 412 |
-
|
| 413 |
-
message = 'Verification token is missing from the Square response'
|
| 414 |
-
|
| 415 |
-
this.log message, 'error'
|
| 416 |
-
this.log_data message, 'response'
|
| 417 |
-
|
| 418 |
-
return this.handle_errors()
|
| 419 |
-
|
| 420 |
-
this.log 'Verification result received'
|
| 421 |
-
this.log verification_result
|
| 422 |
-
|
| 423 |
-
$( "input[name=wc-#{@id_dasherized}-buyer-verification-token]" ).val( verification_result.token )
|
| 424 |
-
|
| 425 |
-
@form.submit()
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
# Gets a verification details object to be used in verifyBuyer()
|
| 429 |
-
#
|
| 430 |
-
# @since 2.1.0
|
| 431 |
-
#
|
| 432 |
-
# @return Object verification details object
|
| 433 |
-
get_verification_details: ->
|
| 434 |
-
|
| 435 |
-
verification_details = {
|
| 436 |
-
billingContact: {
|
| 437 |
-
familyName: $( '#billing_last_name' ).val() ? ''
|
| 438 |
-
givenName: $( '#billing_first_name' ).val() ? ''
|
| 439 |
-
email: $( '#billing_email' ).val() ? ''
|
| 440 |
-
country: $( '#billing_country' ).val() ? ''
|
| 441 |
-
region: $( '#billing_state' ).val() ? ''
|
| 442 |
-
city: $( '#billing_city' ).val() ? ''
|
| 443 |
-
postalCode: $( '#billing_postcode' ).val() ? ''
|
| 444 |
-
phone: $( '#billing_phone' ).val() ? ''
|
| 445 |
-
addressLines: [
|
| 446 |
-
$( '#billing_address_1' ).val() ? '',
|
| 447 |
-
$( '#billing_address_2' ).val() ? ''
|
| 448 |
-
]
|
| 449 |
-
}
|
| 450 |
-
intent: this.get_intent()
|
| 451 |
-
}
|
| 452 |
-
|
| 453 |
-
if 'CHARGE' is verification_details.intent
|
| 454 |
-
verification_details.amount = this.get_amount()
|
| 455 |
-
verification_details.currencyCode = @currency_code
|
| 456 |
-
|
| 457 |
-
this.log verification_details
|
| 458 |
-
|
| 459 |
-
return verification_details
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
# Gets the intent of this processing - either 'CHARGE' or 'STORE'
|
| 463 |
-
#
|
| 464 |
-
# The gateway stores cards before processing a payment, so this checks whether the customer checked "save method"
|
| 465 |
-
# at checkout, and isn't otherwise using a saved method already.
|
| 466 |
-
#
|
| 467 |
-
# @since 2.1.0
|
| 468 |
-
#
|
| 469 |
-
# return String {'CHARGE'|'STORE'}
|
| 470 |
-
get_intent: ->
|
| 471 |
-
|
| 472 |
-
$save_method_input = $( '#wc-square-credit-card-tokenize-payment-method' )
|
| 473 |
-
|
| 474 |
-
if $save_method_input.is( 'input:checkbox' )
|
| 475 |
-
save_payment_method = $save_method_input.is( ':checked' )
|
| 476 |
-
else
|
| 477 |
-
save_payment_method = $save_method_input.val() is 'true'
|
| 478 |
-
|
| 479 |
-
return if not this.get_tokenized_payment_method_id() and save_payment_method then 'STORE' else 'CHARGE'
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
# Gets the amount of this payment.
|
| 483 |
-
#
|
| 484 |
-
# @since 2.1.0
|
| 485 |
-
#
|
| 486 |
-
# return String
|
| 487 |
-
get_amount: ->
|
| 488 |
-
return $( "input[name=wc-#{@id_dasherized}-amount]" ).val()
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
# Handles unsupported browsers.
|
| 492 |
-
#
|
| 493 |
-
# @since 2.0.0
|
| 494 |
-
handle_unsupported_browser: ->
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
# Handle error data.
|
| 498 |
-
#
|
| 499 |
-
# @since 2.0.0
|
| 500 |
-
# @param Object[]
|
| 501 |
-
handle_errors: ( errors = null ) ->
|
| 502 |
-
|
| 503 |
-
this.log 'Error getting payment data', 'error'
|
| 504 |
-
|
| 505 |
-
# clear any previous nonces
|
| 506 |
-
$( "input[name=wc-square-credit-card-payment-nonce]" ).val( '' )
|
| 507 |
-
$( "input[name=wc-square-credit-card-buyer-verification-token]" ).val( '' )
|
| 508 |
-
|
| 509 |
-
messages = []
|
| 510 |
-
|
| 511 |
-
if errors
|
| 512 |
-
|
| 513 |
-
field_order = [ "none", "cardNumber", "expirationDate", "cvv", "postalCode" ]
|
| 514 |
-
|
| 515 |
-
if errors.length >= 1
|
| 516 |
-
# sort based on the field order
|
| 517 |
-
# without the brackets around a.field and b.field the precedence is different and gives different results
|
| 518 |
-
errors.sort (a,b) -> field_order.indexOf(a.field) - field_order.indexOf(b.field)
|
| 519 |
-
|
| 520 |
-
$( errors ).each ( index, error ) =>
|
| 521 |
-
|
| 522 |
-
# only display the errors that can be helped by the customer
|
| 523 |
-
if error.type in [ 'UNSUPPORTED_CARD_BRAND', 'VALIDATION_ERROR' ]
|
| 524 |
-
|
| 525 |
-
# To avoid confusion between CSC used in the frontend and CVV that is used in the error message
|
| 526 |
-
messages.push( error.message.replace /CVV/, 'CSC' )
|
| 527 |
-
|
| 528 |
-
# otherwise, log more serious errors to the debug log
|
| 529 |
-
else
|
| 530 |
-
this.log_data( errors, 'response' )
|
| 531 |
-
|
| 532 |
-
# if no specific messages are set, display a general error
|
| 533 |
-
if messages.length is 0
|
| 534 |
-
messages.push( @general_error )
|
| 535 |
-
|
| 536 |
-
# Conditionally process error rendering
|
| 537 |
-
if not @is_add_payment_method_page and not @is_manual_order_payment
|
| 538 |
-
this.render_checkout_errors( messages )
|
| 539 |
-
else
|
| 540 |
-
this.render_errors( messages )
|
| 541 |
-
|
| 542 |
-
this.unblock_ui()
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
# Public: Render any new errors and bring them into the viewport
|
| 546 |
-
#
|
| 547 |
-
# Returns nothing.
|
| 548 |
-
render_errors: (errors) ->
|
| 549 |
-
|
| 550 |
-
# hide and remove any previous errors
|
| 551 |
-
$( '.woocommerce-error, .woocommerce-message' ).remove()
|
| 552 |
-
|
| 553 |
-
# add errors
|
| 554 |
-
@form.prepend '<ul class="woocommerce-error"><li>' + errors.join( '</li><li>' ) + '</li></ul>'
|
| 555 |
-
|
| 556 |
-
# unblock UI
|
| 557 |
-
@form.removeClass( 'processing' ).unblock()
|
| 558 |
-
@form.find( '.input-text, select' ).blur()
|
| 559 |
-
|
| 560 |
-
# scroll to top
|
| 561 |
-
$( 'html, body' ).animate( { scrollTop: @form.offset().top - 100 }, 1000 )
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
# Blocks the payment form UI
|
| 565 |
-
#
|
| 566 |
-
# @since 3.0.0
|
| 567 |
-
block_ui: -> @form.block( message: null, overlayCSS: background: '#fff',opacity: 0.6 )
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
# Unblocks the payment form UI
|
| 571 |
-
#
|
| 572 |
-
# @since 3.0.0
|
| 573 |
-
unblock_ui: -> @form.unblock()
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
# Hides save payment method checkbox
|
| 577 |
-
#
|
| 578 |
-
# @since 2.1.2
|
| 579 |
-
hide_save_payment_checkbox: ( id_dasherized ) ->
|
| 580 |
-
$parent_row = $( "input.js-wc-#{ id_dasherized }-tokenize-payment-method" ).closest( 'p.form-row' )
|
| 581 |
-
$parent_row.hide()
|
| 582 |
-
$parent_row.next().hide()
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
# Shows save payment method checkbox
|
| 586 |
-
#
|
| 587 |
-
# @since 2.1.2
|
| 588 |
-
show_save_payment_checkbox: ( id_dasherized ) ->
|
| 589 |
-
$parent_row = $( "input.js-wc-#{ id_dasherized }-tokenize-payment-method" ).closest( 'p.form-row' )
|
| 590 |
-
$parent_row.slideDown()
|
| 591 |
-
$parent_row.next().show()
|
| 592 |
-
|
| 593 |
-
# Determines if a nonce is present in the hidden input.
|
| 594 |
-
#
|
| 595 |
-
# @since 2.0.0
|
| 596 |
-
# @return Bool
|
| 597 |
-
has_nonce: -> $( "input[name=wc-#{@id_dasherized}-payment-nonce]" ).val()
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
# Determines if a verification token is present in the hidden input.
|
| 601 |
-
#
|
| 602 |
-
# @since 2.1.0
|
| 603 |
-
#
|
| 604 |
-
# @return Bool
|
| 605 |
-
has_verification_token: -> $( "input[name=wc-#{@id_dasherized}-buyer-verification-token]" ).val()
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
# Logs data to the debug log via AJAX.
|
| 609 |
-
#
|
| 610 |
-
# @since 2.0.0
|
| 611 |
-
#
|
| 612 |
-
# @param Object data request data
|
| 613 |
-
# @param String type data type
|
| 614 |
-
log_data: ( data, type ) ->
|
| 615 |
-
|
| 616 |
-
# if logging is disabled, bail
|
| 617 |
-
return unless @logging_enabled
|
| 618 |
-
|
| 619 |
-
ajax_data = {
|
| 620 |
-
'action' : 'wc_' + @id + '_log_js_data',
|
| 621 |
-
'security' : @ajax_log_nonce,
|
| 622 |
-
'type' : type,
|
| 623 |
-
'data' : data
|
| 624 |
-
}
|
| 625 |
-
|
| 626 |
-
$.ajax( url: @ajax_url, data: ajax_data )
|
| 627 |
-
|
| 628 |
-
|
| 629 |
-
# Logs any messages or errors to the console.
|
| 630 |
-
#
|
| 631 |
-
# @since 2.0.0
|
| 632 |
-
log: ( message, type = 'notice' ) ->
|
| 633 |
-
|
| 634 |
-
# if logging is disabled, bail
|
| 635 |
-
return unless @logging_enabled
|
| 636 |
-
|
| 637 |
-
if type is 'error'
|
| 638 |
-
console.error 'Square Error: ' + message
|
| 639 |
-
else
|
| 640 |
-
console.log 'Square: ' + message
|
| 641 |
-
|
| 642 |
-
# AJAX validate WooCommerce form data.
|
| 643 |
-
#
|
| 644 |
-
# Triggered only if errors are present on Square payment form.
|
| 645 |
-
#
|
| 646 |
-
# @since 2.2
|
| 647 |
-
#
|
| 648 |
-
# @param Array square_errors Square validation errors.
|
| 649 |
-
render_checkout_errors: ( square_errors ) ->
|
| 650 |
-
ajax_url = wc_cart_fragments_params.wc_ajax_url.toString().replace( '%%endpoint%%', @id + '_checkout_handler' )
|
| 651 |
-
form_data = @form.serializeArray()
|
| 652 |
-
square_handler = this
|
| 653 |
-
|
| 654 |
-
# Add action field to data for nonce verification.
|
| 655 |
-
form_data.push({
|
| 656 |
-
name: 'wc_' + @id + '_checkout_validate_nonce', 'value': @ajax_wc_checkout_validate_nonce
|
| 657 |
-
})
|
| 658 |
-
|
| 659 |
-
$.ajax({
|
| 660 |
-
url : ajax_url,
|
| 661 |
-
method : 'post',
|
| 662 |
-
cache : false,
|
| 663 |
-
data : form_data,
|
| 664 |
-
complete : ( response ) ->
|
| 665 |
-
result = response.responseJSON
|
| 666 |
-
|
| 667 |
-
# If validation is not triggered and WooCommerce returns failure.
|
| 668 |
-
# Temporary workaround to fix problems when user email is invalid.
|
| 669 |
-
if result.hasOwnProperty( 'result' ) and 'failure' == result.result
|
| 670 |
-
$(result.messages).map ->
|
| 671 |
-
errors = []
|
| 672 |
-
$( this ).children( 'li' ).each ->
|
| 673 |
-
errors.push( $( this ).text().trim() )
|
| 674 |
-
square_errors.unshift( ...errors )
|
| 675 |
-
|
| 676 |
-
# If validation is complete and WooCommerce returns validaiton errors.
|
| 677 |
-
else if result.hasOwnProperty( 'success' ) and not result.success
|
| 678 |
-
square_errors.unshift( ...result.data.messages )
|
| 679 |
-
|
| 680 |
-
square_handler.render_errors( square_errors )
|
| 681 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
| 1 |
+
/* global wc_cart_fragments_params */
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* WooCommerce Square Payment Form handler.
|
| 5 |
+
*
|
| 6 |
+
* @since 2.0.0
|
| 7 |
+
*/
|
| 8 |
+
jQuery( document ).ready( ( $ ) => {
|
| 9 |
+
/**
|
| 10 |
+
* Square Credit Card Payment Form Handler class.
|
| 11 |
+
*
|
| 12 |
+
* @since 2.0.0
|
| 13 |
+
*/
|
| 14 |
+
class WC_Square_Payment_Form_Handler {
|
| 15 |
+
/**
|
| 16 |
+
* Setup handler.
|
| 17 |
+
*
|
| 18 |
+
* @since 2.3.2-1
|
| 19 |
+
*
|
| 20 |
+
* @param {Object} args
|
| 21 |
+
*/
|
| 22 |
+
constructor( args ) {
|
| 23 |
+
this.id = args.id;
|
| 24 |
+
this.id_dasherized = args.id_dasherized;
|
| 25 |
+
this.csc_required = args.csc_required;
|
| 26 |
+
this.enabled_card_types = args.enabled_card_types;
|
| 27 |
+
this.square_card_types = args.square_card_types;
|
| 28 |
+
this.ajax_log_nonce = args.ajax_log_nonce;
|
| 29 |
+
this.ajax_url = args.ajax_url;
|
| 30 |
+
this.application_id = args.application_id;
|
| 31 |
+
this.currency_code = args.currency_code;
|
| 32 |
+
this.general_error = args.general_error;
|
| 33 |
+
this.input_styles = args.input_styles;
|
| 34 |
+
this.is_3ds_enabled = args.is_3d_secure_enabled;
|
| 35 |
+
this.is_add_payment_method_page = args.is_add_payment_method_page;
|
| 36 |
+
this.is_checkout_registration_enabled = args.is_checkout_registration_enabled;
|
| 37 |
+
this.is_user_logged_in = args.is_user_logged_in;
|
| 38 |
+
this.location_id = args.location_id;
|
| 39 |
+
this.logging_enabled = args.logging_enabled;
|
| 40 |
+
this.ajax_wc_checkout_validate_nonce = args.ajax_wc_checkout_validate_nonce;
|
| 41 |
+
this.is_manual_order_payment = args.is_manual_order_payment;
|
| 42 |
+
|
| 43 |
+
if ( $( 'form.checkout' ).length ) {
|
| 44 |
+
this.form = $( 'form.checkout' );
|
| 45 |
+
this.handle_checkout_page();
|
| 46 |
+
} else if ( $( 'form#order_review' ).length ) {
|
| 47 |
+
this.form = $( 'form#order_review' );
|
| 48 |
+
this.handle_pay_page();
|
| 49 |
+
} else if ( $( 'form#add_payment_method' ).length ) {
|
| 50 |
+
this.form = $( 'form#add_payment_method' );
|
| 51 |
+
this.handle_add_payment_method_page();
|
| 52 |
+
} else {
|
| 53 |
+
this.log( 'No payment form found!' );
|
| 54 |
+
return;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
// localized error messages.
|
| 58 |
+
this.params = window.sv_wc_payment_gateway_payment_form_params;
|
| 59 |
+
|
| 60 |
+
// unblock the UI and clear any payment nonces when a server-side error occurs.
|
| 61 |
+
$( document.body ).on( 'checkout_error', () => {
|
| 62 |
+
$( 'input[name=wc-square-credit-card-payment-nonce]' ).val( '' );
|
| 63 |
+
$( 'input[name=wc-square-credit-card-buyer-verification-token]' ).val( '' );
|
| 64 |
+
} );
|
| 65 |
+
|
| 66 |
+
$( document.body ).on( 'click', `#payment_method_${ this.id }`, () => {
|
| 67 |
+
if ( this.payment_form ) {
|
| 68 |
+
this.log( 'Recalculating payment form size' );
|
| 69 |
+
this.payment_form.recalculateSize();
|
| 70 |
+
}
|
| 71 |
+
} );
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
/**
|
| 75 |
+
* Public: Handle required actions on the checkout page.
|
| 76 |
+
*/
|
| 77 |
+
handle_checkout_page() {
|
| 78 |
+
// updated payment fields jQuery object on each checkout update (prevents stale data).
|
| 79 |
+
$( document.body ).on( 'updated_checkout', () => this.set_payment_fields() );
|
| 80 |
+
|
| 81 |
+
// handle saved payment methods note on the checkout page.
|
| 82 |
+
// this is bound to `updated_checkout` so it fires even when other parts of the checkout are changed.
|
| 83 |
+
$( document.body ).on( 'updated_checkout', () => this.handle_saved_payment_methods() );
|
| 84 |
+
|
| 85 |
+
// validate payment data before order is submitted.
|
| 86 |
+
this.form.on( `checkout_place_order_${ this.id }`, () => this.validate_payment_data() );
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* Public: Handle associated actions for saved payment methods.
|
| 91 |
+
*/
|
| 92 |
+
handle_saved_payment_methods() {
|
| 93 |
+
// make available inside change events.
|
| 94 |
+
const id_dasherized = this.id_dasherized;
|
| 95 |
+
const form_handler = this;
|
| 96 |
+
const $new_payment_method_selection = $( `div.js-wc-${ id_dasherized }-new-payment-method-form` );
|
| 97 |
+
|
| 98 |
+
// show/hide the saved payment methods when a saved payment method is de-selected/selected.
|
| 99 |
+
$( `input.js-wc-${ this.id_dasherized }-payment-token` ).on( 'change', () => {
|
| 100 |
+
const tokenized_payment_method_selected = $( `input.js-wc-${ id_dasherized }-payment-token:checked` ).val();
|
| 101 |
+
|
| 102 |
+
if ( tokenized_payment_method_selected ) {
|
| 103 |
+
// using an existing tokenized payment method, hide the 'new method' fields.
|
| 104 |
+
$new_payment_method_selection.slideUp( 200 );
|
| 105 |
+
} else {
|
| 106 |
+
// use new payment method, display the 'new method' fields.
|
| 107 |
+
$new_payment_method_selection.slideDown( 200 );
|
| 108 |
+
}
|
| 109 |
+
} ).trigger( 'change' );
|
| 110 |
+
|
| 111 |
+
// display the 'save payment method' option for guest checkouts if the 'create account' option is checked
|
| 112 |
+
// but only hide the input if there is a 'create account' checkbox (some themes just display the password).
|
| 113 |
+
$( 'input#createaccount' ).on( 'change', ( e ) => {
|
| 114 |
+
if ( $( e.target ).is( ':checked' ) ) {
|
| 115 |
+
form_handler.show_save_payment_checkbox( id_dasherized );
|
| 116 |
+
} else {
|
| 117 |
+
form_handler.hide_save_payment_checkbox( id_dasherized );
|
| 118 |
+
}
|
| 119 |
+
} );
|
| 120 |
+
|
| 121 |
+
if ( ! $( 'input#createaccount' ).is( ':checked' ) ) {
|
| 122 |
+
$( 'input#createaccount' ).trigger( 'change' );
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
// hide the 'save payment method' when account creation is not enabled and customer is not logged in.
|
| 126 |
+
if ( ! this.is_user_logged_in && ! this.is_checkout_registration_enabled ) {
|
| 127 |
+
this.hide_save_payment_checkbox( id_dasherized );
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
/**
|
| 132 |
+
* Public: Handle required actions on the Order > Pay page.
|
| 133 |
+
*/
|
| 134 |
+
handle_pay_page() {
|
| 135 |
+
this.set_payment_fields();
|
| 136 |
+
|
| 137 |
+
// handle saved payment methods.
|
| 138 |
+
this.handle_saved_payment_methods();
|
| 139 |
+
|
| 140 |
+
// validate payment data before order is submitted.
|
| 141 |
+
// but only when one of our payment gateways is selected.
|
| 142 |
+
this.form.on( 'submit', () => ( $( '#order_review input[name=payment_method]:checked' ).val() === this.id ) && this.validate_payment_data() );
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
/**
|
| 146 |
+
* Public: Handle required actions on the Add Payment Method page.
|
| 147 |
+
*/
|
| 148 |
+
handle_add_payment_method_page() {
|
| 149 |
+
this.set_payment_fields();
|
| 150 |
+
|
| 151 |
+
// validate payment data before order is submitted.
|
| 152 |
+
// but only when one of our payment gateways is selected.
|
| 153 |
+
this.form.on( 'submit', () => ( $( '#add_payment_method input[name=payment_method]:checked' ).val() === this.id ) && this.validate_payment_data() );
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
/**
|
| 157 |
+
* Sets up the Square payment fields.
|
| 158 |
+
*
|
| 159 |
+
* @since 2.0.0
|
| 160 |
+
*/
|
| 161 |
+
set_payment_fields() {
|
| 162 |
+
if ( ! $( `#wc-${ this.id_dasherized }-account-number-hosted` ).length ) {
|
| 163 |
+
return;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
if ( $( `#wc-${ this.id_dasherized }-account-number-hosted` ).is( 'iframe' ) ) {
|
| 167 |
+
this.log( 'Re-adding payment form' );
|
| 168 |
+
|
| 169 |
+
for ( const [ _, field ] of Object.entries( this.form_fields ) ) { // eslint-disable-line no-unused-vars
|
| 170 |
+
$( field.attr( 'id' ) ).replaceWith( field );
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
this.handle_form_loaded();
|
| 174 |
+
} else {
|
| 175 |
+
if ( this.payment_form ) {
|
| 176 |
+
this.log( 'Destroying payment form' );
|
| 177 |
+
this.payment_form.destroy();
|
| 178 |
+
this.payment_form = null;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
this.log( 'Building payment form' );
|
| 182 |
+
|
| 183 |
+
this.payment_form = new SqPaymentForm( this.get_form_params() ); // eslint-disable-line no-undef
|
| 184 |
+
|
| 185 |
+
this.payment_form.build();
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* Gets the Square payment form params.
|
| 191 |
+
*
|
| 192 |
+
* @since 2.0.0
|
| 193 |
+
*
|
| 194 |
+
* @return {Object} Form params.
|
| 195 |
+
*/
|
| 196 |
+
get_form_params() {
|
| 197 |
+
this.form_fields = {
|
| 198 |
+
card_number: $( `#wc-${ this.id_dasherized }-account-number-hosted` ),
|
| 199 |
+
expiration: $( `#wc-${ this.id_dasherized }-expiry-hosted` ),
|
| 200 |
+
csc: $( `#wc-${ this.id_dasherized }-csc-hosted` ),
|
| 201 |
+
postal_code: $( `#wc-${ this.id_dasherized }-postal-code-hosted` ),
|
| 202 |
+
};
|
| 203 |
+
|
| 204 |
+
return {
|
| 205 |
+
applicationId: this.application_id,
|
| 206 |
+
locationId: this.location_id,
|
| 207 |
+
cardNumber: {
|
| 208 |
+
elementId: this.form_fields.card_number.attr( 'id' ),
|
| 209 |
+
placeholder: this.form_fields.card_number.data( 'placeholder' ),
|
| 210 |
+
},
|
| 211 |
+
expirationDate: {
|
| 212 |
+
elementId: this.form_fields.expiration.attr( 'id' ),
|
| 213 |
+
placeholder: this.form_fields.expiration.data( 'placeholder' ),
|
| 214 |
+
},
|
| 215 |
+
cvv: {
|
| 216 |
+
elementId: this.form_fields.csc.attr( 'id' ),
|
| 217 |
+
placeholder: this.form_fields.csc.data( 'placeholder' ),
|
| 218 |
+
},
|
| 219 |
+
postalCode: {
|
| 220 |
+
elementId: this.form_fields.postal_code.attr( 'id' ),
|
| 221 |
+
placeholder: this.form_fields.postal_code.data( 'placeholder' ),
|
| 222 |
+
},
|
| 223 |
+
inputClass: `wc-${ this.id_dasherized }-payment-field`,
|
| 224 |
+
inputStyles: this.input_styles,
|
| 225 |
+
callbacks: {
|
| 226 |
+
inputEventReceived: ( e ) => this.handle_input_event( e ),
|
| 227 |
+
cardNonceResponseReceived: ( errors, nonce, cardData ) => this.handle_card_nonce_response( errors, nonce, cardData ),
|
| 228 |
+
unsupportedBrowserDetected: () => this.handle_unsupported_browser(),
|
| 229 |
+
paymentFormLoaded: () => this.handle_form_loaded(),
|
| 230 |
+
},
|
| 231 |
+
};
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
/**
|
| 235 |
+
* Handles when the payment form is fully loaded.
|
| 236 |
+
*
|
| 237 |
+
* @since 2.0.0
|
| 238 |
+
*/
|
| 239 |
+
handle_form_loaded() {
|
| 240 |
+
this.log( 'Payment form loaded' );
|
| 241 |
+
|
| 242 |
+
this.payment_form.setPostalCode( $( '#billing_postcode' ).val() );
|
| 243 |
+
|
| 244 |
+
// hide the postcode field on the checkout page or if it already has a value.
|
| 245 |
+
if ( $( 'form.checkout' ).length || $( '#billing_postcode' ).val() ) {
|
| 246 |
+
$( '.wc-square-credit-card-card-postal-code-parent' ).addClass( 'hidden' );
|
| 247 |
+
}
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
/**
|
| 251 |
+
* Handles payment form input changes.
|
| 252 |
+
*
|
| 253 |
+
* @since 2.0.0
|
| 254 |
+
*
|
| 255 |
+
* @param {Object} e
|
| 256 |
+
*/
|
| 257 |
+
handle_input_event( e ) {
|
| 258 |
+
const $input = $( '#' + e.elementId );
|
| 259 |
+
|
| 260 |
+
if ( e.eventType === 'cardBrandChanged' ) {
|
| 261 |
+
this.handle_card_brand_change( e.cardBrand, $input );
|
| 262 |
+
}
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
/**
|
| 266 |
+
* Handles card number brand changes.
|
| 267 |
+
*
|
| 268 |
+
* @since 2.0.0
|
| 269 |
+
*
|
| 270 |
+
* @param {string} brand
|
| 271 |
+
* @param {Object} $input
|
| 272 |
+
*/
|
| 273 |
+
handle_card_brand_change( brand, $input ) {
|
| 274 |
+
this.log( `Card brand changed to ${ brand }` );
|
| 275 |
+
|
| 276 |
+
// clear any existing card type class
|
| 277 |
+
$input.attr( 'class', ( i, c ) => {
|
| 278 |
+
return c.replace( /(^|\s)card-type-\S+/g, '' );
|
| 279 |
+
} );
|
| 280 |
+
|
| 281 |
+
let card_class = 'plain';
|
| 282 |
+
|
| 283 |
+
if ( null === brand || 'unknown' === brand ) {
|
| 284 |
+
brand = '';
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
if ( null !== this.square_card_types[ brand ] ) {
|
| 288 |
+
brand = this.square_card_types[ brand ];
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
if ( brand && ! this.enabled_card_types.includes( brand ) ) {
|
| 292 |
+
card_class = 'invalid';
|
| 293 |
+
} else {
|
| 294 |
+
card_class = brand;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
$( `input[name=wc-${ this.id_dasherized }-card-type]` ).val( brand );
|
| 298 |
+
|
| 299 |
+
$input.addClass( `card-type-${ card_class }` );
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* Used to request a card nonce and submit the form.
|
| 304 |
+
*
|
| 305 |
+
* @since 2.0.0
|
| 306 |
+
*/
|
| 307 |
+
validate_payment_data() {
|
| 308 |
+
if ( this.form.is( '.processing' ) ) {
|
| 309 |
+
// bail when already processing.
|
| 310 |
+
return false;
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
// let through if nonce is already present - nonce is only present on non-tokenized payments.
|
| 314 |
+
if ( this.has_nonce() ) {
|
| 315 |
+
this.log( 'Payment nonce present, placing order' );
|
| 316 |
+
return true;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
const tokenized_card_id = this.get_tokenized_payment_method_id();
|
| 320 |
+
|
| 321 |
+
if ( tokenized_card_id ) {
|
| 322 |
+
if ( ! this.is_3ds_enabled ) {
|
| 323 |
+
// if 3DS is disabled and paying with a saved method, no further validation needed.
|
| 324 |
+
return true;
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
if ( this.has_verification_token() ) {
|
| 328 |
+
this.log( 'Tokenized payment verification token present, placing order' );
|
| 329 |
+
return true;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
this.log( 'Requesting verification token for tokenized payment' );
|
| 333 |
+
|
| 334 |
+
this.block_ui();
|
| 335 |
+
this.payment_form.verifyBuyer( tokenized_card_id, this.get_verification_details(), this.handle_verify_buyer_response.bind( this ) );
|
| 336 |
+
return false;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
this.log( 'Requesting payment nonce' );
|
| 340 |
+
this.block_ui();
|
| 341 |
+
this.payment_form.requestCardNonce();
|
| 342 |
+
return false;
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
/**
|
| 346 |
+
* Gets the selected tokenized payment method ID, if there is one.
|
| 347 |
+
*
|
| 348 |
+
* @since 2.1.0
|
| 349 |
+
*
|
| 350 |
+
* @return {string} Tokenized payment method ID.
|
| 351 |
+
*/
|
| 352 |
+
get_tokenized_payment_method_id() {
|
| 353 |
+
return $( `.payment_method_${ this.id }` ).find( '.js-wc-square-credit-card-payment-token:checked' ).val();
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
/**
|
| 357 |
+
* Handles the Square payment form card nonce response.
|
| 358 |
+
*
|
| 359 |
+
* @since 2.1.0
|
| 360 |
+
*
|
| 361 |
+
* @param {Object} errors Validation errors, if any.
|
| 362 |
+
* @param {string} nonce Payment nonce.
|
| 363 |
+
* @param {Object} cardData Non-confidential info about the card used.
|
| 364 |
+
*/
|
| 365 |
+
handle_card_nonce_response( errors, nonce, cardData ) {
|
| 366 |
+
// if we have real errors to display from Square.
|
| 367 |
+
if ( errors ) {
|
| 368 |
+
return this.handle_errors( errors );
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
// no errors, but also no payment data.
|
| 372 |
+
if ( ! nonce ) {
|
| 373 |
+
const message = 'Nonce is missing from the Square response';
|
| 374 |
+
|
| 375 |
+
this.log( message, 'error' );
|
| 376 |
+
this.log_data( message, 'response' );
|
| 377 |
+
return this.handle_errors();
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
// if we made it this far, we have payment data.
|
| 381 |
+
this.log( 'Card data received' );
|
| 382 |
+
this.log( cardData );
|
| 383 |
+
this.log_data( cardData, 'response' );
|
| 384 |
+
|
| 385 |
+
if ( cardData.last_4 ) {
|
| 386 |
+
$( `input[name=wc-${ this.id_dasherized }-last-four]` ).val( cardData.last_4 );
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
if ( cardData.exp_month ) {
|
| 390 |
+
$( `input[name=wc-${ this.id_dasherized }-exp-month]` ).val( cardData.exp_month );
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
if ( cardData.exp_year ) {
|
| 394 |
+
$( `input[name=wc-${ this.id_dasherized }-exp-year]` ).val( cardData.exp_year );
|
| 395 |
+
}
|
| 396 |
+
|
| 397 |
+
if ( cardData.billing_postal_code ) {
|
| 398 |
+
$( `input[name=wc-${ this.id_dasherized }-payment-postcode]` ).val( cardData.billing_postal_code );
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
// payment nonce data.
|
| 402 |
+
$( `input[name=wc-${ this.id_dasherized }-payment-nonce]` ).val( nonce );
|
| 403 |
+
|
| 404 |
+
// if 3ds is enabled, we need to verify the buyer and record the verification token before continuing.
|
| 405 |
+
if ( this.is_3ds_enabled ) {
|
| 406 |
+
this.log( 'Verifying buyer' );
|
| 407 |
+
|
| 408 |
+
this.payment_form.verifyBuyer( nonce, this.get_verification_details(), this.handle_verify_buyer_response.bind( this ) );
|
| 409 |
+
|
| 410 |
+
return;
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
// now that we have a nonce, resubmit the form.
|
| 414 |
+
this.form.trigger( 'submit' );
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
/**
|
| 418 |
+
* Handles the response from a call to verifyBuyer()
|
| 419 |
+
*
|
| 420 |
+
* @since 2.1.0
|
| 421 |
+
*
|
| 422 |
+
* @param {Object} errors Verification errors, if any.
|
| 423 |
+
* @param {Object} verification_result Results of verification.
|
| 424 |
+
*/
|
| 425 |
+
handle_verify_buyer_response( errors, verification_result ) {
|
| 426 |
+
if ( errors ) {
|
| 427 |
+
$( errors ).each( ( index, error ) => {
|
| 428 |
+
if ( ! error.field ) {
|
| 429 |
+
error.field = 'none';
|
| 430 |
+
}
|
| 431 |
+
} );
|
| 432 |
+
|
| 433 |
+
return this.handle_errors( errors );
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
// no errors, but also no verification token.
|
| 437 |
+
if ( ! verification_result || ! verification_result.token ) {
|
| 438 |
+
const message = 'Verification token is missing from the Square response';
|
| 439 |
+
|
| 440 |
+
this.log( message, 'error' );
|
| 441 |
+
this.log_data( message, 'response' );
|
| 442 |
+
|
| 443 |
+
return this.handle_errors();
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
this.log( 'Verification result received' );
|
| 447 |
+
this.log( verification_result );
|
| 448 |
+
|
| 449 |
+
$( `input[name=wc-${ this.id_dasherized }-buyer-verification-token]` ).val( verification_result.token );
|
| 450 |
+
|
| 451 |
+
this.form.trigger( 'submit' );
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
* Gets a verification details object to be used in verifyBuyer()
|
| 456 |
+
*
|
| 457 |
+
* @since 2.1.0
|
| 458 |
+
*
|
| 459 |
+
* @return {Object} Verification details object.
|
| 460 |
+
*/
|
| 461 |
+
get_verification_details() {
|
| 462 |
+
const verification_details = {
|
| 463 |
+
billingContact: {
|
| 464 |
+
familyName: $( '#billing_last_name' ).val() || '',
|
| 465 |
+
givenName: $( '#billing_first_name' ).val() || '',
|
| 466 |
+
email: $( '#billing_email' ).val() || '',
|
| 467 |
+
country: $( '#billing_country' ).val() || '',
|
| 468 |
+
region: $( '#billing_state' ).val() || '',
|
| 469 |
+
city: $( '#billing_city' ).val() || '',
|
| 470 |
+
postalCode: $( '#billing_postcode' ).val() || '',
|
| 471 |
+
phone: $( '#billing_phone' ).val() || '',
|
| 472 |
+
addressLines: [ $( '#billing_address_1' ).val() || '', $( '#billing_address_2' ).val() || '' ],
|
| 473 |
+
},
|
| 474 |
+
intent: this.get_intent(),
|
| 475 |
+
};
|
| 476 |
+
|
| 477 |
+
if ( 'CHARGE' === verification_details.intent ) {
|
| 478 |
+
verification_details.amount = this.get_amount();
|
| 479 |
+
verification_details.currencyCode = this.currency_code;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
this.log( verification_details );
|
| 483 |
+
|
| 484 |
+
return verification_details;
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
+
/**
|
| 488 |
+
* Gets the intent of this processing - either 'CHARGE' or 'STORE'
|
| 489 |
+
*
|
| 490 |
+
* The gateway stores cards before processing a payment, so this checks whether the customer checked "save method"
|
| 491 |
+
* at checkout, and isn't otherwise using a saved method already.
|
| 492 |
+
*
|
| 493 |
+
* @since 2.1.0
|
| 494 |
+
*
|
| 495 |
+
* @return {string} {'CHARGE'|'STORE'}
|
| 496 |
+
*/
|
| 497 |
+
get_intent() {
|
| 498 |
+
const $save_method_input = $( '#wc-square-credit-card-tokenize-payment-method' );
|
| 499 |
+
|
| 500 |
+
let save_payment_method;
|
| 501 |
+
|
| 502 |
+
if ( $save_method_input.is( 'input:checkbox' ) ) {
|
| 503 |
+
save_payment_method = $save_method_input.is( ':checked' );
|
| 504 |
+
} else {
|
| 505 |
+
save_payment_method = 'true' === $save_method_input.val();
|
| 506 |
+
}
|
| 507 |
+
|
| 508 |
+
if ( ! this.get_tokenized_payment_method_id() && save_payment_method ) {
|
| 509 |
+
return 'STORE';
|
| 510 |
+
}
|
| 511 |
+
|
| 512 |
+
return 'CHARGE';
|
| 513 |
+
}
|
| 514 |
+
|
| 515 |
+
/**
|
| 516 |
+
* Gets the amount of this payment.
|
| 517 |
+
*
|
| 518 |
+
* @since 2.1.0
|
| 519 |
+
*
|
| 520 |
+
* @return {string} Payment amount.
|
| 521 |
+
*/
|
| 522 |
+
get_amount() {
|
| 523 |
+
return $( `input[name=wc-${ this.id_dasherized }-amount]` ).val();
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
/**
|
| 527 |
+
* Handles unsupported browsers.
|
| 528 |
+
*
|
| 529 |
+
* @since 2.0.0
|
| 530 |
+
*/
|
| 531 |
+
handle_unsupported_browser() {}
|
| 532 |
+
|
| 533 |
+
/**
|
| 534 |
+
* Handle error data.
|
| 535 |
+
*
|
| 536 |
+
* @since 2.0.0
|
| 537 |
+
*
|
| 538 |
+
* @param {Object|null} errors
|
| 539 |
+
*/
|
| 540 |
+
handle_errors( errors = null ) {
|
| 541 |
+
this.log( 'Error getting payment data', 'error' );
|
| 542 |
+
|
| 543 |
+
// clear any previous nonces
|
| 544 |
+
$( 'input[name=wc-square-credit-card-payment-nonce]' ).val( '' );
|
| 545 |
+
$( 'input[name=wc-square-credit-card-buyer-verification-token]' ).val( '' );
|
| 546 |
+
|
| 547 |
+
const messages = [];
|
| 548 |
+
|
| 549 |
+
if ( errors ) {
|
| 550 |
+
const field_order = [ 'none', 'cardNumber', 'expirationDate', 'cvv', 'postalCode' ];
|
| 551 |
+
|
| 552 |
+
if ( errors.length >= 1 ) {
|
| 553 |
+
// sort based on the field order without the brackets around a.field and b.field.
|
| 554 |
+
// the precedence is different and gives different results.
|
| 555 |
+
errors.sort( ( a, b ) => {
|
| 556 |
+
return field_order.indexOf( a.field ) - field_order.indexOf( b.field );
|
| 557 |
+
} );
|
| 558 |
+
}
|
| 559 |
+
|
| 560 |
+
$( errors ).each( ( index, error ) => {
|
| 561 |
+
// only display the errors that can be helped by the customer.
|
| 562 |
+
if ( 'UNSUPPORTED_CARD_BRAND' === error.type || 'VALIDATION_ERROR' === error.type ) {
|
| 563 |
+
// To avoid confusion between CSC used in the frontend and CVV that is used in the error message.
|
| 564 |
+
return messages.push( error.message.replace( /CVV/, 'CSC' ) );
|
| 565 |
+
}
|
| 566 |
+
|
| 567 |
+
// otherwise, log more serious errors to the debug log.
|
| 568 |
+
return this.log_data( errors, 'response' );
|
| 569 |
+
} );
|
| 570 |
+
}
|
| 571 |
+
|
| 572 |
+
// if no specific messages are set, display a general error.
|
| 573 |
+
if ( messages.length === 0 ) {
|
| 574 |
+
messages.push( this.general_error );
|
| 575 |
+
}
|
| 576 |
+
|
| 577 |
+
// Conditionally process error rendering.
|
| 578 |
+
if ( ! this.is_add_payment_method_page && ! this.is_manual_order_payment ) {
|
| 579 |
+
this.render_checkout_errors( messages );
|
| 580 |
+
} else {
|
| 581 |
+
this.render_errors( messages );
|
| 582 |
+
}
|
| 583 |
+
|
| 584 |
+
this.unblock_ui();
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
/**
|
| 588 |
+
* Public: Render any new errors and bring them into the viewport.
|
| 589 |
+
*
|
| 590 |
+
* @param {Array} errors
|
| 591 |
+
*/
|
| 592 |
+
render_errors( errors ) {
|
| 593 |
+
// hide and remove any previous errors.
|
| 594 |
+
$( '.woocommerce-error, .woocommerce-message' ).remove();
|
| 595 |
+
|
| 596 |
+
// add errors.
|
| 597 |
+
this.form.prepend( '<ul class="woocommerce-error"><li>' + errors.join( '</li><li>' ) + '</li></ul>' );
|
| 598 |
+
|
| 599 |
+
// unblock UI
|
| 600 |
+
this.form.removeClass( 'processing' ).unblock();
|
| 601 |
+
this.form.find( '.input-text, select' ).trigger( 'blur' );
|
| 602 |
+
|
| 603 |
+
// scroll to top
|
| 604 |
+
$( 'html, body' ).animate( {
|
| 605 |
+
scrollTop: this.form.offset().top - 100,
|
| 606 |
+
}, 1000 );
|
| 607 |
+
}
|
| 608 |
+
|
| 609 |
+
/**
|
| 610 |
+
* Blocks the payment form UI.
|
| 611 |
+
*
|
| 612 |
+
* @since 3.0.0
|
| 613 |
+
*/
|
| 614 |
+
block_ui() {
|
| 615 |
+
this.form.block( {
|
| 616 |
+
message: null,
|
| 617 |
+
overlayCSS: {
|
| 618 |
+
background: '#fff',
|
| 619 |
+
opacity: 0.6,
|
| 620 |
+
},
|
| 621 |
+
} );
|
| 622 |
+
}
|
| 623 |
+
|
| 624 |
+
/**
|
| 625 |
+
* Unblocks the payment form UI.
|
| 626 |
+
*
|
| 627 |
+
* @since 3.0.0
|
| 628 |
+
*/
|
| 629 |
+
unblock_ui() {
|
| 630 |
+
return this.form.unblock();
|
| 631 |
+
}
|
| 632 |
+
|
| 633 |
+
/**
|
| 634 |
+
* Hides save payment method checkbox.
|
| 635 |
+
*
|
| 636 |
+
* @since 2.1.2
|
| 637 |
+
*
|
| 638 |
+
* @param {string} id_dasherized
|
| 639 |
+
*/
|
| 640 |
+
hide_save_payment_checkbox( id_dasherized ) {
|
| 641 |
+
const $parent_row = $( `input.js-wc-${ id_dasherized }-tokenize-payment-method` ).closest( 'p.form-row' );
|
| 642 |
+
|
| 643 |
+
$parent_row.hide();
|
| 644 |
+
$parent_row.next().hide();
|
| 645 |
+
}
|
| 646 |
+
|
| 647 |
+
/**
|
| 648 |
+
* Shows save payment method checkbox.
|
| 649 |
+
*
|
| 650 |
+
* @since 2.1.2
|
| 651 |
+
*
|
| 652 |
+
* @param {string} id_dasherized
|
| 653 |
+
*/
|
| 654 |
+
show_save_payment_checkbox( id_dasherized ) {
|
| 655 |
+
const $parent_row = $( `input.js-wc-${ id_dasherized }-tokenize-payment-method` ).closest( 'p.form-row' );
|
| 656 |
+
|
| 657 |
+
$parent_row.slideDown();
|
| 658 |
+
$parent_row.next().show();
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
/**
|
| 662 |
+
* Determines if a nonce is present in the hidden input.
|
| 663 |
+
*
|
| 664 |
+
* @since 2.0.0
|
| 665 |
+
*
|
| 666 |
+
* @return {boolean} True if nonce is present, otherwise false.
|
| 667 |
+
*/
|
| 668 |
+
has_nonce() {
|
| 669 |
+
return $( `input[name=wc-${ this.id_dasherized }-payment-nonce]` ).val();
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
/**
|
| 673 |
+
* Determines if a verification token is present in the hidden input.
|
| 674 |
+
*
|
| 675 |
+
* @since 2.1.0
|
| 676 |
+
*
|
| 677 |
+
* @return {boolean} True if verification token is present, otherwise false.
|
| 678 |
+
*/
|
| 679 |
+
has_verification_token() {
|
| 680 |
+
return $( `input[name=wc-${ this.id_dasherized }-buyer-verification-token]` ).val();
|
| 681 |
+
}
|
| 682 |
+
|
| 683 |
+
/**
|
| 684 |
+
* Logs data to the debug log via AJAX.
|
| 685 |
+
*
|
| 686 |
+
* @since 2.0.0
|
| 687 |
+
*
|
| 688 |
+
* @param {Object} data Request data.
|
| 689 |
+
* @param {string} type Data type.
|
| 690 |
+
*/
|
| 691 |
+
log_data( data, type ) {
|
| 692 |
+
// if logging is disabled, bail.
|
| 693 |
+
if ( ! this.logging_enabled ) {
|
| 694 |
+
return;
|
| 695 |
+
}
|
| 696 |
+
|
| 697 |
+
const ajax_data = {
|
| 698 |
+
action: 'wc_' + this.id + '_log_js_data',
|
| 699 |
+
security: this.ajax_log_nonce,
|
| 700 |
+
type,
|
| 701 |
+
data,
|
| 702 |
+
};
|
| 703 |
+
|
| 704 |
+
$.ajax( {
|
| 705 |
+
url: this.ajax_url,
|
| 706 |
+
data: ajax_data,
|
| 707 |
+
} );
|
| 708 |
+
}
|
| 709 |
+
|
| 710 |
+
/**
|
| 711 |
+
* Logs any messages or errors to the console.
|
| 712 |
+
*
|
| 713 |
+
* @since 2.0.0
|
| 714 |
+
*
|
| 715 |
+
* @param {string} message
|
| 716 |
+
* @param {string} type Data type.
|
| 717 |
+
*/
|
| 718 |
+
log( message, type = 'notice' ) {
|
| 719 |
+
// if logging is disabled, bail.
|
| 720 |
+
if ( ! this.logging_enabled ) {
|
| 721 |
+
return;
|
| 722 |
+
}
|
| 723 |
+
|
| 724 |
+
if ( 'error' === type ) {
|
| 725 |
+
console.error( 'Square Error: ' + message );
|
| 726 |
+
} else {
|
| 727 |
+
console.log( 'Square: ' + message );
|
| 728 |
+
}
|
| 729 |
+
}
|
| 730 |
+
|
| 731 |
+
/**
|
| 732 |
+
* AJAX validate WooCommerce form data.
|
| 733 |
+
*
|
| 734 |
+
* Triggered only if errors are present on Square payment form.
|
| 735 |
+
*
|
| 736 |
+
* @since 2.2
|
| 737 |
+
*
|
| 738 |
+
* @param {Array} square_errors Square validation errors.
|
| 739 |
+
*/
|
| 740 |
+
render_checkout_errors( square_errors ) {
|
| 741 |
+
const ajax_url = wc_cart_fragments_params.wc_ajax_url.toString().replace( '%%endpoint%%', this.id + '_checkout_handler' );
|
| 742 |
+
const square_handler = this;
|
| 743 |
+
|
| 744 |
+
const form_data = this.form.serializeArray();
|
| 745 |
+
|
| 746 |
+
// Add action field to data for nonce verification.
|
| 747 |
+
form_data.push( {
|
| 748 |
+
name: 'wc_' + this.id + '_checkout_validate_nonce',
|
| 749 |
+
value: this.ajax_wc_checkout_validate_nonce,
|
| 750 |
+
} );
|
| 751 |
+
|
| 752 |
+
return $.ajax( {
|
| 753 |
+
url: ajax_url,
|
| 754 |
+
method: 'post',
|
| 755 |
+
cache: false,
|
| 756 |
+
data: form_data,
|
| 757 |
+
complete: ( response ) => {
|
| 758 |
+
const result = response.responseJSON;
|
| 759 |
+
|
| 760 |
+
// If validation is not triggered and WooCommerce returns failure.
|
| 761 |
+
// Temporary workaround to fix problems when user email is invalid.
|
| 762 |
+
if ( result.hasOwnProperty( 'result' ) && 'failure' === result.result ) {
|
| 763 |
+
$( result.messages ).map( ( message ) => {
|
| 764 |
+
const errors = [];
|
| 765 |
+
|
| 766 |
+
$( message ).children( 'li' ).each( () => {
|
| 767 |
+
errors.push( $( this ).text().trim() );
|
| 768 |
+
} );
|
| 769 |
+
|
| 770 |
+
return square_errors.unshift( ...errors );
|
| 771 |
+
} );
|
| 772 |
+
|
| 773 |
+
// If validation is complete and WooCommerce returns validaiton errors.
|
| 774 |
+
} else if ( result.hasOwnProperty( 'success' ) && ! result.success ) {
|
| 775 |
+
square_errors.unshift( ...result.data.messages );
|
| 776 |
+
}
|
| 777 |
+
|
| 778 |
+
square_handler.render_errors( square_errors );
|
| 779 |
+
},
|
| 780 |
+
} );
|
| 781 |
+
}
|
| 782 |
+
}
|
| 783 |
+
|
| 784 |
+
window.WC_Square_Payment_Form_Handler = WC_Square_Payment_Form_Handler;
|
| 785 |
+
} );
|
assets/js/frontend/wc-square.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();(function(){var e=[].indexOf;jQuery(document).ready(function(t){return window.WC_Square_Payment_Form_Handler=function(){function n(e){if(_classCallCheck(this,n),this.set_payment_fields=this.set_payment_fields.bind(this),this.get_form_params=this.get_form_params.bind(this),this.handle_input_event=this.handle_input_event.bind(this),this.handle_verify_buyer_response=this.handle_verify_buyer_response.bind(this),this.id=e.id,this.id_dasherized=e.id_dasherized,this.csc_required=e.csc_required,this.enabled_card_types=e.enabled_card_types,this.square_card_types=e.square_card_types,this.ajax_log_nonce=e.ajax_log_nonce,this.ajax_url=e.ajax_url,this.application_id=e.application_id,this.currency_code=e.currency_code,this.general_error=e.general_error,this.input_styles=e.input_styles,this.is_3ds_enabled=e.is_3d_secure_enabled,this.is_add_payment_method_page=e.is_add_payment_method_page,this.is_checkout_registration_enabled=e.is_checkout_registration_enabled,this.is_user_logged_in=e.is_user_logged_in,this.location_id=e.location_id,this.logging_enabled=e.logging_enabled,this.ajax_wc_checkout_validate_nonce=e.ajax_wc_checkout_validate_nonce,this.is_manual_order_payment=e.is_manual_order_payment,t("form.checkout").length)this.form=t("form.checkout"),this.handle_checkout_page();else if(t("form#order_review").length)this.form=t("form#order_review"),this.handle_pay_page();else{if(!t("form#add_payment_method").length)return void this.log("No payment form found!");this.form=t("form#add_payment_method"),this.handle_add_payment_method_page()}this.params=window.sv_wc_payment_gateway_payment_form_params,t(document.body).on("checkout_error",function(){return t("input[name=wc-square-credit-card-payment-nonce]").val(""),t("input[name=wc-square-credit-card-buyer-verification-token]").val("")}),t(document.body).on("click","#payment_method_"+this.id,function(){if(this.payment_form)return this.log("Recalculating payment form size"),this.payment_form.recalculateSize()})}return _createClass(n,[{key:"handle_checkout_page",value:function(){var e=this;return t(document.body).on("updated_checkout",function(){return e.set_payment_fields()}),t(document.body).on("updated_checkout",function(){return e.handle_saved_payment_methods()}),this.form.on("checkout_place_order_"+this.id,function(){return e.validate_payment_data()})}},{key:"handle_saved_payment_methods",value:function(){var e,n,i;if(i=this.id_dasherized,n=this,e=t("div.js-wc-"+i+"-new-payment-method-form"),t("input.js-wc-"+this.id_dasherized+"-payment-token").change(function(){return t("input.js-wc-"+i+"-payment-token:checked").val()?e.slideUp(200):e.slideDown(200)}).change(),t("input#createaccount").change(function(){return t(this).is(":checked")?n.show_save_payment_checkbox(i):n.hide_save_payment_checkbox(i)}),t("input#createaccount").is(":checked")||t("input#createaccount").change(),!this.is_user_logged_in&&!this.is_checkout_registration_enabled)return this.hide_save_payment_checkbox(i)}},{key:"handle_pay_page",value:function(){var e=this;return this.set_payment_fields(),this.handle_saved_payment_methods(),this.form.submit(function(){if(t("#order_review input[name=payment_method]:checked").val()===e.id)return e.validate_payment_data()})}},{key:"handle_add_payment_method_page",value:function(){var e=this;return this.set_payment_fields(),this.form.submit(function(){if(t("#add_payment_method input[name=payment_method]:checked").val()===e.id)return e.validate_payment_data()})}},{key:"set_payment_fields",value:function(){var e,n,i;if(t("#wc-"+this.id_dasherized+"-account-number-hosted").length){if(t("#wc-"+this.id_dasherized+"-account-number-hosted").is("iframe")){this.log("Re-adding payment form"),i=this.form_fields;for(e in i)n=i[e],t(n.attr("id")).replaceWith(n);return this.handle_form_loaded()}return this.payment_form&&(this.log("Destroying payment form"),this.payment_form.destroy(),this.payment_form=null),this.log("Building payment form"),this.payment_form=new SqPaymentForm(this.get_form_params()),this.payment_form.build()}}},{key:"get_form_params",value:function(){var e=this;return this.form_fields={card_number:t("#wc-"+this.id_dasherized+"-account-number-hosted"),expiration:t("#wc-"+this.id_dasherized+"-expiry-hosted"),csc:t("#wc-"+this.id_dasherized+"-csc-hosted"),postal_code:t("#wc-"+this.id_dasherized+"-postal-code-hosted")},{applicationId:this.application_id,locationId:this.location_id,cardNumber:{elementId:this.form_fields.card_number.attr("id"),placeholder:this.form_fields.card_number.data("placeholder")},expirationDate:{elementId:this.form_fields.expiration.attr("id"),placeholder:this.form_fields.expiration.data("placeholder")},cvv:{elementId:this.form_fields.csc.attr("id"),placeholder:this.form_fields.csc.data("placeholder")},postalCode:{elementId:this.form_fields.postal_code.attr("id"),placeholder:this.form_fields.postal_code.data("placeholder")},inputClass:"wc-"+this.id_dasherized+"-payment-field",inputStyles:this.input_styles,callbacks:{inputEventReceived:function(t){return e.handle_input_event(t)},cardNonceResponseReceived:function(t,n,i){return e.handle_card_nonce_response(t,n,i)},unsupportedBrowserDetected:function(){return e.handle_unsupported_browser()},paymentFormLoaded:function(){return e.handle_form_loaded()}}}}},{key:"handle_form_loaded",value:function(){if(this.log("Payment form loaded"),this.payment_form.setPostalCode(t("#billing_postcode").val()),t("form.checkout").length||t("#billing_postcode").val())return t(".wc-square-credit-card-card-postal-code-parent").addClass("hidden")}},{key:"handle_input_event",value:function(e){var n;if(n=t("#"+e.elementId),"cardBrandChanged"===e.eventType)return this.handle_card_brand_change(e.cardBrand,n)}},{key:"handle_card_brand_change",value:function(n,i){var a;return this.log("Card brand changed to "+n),i.attr("class",function(e,t){return t.replace(/(^|\s)card-type-\S+/g,"")}),a="plain",null!=n&&"unknown"!==n||(n=""),null!=this.square_card_types[n]&&(n=this.square_card_types[n]),a=n&&e.call(this.enabled_card_types,n)<0?"invalid":n,t("input[name=wc-"+this.id_dasherized+"-card-type]").val(n),i.addClass("card-type-"+a)}},{key:"validate_payment_data",value:function(){var e;return!this.form.is(".processing")&&(this.has_nonce()?(this.log("Payment nonce present, placing order"),!0):(e=this.get_tokenized_payment_method_id())?!this.is_3ds_enabled||(this.has_verification_token()?(this.log("Tokenized payment verification token present, placing order"),!0):(this.log("Requesting verification token for tokenized payment"),this.block_ui(),this.payment_form.verifyBuyer(e,this.get_verification_details(),this.handle_verify_buyer_response),!1)):(this.log("Requesting payment nonce"),this.block_ui(),this.payment_form.requestCardNonce(),!1))}},{key:"get_tokenized_payment_method_id",value:function(){return t(".payment_method_"+this.id).find(".js-wc-square-credit-card-payment-token:checked").val()}},{key:"handle_card_nonce_response",value:function(e,n,i){var a;return e?this.handle_errors(e):n?(this.log("Card data received"),this.log(i),this.log_data(i,"response"),i.last_4&&t("input[name=wc-"+this.id_dasherized+"-last-four]").val(i.last_4),i.exp_month&&t("input[name=wc-"+this.id_dasherized+"-exp-month]").val(i.exp_month),i.exp_year&&t("input[name=wc-"+this.id_dasherized+"-exp-year]").val(i.exp_year),i.billing_postal_code&&t("input[name=wc-"+this.id_dasherized+"-payment-postcode]").val(i.billing_postal_code),t("input[name=wc-"+this.id_dasherized+"-payment-nonce]").val(n),this.is_3ds_enabled?(this.log("Verifying buyer"),void this.payment_form.verifyBuyer(n,this.get_verification_details(),this.handle_verify_buyer_response)):this.form.submit()):(a="Nonce is missing from the Square response",this.log(a,"error"),this.log_data(a,"response"),this.handle_errors())}},{key:"handle_verify_buyer_response",value:function(e,n){var i;return e?(t(e).each(function(e,t){if(!t.field)return t.field="none"}),this.handle_errors(e)):n&&n.token?(this.log("Verification result received"),this.log(n),t("input[name=wc-"+this.id_dasherized+"-buyer-verification-token]").val(n.token),this.form.submit()):(i="Verification token is missing from the Square response",this.log(i,"error"),this.log_data(i,"response"),this.handle_errors())}},{key:"get_verification_details",value:function(){var e,n,i,a,r,o,s,d,l,_,c;return"CHARGE"===(c={billingContact:{familyName:null!=(e=t("#billing_last_name").val())?e:"",givenName:null!=(n=t("#billing_first_name").val())?n:"",email:null!=(i=t("#billing_email").val())?i:"",country:null!=(a=t("#billing_country").val())?a:"",region:null!=(r=t("#billing_state").val())?r:"",city:null!=(o=t("#billing_city").val())?o:"",postalCode:null!=(s=t("#billing_postcode").val())?s:"",phone:null!=(d=t("#billing_phone").val())?d:"",addressLines:[null!=(l=t("#billing_address_1").val())?l:"",null!=(_=t("#billing_address_2").val())?_:""]},intent:this.get_intent()}).intent&&(c.amount=this.get_amount(),c.currencyCode=this.currency_code),this.log(c),c}},{key:"get_intent",value:function(){var e,n;return e=t("#wc-square-credit-card-tokenize-payment-method"),n=e.is("input:checkbox")?e.is(":checked"):"true"===e.val(),!this.get_tokenized_payment_method_id()&&n?"STORE":"CHARGE"}},{key:"get_amount",value:function(){return t("input[name=wc-"+this.id_dasherized+"-amount]").val()}},{key:"handle_unsupported_browser",value:function(){}},{key:"handle_errors",value:function(){var e,n,i=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.log("Error getting payment data","error"),t("input[name=wc-square-credit-card-payment-nonce]").val(""),t("input[name=wc-square-credit-card-buyer-verification-token]").val(""),n=[],a&&(e=["none","cardNumber","expirationDate","cvv","postalCode"],a.length>=1&&a.sort(function(t,n){return e.indexOf(t.field)-e.indexOf(n.field)}),t(a).each(function(e,t){var r;return"UNSUPPORTED_CARD_BRAND"===(r=t.type)||"VALIDATION_ERROR"===r?n.push(t.message.replace(/CVV/,"CSC")):i.log_data(a,"response")})),0===n.length&&n.push(this.general_error),this.is_add_payment_method_page||this.is_manual_order_payment?this.render_errors(n):this.render_checkout_errors(n),this.unblock_ui()}},{key:"render_errors",value:function(e){return t(".woocommerce-error, .woocommerce-message").remove(),this.form.prepend('<ul class="woocommerce-error"><li>'+e.join("</li><li>")+"</li></ul>"),this.form.removeClass("processing").unblock(),this.form.find(".input-text, select").blur(),t("html, body").animate({scrollTop:this.form.offset().top-100},1e3)}},{key:"block_ui",value:function(){return this.form.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})}},{key:"unblock_ui",value:function(){return this.form.unblock()}},{key:"hide_save_payment_checkbox",value:function(e){var n;return(n=t("input.js-wc-"+e+"-tokenize-payment-method").closest("p.form-row")).hide(),n.next().hide()}},{key:"show_save_payment_checkbox",value:function(e){var n;return(n=t("input.js-wc-"+e+"-tokenize-payment-method").closest("p.form-row")).slideDown(),n.next().show()}},{key:"has_nonce",value:function(){return t("input[name=wc-"+this.id_dasherized+"-payment-nonce]").val()}},{key:"has_verification_token",value:function(){return t("input[name=wc-"+this.id_dasherized+"-buyer-verification-token]").val()}},{key:"log_data",value:function(e,n){var i;if(this.logging_enabled)return i={action:"wc_"+this.id+"_log_js_data",security:this.ajax_log_nonce,type:n,data:e},t.ajax({url:this.ajax_url,data:i})}},{key:"log",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"notice";if(this.logging_enabled)return"error"===t?console.error("Square Error: "+e):console.log("Square: "+e)}},{key:"render_checkout_errors",value:function(e){var n,i,a;return n=wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%",this.id+"_checkout_handler"),i=this.form.serializeArray(),a=this,i.push({name:"wc_"+this.id+"_checkout_validate_nonce",value:this.ajax_wc_checkout_validate_nonce}),t.ajax({url:n,method:"post",cache:!1,data:i,complete:function(n){var i;return(i=n.responseJSON).hasOwnProperty("result")&&"failure"===i.result?t(i.messages).map(function(){var n;return n=[],t(this).children("li").each(function(){return n.push(t(this).text().trim())}),e.unshift.apply(e,_toConsumableArray(n))}):i.hasOwnProperty("success")&&!i.success&&e.unshift.apply(e,_toConsumableArray(i.data.messages)),a.render_errors(e)}})}}]),n}()})}).call(void 0);
|
| 2 |
-
//# sourceMappingURL=wc-square.min.js.map
|
| 1 |
+
"use strict";function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _iterableToArrayLimit(arr,i){if(typeof Symbol==="undefined"||!(Symbol.iterator in Object(arr)))return;var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{if(!_n&&_i["return"]!=null)_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}jQuery(document).ready(function($){var WC_Square_Payment_Form_Handler=function(){function WC_Square_Payment_Form_Handler(args){var _this=this;_classCallCheck(this,WC_Square_Payment_Form_Handler);this.id=args.id;this.id_dasherized=args.id_dasherized;this.csc_required=args.csc_required;this.enabled_card_types=args.enabled_card_types;this.square_card_types=args.square_card_types;this.ajax_log_nonce=args.ajax_log_nonce;this.ajax_url=args.ajax_url;this.application_id=args.application_id;this.currency_code=args.currency_code;this.general_error=args.general_error;this.input_styles=args.input_styles;this.is_3ds_enabled=args.is_3d_secure_enabled;this.is_add_payment_method_page=args.is_add_payment_method_page;this.is_checkout_registration_enabled=args.is_checkout_registration_enabled;this.is_user_logged_in=args.is_user_logged_in;this.location_id=args.location_id;this.logging_enabled=args.logging_enabled;this.ajax_wc_checkout_validate_nonce=args.ajax_wc_checkout_validate_nonce;this.is_manual_order_payment=args.is_manual_order_payment;if($("form.checkout").length){this.form=$("form.checkout");this.handle_checkout_page()}else if($("form#order_review").length){this.form=$("form#order_review");this.handle_pay_page()}else if($("form#add_payment_method").length){this.form=$("form#add_payment_method");this.handle_add_payment_method_page()}else{this.log("No payment form found!");return}this.params=window.sv_wc_payment_gateway_payment_form_params;$(document.body).on("checkout_error",function(){$("input[name=wc-square-credit-card-payment-nonce]").val("");$("input[name=wc-square-credit-card-buyer-verification-token]").val("")});$(document.body).on("click","#payment_method_".concat(this.id),function(){if(_this.payment_form){_this.log("Recalculating payment form size");_this.payment_form.recalculateSize()}})}_createClass(WC_Square_Payment_Form_Handler,[{key:"handle_checkout_page",value:function handle_checkout_page(){var _this2=this;$(document.body).on("updated_checkout",function(){return _this2.set_payment_fields()});$(document.body).on("updated_checkout",function(){return _this2.handle_saved_payment_methods()});this.form.on("checkout_place_order_".concat(this.id),function(){return _this2.validate_payment_data()})}},{key:"handle_saved_payment_methods",value:function handle_saved_payment_methods(){var id_dasherized=this.id_dasherized;var form_handler=this;var $new_payment_method_selection=$("div.js-wc-".concat(id_dasherized,"-new-payment-method-form"));$("input.js-wc-".concat(this.id_dasherized,"-payment-token")).on("change",function(){var tokenized_payment_method_selected=$("input.js-wc-".concat(id_dasherized,"-payment-token:checked")).val();if(tokenized_payment_method_selected){$new_payment_method_selection.slideUp(200)}else{$new_payment_method_selection.slideDown(200)}}).trigger("change");$("input#createaccount").on("change",function(e){if($(e.target).is(":checked")){form_handler.show_save_payment_checkbox(id_dasherized)}else{form_handler.hide_save_payment_checkbox(id_dasherized)}});if(!$("input#createaccount").is(":checked")){$("input#createaccount").trigger("change")}if(!this.is_user_logged_in&&!this.is_checkout_registration_enabled){this.hide_save_payment_checkbox(id_dasherized)}}},{key:"handle_pay_page",value:function handle_pay_page(){var _this3=this;this.set_payment_fields();this.handle_saved_payment_methods();this.form.on("submit",function(){return $("#order_review input[name=payment_method]:checked").val()===_this3.id&&_this3.validate_payment_data()})}},{key:"handle_add_payment_method_page",value:function handle_add_payment_method_page(){var _this4=this;this.set_payment_fields();this.form.on("submit",function(){return $("#add_payment_method input[name=payment_method]:checked").val()===_this4.id&&_this4.validate_payment_data()})}},{key:"set_payment_fields",value:function set_payment_fields(){if(!$("#wc-".concat(this.id_dasherized,"-account-number-hosted")).length){return}if($("#wc-".concat(this.id_dasherized,"-account-number-hosted")).is("iframe")){this.log("Re-adding payment form");for(var _i=0,_Object$entries=Object.entries(this.form_fields);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),_=_Object$entries$_i[0],field=_Object$entries$_i[1];$(field.attr("id")).replaceWith(field)}this.handle_form_loaded()}else{if(this.payment_form){this.log("Destroying payment form");this.payment_form.destroy();this.payment_form=null}this.log("Building payment form");this.payment_form=new SqPaymentForm(this.get_form_params());this.payment_form.build()}}},{key:"get_form_params",value:function get_form_params(){var _this5=this;this.form_fields={card_number:$("#wc-".concat(this.id_dasherized,"-account-number-hosted")),expiration:$("#wc-".concat(this.id_dasherized,"-expiry-hosted")),csc:$("#wc-".concat(this.id_dasherized,"-csc-hosted")),postal_code:$("#wc-".concat(this.id_dasherized,"-postal-code-hosted"))};return{applicationId:this.application_id,locationId:this.location_id,cardNumber:{elementId:this.form_fields.card_number.attr("id"),placeholder:this.form_fields.card_number.data("placeholder")},expirationDate:{elementId:this.form_fields.expiration.attr("id"),placeholder:this.form_fields.expiration.data("placeholder")},cvv:{elementId:this.form_fields.csc.attr("id"),placeholder:this.form_fields.csc.data("placeholder")},postalCode:{elementId:this.form_fields.postal_code.attr("id"),placeholder:this.form_fields.postal_code.data("placeholder")},inputClass:"wc-".concat(this.id_dasherized,"-payment-field"),inputStyles:this.input_styles,callbacks:{inputEventReceived:function inputEventReceived(e){return _this5.handle_input_event(e)},cardNonceResponseReceived:function cardNonceResponseReceived(errors,nonce,cardData){return _this5.handle_card_nonce_response(errors,nonce,cardData)},unsupportedBrowserDetected:function unsupportedBrowserDetected(){return _this5.handle_unsupported_browser()},paymentFormLoaded:function paymentFormLoaded(){return _this5.handle_form_loaded()}}}}},{key:"handle_form_loaded",value:function handle_form_loaded(){this.log("Payment form loaded");this.payment_form.setPostalCode($("#billing_postcode").val());if($("form.checkout").length||$("#billing_postcode").val()){$(".wc-square-credit-card-card-postal-code-parent").addClass("hidden")}}},{key:"handle_input_event",value:function handle_input_event(e){var $input=$("#"+e.elementId);if(e.eventType==="cardBrandChanged"){this.handle_card_brand_change(e.cardBrand,$input)}}},{key:"handle_card_brand_change",value:function handle_card_brand_change(brand,$input){this.log("Card brand changed to ".concat(brand));$input.attr("class",function(i,c){return c.replace(/(^|\s)card-type-\S+/g,"")});var card_class="plain";if(null===brand||"unknown"===brand){brand=""}if(null!==this.square_card_types[brand]){brand=this.square_card_types[brand]}if(brand&&!this.enabled_card_types.includes(brand)){card_class="invalid"}else{card_class=brand}$("input[name=wc-".concat(this.id_dasherized,"-card-type]")).val(brand);$input.addClass("card-type-".concat(card_class))}},{key:"validate_payment_data",value:function validate_payment_data(){if(this.form.is(".processing")){return false}if(this.has_nonce()){this.log("Payment nonce present, placing order");return true}var tokenized_card_id=this.get_tokenized_payment_method_id();if(tokenized_card_id){if(!this.is_3ds_enabled){return true}if(this.has_verification_token()){this.log("Tokenized payment verification token present, placing order");return true}this.log("Requesting verification token for tokenized payment");this.block_ui();this.payment_form.verifyBuyer(tokenized_card_id,this.get_verification_details(),this.handle_verify_buyer_response.bind(this));return false}this.log("Requesting payment nonce");this.block_ui();this.payment_form.requestCardNonce();return false}},{key:"get_tokenized_payment_method_id",value:function get_tokenized_payment_method_id(){return $(".payment_method_".concat(this.id)).find(".js-wc-square-credit-card-payment-token:checked").val()}},{key:"handle_card_nonce_response",value:function handle_card_nonce_response(errors,nonce,cardData){if(errors){return this.handle_errors(errors)}if(!nonce){var message="Nonce is missing from the Square response";this.log(message,"error");this.log_data(message,"response");return this.handle_errors()}this.log("Card data received");this.log(cardData);this.log_data(cardData,"response");if(cardData.last_4){$("input[name=wc-".concat(this.id_dasherized,"-last-four]")).val(cardData.last_4)}if(cardData.exp_month){$("input[name=wc-".concat(this.id_dasherized,"-exp-month]")).val(cardData.exp_month)}if(cardData.exp_year){$("input[name=wc-".concat(this.id_dasherized,"-exp-year]")).val(cardData.exp_year)}if(cardData.billing_postal_code){$("input[name=wc-".concat(this.id_dasherized,"-payment-postcode]")).val(cardData.billing_postal_code)}$("input[name=wc-".concat(this.id_dasherized,"-payment-nonce]")).val(nonce);if(this.is_3ds_enabled){this.log("Verifying buyer");this.payment_form.verifyBuyer(nonce,this.get_verification_details(),this.handle_verify_buyer_response.bind(this));return}this.form.trigger("submit")}},{key:"handle_verify_buyer_response",value:function handle_verify_buyer_response(errors,verification_result){if(errors){$(errors).each(function(index,error){if(!error.field){error.field="none"}});return this.handle_errors(errors)}if(!verification_result||!verification_result.token){var message="Verification token is missing from the Square response";this.log(message,"error");this.log_data(message,"response");return this.handle_errors()}this.log("Verification result received");this.log(verification_result);$("input[name=wc-".concat(this.id_dasherized,"-buyer-verification-token]")).val(verification_result.token);this.form.trigger("submit")}},{key:"get_verification_details",value:function get_verification_details(){var verification_details={billingContact:{familyName:$("#billing_last_name").val()||"",givenName:$("#billing_first_name").val()||"",email:$("#billing_email").val()||"",country:$("#billing_country").val()||"",region:$("#billing_state").val()||"",city:$("#billing_city").val()||"",postalCode:$("#billing_postcode").val()||"",phone:$("#billing_phone").val()||"",addressLines:[$("#billing_address_1").val()||"",$("#billing_address_2").val()||""]},intent:this.get_intent()};if("CHARGE"===verification_details.intent){verification_details.amount=this.get_amount();verification_details.currencyCode=this.currency_code}this.log(verification_details);return verification_details}},{key:"get_intent",value:function get_intent(){var $save_method_input=$("#wc-square-credit-card-tokenize-payment-method");var save_payment_method;if($save_method_input.is("input:checkbox")){save_payment_method=$save_method_input.is(":checked")}else{save_payment_method="true"===$save_method_input.val()}if(!this.get_tokenized_payment_method_id()&&save_payment_method){return"STORE"}return"CHARGE"}},{key:"get_amount",value:function get_amount(){return $("input[name=wc-".concat(this.id_dasherized,"-amount]")).val()}},{key:"handle_unsupported_browser",value:function handle_unsupported_browser(){}},{key:"handle_errors",value:function handle_errors(){var _this6=this;var errors=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;this.log("Error getting payment data","error");$("input[name=wc-square-credit-card-payment-nonce]").val("");$("input[name=wc-square-credit-card-buyer-verification-token]").val("");var messages=[];if(errors){var field_order=["none","cardNumber","expirationDate","cvv","postalCode"];if(errors.length>=1){errors.sort(function(a,b){return field_order.indexOf(a.field)-field_order.indexOf(b.field)})}$(errors).each(function(index,error){if("UNSUPPORTED_CARD_BRAND"===error.type||"VALIDATION_ERROR"===error.type){return messages.push(error.message.replace(/CVV/,"CSC"))}return _this6.log_data(errors,"response")})}if(messages.length===0){messages.push(this.general_error)}if(!this.is_add_payment_method_page&&!this.is_manual_order_payment){this.render_checkout_errors(messages)}else{this.render_errors(messages)}this.unblock_ui()}},{key:"render_errors",value:function render_errors(errors){$(".woocommerce-error, .woocommerce-message").remove();this.form.prepend("<ul class=\"woocommerce-error\"><li>"+errors.join("</li><li>")+"</li></ul>");this.form.removeClass("processing").unblock();this.form.find(".input-text, select").trigger("blur");$("html, body").animate({scrollTop:this.form.offset().top-100},1000)}},{key:"block_ui",value:function block_ui(){this.form.block({message:null,overlayCSS:{background:"#fff",opacity:0.6}})}},{key:"unblock_ui",value:function unblock_ui(){return this.form.unblock()}},{key:"hide_save_payment_checkbox",value:function hide_save_payment_checkbox(id_dasherized){var $parent_row=$("input.js-wc-".concat(id_dasherized,"-tokenize-payment-method")).closest("p.form-row");$parent_row.hide();$parent_row.next().hide()}},{key:"show_save_payment_checkbox",value:function show_save_payment_checkbox(id_dasherized){var $parent_row=$("input.js-wc-".concat(id_dasherized,"-tokenize-payment-method")).closest("p.form-row");$parent_row.slideDown();$parent_row.next().show()}},{key:"has_nonce",value:function has_nonce(){return $("input[name=wc-".concat(this.id_dasherized,"-payment-nonce]")).val()}},{key:"has_verification_token",value:function has_verification_token(){return $("input[name=wc-".concat(this.id_dasherized,"-buyer-verification-token]")).val()}},{key:"log_data",value:function log_data(data,type){if(!this.logging_enabled){return}var ajax_data={action:"wc_"+this.id+"_log_js_data",security:this.ajax_log_nonce,type:type,data:data};$.ajax({url:this.ajax_url,data:ajax_data})}},{key:"log",value:function log(message){var type=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"notice";if(!this.logging_enabled){return}if("error"===type){console.error("Square Error: "+message)}else{console.log("Square: "+message)}}},{key:"render_checkout_errors",value:function render_checkout_errors(square_errors){var _this7=this;var ajax_url=wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%",this.id+"_checkout_handler");var square_handler=this;var form_data=this.form.serializeArray();form_data.push({name:"wc_"+this.id+"_checkout_validate_nonce",value:this.ajax_wc_checkout_validate_nonce});return $.ajax({url:ajax_url,method:"post",cache:false,data:form_data,complete:function complete(response){var result=response.responseJSON;if(result.hasOwnProperty("result")&&"failure"===result.result){$(result.messages).map(function(message){var errors=[];$(message).children("li").each(function(){errors.push($(_this7).text().trim())});return square_errors.unshift.apply(square_errors,errors)})}else if(result.hasOwnProperty("success")&&!result.success){square_errors.unshift.apply(square_errors,_toConsumableArray(result.data.messages))}square_handler.render_errors(square_errors)}})}}]);return WC_Square_Payment_Form_Handler}();window.WC_Square_Payment_Form_Handler=WC_Square_Payment_Form_Handler});
|
| 2 |
+
//# sourceMappingURL=wc-square.min.js.map
|
assets/js/frontend/wc-square.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":3,"sources":["wc-square.min.js"],"names":["_toConsumableArray","arr","Array","isArray","i","arr2","length","from","_classCallCheck","instance","Constructor","TypeError","_createClass","defineProperties","target","props","descriptor","enumerable","configurable","writable","Object","defineProperty","key","protoProps","staticProps","prototype","indexOf","jQuery","document","ready","$","window","WC_Square_Payment_Form_Handler","args","this","set_payment_fields","bind","get_form_params","handle_input_event","handle_verify_buyer_response","id","id_dasherized","csc_required","enabled_card_types","square_card_types","ajax_log_nonce","ajax_url","application_id","currency_code","general_error","input_styles","is_3ds_enabled","is_3d_secure_enabled","is_add_payment_method_page","is_checkout_registration_enabled","is_user_logged_in","location_id","logging_enabled","ajax_wc_checkout_validate_nonce","is_manual_order_payment","form","handle_checkout_page","handle_pay_page","log","handle_add_payment_method_page","params","body","on","val","payment_form","recalculateSize","value","_this","handle_saved_payment_methods","validate_payment_data","$new_payment_method_selection","form_handler","change","slideUp","slideDown","is","show_save_payment_checkbox","hide_save_payment_checkbox","_this2","submit","_this3","_","field","ref","form_fields","attr","replaceWith","handle_form_loaded","destroy","SqPaymentForm","build","_this4","card_number","expiration","csc","postal_code","applicationId","locationId","cardNumber","elementId","placeholder","data","expirationDate","cvv","postalCode","inputClass","inputStyles","callbacks","inputEventReceived","event","cardNonceResponseReceived","errors","nonce","cardData","handle_card_nonce_response","unsupportedBrowserDetected","handle_unsupported_browser","paymentFormLoaded","setPostalCode","addClass","$input","eventType","handle_card_brand_change","cardBrand","brand","card_class","c","replace","call","tokenized_card_id","has_nonce","get_tokenized_payment_method_id","has_verification_token","block_ui","verifyBuyer","get_verification_details","requestCardNonce","find","message","handle_errors","log_data","last_4","exp_month","exp_year","billing_postal_code","verification_result","each","index","error","token","ref1","ref2","ref3","ref4","ref5","ref6","ref7","ref8","ref9","verification_details","billingContact","familyName","givenName","email","country","region","city","phone","addressLines","intent","get_intent","amount","get_amount","currencyCode","$save_method_input","save_payment_method","field_order","messages","_this5","arguments","undefined","sort","a","b","type","push","render_errors","render_checkout_errors","unblock_ui","remove","prepend","join","removeClass","unblock","blur","animate","scrollTop","offset","top","block","overlayCSS","background","opacity","$parent_row","closest","hide","next","show","ajax_data","action","security","ajax","url","console","square_errors","form_data","square_handler","wc_cart_fragments_params","wc_ajax_url","toString","serializeArray","name","method","cache","complete","response","result","responseJSON","hasOwnProperty","map","children","text","trim","unshift","apply","success"],"mappings":"AAAA,aAIA,SAASA,mBAAmBC,GAAO,GAAIC,MAAMC,QAAQF,GAAM,CAAE,IAAK,IAAIG,EAAI,EAAGC,EAAOH,MAAMD,EAAIK,QAASF,EAAIH,EAAIK,OAAQF,IAAOC,EAAKD,GAAKH,EAAIG,GAAM,OAAOC,EAAe,OAAOH,MAAMK,KAAKN,GAE1L,SAASO,gBAAgBC,EAAUC,GAAe,KAAMD,aAAoBC,GAAgB,MAAM,IAAIC,UAAU,qCAJhH,IAAIC,aAAe,WAAc,SAASC,EAAiBC,EAAQC,GAAS,IAAK,IAAIX,EAAI,EAAGA,EAAIW,EAAMT,OAAQF,IAAK,CAAE,IAAIY,EAAaD,EAAMX,GAAIY,EAAWC,WAAaD,EAAWC,aAAc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AAM0M,OAAOC,UAE7BlB,EAAcmB,QAAQC,MAAMpB,EAAe3N,mBAAmBoH,MAG9DmH,EAAOE,eAAe,aAAeF,EAAOS,SACrDrB,EAAcmB,QAAQC,MAAMpB,EAAe3N,mBAAmBuO,EAAO7H,KAAK4E,WAErEuC,EAAe9B,cAAc4B,UAMrC3L,EArvBsC,OAwvBhDqG,UAAKoD","file":"wc-square.min.js"}
|
| 1 |
+
{"version":3,"sources":["wc-square.js"],"names":["jQuery","document","ready","$","WC_Square_Payment_Form_Handler","args","id","id_dasherized","csc_required","enabled_card_types","square_card_types","ajax_log_nonce","ajax_url","application_id","currency_code","general_error","input_styles","is_3ds_enabled","is_3d_secure_enabled","is_add_payment_method_page","is_checkout_registration_enabled","is_user_logged_in","location_id","logging_enabled","ajax_wc_checkout_validate_nonce","is_manual_order_payment","length","form","handle_checkout_page","handle_pay_page","handle_add_payment_method_page","log","params","window","sv_wc_payment_gateway_payment_form_params","body","on","val","payment_form","recalculateSize","set_payment_fields","handle_saved_payment_methods","validate_payment_data","form_handler","$new_payment_method_selection","tokenized_payment_method_selected","slideUp","slideDown","trigger","e","target","is","show_save_payment_checkbox","hide_save_payment_checkbox","Object","entries","form_fields","_","field","attr","replaceWith","handle_form_loaded","destroy","SqPaymentForm","get_form_params","build","card_number","expiration","csc","postal_code","applicationId","locationId","cardNumber","elementId","placeholder","data","expirationDate","cvv","postalCode","inputClass","inputStyles","callbacks","inputEventReceived","handle_input_event","cardNonceResponseReceived","errors","nonce","cardData","handle_card_nonce_response","unsupportedBrowserDetected","handle_unsupported_browser","paymentFormLoaded","setPostalCode","addClass","$input","eventType","handle_card_brand_change","cardBrand","brand","i","c","replace","card_class","includes","has_nonce","tokenized_card_id","get_tokenized_payment_method_id","has_verification_token","block_ui","verifyBuyer","get_verification_details","handle_verify_buyer_response","bind","requestCardNonce","find","handle_errors","message","log_data","last_4","exp_month","exp_year","billing_postal_code","verification_result","each","index","error","token","verification_details","billingContact","familyName","givenName","email","country","region","city","phone","addressLines","intent","get_intent","amount","get_amount","currencyCode","$save_method_input","save_payment_method","messages","field_order","sort","a","b","indexOf","type","push","render_checkout_errors","render_errors","unblock_ui","remove","prepend","join","removeClass","unblock","animate","scrollTop","offset","top","block","overlayCSS","background","opacity","$parent_row","closest","hide","next","show","ajax_data","action","security","ajax","url","console","square_errors","wc_cart_fragments_params","wc_ajax_url","toString","square_handler","form_data","serializeArray","name","value","method","cache","complete","response","result","responseJSON","hasOwnProperty","map","children","text","trim","unshift","success"],"mappings":"q8EAOAA,MAAM,CAAEC,QAAF,CAAN,CAAmBC,KAAnB,CAA0B,SAAEC,CAAF,CAAS,IAM5BC,CAAAA,8BAN4B,YAcjC,wCAAaC,IAAb,CAAoB,qEACnB,KAAKC,EAAL,CAAUD,IAAI,CAACC,EAAf,CACA,KAAKC,aAAL,CAAqBF,IAAI,CAACE,aAA1B,CACA,KAAKC,YAAL,CAAoBH,IAAI,CAACG,YAAzB,CACA,KAAKC,kBAAL,CAA0BJ,IAAI,CAACI,kBAA/B,CACA,KAAKC,iBAAL,CAAyBL,IAAI,CAACK,iBAA9B,CACA,KAAKC,cAAL,CAAsBN,IAAI,CAACM,cAA3B,CACA,KAAKC,QAAL,CAAgBP,IAAI,CAACO,QAArB,CACA,KAAKC,cAAL,CAAsBR,IAAI,CAACQ,cAA3B,CACA,KAAKC,aAAL,CAAqBT,IAAI,CAACS,aAA1B,CACA,KAAKC,aAAL,CAAqBV,IAAI,CAACU,aAA1B,CACA,KAAKC,YAAL,CAAoBX,IAAI,CAACW,YAAzB,CACA,KAAKC,cAAL,CAAsBZ,IAAI,CAACa,oBAA3B,CACA,KAAKC,0BAAL,CAAkCd,IAAI,CAACc,0BAAvC,CACA,KAAKC,gCAAL,CAAwCf,IAAI,CAACe,gCAA7C,CACA,KAAKC,iBAAL,CAAyBhB,IAAI,CAACgB,iBAA9B,CACA,KAAKC,WAAL,CAAmBjB,IAAI,CAACiB,WAAxB,CACA,KAAKC,eAAL,CAAuBlB,I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AAAA,MAAM,CAAG,EAAf,CAEAlF,CAAC,CAAEiH,OAAF,CAAD,CAAagF,QAAb,CAAuB,IAAvB,EAA8BzE,IAA9B,CAAoC,UAAM,CACzCtC,MAAM,CAACkE,IAAP,CAAapJ,CAAC,CAAE,MAAF,CAAD,CAAUkM,IAAV,GAAiBC,IAAjB,EAAb,CACA,CAFD,EAIA,MAAOnB,CAAAA,aAAa,CAACoB,OAAd,OAAApB,aAAa,CAAa9F,MAAb,CACpB,CARD,CAWA,CAZD,IAYO,IAAK2G,MAAM,CAACE,cAAP,CAAuB,SAAvB,GAAsC,CAAEF,MAAM,CAACQ,OAApD,CAA8D,CACpErB,aAAa,CAACoB,OAAd,OAAApB,aAAa,oBAAaa,MAAM,CAACrH,IAAP,CAAYqE,QAAzB,EACb,CAEDuC,cAAc,CAAC9B,aAAf,CAA8B0B,aAA9B,CACA,CA3Ba,CAAR,CA6BP,CArwBgC,6CAwwBlClJ,MAAM,CAAC7B,8BAAP,CAAwCA,8BACxC,CAzwBD","sourcesContent":["/* global wc_cart_fragments_params */\n\n/**\n * WooCommerce Square Payment Form handler.\n *\n * @since 2.0.0\n */\njQuery( document ).ready( ( $ ) => {\n\t/**\n\t * Square Credit Card Payment Form Handler class.\n\t *\n\t * @since 2.0.0\n\t */\n\tclass WC_Square_Payment_Form_Handler {\n\t\t/**\n\t\t * Setup handler.\n\t\t *\n\t\t * @since 2.3.2-1\n\t\t *\n\t\t * @param {Object} args\n\t\t */\n\t\tconstructor( args ) {\n\t\t\tthis.id = args.id;\n\t\t\tthis.id_dasherized = args.id_dasherized;\n\t\t\tthis.csc_required = args.csc_required;\n\t\t\tthis.enabled_card_types = args.enabled_card_types;\n\t\t\tthis.square_card_types = args.square_card_types;\n\t\t\tthis.ajax_log_nonce = args.ajax_log_nonce;\n\t\t\tthis.ajax_url = args.ajax_url;\n\t\t\tthis.application_id = args.application_id;\n\t\t\tthis.currency_code = args.currency_code;\n\t\t\tthis.general_error = args.general_error;\n\t\t\tthis.input_styles = args.input_styles;\n\t\t\tthis.is_3ds_enabled = args.is_3d_secure_enabled;\n\t\t\tthis.is_add_payment_method_page = args.is_add_payment_method_page;\n\t\t\tthis.is_checkout_registration_enabled = args.is_checkout_registration_enabled;\n\t\t\tthis.is_user_logged_in = args.is_user_logged_in;\n\t\t\tthis.location_id = args.location_id;\n\t\t\tthis.logging_enabled = args.logging_enabled;\n\t\t\tthis.ajax_wc_checkout_validate_nonce = args.ajax_wc_checkout_validate_nonce;\n\t\t\tthis.is_manual_order_payment = args.is_manual_order_payment;\n\n\t\t\tif ( $( 'form.checkout' ).length ) {\n\t\t\t\tthis.form = $( 'form.checkout' );\n\t\t\t\tthis.handle_checkout_page();\n\t\t\t} else if ( $( 'form#order_review' ).length ) {\n\t\t\t\tthis.form = $( 'form#order_review' );\n\t\t\t\tthis.handle_pay_page();\n\t\t\t} else if ( $( 'form#add_payment_method' ).length ) {\n\t\t\t\tthis.form = $( 'form#add_payment_method' );\n\t\t\t\tthis.handle_add_payment_method_page();\n\t\t\t} else {\n\t\t\t\tthis.log( 'No payment form found!' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// localized error messages.\n\t\t\tthis.params = window.sv_wc_payment_gateway_payment_form_params;\n\n\t\t\t// unblock the UI and clear any payment nonces when a server-side error occurs.\n\t\t\t$( document.body ).on( 'checkout_error', () => {\n\t\t\t\t$( 'input[name=wc-square-credit-card-payment-nonce]' ).val( '' );\n\t\t\t\t$( 'input[name=wc-square-credit-card-buyer-verification-token]' ).val( '' );\n\t\t\t} );\n\n\t\t\t$( document.body ).on( 'click', `#payment_method_${ this.id }`, () => {\n\t\t\t\tif ( this.payment_form ) {\n\t\t\t\t\tthis.log( 'Recalculating payment form size' );\n\t\t\t\t\tthis.payment_form.recalculateSize();\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t/**\n\t\t * Public: Handle required actions on the checkout page.\n\t\t */\n\t\thandle_checkout_page() {\n\t\t\t// updated payment fields jQuery object on each checkout update (prevents stale data).\n\t\t\t$( document.body ).on( 'updated_checkout', () => this.set_payment_fields() );\n\n\t\t\t// handle saved payment methods note on the checkout page.\n\t\t\t// this is bound to `updated_checkout` so it fires even when other parts of the checkout are changed.\n\t\t\t$( document.body ).on( 'updated_checkout', () => this.handle_saved_payment_methods() );\n\n\t\t\t// validate payment data before order is submitted.\n\t\t\tthis.form.on( `checkout_place_order_${ this.id }`, () => this.validate_payment_data() );\n\t\t}\n\n\t\t/**\n\t\t * Public: Handle associated actions for saved payment methods.\n\t\t */\n\t\thandle_saved_payment_methods() {\n\t\t\t// make available inside change events.\n\t\t\tconst id_dasherized = this.id_dasherized;\n\t\t\tconst form_handler = this;\n\t\t\tconst $new_payment_method_selection = $( `div.js-wc-${ id_dasherized }-new-payment-method-form` );\n\n\t\t\t// show/hide the saved payment methods when a saved payment method is de-selected/selected.\n\t\t\t$( `input.js-wc-${ this.id_dasherized }-payment-token` ).on( 'change', () => {\n\t\t\t\tconst tokenized_payment_method_selected = $( `input.js-wc-${ id_dasherized }-payment-token:checked` ).val();\n\n\t\t\t\tif ( tokenized_payment_method_selected ) {\n\t\t\t\t\t// using an existing tokenized payment method, hide the 'new method' fields.\n\t\t\t\t\t$new_payment_method_selection.slideUp( 200 );\n\t\t\t\t} else {\n\t\t\t\t\t// use new payment method, display the 'new method' fields.\n\t\t\t\t\t$new_payment_method_selection.slideDown( 200 );\n\t\t\t\t}\n\t\t\t} ).trigger( 'change' );\n\n\t\t\t// display the 'save payment method' option for guest checkouts if the 'create account' option is checked\n\t\t\t// but only hide the input if there is a 'create account' checkbox (some themes just display the password).\n\t\t\t$( 'input#createaccount' ).on( 'change', ( e ) => {\n\t\t\t\tif ( $( e.target ).is( ':checked' ) ) {\n\t\t\t\t\tform_handler.show_save_payment_checkbox( id_dasherized );\n\t\t\t\t} else {\n\t\t\t\t\tform_handler.hide_save_payment_checkbox( id_dasherized );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tif ( ! $( 'input#createaccount' ).is( ':checked' ) ) {\n\t\t\t\t$( 'input#createaccount' ).trigger( 'change' );\n\t\t\t}\n\n\t\t\t// hide the 'save payment method' when account creation is not enabled and customer is not logged in.\n\t\t\tif ( ! this.is_user_logged_in && ! this.is_checkout_registration_enabled ) {\n\t\t\t\tthis.hide_save_payment_checkbox( id_dasherized );\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Public: Handle required actions on the Order > Pay page.\n\t\t */\n\t\thandle_pay_page() {\n\t\t\tthis.set_payment_fields();\n\n\t\t\t// handle saved payment methods.\n\t\t\tthis.handle_saved_payment_methods();\n\n\t\t\t// validate payment data before order is submitted.\n\t\t\t// but only when one of our payment gateways is selected.\n\t\t\tthis.form.on( 'submit', () => ( $( '#order_review input[name=payment_method]:checked' ).val() === this.id ) && this.validate_payment_data() );\n\t\t}\n\n\t\t/**\n\t\t * Public: Handle required actions on the Add Payment Method page.\n\t\t */\n\t\thandle_add_payment_method_page() {\n\t\t\tthis.set_payment_fields();\n\n\t\t\t// validate payment data before order is submitted.\n\t\t\t// but only when one of our payment gateways is selected.\n\t\t\tthis.form.on( 'submit', () => ( $( '#add_payment_method input[name=payment_method]:checked' ).val() === this.id ) && this.validate_payment_data() );\n\t\t}\n\n\t\t/**\n\t\t * Sets up the Square payment fields.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\tset_payment_fields() {\n\t\t\tif ( ! $( `#wc-${ this.id_dasherized }-account-number-hosted` ).length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( $( `#wc-${ this.id_dasherized }-account-number-hosted` ).is( 'iframe' ) ) {\n\t\t\t\tthis.log( 'Re-adding payment form' );\n\n\t\t\t\tfor ( const [ _, field ] of Object.entries( this.form_fields ) ) { // eslint-disable-line no-unused-vars\n\t\t\t\t\t$( field.attr( 'id' ) ).replaceWith( field );\n\t\t\t\t}\n\n\t\t\t\tthis.handle_form_loaded();\n\t\t\t} else {\n\t\t\t\tif ( this.payment_form ) {\n\t\t\t\t\tthis.log( 'Destroying payment form' );\n\t\t\t\t\tthis.payment_form.destroy();\n\t\t\t\t\tthis.payment_form = null;\n\t\t\t\t}\n\n\t\t\t\tthis.log( 'Building payment form' );\n\n\t\t\t\tthis.payment_form = new SqPaymentForm( this.get_form_params() ); // eslint-disable-line no-undef\n\n\t\t\t\tthis.payment_form.build();\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Gets the Square payment form params.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @return {Object} Form params.\n\t\t */\n\t\tget_form_params() {\n\t\t\tthis.form_fields = {\n\t\t\t\tcard_number: $( `#wc-${ this.id_dasherized }-account-number-hosted` ),\n\t\t\t\texpiration: $( `#wc-${ this.id_dasherized }-expiry-hosted` ),\n\t\t\t\tcsc: $( `#wc-${ this.id_dasherized }-csc-hosted` ),\n\t\t\t\tpostal_code: $( `#wc-${ this.id_dasherized }-postal-code-hosted` ),\n\t\t\t};\n\n\t\t\treturn {\n\t\t\t\tapplicationId: this.application_id,\n\t\t\t\tlocationId: this.location_id,\n\t\t\t\tcardNumber: {\n\t\t\t\t\telementId: this.form_fields.card_number.attr( 'id' ),\n\t\t\t\t\tplaceholder: this.form_fields.card_number.data( 'placeholder' ),\n\t\t\t\t},\n\t\t\t\texpirationDate: {\n\t\t\t\t\telementId: this.form_fields.expiration.attr( 'id' ),\n\t\t\t\t\tplaceholder: this.form_fields.expiration.data( 'placeholder' ),\n\t\t\t\t},\n\t\t\t\tcvv: {\n\t\t\t\t\telementId: this.form_fields.csc.attr( 'id' ),\n\t\t\t\t\tplaceholder: this.form_fields.csc.data( 'placeholder' ),\n\t\t\t\t},\n\t\t\t\tpostalCode: {\n\t\t\t\t\telementId: this.form_fields.postal_code.attr( 'id' ),\n\t\t\t\t\tplaceholder: this.form_fields.postal_code.data( 'placeholder' ),\n\t\t\t\t},\n\t\t\t\tinputClass: `wc-${ this.id_dasherized }-payment-field`,\n\t\t\t\tinputStyles: this.input_styles,\n\t\t\t\tcallbacks: {\n\t\t\t\t\tinputEventReceived: ( e ) => this.handle_input_event( e ),\n\t\t\t\t\tcardNonceResponseReceived: ( errors, nonce, cardData ) => this.handle_card_nonce_response( errors, nonce, cardData ),\n\t\t\t\t\tunsupportedBrowserDetected: () => this.handle_unsupported_browser(),\n\t\t\t\t\tpaymentFormLoaded: () => this.handle_form_loaded(),\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\n\t\t/**\n\t\t * Handles when the payment form is fully loaded.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\thandle_form_loaded() {\n\t\t\tthis.log( 'Payment form loaded' );\n\n\t\t\tthis.payment_form.setPostalCode( $( '#billing_postcode' ).val() );\n\n\t\t\t// hide the postcode field on the checkout page or if it already has a value.\n\t\t\tif ( $( 'form.checkout' ).length || $( '#billing_postcode' ).val() ) {\n\t\t\t\t$( '.wc-square-credit-card-card-postal-code-parent' ).addClass( 'hidden' );\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Handles payment form input changes.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {Object} e\n\t\t */\n\t\thandle_input_event( e ) {\n\t\t\tconst $input = $( '#' + e.elementId );\n\n\t\t\tif ( e.eventType === 'cardBrandChanged' ) {\n\t\t\t\tthis.handle_card_brand_change( e.cardBrand, $input );\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Handles card number brand changes.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {string} brand\n\t\t * @param {Object} $input\n\t\t */\n\t\thandle_card_brand_change( brand, $input ) {\n\t\t\tthis.log( `Card brand changed to ${ brand }` );\n\n\t\t\t// clear any existing card type class\n\t\t\t$input.attr( 'class', ( i, c ) => {\n\t\t\t\treturn c.replace( /(^|\\s)card-type-\\S+/g, '' );\n\t\t\t} );\n\n\t\t\tlet card_class = 'plain';\n\n\t\t\tif ( null === brand || 'unknown' === brand ) {\n\t\t\t\tbrand = '';\n\t\t\t}\n\n\t\t\tif ( null !== this.square_card_types[ brand ] ) {\n\t\t\t\tbrand = this.square_card_types[ brand ];\n\t\t\t}\n\n\t\t\tif ( brand && ! this.enabled_card_types.includes( brand ) ) {\n\t\t\t\tcard_class = 'invalid';\n\t\t\t} else {\n\t\t\t\tcard_class = brand;\n\t\t\t}\n\n\t\t\t$( `input[name=wc-${ this.id_dasherized }-card-type]` ).val( brand );\n\n\t\t\t$input.addClass( `card-type-${ card_class }` );\n\t\t}\n\n\t\t/**\n\t\t * Used to request a card nonce and submit the form.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\tvalidate_payment_data() {\n\t\t\tif ( this.form.is( '.processing' ) ) {\n\t\t\t\t// bail when already processing.\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// let through if nonce is already present - nonce is only present on non-tokenized payments.\n\t\t\tif ( this.has_nonce() ) {\n\t\t\t\tthis.log( 'Payment nonce present, placing order' );\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tconst tokenized_card_id = this.get_tokenized_payment_method_id();\n\n\t\t\tif ( tokenized_card_id ) {\n\t\t\t\tif ( ! this.is_3ds_enabled ) {\n\t\t\t\t\t// if 3DS is disabled and paying with a saved method, no further validation needed.\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tif ( this.has_verification_token() ) {\n\t\t\t\t\tthis.log( 'Tokenized payment verification token present, placing order' );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tthis.log( 'Requesting verification token for tokenized payment' );\n\n\t\t\t\tthis.block_ui();\n\t\t\t\tthis.payment_form.verifyBuyer( tokenized_card_id, this.get_verification_details(), this.handle_verify_buyer_response.bind( this ) );\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tthis.log( 'Requesting payment nonce' );\n\t\t\tthis.block_ui();\n\t\t\tthis.payment_form.requestCardNonce();\n\t\t\treturn false;\n\t\t}\n\n\t\t/**\n\t\t * Gets the selected tokenized payment method ID, if there is one.\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @return {string} Tokenized payment method ID.\n\t\t */\n\t\tget_tokenized_payment_method_id() {\n\t\t\treturn $( `.payment_method_${ this.id }` ).find( '.js-wc-square-credit-card-payment-token:checked' ).val();\n\t\t}\n\n\t\t/**\n\t\t * Handles the Square payment form card nonce response.\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @param {Object} errors Validation errors, if any.\n\t\t * @param {string} nonce Payment nonce.\n\t\t * @param {Object} cardData Non-confidential info about the card used.\n\t\t */\n\t\thandle_card_nonce_response( errors, nonce, cardData ) {\n\t\t\t// if we have real errors to display from Square.\n\t\t\tif ( errors ) {\n\t\t\t\treturn this.handle_errors( errors );\n\t\t\t}\n\n\t\t\t// no errors, but also no payment data.\n\t\t\tif ( ! nonce ) {\n\t\t\t\tconst message = 'Nonce is missing from the Square response';\n\n\t\t\t\tthis.log( message, 'error' );\n\t\t\t\tthis.log_data( message, 'response' );\n\t\t\t\treturn this.handle_errors();\n\t\t\t}\n\n\t\t\t// if we made it this far, we have payment data.\n\t\t\tthis.log( 'Card data received' );\n\t\t\tthis.log( cardData );\n\t\t\tthis.log_data( cardData, 'response' );\n\n\t\t\tif ( cardData.last_4 ) {\n\t\t\t\t$( `input[name=wc-${ this.id_dasherized }-last-four]` ).val( cardData.last_4 );\n\t\t\t}\n\n\t\t\tif ( cardData.exp_month ) {\n\t\t\t\t$( `input[name=wc-${ this.id_dasherized }-exp-month]` ).val( cardData.exp_month );\n\t\t\t}\n\n\t\t\tif ( cardData.exp_year ) {\n\t\t\t\t$( `input[name=wc-${ this.id_dasherized }-exp-year]` ).val( cardData.exp_year );\n\t\t\t}\n\n\t\t\tif ( cardData.billing_postal_code ) {\n\t\t\t\t$( `input[name=wc-${ this.id_dasherized }-payment-postcode]` ).val( cardData.billing_postal_code );\n\t\t\t}\n\n\t\t\t// payment nonce data.\n\t\t\t$( `input[name=wc-${ this.id_dasherized }-payment-nonce]` ).val( nonce );\n\n\t\t\t// if 3ds is enabled, we need to verify the buyer and record the verification token before continuing.\n\t\t\tif ( this.is_3ds_enabled ) {\n\t\t\t\tthis.log( 'Verifying buyer' );\n\n\t\t\t\tthis.payment_form.verifyBuyer( nonce, this.get_verification_details(), this.handle_verify_buyer_response.bind( this ) );\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// now that we have a nonce, resubmit the form.\n\t\t\tthis.form.trigger( 'submit' );\n\t\t}\n\n\t\t/**\n\t\t * Handles the response from a call to verifyBuyer()\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @param {Object} errors Verification errors, if any.\n\t\t * @param {Object} verification_result Results of verification.\n\t\t */\n\t\thandle_verify_buyer_response( errors, verification_result ) {\n\t\t\tif ( errors ) {\n\t\t\t\t$( errors ).each( ( index, error ) => {\n\t\t\t\t\tif ( ! error.field ) {\n\t\t\t\t\t\terror.field = 'none';\n\t\t\t\t\t}\n\t\t\t\t} );\n\n\t\t\t\treturn this.handle_errors( errors );\n\t\t\t}\n\n\t\t\t// no errors, but also no verification token.\n\t\t\tif ( ! verification_result || ! verification_result.token ) {\n\t\t\t\tconst message = 'Verification token is missing from the Square response';\n\n\t\t\t\tthis.log( message, 'error' );\n\t\t\t\tthis.log_data( message, 'response' );\n\n\t\t\t\treturn this.handle_errors();\n\t\t\t}\n\n\t\t\tthis.log( 'Verification result received' );\n\t\t\tthis.log( verification_result );\n\n\t\t\t$( `input[name=wc-${ this.id_dasherized }-buyer-verification-token]` ).val( verification_result.token );\n\n\t\t\tthis.form.trigger( 'submit' );\n\t\t}\n\n\t\t/**\n\t\t * Gets a verification details object to be used in verifyBuyer()\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @return {Object} Verification details object.\n\t\t */\n\t\tget_verification_details() {\n\t\t\tconst verification_details = {\n\t\t\t\tbillingContact: {\n\t\t\t\t\tfamilyName: $( '#billing_last_name' ).val() || '',\n\t\t\t\t\tgivenName: $( '#billing_first_name' ).val() || '',\n\t\t\t\t\temail: $( '#billing_email' ).val() || '',\n\t\t\t\t\tcountry: $( '#billing_country' ).val() || '',\n\t\t\t\t\tregion: $( '#billing_state' ).val() || '',\n\t\t\t\t\tcity: $( '#billing_city' ).val() || '',\n\t\t\t\t\tpostalCode: $( '#billing_postcode' ).val() || '',\n\t\t\t\t\tphone: $( '#billing_phone' ).val() || '',\n\t\t\t\t\taddressLines: [ $( '#billing_address_1' ).val() || '', $( '#billing_address_2' ).val() || '' ],\n\t\t\t\t},\n\t\t\t\tintent: this.get_intent(),\n\t\t\t};\n\n\t\t\tif ( 'CHARGE' === verification_details.intent ) {\n\t\t\t\tverification_details.amount = this.get_amount();\n\t\t\t\tverification_details.currencyCode = this.currency_code;\n\t\t\t}\n\n\t\t\tthis.log( verification_details );\n\n\t\t\treturn verification_details;\n\t\t}\n\n\t\t/**\n\t\t * Gets the intent of this processing - either 'CHARGE' or 'STORE'\n\t\t *\n\t\t * The gateway stores cards before processing a payment, so this checks whether the customer checked \"save method\"\n\t\t * at checkout, and isn't otherwise using a saved method already.\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @return {string} {'CHARGE'|'STORE'}\n\t\t */\n\t\tget_intent() {\n\t\t\tconst $save_method_input = $( '#wc-square-credit-card-tokenize-payment-method' );\n\n\t\t\tlet save_payment_method;\n\n\t\t\tif ( $save_method_input.is( 'input:checkbox' ) ) {\n\t\t\t\tsave_payment_method = $save_method_input.is( ':checked' );\n\t\t\t} else {\n\t\t\t\tsave_payment_method = 'true' === $save_method_input.val();\n\t\t\t}\n\n\t\t\tif ( ! this.get_tokenized_payment_method_id() && save_payment_method ) {\n\t\t\t\treturn 'STORE';\n\t\t\t}\n\n\t\t\treturn 'CHARGE';\n\t\t}\n\n\t\t/**\n\t\t * Gets the amount of this payment.\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @return {string} Payment amount.\n\t\t */\n\t\tget_amount() {\n\t\t\treturn $( `input[name=wc-${ this.id_dasherized }-amount]` ).val();\n\t\t}\n\n\t\t/**\n\t\t * Handles unsupported browsers.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\thandle_unsupported_browser() {}\n\n\t\t/**\n\t\t * Handle error data.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {Object|null} errors\n\t\t */\n\t\thandle_errors( errors = null ) {\n\t\t\tthis.log( 'Error getting payment data', 'error' );\n\n\t\t\t// clear any previous nonces\n\t\t\t$( 'input[name=wc-square-credit-card-payment-nonce]' ).val( '' );\n\t\t\t$( 'input[name=wc-square-credit-card-buyer-verification-token]' ).val( '' );\n\n\t\t\tconst messages = [];\n\n\t\t\tif ( errors ) {\n\t\t\t\tconst field_order = [ 'none', 'cardNumber', 'expirationDate', 'cvv', 'postalCode' ];\n\n\t\t\t\tif ( errors.length >= 1 ) {\n\t\t\t\t\t// sort based on the field order without the brackets around a.field and b.field.\n\t\t\t\t\t// the precedence is different and gives different results.\n\t\t\t\t\terrors.sort( ( a, b ) => {\n\t\t\t\t\t\treturn field_order.indexOf( a.field ) - field_order.indexOf( b.field );\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\t$( errors ).each( ( index, error ) => {\n\t\t\t\t\t// only display the errors that can be helped by the customer.\n\t\t\t\t\tif ( 'UNSUPPORTED_CARD_BRAND' === error.type || 'VALIDATION_ERROR' === error.type ) {\n\t\t\t\t\t\t// To avoid confusion between CSC used in the frontend and CVV that is used in the error message.\n\t\t\t\t\t\treturn messages.push( error.message.replace( /CVV/, 'CSC' ) );\n\t\t\t\t\t}\n\n\t\t\t\t\t// otherwise, log more serious errors to the debug log.\n\t\t\t\t\treturn this.log_data( errors, 'response' );\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\t// if no specific messages are set, display a general error.\n\t\t\tif ( messages.length === 0 ) {\n\t\t\t\tmessages.push( this.general_error );\n\t\t\t}\n\n\t\t\t// Conditionally process error rendering.\n\t\t\tif ( ! this.is_add_payment_method_page && ! this.is_manual_order_payment ) {\n\t\t\t\tthis.render_checkout_errors( messages );\n\t\t\t} else {\n\t\t\t\tthis.render_errors( messages );\n\t\t\t}\n\n\t\t\tthis.unblock_ui();\n\t\t}\n\n\t\t/**\n\t\t * Public: Render any new errors and bring them into the viewport.\n\t\t *\n\t\t * @param {Array} errors\n\t\t */\n\t\trender_errors( errors ) {\n\t\t\t// hide and remove any previous errors.\n\t\t\t$( '.woocommerce-error, .woocommerce-message' ).remove();\n\n\t\t\t// add errors.\n\t\t\tthis.form.prepend( '<ul class=\"woocommerce-error\"><li>' + errors.join( '</li><li>' ) + '</li></ul>' );\n\n\t\t\t// unblock UI\n\t\t\tthis.form.removeClass( 'processing' ).unblock();\n\t\t\tthis.form.find( '.input-text, select' ).trigger( 'blur' );\n\n\t\t\t// scroll to top\n\t\t\t$( 'html, body' ).animate( {\n\t\t\t\tscrollTop: this.form.offset().top - 100,\n\t\t\t}, 1000 );\n\t\t}\n\n\t\t/**\n\t\t * Blocks the payment form UI.\n\t\t *\n\t\t * @since 3.0.0\n\t\t */\n\t\tblock_ui() {\n\t\t\tthis.form.block( {\n\t\t\t\tmessage: null,\n\t\t\t\toverlayCSS: {\n\t\t\t\t\tbackground: '#fff',\n\t\t\t\t\topacity: 0.6,\n\t\t\t\t},\n\t\t\t} );\n\t\t}\n\n\t\t/**\n\t\t * Unblocks the payment form UI.\n\t\t *\n\t\t * @since 3.0.0\n\t\t */\n\t\tunblock_ui() {\n\t\t\treturn this.form.unblock();\n\t\t}\n\n\t\t/**\n\t\t * Hides save payment method checkbox.\n\t\t *\n\t\t * @since 2.1.2\n\t\t *\n\t\t * @param {string} id_dasherized\n\t\t */\n\t\thide_save_payment_checkbox( id_dasherized ) {\n\t\t\tconst $parent_row = $( `input.js-wc-${ id_dasherized }-tokenize-payment-method` ).closest( 'p.form-row' );\n\n\t\t\t$parent_row.hide();\n\t\t\t$parent_row.next().hide();\n\t\t}\n\n\t\t/**\n\t\t * Shows save payment method checkbox.\n\t\t *\n\t\t * @since 2.1.2\n\t\t *\n\t\t * @param {string} id_dasherized\n\t\t */\n\t\tshow_save_payment_checkbox( id_dasherized ) {\n\t\t\tconst $parent_row = $( `input.js-wc-${ id_dasherized }-tokenize-payment-method` ).closest( 'p.form-row' );\n\n\t\t\t$parent_row.slideDown();\n\t\t\t$parent_row.next().show();\n\t\t}\n\n\t\t/**\n\t\t * Determines if a nonce is present in the hidden input.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @return {boolean} True if nonce is present, otherwise false.\n\t\t */\n\t\thas_nonce() {\n\t\t\treturn $( `input[name=wc-${ this.id_dasherized }-payment-nonce]` ).val();\n\t\t}\n\n\t\t/**\n\t\t * Determines if a verification token is present in the hidden input.\n\t\t *\n\t\t * @since 2.1.0\n\t\t *\n\t\t * @return {boolean} True if verification token is present, otherwise false.\n\t\t */\n\t\thas_verification_token() {\n\t\t\treturn $( `input[name=wc-${ this.id_dasherized }-buyer-verification-token]` ).val();\n\t\t}\n\n\t\t/**\n\t\t * Logs data to the debug log via AJAX.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {Object} data Request data.\n\t\t * @param {string} type Data type.\n\t\t */\n\t\tlog_data( data, type ) {\n\t\t\t// if logging is disabled, bail.\n\t\t\tif ( ! this.logging_enabled ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst ajax_data = {\n\t\t\t\taction: 'wc_' + this.id + '_log_js_data',\n\t\t\t\tsecurity: this.ajax_log_nonce,\n\t\t\t\ttype,\n\t\t\t\tdata,\n\t\t\t};\n\n\t\t\t$.ajax( {\n\t\t\t\turl: this.ajax_url,\n\t\t\t\tdata: ajax_data,\n\t\t\t} );\n\t\t}\n\n\t\t/**\n\t\t * Logs any messages or errors to the console.\n\t\t *\n\t\t * @since 2.0.0\n\t\t *\n\t\t * @param {string} message\n\t\t * @param {string} type Data type.\n\t\t */\n\t\tlog( message, type = 'notice' ) {\n\t\t\t// if logging is disabled, bail.\n\t\t\tif ( ! this.logging_enabled ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'error' === type ) {\n\t\t\t\tconsole.error( 'Square Error: ' + message );\n\t\t\t} else {\n\t\t\t\tconsole.log( 'Square: ' + message );\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * AJAX validate WooCommerce form data.\n\t\t *\n\t\t * Triggered only if errors are present on Square payment form.\n\t\t *\n\t\t * @since 2.2\n\t\t *\n\t\t * @param {Array} square_errors Square validation errors.\n\t\t */\n\t\trender_checkout_errors( square_errors ) {\n\t\t\tconst ajax_url = wc_cart_fragments_params.wc_ajax_url.toString().replace( '%%endpoint%%', this.id + '_checkout_handler' );\n\t\t\tconst square_handler = this;\n\n\t\t\tconst form_data = this.form.serializeArray();\n\n\t\t\t// Add action field to data for nonce verification.\n\t\t\tform_data.push( {\n\t\t\t\tname: 'wc_' + this.id + '_checkout_validate_nonce',\n\t\t\t\tvalue: this.ajax_wc_checkout_validate_nonce,\n\t\t\t} );\n\n\t\t\treturn $.ajax( {\n\t\t\t\turl: ajax_url,\n\t\t\t\tmethod: 'post',\n\t\t\t\tcache: false,\n\t\t\t\tdata: form_data,\n\t\t\t\tcomplete: ( response ) => {\n\t\t\t\t\tconst result = response.responseJSON;\n\n\t\t\t\t\t// If validation is not triggered and WooCommerce returns failure.\n\t\t\t\t\t// Temporary workaround to fix problems when user email is invalid.\n\t\t\t\t\tif ( result.hasOwnProperty( 'result' ) && 'failure' === result.result ) {\n\t\t\t\t\t\t$( result.messages ).map( ( message ) => {\n\t\t\t\t\t\t\tconst errors = [];\n\n\t\t\t\t\t\t\t$( message ).children( 'li' ).each( () => {\n\t\t\t\t\t\t\t\terrors.push( $( this ).text().trim() );\n\t\t\t\t\t\t\t} );\n\n\t\t\t\t\t\t\treturn square_errors.unshift( ...errors );\n\t\t\t\t\t\t} );\n\n\t\t\t\t\t// If validation is complete and WooCommerce returns validaiton errors.\n\t\t\t\t\t} else if ( result.hasOwnProperty( 'success' ) && ! result.success ) {\n\t\t\t\t\t\tsquare_errors.unshift( ...result.data.messages );\n\t\t\t\t\t}\n\n\t\t\t\t\tsquare_handler.render_errors( square_errors );\n\t\t\t\t},\n\t\t\t} );\n\t\t}\n\t}\n\n\twindow.WC_Square_Payment_Form_Handler = WC_Square_Payment_Form_Handler;\n} );\n"],"file":"wc-square.min.js"}
|
i18n/languages/woocommerce-square.pot
CHANGED
|
@@ -2,10 +2,10 @@
|
|
| 2 |
# This file is distributed under the GNU General Public License v3.0.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Square 2.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-square\n"
|
| 8 |
-
"POT-Creation-Date: 2021-
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -131,9 +131,6 @@ msgid "Update existing products during import."
|
|
| 131 |
msgstr ""
|
| 132 |
|
| 133 |
#: includes/Admin/Settings_Page.php:189 includes/Admin/Sync_Page.php:393
|
| 134 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:133
|
| 135 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:66
|
| 136 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:227
|
| 137 |
msgid "Cancel"
|
| 138 |
msgstr ""
|
| 139 |
|
|
@@ -214,7 +211,6 @@ msgstr ""
|
|
| 214 |
|
| 215 |
#: includes/Admin/Sync_Page.php:182 includes/Admin/Sync_Page.php:295
|
| 216 |
#: includes/Admin/Sync_Page.php:336
|
| 217 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:426
|
| 218 |
msgid "Actions"
|
| 219 |
msgstr ""
|
| 220 |
|
|
@@ -243,7 +239,6 @@ msgid "Sync now"
|
|
| 243 |
msgstr ""
|
| 244 |
|
| 245 |
#: includes/Admin/Sync_Page.php:293 includes/Admin/Sync_Page.php:334
|
| 246 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:97
|
| 247 |
msgid "Status"
|
| 248 |
msgstr ""
|
| 249 |
|
|
@@ -435,7 +430,6 @@ msgstr ""
|
|
| 435 |
|
| 436 |
#: includes/Gateway/API/Requests/Orders.php:88
|
| 437 |
#: includes/Gateway/Digital_Wallet.php:415
|
| 438 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:555
|
| 439 |
msgid "Discount"
|
| 440 |
msgstr ""
|
| 441 |
|
|
@@ -469,9 +463,6 @@ msgstr ""
|
|
| 469 |
|
| 470 |
#: includes/Gateway/Digital_Wallet.php:205
|
| 471 |
#: includes/Gateway/Payment_Form.php:240 includes/Gateway.php:245
|
| 472 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:216
|
| 473 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2758
|
| 474 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:376
|
| 475 |
msgid "An error occurred, please try again or try an alternate form of payment."
|
| 476 |
msgstr ""
|
| 477 |
|
|
@@ -497,31 +488,27 @@ msgid "This payment method cannot be used for multiple shipments."
|
|
| 497 |
msgstr ""
|
| 498 |
|
| 499 |
#: includes/Gateway/Digital_Wallet.php:357
|
| 500 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:182
|
| 501 |
msgid "Pending"
|
| 502 |
msgstr ""
|
| 503 |
|
| 504 |
#: includes/Gateway/Digital_Wallet.php:399
|
| 505 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:565
|
| 506 |
msgid "Shipping"
|
| 507 |
msgstr ""
|
| 508 |
|
| 509 |
#: includes/Gateway/Digital_Wallet.php:423
|
| 510 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:575
|
| 511 |
msgid "Fees"
|
| 512 |
msgstr ""
|
| 513 |
|
| 514 |
-
#: includes/Gateway/Digital_Wallet.php:
|
| 515 |
-
|
| 516 |
-
"
|
| 517 |
-
"Square digital wallet."
|
| 518 |
msgstr ""
|
| 519 |
|
| 520 |
-
#: includes/Gateway/Digital_Wallet.php:
|
| 521 |
msgid "Empty cart"
|
| 522 |
msgstr ""
|
| 523 |
|
| 524 |
-
#: includes/Gateway/Digital_Wallet.php:
|
| 525 |
msgid "Unable to verify domain with Apple Pay - missing access token."
|
| 526 |
msgstr ""
|
| 527 |
|
|
@@ -544,33 +531,26 @@ msgid ""
|
|
| 544 |
msgstr ""
|
| 545 |
|
| 546 |
#: includes/Gateway.php:580 includes/Gateway.php:750
|
| 547 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:107
|
| 548 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1143
|
| 549 |
msgid "Enable / Disable"
|
| 550 |
msgstr ""
|
| 551 |
|
| 552 |
#: includes/Gateway.php:581
|
| 553 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1144
|
| 554 |
msgid "Enable this gateway"
|
| 555 |
msgstr ""
|
| 556 |
|
| 557 |
#: includes/Gateway.php:587
|
| 558 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1150
|
| 559 |
msgid "Title"
|
| 560 |
msgstr ""
|
| 561 |
|
| 562 |
#: includes/Gateway.php:589
|
| 563 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1152
|
| 564 |
msgid "Payment method title that the customer will see during checkout."
|
| 565 |
msgstr ""
|
| 566 |
|
| 567 |
#: includes/Gateway.php:594
|
| 568 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1157
|
| 569 |
msgid "Description"
|
| 570 |
msgstr ""
|
| 571 |
|
| 572 |
#: includes/Gateway.php:596
|
| 573 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1159
|
| 574 |
msgid "Payment method description that the customer will see during checkout."
|
| 575 |
msgstr ""
|
| 576 |
|
|
@@ -579,25 +559,20 @@ msgid "Advanced Settings"
|
|
| 579 |
msgstr ""
|
| 580 |
|
| 581 |
#: includes/Gateway.php:630
|
| 582 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1188
|
| 583 |
msgid "Detailed Decline Messages"
|
| 584 |
msgstr ""
|
| 585 |
|
| 586 |
#: includes/Gateway.php:632
|
| 587 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1190
|
| 588 |
msgid ""
|
| 589 |
"Check to enable detailed decline messages to the customer during checkout "
|
| 590 |
"when possible, rather than a generic decline message."
|
| 591 |
msgstr ""
|
| 592 |
|
| 593 |
#: includes/Gateway.php:639
|
| 594 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:75
|
| 595 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1197
|
| 596 |
msgid "Debug Mode"
|
| 597 |
msgstr ""
|
| 598 |
|
| 599 |
#: includes/Gateway.php:642
|
| 600 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1200
|
| 601 |
#. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
|
| 602 |
msgid ""
|
| 603 |
"Show Detailed Error Messages and API requests/responses on the checkout "
|
|
@@ -605,24 +580,18 @@ msgid ""
|
|
| 605 |
msgstr ""
|
| 606 |
|
| 607 |
#: includes/Gateway.php:645
|
| 608 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:85
|
| 609 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1203
|
| 610 |
msgid "Off"
|
| 611 |
msgstr ""
|
| 612 |
|
| 613 |
#: includes/Gateway.php:646
|
| 614 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1204
|
| 615 |
msgid "Show on Checkout Page"
|
| 616 |
msgstr ""
|
| 617 |
|
| 618 |
#: includes/Gateway.php:647
|
| 619 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:83
|
| 620 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1205
|
| 621 |
msgid "Save to Log"
|
| 622 |
msgstr ""
|
| 623 |
|
| 624 |
#: includes/Gateway.php:649
|
| 625 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1207
|
| 626 |
#. translators: show debugging information on both checkout page and in the log
|
| 627 |
msgid "Both"
|
| 628 |
msgstr ""
|
|
@@ -818,12 +787,10 @@ msgstr[0] ""
|
|
| 818 |
msgstr[1] ""
|
| 819 |
|
| 820 |
#: includes/Lifecycle.php:185
|
| 821 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:374
|
| 822 |
msgid "Awesome"
|
| 823 |
msgstr ""
|
| 824 |
|
| 825 |
#: includes/Lifecycle.php:186
|
| 826 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:377
|
| 827 |
msgid "Congratulations"
|
| 828 |
msgstr ""
|
| 829 |
|
|
@@ -832,12 +799,10 @@ msgid "Great"
|
|
| 832 |
msgstr ""
|
| 833 |
|
| 834 |
#: includes/Lifecycle.php:188
|
| 835 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:375
|
| 836 |
msgid "Fantastic"
|
| 837 |
msgstr ""
|
| 838 |
|
| 839 |
#: includes/Lifecycle.php:195
|
| 840 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:385
|
| 841 |
#. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
|
| 842 |
#. tag, %4$s - <a> tag, %5$s - </a> tag
|
| 843 |
msgid ""
|
|
@@ -1184,8 +1149,6 @@ msgid "%s not found in Square."
|
|
| 1184 |
msgstr ""
|
| 1185 |
|
| 1186 |
#: includes/Sync/Records/Record.php:545
|
| 1187 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:92
|
| 1188 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:819
|
| 1189 |
msgid "Delete"
|
| 1190 |
msgstr ""
|
| 1191 |
|
|
@@ -1230,2236 +1193,58 @@ msgstr ""
|
|
| 1230 |
msgid "Data must be a non-empty string"
|
| 1231 |
msgstr ""
|
| 1232 |
|
| 1233 |
-
|
| 1234 |
-
|
| 1235 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_AdminView.php:64
|
| 1236 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:89
|
| 1237 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:19
|
| 1238 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:30
|
| 1239 |
-
msgid "Scheduled Actions"
|
| 1240 |
-
msgstr ""
|
| 1241 |
-
|
| 1242 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_InvalidActionException.php:22
|
| 1243 |
-
msgid "Action [%s] has invalid arguments. It cannot be JSON decoded to an array."
|
| 1244 |
-
msgstr ""
|
| 1245 |
-
|
| 1246 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:96
|
| 1247 |
-
msgid "Hook"
|
| 1248 |
-
msgstr ""
|
| 1249 |
-
|
| 1250 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:98
|
| 1251 |
-
msgid "Arguments"
|
| 1252 |
-
msgstr ""
|
| 1253 |
-
|
| 1254 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:99
|
| 1255 |
-
msgid "Group"
|
| 1256 |
-
msgstr ""
|
| 1257 |
-
|
| 1258 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:100
|
| 1259 |
-
msgid "Recurrence"
|
| 1260 |
-
msgstr ""
|
| 1261 |
-
|
| 1262 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:101
|
| 1263 |
-
msgid "Scheduled Date"
|
| 1264 |
-
msgstr ""
|
| 1265 |
-
|
| 1266 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:102
|
| 1267 |
-
msgid "Log"
|
| 1268 |
-
msgstr ""
|
| 1269 |
-
|
| 1270 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:122
|
| 1271 |
-
msgid "Claim ID"
|
| 1272 |
-
msgstr ""
|
| 1273 |
-
|
| 1274 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:129
|
| 1275 |
-
msgid "Run"
|
| 1276 |
-
msgstr ""
|
| 1277 |
-
|
| 1278 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:130
|
| 1279 |
-
msgid "Process the action now as if it were run as part of a queue"
|
| 1280 |
-
msgstr ""
|
| 1281 |
-
|
| 1282 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:134
|
| 1283 |
-
msgid "Cancel the action now to avoid it being run in future"
|
| 1284 |
-
msgstr ""
|
| 1285 |
-
|
| 1286 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:143
|
| 1287 |
-
msgid "%s year"
|
| 1288 |
-
msgid_plural "%s years"
|
| 1289 |
-
msgstr[0] ""
|
| 1290 |
-
msgstr[1] ""
|
| 1291 |
-
|
| 1292 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:147
|
| 1293 |
-
msgid "%s month"
|
| 1294 |
-
msgid_plural "%s months"
|
| 1295 |
-
msgstr[0] ""
|
| 1296 |
-
msgstr[1] ""
|
| 1297 |
-
|
| 1298 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:151
|
| 1299 |
-
msgid "%s week"
|
| 1300 |
-
msgid_plural "%s weeks"
|
| 1301 |
-
msgstr[0] ""
|
| 1302 |
-
msgstr[1] ""
|
| 1303 |
-
|
| 1304 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:155
|
| 1305 |
-
msgid "%s day"
|
| 1306 |
-
msgid_plural "%s days"
|
| 1307 |
-
msgstr[0] ""
|
| 1308 |
-
msgstr[1] ""
|
| 1309 |
-
|
| 1310 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:159
|
| 1311 |
-
msgid "%s hour"
|
| 1312 |
-
msgid_plural "%s hours"
|
| 1313 |
-
msgstr[0] ""
|
| 1314 |
-
msgstr[1] ""
|
| 1315 |
-
|
| 1316 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:163
|
| 1317 |
-
msgid "%s minute"
|
| 1318 |
-
msgid_plural "%s minutes"
|
| 1319 |
-
msgstr[0] ""
|
| 1320 |
-
msgstr[1] ""
|
| 1321 |
-
|
| 1322 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:167
|
| 1323 |
-
msgid "%s second"
|
| 1324 |
-
msgid_plural "%s seconds"
|
| 1325 |
-
msgstr[0] ""
|
| 1326 |
-
msgstr[1] ""
|
| 1327 |
-
|
| 1328 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:194
|
| 1329 |
-
msgid "Now!"
|
| 1330 |
-
msgstr ""
|
| 1331 |
-
|
| 1332 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:227
|
| 1333 |
-
msgid "Every %s"
|
| 1334 |
-
msgstr ""
|
| 1335 |
-
|
| 1336 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:231
|
| 1337 |
-
msgid "Cron %s"
|
| 1338 |
-
msgstr ""
|
| 1339 |
-
|
| 1340 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:235
|
| 1341 |
-
msgid "Non-repeating"
|
| 1342 |
-
msgstr ""
|
| 1343 |
-
|
| 1344 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:321
|
| 1345 |
-
msgid ""
|
| 1346 |
-
"Maximum simultaneous batches already in progress (%s queues). No actions "
|
| 1347 |
-
"will be processed until the current batches are complete."
|
| 1348 |
-
msgstr ""
|
| 1349 |
-
|
| 1350 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:336
|
| 1351 |
-
msgid "Successfully executed action: %s"
|
| 1352 |
-
msgstr ""
|
| 1353 |
-
|
| 1354 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:339
|
| 1355 |
-
msgid "Successfully canceled action: %s"
|
| 1356 |
-
msgstr ""
|
| 1357 |
-
|
| 1358 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:342
|
| 1359 |
-
msgid "Successfully processed change for action: %s"
|
| 1360 |
-
msgstr ""
|
| 1361 |
-
|
| 1362 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:347
|
| 1363 |
-
msgid "Could not process change for action: \"%s\" (ID: %d). Error: %s"
|
| 1364 |
-
msgstr ""
|
| 1365 |
-
|
| 1366 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:392
|
| 1367 |
-
msgid " (%s ago)"
|
| 1368 |
-
msgstr ""
|
| 1369 |
-
|
| 1370 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:394
|
| 1371 |
-
msgid " (%s)"
|
| 1372 |
-
msgstr ""
|
| 1373 |
-
|
| 1374 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_ListTable.php:531
|
| 1375 |
-
msgid "Search hook, args and claim ID"
|
| 1376 |
-
msgstr ""
|
| 1377 |
-
|
| 1378 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:61
|
| 1379 |
-
msgid "action created"
|
| 1380 |
-
msgstr ""
|
| 1381 |
-
|
| 1382 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:65
|
| 1383 |
-
msgid "action canceled"
|
| 1384 |
-
msgstr ""
|
| 1385 |
-
|
| 1386 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:69
|
| 1387 |
-
msgid "action started"
|
| 1388 |
-
msgstr ""
|
| 1389 |
-
|
| 1390 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:73
|
| 1391 |
-
msgid "action complete"
|
| 1392 |
-
msgstr ""
|
| 1393 |
-
|
| 1394 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:77
|
| 1395 |
-
msgid "action failed: %s"
|
| 1396 |
-
msgstr ""
|
| 1397 |
-
|
| 1398 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:81
|
| 1399 |
-
msgid "action timed out after %s seconds"
|
| 1400 |
-
msgstr ""
|
| 1401 |
-
|
| 1402 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:86
|
| 1403 |
-
msgid "unexpected shutdown: PHP Fatal error %s in %s on line %s"
|
| 1404 |
-
msgstr ""
|
| 1405 |
-
|
| 1406 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:91
|
| 1407 |
-
msgid "action reset"
|
| 1408 |
-
msgstr ""
|
| 1409 |
-
|
| 1410 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Logger.php:95
|
| 1411 |
-
msgid "action ignored"
|
| 1412 |
-
msgstr ""
|
| 1413 |
-
|
| 1414 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_QueueRunner.php:110
|
| 1415 |
-
msgid "Every minute"
|
| 1416 |
-
msgstr ""
|
| 1417 |
-
|
| 1418 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:152
|
| 1419 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:169
|
| 1420 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:268
|
| 1421 |
-
msgid "Invalid schedule. Cannot save action."
|
| 1422 |
-
msgstr ""
|
| 1423 |
-
|
| 1424 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:181
|
| 1425 |
-
msgid "Complete"
|
| 1426 |
-
msgstr ""
|
| 1427 |
-
|
| 1428 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:183
|
| 1429 |
-
msgid "In-progress"
|
| 1430 |
-
msgstr ""
|
| 1431 |
-
|
| 1432 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:184
|
| 1433 |
-
msgid "Failed"
|
| 1434 |
-
msgstr ""
|
| 1435 |
-
|
| 1436 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:185
|
| 1437 |
-
msgid "Canceled"
|
| 1438 |
-
msgstr ""
|
| 1439 |
-
|
| 1440 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:31
|
| 1441 |
-
#. translators: %s php class name
|
| 1442 |
-
msgid "The %s class can only be run within WP CLI."
|
| 1443 |
-
msgstr ""
|
| 1444 |
-
|
| 1445 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:59
|
| 1446 |
-
msgid "There are too many concurrent batches, but the run is forced to continue."
|
| 1447 |
-
msgstr ""
|
| 1448 |
-
|
| 1449 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:61
|
| 1450 |
-
msgid "There are too many concurrent batches."
|
| 1451 |
-
msgstr ""
|
| 1452 |
-
|
| 1453 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:92
|
| 1454 |
-
msgid "Running %d action"
|
| 1455 |
-
msgid_plural "Running %d actions"
|
| 1456 |
-
msgstr[0] ""
|
| 1457 |
-
msgstr[1] ""
|
| 1458 |
-
|
| 1459 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:109
|
| 1460 |
-
msgid "The claim has been lost. Aborting current batch."
|
| 1461 |
-
msgstr ""
|
| 1462 |
-
|
| 1463 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:139
|
| 1464 |
-
#. translators: %s refers to the action ID
|
| 1465 |
-
msgid "Started processing action %s"
|
| 1466 |
-
msgstr ""
|
| 1467 |
-
|
| 1468 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:156
|
| 1469 |
-
#. translators: %s refers to the action ID
|
| 1470 |
-
msgid "Completed processing action %s with hook: %s"
|
| 1471 |
-
msgstr ""
|
| 1472 |
-
|
| 1473 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:171
|
| 1474 |
-
#. translators: %1$s refers to the action ID, %2$s refers to the Exception
|
| 1475 |
-
#. message
|
| 1476 |
-
msgid "Error processing action %1$s: %2$s"
|
| 1477 |
-
msgstr ""
|
| 1478 |
-
|
| 1479 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:183
|
| 1480 |
-
msgid "second"
|
| 1481 |
-
msgid_plural "seconds"
|
| 1482 |
-
msgstr[0] ""
|
| 1483 |
-
msgstr[1] ""
|
| 1484 |
-
|
| 1485 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:187
|
| 1486 |
-
msgid "Attempting to reduce used memory..."
|
| 1487 |
-
msgstr ""
|
| 1488 |
-
|
| 1489 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_Scheduler_command.php:87
|
| 1490 |
-
#. translators: %d refers to how many scheduled taks were found to run
|
| 1491 |
-
msgid "Found %d scheduled task"
|
| 1492 |
-
msgid_plural "Found %d scheduled tasks"
|
| 1493 |
-
msgstr[0] ""
|
| 1494 |
-
msgstr[1] ""
|
| 1495 |
-
|
| 1496 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_Scheduler_command.php:104
|
| 1497 |
-
#. translators: %d refers to the total number of batches executed
|
| 1498 |
-
msgid "%d batch executed."
|
| 1499 |
-
msgid_plural "%d batches executed."
|
| 1500 |
-
msgstr[0] ""
|
| 1501 |
-
msgstr[1] ""
|
| 1502 |
-
|
| 1503 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_Scheduler_command.php:123
|
| 1504 |
-
#. translators: %s refers to the exception error message.
|
| 1505 |
-
msgid "There was an error running the action scheduler: %s"
|
| 1506 |
-
msgstr ""
|
| 1507 |
-
|
| 1508 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_WPCLI_Scheduler_command.php:140
|
| 1509 |
-
#. translators: %d refers to the total number of taskes completed
|
| 1510 |
-
msgid "%d scheduled task completed."
|
| 1511 |
-
msgid_plural "%d scheduled tasks completed."
|
| 1512 |
-
msgstr[0] ""
|
| 1513 |
-
msgstr[1] ""
|
| 1514 |
-
|
| 1515 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:27
|
| 1516 |
-
msgid "Error saving action: %s"
|
| 1517 |
-
msgstr ""
|
| 1518 |
-
|
| 1519 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:51
|
| 1520 |
-
msgid "Unable to save action."
|
| 1521 |
-
msgstr ""
|
| 1522 |
-
|
| 1523 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:441
|
| 1524 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:452
|
| 1525 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:478
|
| 1526 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:755
|
| 1527 |
-
msgid "Unidentified action %s"
|
| 1528 |
-
msgstr ""
|
| 1529 |
-
|
| 1530 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:590
|
| 1531 |
-
msgid "Unable to claim actions. Database error."
|
| 1532 |
-
msgstr ""
|
| 1533 |
-
|
| 1534 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:610
|
| 1535 |
-
msgid "The group \"%s\" does not exist."
|
| 1536 |
-
msgstr ""
|
| 1537 |
-
|
| 1538 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:678
|
| 1539 |
-
msgid "Unable to unlock claim %s. Database error."
|
| 1540 |
-
msgstr ""
|
| 1541 |
-
|
| 1542 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:692
|
| 1543 |
-
msgid "Unable to unlock claim on action %s. Database error."
|
| 1544 |
-
msgstr ""
|
| 1545 |
-
|
| 1546 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:703
|
| 1547 |
-
msgid "Unable to mark failure on action %s. Database error."
|
| 1548 |
-
msgstr ""
|
| 1549 |
-
|
| 1550 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php:727
|
| 1551 |
-
msgid "Invalid action ID. No status found."
|
| 1552 |
-
msgstr ""
|
| 1553 |
-
|
| 1554 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostStatusRegistrar.php:37
|
| 1555 |
-
msgid "Failed <span class=\"count\">(%s)</span>"
|
| 1556 |
-
msgid_plural "Failed <span class=\"count\">(%s)</span>"
|
| 1557 |
-
msgstr[0] ""
|
| 1558 |
-
msgstr[1] ""
|
| 1559 |
-
|
| 1560 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostStatusRegistrar.php:51
|
| 1561 |
-
msgid "In-Progress <span class=\"count\">(%s)</span>"
|
| 1562 |
-
msgid_plural "In-Progress <span class=\"count\">(%s)</span>"
|
| 1563 |
-
msgstr[0] ""
|
| 1564 |
-
msgstr[1] ""
|
| 1565 |
-
|
| 1566 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:20
|
| 1567 |
-
msgid "Scheduled actions are hooks triggered on a cetain date and time."
|
| 1568 |
-
msgstr ""
|
| 1569 |
-
|
| 1570 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:31
|
| 1571 |
-
msgid "Scheduled Action"
|
| 1572 |
-
msgstr ""
|
| 1573 |
-
|
| 1574 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:33
|
| 1575 |
-
msgid "Add"
|
| 1576 |
-
msgstr ""
|
| 1577 |
-
|
| 1578 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:34
|
| 1579 |
-
msgid "Add New Scheduled Action"
|
| 1580 |
-
msgstr ""
|
| 1581 |
-
|
| 1582 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:35
|
| 1583 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:226
|
| 1584 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:758
|
| 1585 |
-
msgid "Edit"
|
| 1586 |
-
msgstr ""
|
| 1587 |
-
|
| 1588 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:36
|
| 1589 |
-
msgid "Edit Scheduled Action"
|
| 1590 |
-
msgstr ""
|
| 1591 |
-
|
| 1592 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:37
|
| 1593 |
-
msgid "New Scheduled Action"
|
| 1594 |
-
msgstr ""
|
| 1595 |
-
|
| 1596 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:38
|
| 1597 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:39
|
| 1598 |
-
msgid "View Action"
|
| 1599 |
-
msgstr ""
|
| 1600 |
-
|
| 1601 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:40
|
| 1602 |
-
msgid "Search Scheduled Actions"
|
| 1603 |
-
msgstr ""
|
| 1604 |
-
|
| 1605 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:41
|
| 1606 |
-
msgid "No actions found"
|
| 1607 |
-
msgstr ""
|
| 1608 |
-
|
| 1609 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:42
|
| 1610 |
-
msgid "No actions found in trash"
|
| 1611 |
-
msgstr ""
|
| 1612 |
-
|
| 1613 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_TaxonomyRegistrar.php:14
|
| 1614 |
-
msgid "Action Group"
|
| 1615 |
-
msgstr ""
|
| 1616 |
-
|
| 1617 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:376
|
| 1618 |
-
msgid "Cowabunga"
|
| 1619 |
-
msgstr ""
|
| 1620 |
-
|
| 1621 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php:378
|
| 1622 |
-
msgid "Hot dog"
|
| 1623 |
-
msgstr ""
|
| 1624 |
-
|
| 1625 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:183
|
| 1626 |
-
msgid ""
|
| 1627 |
-
"Thanks for installing %1$s! To get started, take a minute to %2$sread the "
|
| 1628 |
-
"documentation%3$s :)"
|
| 1629 |
-
msgstr ""
|
| 1630 |
-
|
| 1631 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:211
|
| 1632 |
-
msgid ""
|
| 1633 |
-
"Thanks for installing %1$s! To get started, take a minute to complete these "
|
| 1634 |
-
"%2$squick and easy setup steps%3$s :)"
|
| 1635 |
-
msgstr ""
|
| 1636 |
-
|
| 1637 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:236
|
| 1638 |
-
msgid "Setup"
|
| 1639 |
-
msgstr ""
|
| 1640 |
-
|
| 1641 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:304
|
| 1642 |
-
#. translators: Placeholders: %s - plugin name
|
| 1643 |
-
msgid "%s › Setup"
|
| 1644 |
-
msgstr ""
|
| 1645 |
-
|
| 1646 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:352
|
| 1647 |
-
msgid "Oops! An error occurred, please try again."
|
| 1648 |
-
msgstr ""
|
| 1649 |
-
|
| 1650 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:490
|
| 1651 |
-
msgid "Ready!"
|
| 1652 |
-
msgstr ""
|
| 1653 |
-
|
| 1654 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:583
|
| 1655 |
-
#. translators: Placeholder: %s - plugin name
|
| 1656 |
-
msgid "Welcome to %s!"
|
| 1657 |
msgstr ""
|
| 1658 |
|
| 1659 |
-
|
| 1660 |
msgid ""
|
| 1661 |
-
"
|
| 1662 |
-
"you
|
| 1663 |
-
msgstr ""
|
| 1664 |
-
|
| 1665 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:610
|
| 1666 |
-
msgid "%s is ready!"
|
| 1667 |
-
msgstr ""
|
| 1668 |
-
|
| 1669 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:662
|
| 1670 |
-
msgid "Next step"
|
| 1671 |
-
msgstr ""
|
| 1672 |
-
|
| 1673 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:688
|
| 1674 |
-
msgid "You can also:"
|
| 1675 |
-
msgstr ""
|
| 1676 |
-
|
| 1677 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:732
|
| 1678 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:762
|
| 1679 |
-
msgid "View the Docs"
|
| 1680 |
-
msgstr ""
|
| 1681 |
-
|
| 1682 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:733
|
| 1683 |
-
msgid "See more setup options"
|
| 1684 |
msgstr ""
|
| 1685 |
|
| 1686 |
-
|
| 1687 |
-
msgid "
|
| 1688 |
msgstr ""
|
| 1689 |
|
| 1690 |
-
#:
|
| 1691 |
-
|
|
|
|
| 1692 |
msgstr ""
|
| 1693 |
|
| 1694 |
-
#:
|
| 1695 |
-
|
|
|
|
| 1696 |
msgstr ""
|
| 1697 |
|
| 1698 |
-
#:
|
| 1699 |
-
|
| 1700 |
-
msgid "
|
| 1701 |
msgstr ""
|
| 1702 |
|
| 1703 |
-
#:
|
| 1704 |
-
|
|
|
|
| 1705 |
msgstr ""
|
| 1706 |
|
| 1707 |
-
#:
|
| 1708 |
-
|
|
|
|
| 1709 |
msgstr ""
|
| 1710 |
|
| 1711 |
-
#:
|
| 1712 |
-
|
|
|
|
| 1713 |
msgstr ""
|
| 1714 |
|
| 1715 |
-
#:
|
| 1716 |
-
|
| 1717 |
-
"
|
| 1718 |
-
"with newer plugins on your site:"
|
| 1719 |
-
msgid_plural ""
|
| 1720 |
-
"The following plugins are disabled because they are out of date and "
|
| 1721 |
-
"incompatible with newer plugins on your site:"
|
| 1722 |
-
msgstr[0] ""
|
| 1723 |
-
msgstr[1] ""
|
| 1724 |
-
|
| 1725 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-framework-bootstrap.php:282
|
| 1726 |
-
msgid ""
|
| 1727 |
-
"To resolve this, please %1$supdate%2$s (recommended) %3$sor%4$s "
|
| 1728 |
-
"%5$sdeactivate%6$s the above plugin, or %7$sdeactivate the following%8$s:"
|
| 1729 |
-
msgid_plural ""
|
| 1730 |
-
"To resolve this, please %1$supdate%2$s (recommended) %3$sor%4$s "
|
| 1731 |
-
"%5$sdeactivate%6$s the above plugins, or %7$sdeactivate the following%8$s:"
|
| 1732 |
-
msgstr[0] ""
|
| 1733 |
-
msgstr[1] ""
|
| 1734 |
-
|
| 1735 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-framework-bootstrap.php:303
|
| 1736 |
-
msgid ""
|
| 1737 |
-
"The following plugins are inactive because they require a newer version of "
|
| 1738 |
-
"WooCommerce:"
|
| 1739 |
msgstr ""
|
| 1740 |
|
| 1741 |
-
#:
|
| 1742 |
-
|
| 1743 |
-
"The following plugin is inactive because it requires a newer version of "
|
| 1744 |
-
"WooCommerce:"
|
| 1745 |
-
msgstr ""
|
| 1746 |
-
|
| 1747 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-framework-bootstrap.php:308
|
| 1748 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
|
| 1749 |
-
#. number
|
| 1750 |
-
msgid "%1$s requires WooCommerce %2$s or newer"
|
| 1751 |
-
msgstr ""
|
| 1752 |
-
|
| 1753 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-framework-bootstrap.php:312
|
| 1754 |
-
#. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
|
| 1755 |
-
msgid "Please %1$supdate WooCommerce%2$s"
|
| 1756 |
-
msgstr ""
|
| 1757 |
-
|
| 1758 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:148
|
| 1759 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
|
| 1760 |
-
#. extension/comma-separated list of PHP extensions
|
| 1761 |
-
msgid ""
|
| 1762 |
-
"%1$s requires the %2$s PHP extension to function. Contact your host or "
|
| 1763 |
-
"server administrator to install and configure the missing extension."
|
| 1764 |
-
msgid_plural ""
|
| 1765 |
-
"%1$s requires the following PHP extensions to function: %2$s. Contact your "
|
| 1766 |
-
"host or server administrator to install and configure the missing "
|
| 1767 |
-
"extensions."
|
| 1768 |
-
msgstr[0] ""
|
| 1769 |
-
msgstr[1] ""
|
| 1770 |
-
|
| 1771 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:176
|
| 1772 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
|
| 1773 |
-
#. function/comma-separated list of PHP functions
|
| 1774 |
-
msgid ""
|
| 1775 |
-
"%1$s requires the %2$s PHP function to exist. Contact your host or server "
|
| 1776 |
-
"administrator to install and configure the missing function."
|
| 1777 |
-
msgid_plural ""
|
| 1778 |
-
"%1$s requires the following PHP functions to exist: %2$s. Contact your "
|
| 1779 |
-
"host or server administrator to install and configure the missing functions."
|
| 1780 |
-
msgstr[0] ""
|
| 1781 |
-
msgstr[1] ""
|
| 1782 |
-
|
| 1783 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:206
|
| 1784 |
-
#. translators: Placeholders: %s - plugin name
|
| 1785 |
-
msgid ""
|
| 1786 |
-
"%s may behave unexpectedly because the following PHP configuration settings "
|
| 1787 |
-
"are required:"
|
| 1788 |
-
msgstr ""
|
| 1789 |
-
|
| 1790 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:220
|
| 1791 |
-
msgid "%s or higher"
|
| 1792 |
-
msgstr ""
|
| 1793 |
-
|
| 1794 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:230
|
| 1795 |
-
msgid ""
|
| 1796 |
-
"Please contact your hosting provider or server administrator to configure "
|
| 1797 |
-
"these settings."
|
| 1798 |
-
msgstr ""
|
| 1799 |
-
|
| 1800 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:252
|
| 1801 |
-
#. translators: Placeholders: %1$s - <strong>, %2$s - </strong>
|
| 1802 |
-
msgid ""
|
| 1803 |
-
"Hey there! We've noticed that your server is running %1$san outdated "
|
| 1804 |
-
"version of PHP%2$s, which is the programming language that WooCommerce and "
|
| 1805 |
-
"its extensions are built on.\n"
|
| 1806 |
-
"\t\t\t\t\tThe PHP version that is currently used for your site is no longer "
|
| 1807 |
-
"maintained, nor %1$sreceives security updates%2$s; newer versions are "
|
| 1808 |
-
"faster and more secure.\n"
|
| 1809 |
-
"\t\t\t\t\tAs a result, %3$s no longer supports this version and you should "
|
| 1810 |
-
"upgrade PHP as soon as possible.\n"
|
| 1811 |
-
"\t\t\t\t\tYour hosting provider can do this for you. %4$sHere are some "
|
| 1812 |
-
"resources to help you upgrade%5$s and to explain PHP versions further."
|
| 1813 |
-
msgstr ""
|
| 1814 |
-
|
| 1815 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php:271
|
| 1816 |
-
#. translators: Placeholders: %1$s - WooCommerce version number, %2$s -
|
| 1817 |
-
#. <strong>, %3$s - </strong>, %4$s - Plugin name, %5$s - <a> tag, %6$s - </a>
|
| 1818 |
-
#. tag
|
| 1819 |
-
msgid ""
|
| 1820 |
-
"Hey there! We've noticed that your site is running version %1$s of "
|
| 1821 |
-
"WooCommerce, but %2$sWooCommerce 3.0 or higher will soon be required%3$s by "
|
| 1822 |
-
"%4$s. We recommend you %5$supdate WooCommerce%6$s to the latest version as "
|
| 1823 |
-
"soon as possible."
|
| 1824 |
-
msgstr ""
|
| 1825 |
-
|
| 1826 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:297
|
| 1827 |
-
#. translators: Placeholders: %s - plugin name
|
| 1828 |
-
msgid "You cannot clone instances of %s."
|
| 1829 |
-
msgstr ""
|
| 1830 |
-
|
| 1831 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:308
|
| 1832 |
-
#. translators: Placeholders: %s - plugin name
|
| 1833 |
-
msgid "You cannot unserialize instances of %s."
|
| 1834 |
-
msgstr ""
|
| 1835 |
-
|
| 1836 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:529
|
| 1837 |
-
#. translators: Docs as in Documentation
|
| 1838 |
-
msgid "Docs"
|
| 1839 |
-
msgstr ""
|
| 1840 |
-
|
| 1841 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:622
|
| 1842 |
-
msgid "%1$s - A minimum of %2$s is required."
|
| 1843 |
-
msgstr ""
|
| 1844 |
-
|
| 1845 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:631
|
| 1846 |
-
msgid "Set as %1$s - %2$s is required."
|
| 1847 |
-
msgstr ""
|
| 1848 |
-
|
| 1849 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:854
|
| 1850 |
-
msgid "Configure"
|
| 1851 |
-
msgstr ""
|
| 1852 |
-
|
| 1853 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:178
|
| 1854 |
-
msgid ""
|
| 1855 |
-
"There was a problem processing your order and it is being placed on hold "
|
| 1856 |
-
"for review. Please contact us to complete the transaction."
|
| 1857 |
-
msgstr ""
|
| 1858 |
-
|
| 1859 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:319
|
| 1860 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:444
|
| 1861 |
-
#. translators: Placeholders: %s - a WooCommerce order ID
|
| 1862 |
-
msgid "Could not find order %s"
|
| 1863 |
-
msgstr ""
|
| 1864 |
-
|
| 1865 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:151
|
| 1866 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2351
|
| 1867 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:163
|
| 1868 |
-
#. translators: Placeholders: %1$s - status code, %2$s - status message
|
| 1869 |
-
#. translators: Placeholders: %1$s - payment request response status code, %2$s
|
| 1870 |
-
#. - payment request response status message
|
| 1871 |
-
msgid "Status code %1$s: %2$s"
|
| 1872 |
-
msgstr ""
|
| 1873 |
-
|
| 1874 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:154
|
| 1875 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2354
|
| 1876 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:166
|
| 1877 |
-
#. translators: Placeholders: %s - status code
|
| 1878 |
-
#. translators: Placeholders: %s - payment request response status code
|
| 1879 |
-
msgid "Status code: %s"
|
| 1880 |
-
msgstr ""
|
| 1881 |
-
|
| 1882 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:157
|
| 1883 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2357
|
| 1884 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:169
|
| 1885 |
-
#. translators: Placeholders; %s - status message
|
| 1886 |
-
#. translators: Placeholders: %s - payment request response status message
|
| 1887 |
-
msgid "Status message: %s"
|
| 1888 |
-
msgstr ""
|
| 1889 |
-
|
| 1890 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:162
|
| 1891 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2362
|
| 1892 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:176
|
| 1893 |
-
msgid "Transaction ID %s"
|
| 1894 |
-
msgstr ""
|
| 1895 |
-
|
| 1896 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:203
|
| 1897 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:508
|
| 1898 |
-
#. translators: Placeholders: %s - payment gateway title (such as
|
| 1899 |
-
#. Authorize.net, Braintree, etc)
|
| 1900 |
-
msgid "%s duplicate transaction received"
|
| 1901 |
-
msgstr ""
|
| 1902 |
-
|
| 1903 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:206
|
| 1904 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:511
|
| 1905 |
-
msgid "Order %s is already paid for."
|
| 1906 |
-
msgstr ""
|
| 1907 |
-
|
| 1908 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:266
|
| 1909 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2694
|
| 1910 |
-
msgid ""
|
| 1911 |
-
"Your order has been received and is being reviewed. Thank you for your "
|
| 1912 |
-
"business."
|
| 1913 |
-
msgstr ""
|
| 1914 |
-
|
| 1915 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:273
|
| 1916 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:851
|
| 1917 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1732
|
| 1918 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:363
|
| 1919 |
-
#. translators: This is a message describing that the transaction in question
|
| 1920 |
-
#. only performed a credit card authorization and did not capture any funds.
|
| 1921 |
-
msgid "Authorization only transaction"
|
| 1922 |
-
msgstr ""
|
| 1923 |
-
|
| 1924 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:361
|
| 1925 |
-
#. translators: Placeholders: %s - payment gateway title
|
| 1926 |
-
msgid "%s Transaction Held for Review"
|
| 1927 |
-
msgstr ""
|
| 1928 |
-
|
| 1929 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:432
|
| 1930 |
-
#. translators: Placeholders: %s - payment gateway title
|
| 1931 |
-
msgid "%s Payment Failed"
|
| 1932 |
-
msgstr ""
|
| 1933 |
-
|
| 1934 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Abstract_Payment_Handler.php:459
|
| 1935 |
-
#. translators: Placeholders: %s - payment gateway title
|
| 1936 |
-
msgid "%s Transaction Cancelled"
|
| 1937 |
-
msgstr ""
|
| 1938 |
-
|
| 1939 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:157
|
| 1940 |
-
msgid "Order cannot be captured"
|
| 1941 |
-
msgstr ""
|
| 1942 |
-
|
| 1943 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:162
|
| 1944 |
-
msgid "Transaction authorization has expired"
|
| 1945 |
-
msgstr ""
|
| 1946 |
-
|
| 1947 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:167
|
| 1948 |
-
msgid "Transaction has already been fully captured"
|
| 1949 |
-
msgstr ""
|
| 1950 |
-
|
| 1951 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:172
|
| 1952 |
-
msgid "Transaction cannot be captured"
|
| 1953 |
-
msgstr ""
|
| 1954 |
-
|
| 1955 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:188
|
| 1956 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 1957 |
-
#. Authorize.net, Braintree, etc), %2$s - transaction amount. Definitions:
|
| 1958 |
-
#. Capture, as in capture funds from a credit card.
|
| 1959 |
-
msgid "%1$s Capture of %2$s Approved"
|
| 1960 |
-
msgstr ""
|
| 1961 |
-
|
| 1962 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:195
|
| 1963 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:670
|
| 1964 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:755
|
| 1965 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2030
|
| 1966 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2261
|
| 1967 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2575
|
| 1968 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2620
|
| 1969 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:346
|
| 1970 |
-
#. translators: Placeholders: %s - transaction ID
|
| 1971 |
-
msgid "(Transaction ID %s)"
|
| 1972 |
-
msgstr ""
|
| 1973 |
-
|
| 1974 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/Handlers/Capture.php:226
|
| 1975 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 1976 |
-
#. Authorize.net, Braintree, etc), %2$s - failure message. Definitions:
|
| 1977 |
-
#. "capture" as in capturing funds from a credit card.
|
| 1978 |
-
msgid "%1$s Capture Failed: %2$s"
|
| 1979 |
-
msgstr ""
|
| 1980 |
-
|
| 1981 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:119
|
| 1982 |
-
msgid "Are you sure you wish to process this capture? The action cannot be undone."
|
| 1983 |
-
msgstr ""
|
| 1984 |
-
|
| 1985 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:122
|
| 1986 |
-
msgid ""
|
| 1987 |
-
"Something went wrong, and the capture could no be completed. Please try "
|
| 1988 |
-
"again."
|
| 1989 |
-
msgstr ""
|
| 1990 |
-
|
| 1991 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:166
|
| 1992 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:241
|
| 1993 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:304
|
| 1994 |
-
#. translators: verb, as in "Capture credit card charge". Used when an
|
| 1995 |
-
#. amount has been pre-authorized before, but funds have not yet been captured
|
| 1996 |
-
#. (taken) from the card. Capturing the charge will take the money from the
|
| 1997 |
-
#. credit card and put it in the merchant's pockets.
|
| 1998 |
-
msgid "Capture Charge"
|
| 1999 |
-
msgstr ""
|
| 2000 |
-
|
| 2001 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:294
|
| 2002 |
-
msgid "This charge has been fully captured."
|
| 2003 |
-
msgstr ""
|
| 2004 |
-
|
| 2005 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:296
|
| 2006 |
-
msgid "This charge can no longer be captured."
|
| 2007 |
-
msgstr ""
|
| 2008 |
-
|
| 2009 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-order.php:298
|
| 2010 |
-
msgid "This charge cannot be captured."
|
| 2011 |
-
msgstr ""
|
| 2012 |
-
|
| 2013 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:90
|
| 2014 |
-
msgid "Are you sure you want to remove this token?"
|
| 2015 |
-
msgstr ""
|
| 2016 |
-
|
| 2017 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:100
|
| 2018 |
-
msgid "Invalid token data"
|
| 2019 |
-
msgstr ""
|
| 2020 |
-
|
| 2021 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:104
|
| 2022 |
-
msgid "An error occurred. Please try again."
|
| 2023 |
-
msgstr ""
|
| 2024 |
-
|
| 2025 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:453
|
| 2026 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:302
|
| 2027 |
-
msgid "(%s)"
|
| 2028 |
-
msgstr ""
|
| 2029 |
-
|
| 2030 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:483
|
| 2031 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:664
|
| 2032 |
-
msgid "Default"
|
| 2033 |
-
msgstr ""
|
| 2034 |
-
|
| 2035 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:519
|
| 2036 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:552
|
| 2037 |
-
msgid "Token ID"
|
| 2038 |
-
msgstr ""
|
| 2039 |
-
|
| 2040 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:524
|
| 2041 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:299
|
| 2042 |
-
msgid "Card Type"
|
| 2043 |
-
msgstr ""
|
| 2044 |
-
|
| 2045 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:529
|
| 2046 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:565
|
| 2047 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:191
|
| 2048 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:297
|
| 2049 |
-
msgid "Last Four"
|
| 2050 |
-
msgstr ""
|
| 2051 |
-
|
| 2052 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:536
|
| 2053 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:320
|
| 2054 |
-
msgid "Expiration (MM/YY)"
|
| 2055 |
-
msgstr ""
|
| 2056 |
-
|
| 2057 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:557
|
| 2058 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:427
|
| 2059 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:298
|
| 2060 |
-
#. translators: e-check account type, HTML form field label
|
| 2061 |
-
msgid "Account Type"
|
| 2062 |
-
msgstr ""
|
| 2063 |
-
|
| 2064 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:560
|
| 2065 |
-
msgid "Checking"
|
| 2066 |
-
msgstr ""
|
| 2067 |
-
|
| 2068 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:561
|
| 2069 |
-
msgid "Savings"
|
| 2070 |
-
msgstr ""
|
| 2071 |
-
|
| 2072 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:662
|
| 2073 |
-
msgid "Refresh"
|
| 2074 |
-
msgstr ""
|
| 2075 |
-
|
| 2076 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:664
|
| 2077 |
-
msgid "Add New"
|
| 2078 |
-
msgstr ""
|
| 2079 |
-
|
| 2080 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:667
|
| 2081 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:759
|
| 2082 |
-
msgid "Save"
|
| 2083 |
-
msgstr ""
|
| 2084 |
-
|
| 2085 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:690
|
| 2086 |
-
msgid "Remove"
|
| 2087 |
-
msgstr ""
|
| 2088 |
-
|
| 2089 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:221
|
| 2090 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:208
|
| 2091 |
-
msgid "%s Payment Tokens"
|
| 2092 |
-
msgstr ""
|
| 2093 |
-
|
| 2094 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:299
|
| 2095 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:663
|
| 2096 |
-
msgid "Customer ID"
|
| 2097 |
-
msgstr ""
|
| 2098 |
-
|
| 2099 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:32
|
| 2100 |
-
msgid "This section contains configuration settings for this gateway."
|
| 2101 |
-
msgstr ""
|
| 2102 |
-
|
| 2103 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:53
|
| 2104 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1267
|
| 2105 |
-
#. translators: environment as in a software environment (test/production)
|
| 2106 |
-
msgid "Environment"
|
| 2107 |
-
msgstr ""
|
| 2108 |
-
|
| 2109 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:54
|
| 2110 |
-
msgid "The transaction environment for this gateway."
|
| 2111 |
-
msgstr ""
|
| 2112 |
-
|
| 2113 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:61
|
| 2114 |
-
msgid "Tokenization Enabled"
|
| 2115 |
-
msgstr ""
|
| 2116 |
-
|
| 2117 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:62
|
| 2118 |
-
msgid "Displays whether or not tokenization is enabled for this gateway."
|
| 2119 |
-
msgstr ""
|
| 2120 |
-
|
| 2121 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:76
|
| 2122 |
-
msgid "Displays whether or not debug logging is enabled for this gateway."
|
| 2123 |
-
msgstr ""
|
| 2124 |
-
|
| 2125 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:79
|
| 2126 |
-
msgid "Display at Checkout & Log"
|
| 2127 |
-
msgstr ""
|
| 2128 |
-
|
| 2129 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:81
|
| 2130 |
-
msgid "Display at Checkout"
|
| 2131 |
-
msgstr ""
|
| 2132 |
-
|
| 2133 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:30
|
| 2134 |
-
msgid "Authorization total"
|
| 2135 |
-
msgstr ""
|
| 2136 |
-
|
| 2137 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:34
|
| 2138 |
-
msgid "Amount already captured"
|
| 2139 |
-
msgstr ""
|
| 2140 |
-
|
| 2141 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:40
|
| 2142 |
-
msgid "Remaining order total"
|
| 2143 |
-
msgstr ""
|
| 2144 |
-
|
| 2145 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:46
|
| 2146 |
-
msgid "Capture amount"
|
| 2147 |
-
msgstr ""
|
| 2148 |
-
|
| 2149 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:53
|
| 2150 |
-
msgid "Comment (optional):"
|
| 2151 |
-
msgstr ""
|
| 2152 |
-
|
| 2153 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-order-partial-capture.php:65
|
| 2154 |
-
msgid "Capture %s"
|
| 2155 |
-
msgstr ""
|
| 2156 |
-
|
| 2157 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php:48
|
| 2158 |
-
msgid "-- Select an option --"
|
| 2159 |
-
msgstr ""
|
| 2160 |
-
|
| 2161 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor.php:59
|
| 2162 |
-
msgid "No saved payment tokens"
|
| 2163 |
-
msgstr ""
|
| 2164 |
-
|
| 2165 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/admin/views/html-user-profile-field-customer-id.php:30
|
| 2166 |
-
msgid "The gateway customer ID for the user. Only edit this if necessary."
|
| 2167 |
-
msgstr ""
|
| 2168 |
-
|
| 2169 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:98
|
| 2170 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:131
|
| 2171 |
-
msgid "An error occurred, please try again or try an alternate form of payment"
|
| 2172 |
-
msgstr ""
|
| 2173 |
-
|
| 2174 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
|
| 2175 |
-
msgid ""
|
| 2176 |
-
"We cannot process your order with the payment information that you "
|
| 2177 |
-
"provided. Please use a different payment account or an alternate payment "
|
| 2178 |
-
"method."
|
| 2179 |
-
msgstr ""
|
| 2180 |
-
|
| 2181 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:100
|
| 2182 |
-
msgid ""
|
| 2183 |
-
"This order is being placed on hold for review. Please contact us to "
|
| 2184 |
-
"complete the transaction."
|
| 2185 |
-
msgstr ""
|
| 2186 |
-
|
| 2187 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:105
|
| 2188 |
-
msgid ""
|
| 2189 |
-
"This order is being placed on hold for review due to an incorrect card "
|
| 2190 |
-
"verification number. You may contact the store to complete the transaction."
|
| 2191 |
-
msgstr ""
|
| 2192 |
-
|
| 2193 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:106
|
| 2194 |
-
msgid "The card verification number is invalid, please try again."
|
| 2195 |
-
msgstr ""
|
| 2196 |
-
|
| 2197 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:107
|
| 2198 |
-
msgid "Please enter your card verification number and try again."
|
| 2199 |
-
msgstr ""
|
| 2200 |
-
|
| 2201 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:110
|
| 2202 |
-
msgid ""
|
| 2203 |
-
"That card type is not accepted, please use an alternate card or other form "
|
| 2204 |
-
"of payment."
|
| 2205 |
-
msgstr ""
|
| 2206 |
-
|
| 2207 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:111
|
| 2208 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:115
|
| 2209 |
-
msgid ""
|
| 2210 |
-
"The card type is invalid or does not correlate with the credit card number. "
|
| 2211 |
-
" Please try again or use an alternate card or other form of payment."
|
| 2212 |
-
msgstr ""
|
| 2213 |
-
|
| 2214 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:112
|
| 2215 |
-
msgid "Please select the card type and try again."
|
| 2216 |
-
msgstr ""
|
| 2217 |
-
|
| 2218 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:116
|
| 2219 |
-
msgid "The card number is invalid, please re-enter and try again."
|
| 2220 |
-
msgstr ""
|
| 2221 |
-
|
| 2222 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:117
|
| 2223 |
-
msgid "Please enter your card number and try again."
|
| 2224 |
-
msgstr ""
|
| 2225 |
-
|
| 2226 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:120
|
| 2227 |
-
msgid "The card expiration date is invalid, please re-enter and try again."
|
| 2228 |
-
msgstr ""
|
| 2229 |
-
|
| 2230 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:121
|
| 2231 |
-
msgid "The card expiration month is invalid, please re-enter and try again."
|
| 2232 |
-
msgstr ""
|
| 2233 |
-
|
| 2234 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:122
|
| 2235 |
-
msgid "The card expiration year is invalid, please re-enter and try again."
|
| 2236 |
-
msgstr ""
|
| 2237 |
-
|
| 2238 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:123
|
| 2239 |
-
msgid "Please enter your card expiration date and try again."
|
| 2240 |
-
msgstr ""
|
| 2241 |
-
|
| 2242 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:126
|
| 2243 |
-
msgid "The bank routing number is invalid, please re-enter and try again."
|
| 2244 |
-
msgstr ""
|
| 2245 |
-
|
| 2246 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:127
|
| 2247 |
-
msgid "The bank account number is invalid, please re-enter and try again."
|
| 2248 |
-
msgstr ""
|
| 2249 |
-
|
| 2250 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:130
|
| 2251 |
-
msgid ""
|
| 2252 |
-
"The provided card is expired, please use an alternate card or other form of "
|
| 2253 |
-
"payment."
|
| 2254 |
-
msgstr ""
|
| 2255 |
-
|
| 2256 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:131
|
| 2257 |
-
msgid ""
|
| 2258 |
-
"The provided card was declined, please use an alternate card or other form "
|
| 2259 |
-
"of payment."
|
| 2260 |
-
msgstr ""
|
| 2261 |
-
|
| 2262 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:132
|
| 2263 |
-
msgid ""
|
| 2264 |
-
"Insufficient funds in account, please use an alternate card or other form "
|
| 2265 |
-
"of payment."
|
| 2266 |
-
msgstr ""
|
| 2267 |
-
|
| 2268 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:133
|
| 2269 |
-
msgid ""
|
| 2270 |
-
"The card is inactivate or not authorized for card-not-present transactions, "
|
| 2271 |
-
"please use an alternate card or other form of payment."
|
| 2272 |
-
msgstr ""
|
| 2273 |
-
|
| 2274 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:134
|
| 2275 |
-
msgid ""
|
| 2276 |
-
"The credit limit for the card has been reached, please use an alternate "
|
| 2277 |
-
"card or other form of payment."
|
| 2278 |
-
msgstr ""
|
| 2279 |
-
|
| 2280 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:135
|
| 2281 |
-
msgid "The card verification number does not match. Please re-enter and try again."
|
| 2282 |
-
msgstr ""
|
| 2283 |
-
|
| 2284 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:136
|
| 2285 |
-
msgid ""
|
| 2286 |
-
"The provided address does not match the billing address for cardholder. "
|
| 2287 |
-
"Please verify the address and try again."
|
| 2288 |
-
msgstr ""
|
| 2289 |
-
|
| 2290 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:83
|
| 2291 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:101
|
| 2292 |
-
msgid "Apple Pay"
|
| 2293 |
-
msgstr ""
|
| 2294 |
-
|
| 2295 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:108
|
| 2296 |
-
msgid "Accept Apple Pay"
|
| 2297 |
-
msgstr ""
|
| 2298 |
-
|
| 2299 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:115
|
| 2300 |
-
msgid "Allow Apple Pay on"
|
| 2301 |
-
msgstr ""
|
| 2302 |
-
|
| 2303 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:125
|
| 2304 |
-
msgid "Button Style"
|
| 2305 |
-
msgstr ""
|
| 2306 |
-
|
| 2307 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:128
|
| 2308 |
-
msgid "Black"
|
| 2309 |
-
msgstr ""
|
| 2310 |
-
|
| 2311 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:129
|
| 2312 |
-
msgid "White"
|
| 2313 |
-
msgstr ""
|
| 2314 |
-
|
| 2315 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:130
|
| 2316 |
-
msgid "White with outline"
|
| 2317 |
-
msgstr ""
|
| 2318 |
-
|
| 2319 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:142
|
| 2320 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1318
|
| 2321 |
-
msgid "Connection Settings"
|
| 2322 |
-
msgstr ""
|
| 2323 |
-
|
| 2324 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:148
|
| 2325 |
-
msgid "Apple Merchant ID"
|
| 2326 |
-
msgstr ""
|
| 2327 |
-
|
| 2328 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:152
|
| 2329 |
-
msgid "This is found in your %1$sApple developer account%2$s"
|
| 2330 |
-
msgstr ""
|
| 2331 |
-
|
| 2332 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:159
|
| 2333 |
-
msgid "Certificate Path"
|
| 2334 |
-
msgstr ""
|
| 2335 |
-
|
| 2336 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:164
|
| 2337 |
-
#. translators: Placeholders: %s - the server's web root path
|
| 2338 |
-
msgid "For reference, your current web root path is: %s"
|
| 2339 |
-
msgstr ""
|
| 2340 |
-
|
| 2341 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:177
|
| 2342 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:187
|
| 2343 |
-
msgid "Processing Gateway"
|
| 2344 |
-
msgstr ""
|
| 2345 |
-
|
| 2346 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:195
|
| 2347 |
-
msgid "Test Mode"
|
| 2348 |
-
msgstr ""
|
| 2349 |
-
|
| 2350 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:196
|
| 2351 |
-
msgid ""
|
| 2352 |
-
"Enable to test Apple Pay functionality throughout your sites without "
|
| 2353 |
-
"processing real payments."
|
| 2354 |
-
msgstr ""
|
| 2355 |
-
|
| 2356 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:305
|
| 2357 |
-
msgid "Your site must be served over HTTPS with a valid SSL certificate."
|
| 2358 |
-
msgstr ""
|
| 2359 |
-
|
| 2360 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:315
|
| 2361 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - a
|
| 2362 |
-
#. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
|
| 2363 |
-
msgid ""
|
| 2364 |
-
"Accepts payment in %1$s only. %2$sConfigure%3$s WooCommerce to accept %1$s "
|
| 2365 |
-
"to enable Apple Pay."
|
| 2366 |
-
msgid_plural ""
|
| 2367 |
-
"Accepts payment in one of %1$s only. %2$sConfigure%3$s WooCommerce to "
|
| 2368 |
-
"accept one of %1$s to enable Apple Pay."
|
| 2369 |
-
msgstr[0] ""
|
| 2370 |
-
msgstr[1] ""
|
| 2371 |
-
|
| 2372 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:334
|
| 2373 |
-
msgid ""
|
| 2374 |
-
"Your %1$sMerchant Identity Certificate%2$s cannot be found. Please check "
|
| 2375 |
-
"your path configuration."
|
| 2376 |
-
msgstr ""
|
| 2377 |
-
|
| 2378 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:341
|
| 2379 |
-
msgid "Apple Pay is disabled."
|
| 2380 |
-
msgstr ""
|
| 2381 |
-
|
| 2382 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:380
|
| 2383 |
-
msgid "Single products"
|
| 2384 |
-
msgstr ""
|
| 2385 |
-
|
| 2386 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:381
|
| 2387 |
-
msgid "Cart"
|
| 2388 |
-
msgstr ""
|
| 2389 |
-
|
| 2390 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:382
|
| 2391 |
-
msgid "Checkout"
|
| 2392 |
-
msgstr ""
|
| 2393 |
-
|
| 2394 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:168
|
| 2395 |
-
msgid "Buy with"
|
| 2396 |
-
msgstr ""
|
| 2397 |
-
|
| 2398 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:302
|
| 2399 |
-
msgid "Pay with"
|
| 2400 |
-
msgstr ""
|
| 2401 |
-
|
| 2402 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:308
|
| 2403 |
-
msgid "or"
|
| 2404 |
-
msgstr ""
|
| 2405 |
-
|
| 2406 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:86
|
| 2407 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:93
|
| 2408 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:106
|
| 2409 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:115
|
| 2410 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:127
|
| 2411 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:171
|
| 2412 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:181
|
| 2413 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:183
|
| 2414 |
-
msgid "Error %d: Unable to create order. Please try again."
|
| 2415 |
-
msgstr ""
|
| 2416 |
-
|
| 2417 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:120
|
| 2418 |
-
msgid "Apple Pay payment authorized."
|
| 2419 |
-
msgstr ""
|
| 2420 |
-
|
| 2421 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:156
|
| 2422 |
-
msgid "Apple Pay payment failed. %s"
|
| 2423 |
-
msgstr ""
|
| 2424 |
-
|
| 2425 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:545
|
| 2426 |
-
msgid "Subtotal"
|
| 2427 |
-
msgstr ""
|
| 2428 |
-
|
| 2429 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:585
|
| 2430 |
-
msgid "Taxes"
|
| 2431 |
-
msgstr ""
|
| 2432 |
-
|
| 2433 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:60
|
| 2434 |
-
msgid ""
|
| 2435 |
-
"Payment error, please try another payment method or contact us to complete "
|
| 2436 |
-
"your transaction."
|
| 2437 |
-
msgstr ""
|
| 2438 |
-
|
| 2439 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:160
|
| 2440 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:479
|
| 2441 |
-
msgid "Card expiration date is invalid"
|
| 2442 |
-
msgstr ""
|
| 2443 |
-
|
| 2444 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:184
|
| 2445 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:472
|
| 2446 |
-
msgid "Card number is missing"
|
| 2447 |
-
msgstr ""
|
| 2448 |
-
|
| 2449 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:190
|
| 2450 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:475
|
| 2451 |
-
msgid "Card number is invalid (wrong length)"
|
| 2452 |
-
msgstr ""
|
| 2453 |
-
|
| 2454 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:195
|
| 2455 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:474
|
| 2456 |
-
msgid "Card number is invalid (only digits allowed)"
|
| 2457 |
-
msgstr ""
|
| 2458 |
-
|
| 2459 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:200
|
| 2460 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:473
|
| 2461 |
-
msgid "Card number is invalid"
|
| 2462 |
-
msgstr ""
|
| 2463 |
-
|
| 2464 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:227
|
| 2465 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:477
|
| 2466 |
-
msgid "Card security code is invalid (only digits are allowed)"
|
| 2467 |
-
msgstr ""
|
| 2468 |
-
|
| 2469 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:233
|
| 2470 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:478
|
| 2471 |
-
msgid "Card security code is invalid (must be 3 or 4 digits)"
|
| 2472 |
-
msgstr ""
|
| 2473 |
-
|
| 2474 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:239
|
| 2475 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:476
|
| 2476 |
-
msgid "Card security code is missing"
|
| 2477 |
-
msgstr ""
|
| 2478 |
-
|
| 2479 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:266
|
| 2480 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:488
|
| 2481 |
-
msgid "Routing Number is missing"
|
| 2482 |
-
msgstr ""
|
| 2483 |
-
|
| 2484 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:273
|
| 2485 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:489
|
| 2486 |
-
msgid "Routing Number is invalid (only digits are allowed)"
|
| 2487 |
-
msgstr ""
|
| 2488 |
-
|
| 2489 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:279
|
| 2490 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:490
|
| 2491 |
-
msgid "Routing number is invalid (must be 9 digits)"
|
| 2492 |
-
msgstr ""
|
| 2493 |
-
|
| 2494 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:288
|
| 2495 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:485
|
| 2496 |
-
msgid "Account Number is missing"
|
| 2497 |
-
msgstr ""
|
| 2498 |
-
|
| 2499 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:295
|
| 2500 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:486
|
| 2501 |
-
msgid "Account Number is invalid (only digits are allowed)"
|
| 2502 |
-
msgstr ""
|
| 2503 |
-
|
| 2504 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:301
|
| 2505 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:487
|
| 2506 |
-
msgid "Account number is invalid (must be between 5 and 17 digits)"
|
| 2507 |
-
msgstr ""
|
| 2508 |
-
|
| 2509 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:308
|
| 2510 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:484
|
| 2511 |
-
msgid "Drivers license number is invalid"
|
| 2512 |
-
msgstr ""
|
| 2513 |
-
|
| 2514 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:314
|
| 2515 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:480
|
| 2516 |
-
msgid "Check Number is invalid (only digits are allowed)"
|
| 2517 |
-
msgstr ""
|
| 2518 |
-
|
| 2519 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:484
|
| 2520 |
-
msgid "Unknown error"
|
| 2521 |
-
msgstr ""
|
| 2522 |
-
|
| 2523 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:493
|
| 2524 |
-
msgid "Payment method address could not be updated. %s"
|
| 2525 |
-
msgstr ""
|
| 2526 |
-
|
| 2527 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:660
|
| 2528 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2610
|
| 2529 |
-
#. translators: Placeholders: %1$s - payment method title, %2$s - payment
|
| 2530 |
-
#. account type (savings/checking) (may or may not be available), %3$s - last
|
| 2531 |
-
#. four digits of the account
|
| 2532 |
-
msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
|
| 2533 |
-
msgstr ""
|
| 2534 |
-
|
| 2535 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:665
|
| 2536 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2615
|
| 2537 |
-
#. translators: Placeholders: %s - check number
|
| 2538 |
-
msgid "Check number %s"
|
| 2539 |
-
msgstr ""
|
| 2540 |
-
|
| 2541 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:734
|
| 2542 |
-
#. translators: Placeholders: %1$s - payment method title, %2$s - environment
|
| 2543 |
-
#. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
|
| 2544 |
-
#. (mastercard, visa, ...), %5$s - last four digits of the card
|
| 2545 |
-
msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s"
|
| 2546 |
-
msgstr ""
|
| 2547 |
-
|
| 2548 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:747
|
| 2549 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:675
|
| 2550 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2567
|
| 2551 |
-
#. translators: Placeholders: %s - expiry date
|
| 2552 |
-
msgid "(expires %s)"
|
| 2553 |
-
msgstr ""
|
| 2554 |
-
|
| 2555 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:819
|
| 2556 |
-
#. translators: Placeholders: %s - failure message
|
| 2557 |
-
msgid "Tokenization Request Failed: %s"
|
| 2558 |
-
msgstr ""
|
| 2559 |
-
|
| 2560 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:830
|
| 2561 |
-
#. translators: Placeholders: %1$s - payment method title, %2$s - failure
|
| 2562 |
-
#. message
|
| 2563 |
-
msgid "%1$s Tokenization Request Failed: %2$s"
|
| 2564 |
-
msgstr ""
|
| 2565 |
-
|
| 2566 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:888
|
| 2567 |
-
#. translators: Placeholders: %s - failure message. Payment method as in a
|
| 2568 |
-
#. specific credit card, e-check or bank account
|
| 2569 |
-
msgid "Oops, adding your new payment method failed: %s"
|
| 2570 |
-
msgstr ""
|
| 2571 |
-
|
| 2572 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:929
|
| 2573 |
-
#. translators: Payment method as in a specific credit card. Placeholders: %1$s
|
| 2574 |
-
#. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
|
| 2575 |
-
#. %3$s - card expiry date
|
| 2576 |
-
msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
|
| 2577 |
-
msgstr ""
|
| 2578 |
-
|
| 2579 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:939
|
| 2580 |
-
#. translators: Payment method as in a specific e-check account. Placeholders:
|
| 2581 |
-
#. %1$s - account type (checking/savings), %2$s - last four digits of the
|
| 2582 |
-
#. account
|
| 2583 |
-
msgid "Nice! New payment method added: %1$s account ending in %2$s"
|
| 2584 |
-
msgstr ""
|
| 2585 |
-
|
| 2586 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:946
|
| 2587 |
-
#. translators: Payment method as in a specific credit card, e-check or bank
|
| 2588 |
-
#. account
|
| 2589 |
-
msgid "Nice! New payment method added."
|
| 2590 |
-
msgstr ""
|
| 2591 |
-
|
| 2592 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1066
|
| 2593 |
-
#. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
|
| 2594 |
-
#. method as in a specific credit card, e-check or bank account
|
| 2595 |
-
msgid "%1$s - Add Payment Method for %2$s"
|
| 2596 |
-
msgstr ""
|
| 2597 |
-
|
| 2598 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:179
|
| 2599 |
-
msgid "PayPal"
|
| 2600 |
-
msgstr ""
|
| 2601 |
-
|
| 2602 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:180
|
| 2603 |
-
msgid "Checking Account"
|
| 2604 |
-
msgstr ""
|
| 2605 |
-
|
| 2606 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:181
|
| 2607 |
-
msgid "Savings Account"
|
| 2608 |
-
msgstr ""
|
| 2609 |
-
|
| 2610 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:182
|
| 2611 |
-
msgid "Credit / Debit Card"
|
| 2612 |
-
msgstr ""
|
| 2613 |
-
|
| 2614 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:183
|
| 2615 |
-
msgid "Bank Account"
|
| 2616 |
-
msgstr ""
|
| 2617 |
-
|
| 2618 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:296
|
| 2619 |
-
msgid "Thank you for your order, please click the button below to pay."
|
| 2620 |
-
msgstr ""
|
| 2621 |
-
|
| 2622 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:297
|
| 2623 |
-
msgid "Thank you for your order. We are now redirecting you to complete payment."
|
| 2624 |
-
msgstr ""
|
| 2625 |
-
|
| 2626 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:298
|
| 2627 |
-
msgid "Pay Now"
|
| 2628 |
-
msgstr ""
|
| 2629 |
-
|
| 2630 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:299
|
| 2631 |
-
msgid "Cancel Order"
|
| 2632 |
-
msgstr ""
|
| 2633 |
-
|
| 2634 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:596
|
| 2635 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:832
|
| 2636 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2637 |
-
#. Authorize.net, Braintree, etc), %2$s - payment method name (mastercard, bank
|
| 2638 |
-
#. account, etc), %3$s - last four digits of the card/account, %4$s -
|
| 2639 |
-
#. card/account expiry date
|
| 2640 |
-
msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
|
| 2641 |
-
msgstr ""
|
| 2642 |
-
|
| 2643 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:607
|
| 2644 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:843
|
| 2645 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as CyberSouce,
|
| 2646 |
-
#. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
|
| 2647 |
-
#. available), %3$s - last four digits of the account
|
| 2648 |
-
msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
|
| 2649 |
-
msgstr ""
|
| 2650 |
-
|
| 2651 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:616
|
| 2652 |
-
#. translators: Placeholders: %s - payment gateway title (such as CyberSouce,
|
| 2653 |
-
#. NETbilling, etc)
|
| 2654 |
-
msgid "%s Payment Method Saved"
|
| 2655 |
-
msgstr ""
|
| 2656 |
-
|
| 2657 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-hosted.php:625
|
| 2658 |
-
#. translators: Placeholders: %s - a failed tokenization API error
|
| 2659 |
-
msgid "Tokenization failed. %s"
|
| 2660 |
-
msgstr ""
|
| 2661 |
-
|
| 2662 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:228
|
| 2663 |
-
msgid "Oops, there was an error updating your payment method. Please try again."
|
| 2664 |
-
msgstr ""
|
| 2665 |
-
|
| 2666 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:229
|
| 2667 |
-
msgid "Are you sure you want to delete this payment method?"
|
| 2668 |
-
msgstr ""
|
| 2669 |
-
|
| 2670 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:287
|
| 2671 |
-
#. translators: Payment method as in a specific credit card, eCheck or bank
|
| 2672 |
-
#. account
|
| 2673 |
-
msgid "You do not have any saved payment methods."
|
| 2674 |
-
msgstr ""
|
| 2675 |
-
|
| 2676 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:326
|
| 2677 |
-
#. translators: Payment method as in a specific credit card, eCheck or bank
|
| 2678 |
-
#. account
|
| 2679 |
-
msgid "My Payment Methods"
|
| 2680 |
-
msgstr ""
|
| 2681 |
-
|
| 2682 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:334
|
| 2683 |
-
#. translators: Payment method as in a specific credit card, e-check or bank
|
| 2684 |
-
#. account
|
| 2685 |
-
msgid "Add New Payment Method"
|
| 2686 |
-
msgstr ""
|
| 2687 |
-
|
| 2688 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:422
|
| 2689 |
-
msgid "Method"
|
| 2690 |
-
msgstr ""
|
| 2691 |
-
|
| 2692 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:423
|
| 2693 |
-
msgid "Details"
|
| 2694 |
-
msgstr ""
|
| 2695 |
-
|
| 2696 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:424
|
| 2697 |
-
msgid "Expires"
|
| 2698 |
-
msgstr ""
|
| 2699 |
-
|
| 2700 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:425
|
| 2701 |
-
msgid "Default?"
|
| 2702 |
-
msgstr ""
|
| 2703 |
-
|
| 2704 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:462
|
| 2705 |
-
msgid "Credit/Debit Cards"
|
| 2706 |
-
msgstr ""
|
| 2707 |
-
|
| 2708 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:471
|
| 2709 |
-
msgid "Bank Accounts"
|
| 2710 |
-
msgstr ""
|
| 2711 |
-
|
| 2712 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:526
|
| 2713 |
-
msgid "N/A"
|
| 2714 |
-
msgstr ""
|
| 2715 |
-
|
| 2716 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:638
|
| 2717 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:199
|
| 2718 |
-
msgid "Nickname"
|
| 2719 |
-
msgstr ""
|
| 2720 |
-
|
| 2721 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:973
|
| 2722 |
-
msgid "Oops, you took too long, please try again."
|
| 2723 |
-
msgstr ""
|
| 2724 |
-
|
| 2725 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:986
|
| 2726 |
-
msgid "There was an error with your request, please try again."
|
| 2727 |
-
msgstr ""
|
| 2728 |
-
|
| 2729 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:999
|
| 2730 |
-
#. translators: Payment method as in a specific credit card, e-check or bank
|
| 2731 |
-
#. account
|
| 2732 |
-
msgid "Error removing payment method"
|
| 2733 |
-
msgstr ""
|
| 2734 |
-
|
| 2735 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1004
|
| 2736 |
-
#. translators: Payment method as in a specific credit card, e-check or bank
|
| 2737 |
-
#. account
|
| 2738 |
-
msgid "Payment method deleted."
|
| 2739 |
-
msgstr ""
|
| 2740 |
-
|
| 2741 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:302
|
| 2742 |
-
msgid "Card Number"
|
| 2743 |
-
msgstr ""
|
| 2744 |
-
|
| 2745 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:323
|
| 2746 |
-
msgid "MM / YY"
|
| 2747 |
-
msgstr ""
|
| 2748 |
-
|
| 2749 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:341
|
| 2750 |
-
msgid "Card Security Code"
|
| 2751 |
-
msgstr ""
|
| 2752 |
-
|
| 2753 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:344
|
| 2754 |
-
msgid "CSC"
|
| 2755 |
-
msgstr ""
|
| 2756 |
-
|
| 2757 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:384
|
| 2758 |
-
msgid "Where do I find this?"
|
| 2759 |
-
msgstr ""
|
| 2760 |
-
|
| 2761 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:390
|
| 2762 |
-
#. translators: e-check routing number, HTML form field label,
|
| 2763 |
-
#. https:en.wikipedia.org/wiki/Routing_transit_number
|
| 2764 |
-
msgid "Routing Number"
|
| 2765 |
-
msgstr ""
|
| 2766 |
-
|
| 2767 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:409
|
| 2768 |
-
#. translators: e-check account number, HTML form field label
|
| 2769 |
-
msgid "Account Number"
|
| 2770 |
-
msgstr ""
|
| 2771 |
-
|
| 2772 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:475
|
| 2773 |
-
#. translators: Test mode refers to the current software environment
|
| 2774 |
-
msgid "TEST MODE ENABLED"
|
| 2775 |
-
msgstr ""
|
| 2776 |
-
|
| 2777 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:577
|
| 2778 |
-
#. translators: Payment method as in a specific credit card, eCheck or bank
|
| 2779 |
-
#. account
|
| 2780 |
-
msgid "Manage Payment Methods"
|
| 2781 |
-
msgstr ""
|
| 2782 |
-
|
| 2783 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:714
|
| 2784 |
-
msgid "Use a new card"
|
| 2785 |
-
msgstr ""
|
| 2786 |
-
|
| 2787 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:714
|
| 2788 |
-
msgid "Use a new bank account"
|
| 2789 |
-
msgstr ""
|
| 2790 |
-
|
| 2791 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:777
|
| 2792 |
-
#. translators: account as in customer's account on the eCommerce site
|
| 2793 |
-
msgid "Securely Save to Account"
|
| 2794 |
-
msgstr ""
|
| 2795 |
-
|
| 2796 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:603
|
| 2797 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
|
| 2798 |
-
#. tag
|
| 2799 |
-
msgid ""
|
| 2800 |
-
"%1$s: WooCommerce is not being forced over SSL; your customers' payment "
|
| 2801 |
-
"data may be at risk. %2$sVerify your site URLs here%3$s"
|
| 2802 |
-
msgstr ""
|
| 2803 |
-
|
| 2804 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:620
|
| 2805 |
-
#. translators: Placeholders: %s - payment gateway name
|
| 2806 |
-
msgid ""
|
| 2807 |
-
"%s will soon require TLS 1.2 support to process transactions and your "
|
| 2808 |
-
"server environment may need to be updated. Please contact your hosting "
|
| 2809 |
-
"provider to confirm that your site can send and receive TLS 1.2 connections "
|
| 2810 |
-
"and request they make any necessary updates."
|
| 2811 |
-
msgstr ""
|
| 2812 |
-
|
| 2813 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:676
|
| 2814 |
-
#. translators: Placeholders: %1$s - plugin name, %2$s - a
|
| 2815 |
-
#. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
|
| 2816 |
-
msgid ""
|
| 2817 |
-
"%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
|
| 2818 |
-
"%2$s to enable this gateway for checkout."
|
| 2819 |
-
msgid_plural ""
|
| 2820 |
-
"%1$s accepts payment in one of %2$s only. %3$sConfigure%4$s WooCommerce to "
|
| 2821 |
-
"accept one of %2$s to enable this gateway for checkout."
|
| 2822 |
-
msgstr[0] ""
|
| 2823 |
-
msgstr[1] ""
|
| 2824 |
-
|
| 2825 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:711
|
| 2826 |
-
#. translators: Placeholders: %1$s - payment gateway name, %2$s - opening <a>
|
| 2827 |
-
#. tag, %3$s - closing </a> tag
|
| 2828 |
-
msgid ""
|
| 2829 |
-
"Heads up! %1$s is currently configured to log transaction data for "
|
| 2830 |
-
"debugging purposes. If you are not experiencing any problems with payment "
|
| 2831 |
-
"processing, we recommend %2$sturning off Debug Mode%3$s"
|
| 2832 |
-
msgstr ""
|
| 2833 |
-
|
| 2834 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:750
|
| 2835 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2836 |
-
#. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
|
| 2837 |
-
msgid ""
|
| 2838 |
-
"%1$s is inactive for subscription transactions. Please %2$senable "
|
| 2839 |
-
"tokenization%3$s to activate %1$s for Subscriptions."
|
| 2840 |
-
msgstr ""
|
| 2841 |
-
|
| 2842 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:768
|
| 2843 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2844 |
-
#. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
|
| 2845 |
-
msgid ""
|
| 2846 |
-
"%1$s is inactive for pre-order transactions. Please %2$senable "
|
| 2847 |
-
"tokenization%3$s to activate %1$s for Pre-Orders."
|
| 2848 |
-
msgstr ""
|
| 2849 |
-
|
| 2850 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:805
|
| 2851 |
-
msgid ""
|
| 2852 |
-
"You must enable tokenization for this gateway in order to support automatic "
|
| 2853 |
-
"renewal payments with the WooCommerce Subscriptions extension."
|
| 2854 |
-
msgstr ""
|
| 2855 |
-
|
| 2856 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:806
|
| 2857 |
-
msgid "Inactive"
|
| 2858 |
-
msgstr ""
|
| 2859 |
-
|
| 2860 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:114
|
| 2861 |
-
msgid "%s Customer ID"
|
| 2862 |
-
msgstr ""
|
| 2863 |
-
|
| 2864 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:183
|
| 2865 |
-
msgid "Type"
|
| 2866 |
-
msgstr ""
|
| 2867 |
-
|
| 2868 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:253
|
| 2869 |
-
msgid "Removed payment token \"%d\""
|
| 2870 |
-
msgstr ""
|
| 2871 |
-
|
| 2872 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:300
|
| 2873 |
-
msgid "Expiry Date"
|
| 2874 |
-
msgstr ""
|
| 2875 |
-
|
| 2876 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:340
|
| 2877 |
-
msgid "you successfully processed a payment!"
|
| 2878 |
-
msgstr ""
|
| 2879 |
-
|
| 2880 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:345
|
| 2881 |
-
msgid "you successfully processed a refund!"
|
| 2882 |
-
msgstr ""
|
| 2883 |
-
|
| 2884 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:481
|
| 2885 |
-
msgid "Check Number is missing"
|
| 2886 |
-
msgstr ""
|
| 2887 |
-
|
| 2888 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:482
|
| 2889 |
-
msgid "Drivers license state is missing"
|
| 2890 |
-
msgstr ""
|
| 2891 |
-
|
| 2892 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:483
|
| 2893 |
-
msgid "Drivers license number is missing"
|
| 2894 |
-
msgstr ""
|
| 2895 |
-
|
| 2896 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:660
|
| 2897 |
-
msgid "Place order"
|
| 2898 |
-
msgstr ""
|
| 2899 |
-
|
| 2900 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:692
|
| 2901 |
-
msgid "Thank you for your order."
|
| 2902 |
-
msgstr ""
|
| 2903 |
-
|
| 2904 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1102
|
| 2905 |
-
msgid "Credit Card"
|
| 2906 |
-
msgstr ""
|
| 2907 |
-
|
| 2908 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1104
|
| 2909 |
-
msgid "eCheck"
|
| 2910 |
-
msgstr ""
|
| 2911 |
-
|
| 2912 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1122
|
| 2913 |
-
msgid "Pay securely using your credit card."
|
| 2914 |
-
msgstr ""
|
| 2915 |
-
|
| 2916 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1124
|
| 2917 |
-
msgid "Pay securely using your checking account."
|
| 2918 |
-
msgstr ""
|
| 2919 |
-
|
| 2920 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1270
|
| 2921 |
-
msgid "Select the gateway environment to use for transactions."
|
| 2922 |
-
msgstr ""
|
| 2923 |
-
|
| 2924 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1324
|
| 2925 |
-
msgid "Share connection settings"
|
| 2926 |
-
msgstr ""
|
| 2927 |
-
|
| 2928 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1326
|
| 2929 |
-
msgid "Use connection/authentication settings from other gateway"
|
| 2930 |
-
msgstr ""
|
| 2931 |
-
|
| 2932 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1329
|
| 2933 |
-
msgid "Disabled because the other gateway is using these settings"
|
| 2934 |
-
msgstr ""
|
| 2935 |
-
|
| 2936 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1346
|
| 2937 |
-
msgid "Card Verification (CSC)"
|
| 2938 |
-
msgstr ""
|
| 2939 |
-
|
| 2940 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1347
|
| 2941 |
-
msgid "Display the Card Security Code (CV2) field on checkout"
|
| 2942 |
-
msgstr ""
|
| 2943 |
-
|
| 2944 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1355
|
| 2945 |
-
msgid "Saved Card Verification"
|
| 2946 |
-
msgstr ""
|
| 2947 |
-
|
| 2948 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1356
|
| 2949 |
-
msgid "Display the Card Security Code field when paying with a saved card"
|
| 2950 |
-
msgstr ""
|
| 2951 |
-
|
| 2952 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1685
|
| 2953 |
-
#. translators: Placeholders: %1$s - site title, %2$s - order number
|
| 2954 |
-
msgid "%1$s - Order %2$s"
|
| 2955 |
-
msgstr ""
|
| 2956 |
-
|
| 2957 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1813
|
| 2958 |
-
#. translators: Placeholders: %1$s - site title, %2$s - order number.
|
| 2959 |
-
#. Definitions: Capture as in capture funds from a credit card.
|
| 2960 |
-
msgid "%1$s - Capture for Order %2$s"
|
| 2961 |
-
msgstr ""
|
| 2962 |
-
|
| 2963 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1956
|
| 2964 |
-
#. translators: Placeholders: %1$s - site title, %2$s - order number
|
| 2965 |
-
msgid "%1$s - Refund for Order %2$s"
|
| 2966 |
-
msgstr ""
|
| 2967 |
-
|
| 2968 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2023
|
| 2969 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2970 |
-
#. Authorize.net, Braintree, etc), %2$s - a monetary amount
|
| 2971 |
-
msgid "%1$s Refund in the amount of %2$s approved."
|
| 2972 |
-
msgstr ""
|
| 2973 |
-
|
| 2974 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2051
|
| 2975 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2976 |
-
#. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
|
| 2977 |
-
msgid "%1$s Refund Failed: %2$s - %3$s"
|
| 2978 |
-
msgstr ""
|
| 2979 |
-
|
| 2980 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2059
|
| 2981 |
-
#. translators: Placeholders: %1$s - payment gateway title (such as
|
| 2982 |
-
#. Authorize.net, Braintree, etc), %2$s - error message
|
| 2983 |
-
msgid "%1$s Refund Failed: %2$s"
|
| 2984 |
-
msgstr ""
|
| 2985 |
-
|
| 2986 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2080
|
| 2987 |
-
#. translators: Placeholders: %s - payment gateway title (such as
|
| 2988 |
-
#. Authorize.net, Braintree, etc)
|
| 2989 |
-
msgid "%s Order completely refunded."
|
| 2990 |
-
msgstr ""
|
| 2991 |
-
|
| 2992 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2135
|
| 2993 |
-
msgid ""
|
| 2994 |
-
"Oops, you cannot partially void this order. Please use the full order "
|
| 2995 |
-
"amount."
|
| 2996 |
-
msgstr ""
|
| 2997 |
-
|
| 2998 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2222
|
| 2999 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
|
| 3000 |
-
#. %3$s - error message. Void as in to void an order.
|
| 3001 |
-
msgid "%1$s Void Failed: %2$s - %3$s"
|
| 3002 |
-
msgstr ""
|
| 3003 |
-
|
| 3004 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2230
|
| 3005 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - error
|
| 3006 |
-
#. message. Void as in to void an order.
|
| 3007 |
-
msgid "%1$s Void Failed: %2$s"
|
| 3008 |
-
msgstr ""
|
| 3009 |
-
|
| 3010 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2254
|
| 3011 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
|
| 3012 |
-
#. amount. Void as in to void an order.
|
| 3013 |
-
msgid "%1$s Void in the amount of %2$s approved."
|
| 3014 |
-
msgstr ""
|
| 3015 |
-
|
| 3016 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2546
|
| 3017 |
-
#. translators: Placeholders: %1$s - payment method title, %2$s - environment
|
| 3018 |
-
#. ("Test"), %3$s - transaction type (authorization/charge)
|
| 3019 |
-
msgid "%1$s %2$s %3$s Approved"
|
| 3020 |
-
msgstr ""
|
| 3021 |
-
|
| 3022 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2556
|
| 3023 |
-
#. translators: Placeholders: %1$s - credit card type (MasterCard, Visa,
|
| 3024 |
-
#. etc...), %2$s - last four digits of the card
|
| 3025 |
-
msgid "%1$s ending in %2$s"
|
| 3026 |
-
msgstr ""
|
| 3027 |
-
|
| 3028 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2652
|
| 3029 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - message
|
| 3030 |
-
#. (probably reason for the transaction being held for review)
|
| 3031 |
-
msgid "%1$s Transaction Held for Review (%2$s)"
|
| 3032 |
-
msgstr ""
|
| 3033 |
-
|
| 3034 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2741
|
| 3035 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - error
|
| 3036 |
-
#. message; e.g. Order Note: [Payment method] Payment failed [error]
|
| 3037 |
-
msgid "%1$s Payment Failed (%2$s)"
|
| 3038 |
-
msgstr ""
|
| 3039 |
-
|
| 3040 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2776
|
| 3041 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s -
|
| 3042 |
-
#. message/error
|
| 3043 |
-
msgid "%1$s Transaction Cancelled (%2$s)"
|
| 3044 |
-
msgstr ""
|
| 3045 |
-
|
| 3046 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3021
|
| 3047 |
-
msgid "Transaction Type"
|
| 3048 |
-
msgstr ""
|
| 3049 |
-
|
| 3050 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3023
|
| 3051 |
-
msgid ""
|
| 3052 |
-
"Select how transactions should be processed. Charge submits all "
|
| 3053 |
-
"transactions for settlement, Authorization simply authorizes the order "
|
| 3054 |
-
"total for capture later."
|
| 3055 |
-
msgstr ""
|
| 3056 |
-
|
| 3057 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3034
|
| 3058 |
-
msgid "Charge Virtual-Only Orders"
|
| 3059 |
-
msgstr ""
|
| 3060 |
-
|
| 3061 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3036
|
| 3062 |
-
msgid ""
|
| 3063 |
-
"If the order contains exclusively virtual items, enable this to immediately "
|
| 3064 |
-
"charge, rather than authorize, the transaction."
|
| 3065 |
-
msgstr ""
|
| 3066 |
-
|
| 3067 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3044
|
| 3068 |
-
msgid "Enable Partial Capture"
|
| 3069 |
-
msgstr ""
|
| 3070 |
-
|
| 3071 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3046
|
| 3072 |
-
msgid "Allow orders to be partially captured multiple times."
|
| 3073 |
-
msgstr ""
|
| 3074 |
-
|
| 3075 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3058
|
| 3076 |
-
msgid "Capture Paid Orders"
|
| 3077 |
-
msgstr ""
|
| 3078 |
-
|
| 3079 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3061
|
| 3080 |
-
msgid "Automatically capture orders when they are changed to %s."
|
| 3081 |
-
msgstr ""
|
| 3082 |
-
|
| 3083 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3062
|
| 3084 |
-
msgid "a paid status"
|
| 3085 |
-
msgstr ""
|
| 3086 |
-
|
| 3087 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3252
|
| 3088 |
-
msgid "Accepted Card Logos"
|
| 3089 |
-
msgstr ""
|
| 3090 |
-
|
| 3091 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3254
|
| 3092 |
-
msgid ""
|
| 3093 |
-
"These are the card logos that are displayed to customers as accepted during "
|
| 3094 |
-
"checkout."
|
| 3095 |
-
msgstr ""
|
| 3096 |
-
|
| 3097 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3257
|
| 3098 |
-
#. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
|
| 3099 |
-
msgid ""
|
| 3100 |
-
"This setting %1$sdoes not%2$s change which card types the gateway will "
|
| 3101 |
-
"accept. Accepted cards are configured from your payment processor account."
|
| 3102 |
-
msgstr ""
|
| 3103 |
-
|
| 3104 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3348
|
| 3105 |
-
#. translators:
|
| 3106 |
-
#. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
|
| 3107 |
-
#. https:en.wikipedia.org/wiki/Tokenization_(data_security)
|
| 3108 |
-
msgid "Tokenization"
|
| 3109 |
-
msgstr ""
|
| 3110 |
-
|
| 3111 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3349
|
| 3112 |
-
msgid "Allow customers to securely save their payment details for future checkout."
|
| 3113 |
-
msgstr ""
|
| 3114 |
-
|
| 3115 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:254
|
| 3116 |
-
msgid "Pre-Order Tokenization attempt failed (%s)"
|
| 3117 |
-
msgstr ""
|
| 3118 |
-
|
| 3119 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:300
|
| 3120 |
-
msgid "%s - Pre-Order Release Payment for Order %s"
|
| 3121 |
-
msgstr ""
|
| 3122 |
-
|
| 3123 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:304
|
| 3124 |
-
msgid "Payment token missing/invalid."
|
| 3125 |
-
msgstr ""
|
| 3126 |
-
|
| 3127 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:329
|
| 3128 |
-
msgid "%s %s Pre-Order Release Payment Approved: %s ending in %s (expires %s)"
|
| 3129 |
-
msgstr ""
|
| 3130 |
-
|
| 3131 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:340
|
| 3132 |
-
msgid "%s eCheck Pre-Order Release Payment Approved: %s ending in %s"
|
| 3133 |
-
msgstr ""
|
| 3134 |
-
|
| 3135 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:382
|
| 3136 |
-
msgid "Pre-Order Release Payment Failed: %s"
|
| 3137 |
-
msgstr ""
|
| 3138 |
-
|
| 3139 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:213
|
| 3140 |
-
msgid "Subscription Renewal: payment token is missing/invalid."
|
| 3141 |
-
msgstr ""
|
| 3142 |
-
|
| 3143 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:239
|
| 3144 |
-
msgid "%1$s - Subscription Renewal Order %2$s"
|
| 3145 |
-
msgstr ""
|
| 3146 |
-
|
| 3147 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:371
|
| 3148 |
-
#. translators: Placeholders: %1$s - payment gateway title, %2$s - error
|
| 3149 |
-
#. message; e.g. Order Note: [Payment method] Payment Change failed [error]
|
| 3150 |
-
msgid "%1$s Payment Change Failed (%2$s)"
|
| 3151 |
-
msgstr ""
|
| 3152 |
-
|
| 3153 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:511
|
| 3154 |
-
msgid "Via %s ending in %s"
|
| 3155 |
-
msgstr ""
|
| 3156 |
-
|
| 3157 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:538
|
| 3158 |
-
msgid "Subscriptions"
|
| 3159 |
-
msgstr ""
|
| 3160 |
-
|
| 3161 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:607
|
| 3162 |
-
msgid ""
|
| 3163 |
-
"This payment method is tied to a subscription and cannot be deleted. Please "
|
| 3164 |
-
"switch the subscription to another method first."
|
| 3165 |
-
msgstr ""
|
| 3166 |
-
|
| 3167 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:659
|
| 3168 |
-
msgid "Payment Token"
|
| 3169 |
-
msgstr ""
|
| 3170 |
-
|
| 3171 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:688
|
| 3172 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:693
|
| 3173 |
-
msgid "%s is required."
|
| 3174 |
-
msgstr ""
|
| 3175 |
-
|
| 3176 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:171
|
| 3177 |
-
msgid "Unknown Error"
|
| 3178 |
-
msgstr ""
|
| 3179 |
-
|
| 3180 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:643
|
| 3181 |
-
msgid "Job data key \"%s\" not set"
|
| 3182 |
-
msgstr ""
|
| 3183 |
-
|
| 3184 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:647
|
| 3185 |
-
msgid "Job data key \"%s\" is not an array"
|
| 3186 |
-
msgstr ""
|
| 3187 |
-
|
| 3188 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:883
|
| 3189 |
-
msgid "Every %d Minutes"
|
| 3190 |
-
msgstr ""
|
| 3191 |
-
|
| 3192 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:1047
|
| 3193 |
-
msgid "Background Processing Test"
|
| 3194 |
-
msgstr ""
|
| 3195 |
-
|
| 3196 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:1048
|
| 3197 |
-
msgid "Run Test"
|
| 3198 |
-
msgstr ""
|
| 3199 |
-
|
| 3200 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:1049
|
| 3201 |
-
msgid ""
|
| 3202 |
-
"This tool will test whether your server is capable of processing background "
|
| 3203 |
-
"jobs."
|
| 3204 |
-
msgstr ""
|
| 3205 |
-
|
| 3206 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:1067
|
| 3207 |
-
msgid "Success! You should be able to process background jobs."
|
| 3208 |
-
msgstr ""
|
| 3209 |
-
|
| 3210 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php:1070
|
| 3211 |
-
msgid ""
|
| 3212 |
-
"Could not connect. Please ask your hosting company to ensure your server "
|
| 3213 |
-
"has loopback connections enabled."
|
| 3214 |
-
msgstr ""
|
| 3215 |
-
|
| 3216 |
-
#. Plugin URI of the plugin/theme
|
| 3217 |
-
msgid "https://woocommerce.com/products/square/"
|
| 3218 |
-
msgstr ""
|
| 3219 |
-
|
| 3220 |
-
#. Description of the plugin/theme
|
| 3221 |
-
msgid ""
|
| 3222 |
-
"Adds ability to sync inventory between WooCommerce and Square POS. In "
|
| 3223 |
-
"addition, you can also make purchases through the Square payment gateway."
|
| 3224 |
-
msgstr ""
|
| 3225 |
-
|
| 3226 |
-
#. Author URI of the plugin/theme
|
| 3227 |
-
msgid "https://www.woocommerce.com/"
|
| 3228 |
-
msgstr ""
|
| 3229 |
-
|
| 3230 |
-
#: includes/Admin/Sync_Page.php:287
|
| 3231 |
-
msgctxt "Delete all records"
|
| 3232 |
-
msgid "Clear history"
|
| 3233 |
-
msgstr ""
|
| 3234 |
-
|
| 3235 |
-
#: includes/Admin/Sync_Page.php:292 includes/Admin/Sync_Page.php:333
|
| 3236 |
-
msgctxt "Date - Time"
|
| 3237 |
-
msgid "Time"
|
| 3238 |
-
msgstr ""
|
| 3239 |
-
|
| 3240 |
-
#: includes/Emails/Access_Token_Email.php:47
|
| 3241 |
-
msgctxt "Email subject"
|
| 3242 |
-
msgid "[WooCommerce] There was a problem with your Square Access Token"
|
| 3243 |
-
msgstr ""
|
| 3244 |
-
|
| 3245 |
-
#: includes/Emails/Sync_Completed.php:47
|
| 3246 |
-
msgctxt "Email subject"
|
| 3247 |
-
msgid "[WooCommerce] Square sync completed"
|
| 3248 |
-
msgstr ""
|
| 3249 |
-
|
| 3250 |
-
#: includes/Emails/Access_Token_Email.php:48
|
| 3251 |
-
msgctxt "Email heading"
|
| 3252 |
-
msgid "There was a problem with your Square Access Token"
|
| 3253 |
-
msgstr ""
|
| 3254 |
-
|
| 3255 |
-
#: includes/Emails/Access_Token_Email.php:49
|
| 3256 |
-
msgctxt "Square connection problems email body."
|
| 3257 |
-
msgid "Heads up! There may be a problem with your connection to Square."
|
| 3258 |
-
msgstr ""
|
| 3259 |
-
|
| 3260 |
-
#: includes/Emails/Sync_Completed.php:48
|
| 3261 |
-
msgctxt "Email heading with merge tag placeholder"
|
| 3262 |
-
msgid "Square sync completed for {product_count}"
|
| 3263 |
-
msgstr ""
|
| 3264 |
-
|
| 3265 |
-
#: includes/Emails/Sync_Completed.php:49
|
| 3266 |
-
msgctxt "Email body with merge tag placeholders"
|
| 3267 |
msgid ""
|
| 3268 |
"Square sync completed for {site_title} at {sync_completed_date} "
|
| 3269 |
"{sync_completed_time}."
|
| 3270 |
-
msgstr ""
|
| 3271 |
-
|
| 3272 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostStatusRegistrar.php:36
|
| 3273 |
-
msgctxt "post"
|
| 3274 |
-
msgid "Failed"
|
| 3275 |
-
msgstr ""
|
| 3276 |
-
|
| 3277 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostStatusRegistrar.php:50
|
| 3278 |
-
msgctxt "post"
|
| 3279 |
-
msgid "In-Progress"
|
| 3280 |
-
msgstr ""
|
| 3281 |
-
|
| 3282 |
-
#: vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore_PostTypeRegistrar.php:32
|
| 3283 |
-
msgctxt "Admin menu name"
|
| 3284 |
-
msgid "Scheduled Actions"
|
| 3285 |
-
msgstr ""
|
| 3286 |
-
|
| 3287 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:397
|
| 3288 |
-
msgctxt "enhanced select"
|
| 3289 |
-
msgid "No matches found"
|
| 3290 |
-
msgstr ""
|
| 3291 |
-
|
| 3292 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:398
|
| 3293 |
-
msgctxt "enhanced select"
|
| 3294 |
-
msgid "Loading failed"
|
| 3295 |
-
msgstr ""
|
| 3296 |
-
|
| 3297 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:399
|
| 3298 |
-
msgctxt "enhanced select"
|
| 3299 |
-
msgid "Please enter 1 or more characters"
|
| 3300 |
-
msgstr ""
|
| 3301 |
-
|
| 3302 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:400
|
| 3303 |
-
msgctxt "enhanced select"
|
| 3304 |
-
msgid "Please enter %qty% or more characters"
|
| 3305 |
-
msgstr ""
|
| 3306 |
-
|
| 3307 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:401
|
| 3308 |
-
msgctxt "enhanced select"
|
| 3309 |
-
msgid "Please delete 1 character"
|
| 3310 |
-
msgstr ""
|
| 3311 |
-
|
| 3312 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:402
|
| 3313 |
-
msgctxt "enhanced select"
|
| 3314 |
-
msgid "Please delete %qty% characters"
|
| 3315 |
-
msgstr ""
|
| 3316 |
-
|
| 3317 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:403
|
| 3318 |
-
msgctxt "enhanced select"
|
| 3319 |
-
msgid "You can only select 1 item"
|
| 3320 |
-
msgstr ""
|
| 3321 |
-
|
| 3322 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:404
|
| 3323 |
-
msgctxt "enhanced select"
|
| 3324 |
-
msgid "You can only select %qty% items"
|
| 3325 |
-
msgstr ""
|
| 3326 |
-
|
| 3327 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:405
|
| 3328 |
-
msgctxt "enhanced select"
|
| 3329 |
-
msgid "Loading more results…"
|
| 3330 |
-
msgstr ""
|
| 3331 |
-
|
| 3332 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php:406
|
| 3333 |
-
msgctxt "enhanced select"
|
| 3334 |
-
msgid "Searching…"
|
| 3335 |
-
msgstr ""
|
| 3336 |
-
|
| 3337 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-helper.php:408
|
| 3338 |
-
msgctxt "coordinating conjunction for a list of items: a, b, and c"
|
| 3339 |
-
msgid "and"
|
| 3340 |
-
msgstr ""
|
| 3341 |
-
|
| 3342 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:534
|
| 3343 |
-
msgctxt "noun"
|
| 3344 |
-
msgid "Support"
|
| 3345 |
-
msgstr ""
|
| 3346 |
-
|
| 3347 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:539
|
| 3348 |
-
msgctxt "verb"
|
| 3349 |
-
msgid "Review"
|
| 3350 |
-
msgstr ""
|
| 3351 |
-
|
| 3352 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:736
|
| 3353 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2548
|
| 3354 |
-
msgctxt "noun, software environment"
|
| 3355 |
-
msgid "Test"
|
| 3356 |
-
msgstr ""
|
| 3357 |
-
|
| 3358 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:737
|
| 3359 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2549
|
| 3360 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3027
|
| 3361 |
-
msgctxt "credit card transaction type"
|
| 3362 |
-
msgid "Authorization"
|
| 3363 |
-
msgstr ""
|
| 3364 |
-
|
| 3365 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:737
|
| 3366 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2549
|
| 3367 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3026
|
| 3368 |
-
msgctxt "noun, credit card transaction type"
|
| 3369 |
-
msgid "Charge"
|
| 3370 |
-
msgstr ""
|
| 3371 |
-
|
| 3372 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:192
|
| 3373 |
-
msgctxt "payment method type"
|
| 3374 |
-
msgid "Account"
|
| 3375 |
-
msgstr ""
|
| 3376 |
-
|
| 3377 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:228
|
| 3378 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3285
|
| 3379 |
-
msgctxt "credit card type"
|
| 3380 |
-
msgid "Visa"
|
| 3381 |
-
msgstr ""
|
| 3382 |
-
|
| 3383 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:232
|
| 3384 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3286
|
| 3385 |
-
msgctxt "credit card type"
|
| 3386 |
-
msgid "MasterCard"
|
| 3387 |
-
msgstr ""
|
| 3388 |
-
|
| 3389 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:236
|
| 3390 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3287
|
| 3391 |
-
msgctxt "credit card type"
|
| 3392 |
-
msgid "American Express"
|
| 3393 |
-
msgstr ""
|
| 3394 |
-
|
| 3395 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:240
|
| 3396 |
-
msgctxt "credit card type"
|
| 3397 |
-
msgid "Diners Club"
|
| 3398 |
-
msgstr ""
|
| 3399 |
-
|
| 3400 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:244
|
| 3401 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3288
|
| 3402 |
-
msgctxt "credit card type"
|
| 3403 |
-
msgid "Discover"
|
| 3404 |
-
msgstr ""
|
| 3405 |
-
|
| 3406 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:248
|
| 3407 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3290
|
| 3408 |
-
msgctxt "credit card type"
|
| 3409 |
-
msgid "JCB"
|
| 3410 |
-
msgstr ""
|
| 3411 |
-
|
| 3412 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:252
|
| 3413 |
-
msgctxt "credit card type"
|
| 3414 |
-
msgid "CarteBleue"
|
| 3415 |
-
msgstr ""
|
| 3416 |
-
|
| 3417 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:256
|
| 3418 |
-
msgctxt "credit card type"
|
| 3419 |
-
msgid "Maestro"
|
| 3420 |
-
msgstr ""
|
| 3421 |
-
|
| 3422 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:260
|
| 3423 |
-
msgctxt "credit card type"
|
| 3424 |
-
msgid "Laser"
|
| 3425 |
-
msgstr ""
|
| 3426 |
-
|
| 3427 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3289
|
| 3428 |
-
msgctxt "credit card type"
|
| 3429 |
-
msgid "Diners"
|
| 3430 |
-
msgstr ""
|
| 3431 |
-
|
| 3432 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:435
|
| 3433 |
-
#. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
|
| 3434 |
-
msgctxt "account type"
|
| 3435 |
-
msgid "Checking"
|
| 3436 |
-
msgstr ""
|
| 3437 |
-
|
| 3438 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:437
|
| 3439 |
-
#. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
|
| 3440 |
-
msgctxt "account type"
|
| 3441 |
-
msgid "Savings"
|
| 3442 |
-
msgstr ""
|
| 3443 |
-
|
| 3444 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2329
|
| 3445 |
-
msgctxt "hash before order number"
|
| 3446 |
-
msgid "#"
|
| 3447 |
-
msgstr ""
|
| 3448 |
-
|
| 3449 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:568
|
| 3450 |
-
msgctxt "hash before order number"
|
| 3451 |
-
msgid "#%s"
|
| 3452 |
-
msgstr ""
|
| 3453 |
-
|
| 3454 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3055
|
| 3455 |
-
msgctxt ""
|
| 3456 |
-
"coordinating conjunction for a list of order statuses: on-hold, processing, "
|
| 3457 |
-
"or completed"
|
| 3458 |
-
msgid "or"
|
| 3459 |
-
msgstr ""
|
| 3460 |
-
|
| 3461 |
-
#: vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3891
|
| 3462 |
-
#. translators: https:www.skyverge.com/for-translators-environments/
|
| 3463 |
-
msgctxt "software environment"
|
| 3464 |
-
msgid "Production"
|
| 3465 |
msgstr ""
|
| 2 |
# This file is distributed under the GNU General Public License v3.0.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Square 2.4.0\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-square\n"
|
| 8 |
+
"POT-Creation-Date: 2021-03-23 02:05:16+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 131 |
msgstr ""
|
| 132 |
|
| 133 |
#: includes/Admin/Settings_Page.php:189 includes/Admin/Sync_Page.php:393
|
|
|
|
|
|
|
|
|
|
| 134 |
msgid "Cancel"
|
| 135 |
msgstr ""
|
| 136 |
|
| 211 |
|
| 212 |
#: includes/Admin/Sync_Page.php:182 includes/Admin/Sync_Page.php:295
|
| 213 |
#: includes/Admin/Sync_Page.php:336
|
|
|
|
| 214 |
msgid "Actions"
|
| 215 |
msgstr ""
|
| 216 |
|
| 239 |
msgstr ""
|
| 240 |
|
| 241 |
#: includes/Admin/Sync_Page.php:293 includes/Admin/Sync_Page.php:334
|
|
|
|
| 242 |
msgid "Status"
|
| 243 |
msgstr ""
|
| 244 |
|
| 430 |
|
| 431 |
#: includes/Gateway/API/Requests/Orders.php:88
|
| 432 |
#: includes/Gateway/Digital_Wallet.php:415
|
|
|
|
| 433 |
msgid "Discount"
|
| 434 |
msgstr ""
|
| 435 |
|
| 463 |
|
| 464 |
#: includes/Gateway/Digital_Wallet.php:205
|
| 465 |
#: includes/Gateway/Payment_Form.php:240 includes/Gateway.php:245
|
|
|
|
|
|
|
|
|
|
| 466 |
msgid "An error occurred, please try again or try an alternate form of payment."
|
| 467 |
msgstr ""
|
| 468 |
|
| 488 |
msgstr ""
|
| 489 |
|
| 490 |
#: includes/Gateway/Digital_Wallet.php:357
|
|
|
|
| 491 |
msgid "Pending"
|
| 492 |
msgstr ""
|
| 493 |
|
| 494 |
#: includes/Gateway/Digital_Wallet.php:399
|
|
|
|
| 495 |
msgid "Shipping"
|
| 496 |
msgstr ""
|
| 497 |
|
| 498 |
#: includes/Gateway/Digital_Wallet.php:423
|
|
|
|
| 499 |
msgid "Fees"
|
| 500 |
msgstr ""
|
| 501 |
|
| 502 |
+
#: includes/Gateway/Digital_Wallet.php:458
|
| 503 |
+
#. translators: Context (product, cart, checkout or page)
|
| 504 |
+
msgid "Empty payment request data for %s."
|
|
|
|
| 505 |
msgstr ""
|
| 506 |
|
| 507 |
+
#: includes/Gateway/Digital_Wallet.php:652
|
| 508 |
msgid "Empty cart"
|
| 509 |
msgstr ""
|
| 510 |
|
| 511 |
+
#: includes/Gateway/Digital_Wallet.php:786
|
| 512 |
msgid "Unable to verify domain with Apple Pay - missing access token."
|
| 513 |
msgstr ""
|
| 514 |
|
| 531 |
msgstr ""
|
| 532 |
|
| 533 |
#: includes/Gateway.php:580 includes/Gateway.php:750
|
|
|
|
|
|
|
| 534 |
msgid "Enable / Disable"
|
| 535 |
msgstr ""
|
| 536 |
|
| 537 |
#: includes/Gateway.php:581
|
|
|
|
| 538 |
msgid "Enable this gateway"
|
| 539 |
msgstr ""
|
| 540 |
|
| 541 |
#: includes/Gateway.php:587
|
|
|
|
| 542 |
msgid "Title"
|
| 543 |
msgstr ""
|
| 544 |
|
| 545 |
#: includes/Gateway.php:589
|
|
|
|
| 546 |
msgid "Payment method title that the customer will see during checkout."
|
| 547 |
msgstr ""
|
| 548 |
|
| 549 |
#: includes/Gateway.php:594
|
|
|
|
| 550 |
msgid "Description"
|
| 551 |
msgstr ""
|
| 552 |
|
| 553 |
#: includes/Gateway.php:596
|
|
|
|
| 554 |
msgid "Payment method description that the customer will see during checkout."
|
| 555 |
msgstr ""
|
| 556 |
|
| 559 |
msgstr ""
|
| 560 |
|
| 561 |
#: includes/Gateway.php:630
|
|
|
|
| 562 |
msgid "Detailed Decline Messages"
|
| 563 |
msgstr ""
|
| 564 |
|
| 565 |
#: includes/Gateway.php:632
|
|
|
|
| 566 |
msgid ""
|
| 567 |
"Check to enable detailed decline messages to the customer during checkout "
|
| 568 |
"when possible, rather than a generic decline message."
|
| 569 |
msgstr ""
|
| 570 |
|
| 571 |
#: includes/Gateway.php:639
|
|
|
|
|
|
|
| 572 |
msgid "Debug Mode"
|
| 573 |
msgstr ""
|
| 574 |
|
| 575 |
#: includes/Gateway.php:642
|
|
|
|
| 576 |
#. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
|
| 577 |
msgid ""
|
| 578 |
"Show Detailed Error Messages and API requests/responses on the checkout "
|
| 580 |
msgstr ""
|
| 581 |
|
| 582 |
#: includes/Gateway.php:645
|
|
|
|
|
|
|
| 583 |
msgid "Off"
|
| 584 |
msgstr ""
|
| 585 |
|
| 586 |
#: includes/Gateway.php:646
|
|
|
|
| 587 |
msgid "Show on Checkout Page"
|
| 588 |
msgstr ""
|
| 589 |
|
| 590 |
#: includes/Gateway.php:647
|
|
|
|
|
|
|
| 591 |
msgid "Save to Log"
|
| 592 |
msgstr ""
|
| 593 |
|
| 594 |
#: includes/Gateway.php:649
|
|
|
|
| 595 |
#. translators: show debugging information on both checkout page and in the log
|
| 596 |
msgid "Both"
|
| 597 |
msgstr ""
|
| 787 |
msgstr[1] ""
|
| 788 |
|
| 789 |
#: includes/Lifecycle.php:185
|
|
|
|
| 790 |
msgid "Awesome"
|
| 791 |
msgstr ""
|
| 792 |
|
| 793 |
#: includes/Lifecycle.php:186
|
|
|
|
| 794 |
msgid "Congratulations"
|
| 795 |
msgstr ""
|
| 796 |
|
| 799 |
msgstr ""
|
| 800 |
|
| 801 |
#: includes/Lifecycle.php:188
|
|
|
|
| 802 |
msgid "Fantastic"
|
| 803 |
msgstr ""
|
| 804 |
|
| 805 |
#: includes/Lifecycle.php:195
|
|
|
|
| 806 |
#. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
|
| 807 |
#. tag, %4$s - <a> tag, %5$s - </a> tag
|
| 808 |
msgid ""
|
| 1149 |
msgstr ""
|
| 1150 |
|
| 1151 |
#: includes/Sync/Records/Record.php:545
|
|
|
|
|
|
|
| 1152 |
msgid "Delete"
|
| 1153 |
msgstr ""
|
| 1154 |
|
| 1193 |
msgid "Data must be a non-empty string"
|
| 1194 |
ms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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1198 |
msgstr ""
|
| 1199 |
|
| 1200 |
+
#. Description of the plugin/theme
|
| 1201 |
msgid ""
|
| 1202 |
+
"Adds ability to sync inventory between WooCommerce and Square POS. In "
|
| 1203 |
+
"addition, you can also make purchases through the Square payment gateway."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1204 |
msgstr ""
|
| 1205 |
|
| 1206 |
+
#. Author URI of the plugin/theme
|
| 1207 |
+
msgid "https://www.woocommerce.com/"
|
| 1208 |
msgstr ""
|
| 1209 |
|
| 1210 |
+
#: includes/Admin/Sync_Page.php:287
|
| 1211 |
+
msgctxt "Delete all records"
|
| 1212 |
+
msgid "Clear history"
|
| 1213 |
msgstr ""
|
| 1214 |
|
| 1215 |
+
#: includes/Admin/Sync_Page.php:292 includes/Admin/Sync_Page.php:333
|
| 1216 |
+
msgctxt "Date - Time"
|
| 1217 |
+
msgid "Time"
|
| 1218 |
msgstr ""
|
| 1219 |
|
| 1220 |
+
#: includes/Emails/Access_Token_Email.php:47
|
| 1221 |
+
msgctxt "Email subject"
|
| 1222 |
+
msgid "[WooCommerce] There was a problem with your Square Access Token"
|
| 1223 |
msgstr ""
|
| 1224 |
|
| 1225 |
+
#: includes/Emails/Sync_Completed.php:47
|
| 1226 |
+
msgctxt "Email subject"
|
| 1227 |
+
msgid "[WooCommerce] Square sync completed"
|
| 1228 |
msgstr ""
|
| 1229 |
|
| 1230 |
+
#: includes/Emails/Access_Token_Email.php:48
|
| 1231 |
+
msgctxt "Email heading"
|
| 1232 |
+
msgid "There was a problem with your Square Access Token"
|
| 1233 |
msgstr ""
|
| 1234 |
|
| 1235 |
+
#: includes/Emails/Access_Token_Email.php:49
|
| 1236 |
+
msgctxt "Square connection problems email body."
|
| 1237 |
+
msgid "Heads up! There may be a problem with your connection to Square."
|
| 1238 |
msgstr ""
|
| 1239 |
|
| 1240 |
+
#: includes/Emails/Sync_Completed.php:48
|
| 1241 |
+
msgctxt "Email heading with merge tag placeholder"
|
| 1242 |
+
msgid "Square sync completed for {product_count}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1243 |
msgstr ""
|
| 1244 |
|
| 1245 |
+
#: includes/Emails/Sync_Completed.php:49
|
| 1246 |
+
msgctxt "Email body with merge tag placeholders"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
| 1250 |
msgstr ""
|
includes/Gateway/Digital_Wallet.php
CHANGED
|
@@ -48,7 +48,7 @@ class Digital_Wallet {
|
|
| 48 |
public function __construct( $gateway ) {
|
| 49 |
$this->gateway = $gateway;
|
| 50 |
|
| 51 |
-
if ( 'yes' === $gateway->get_option( 'enabled', 'no' ) &&
|
| 52 |
add_action( 'wp', array( $this, 'init' ) );
|
| 53 |
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
| 54 |
}
|
|
@@ -240,7 +240,7 @@ class Digital_Wallet {
|
|
| 240 |
|
| 241 |
case 'cart':
|
| 242 |
case 'checkout':
|
| 243 |
-
if ( isset( WC()->cart ) ) {
|
| 244 |
WC()->cart->calculate_totals();
|
| 245 |
$payment_request = $this->build_payment_request( WC()->cart->total );
|
| 246 |
}
|
|
@@ -454,7 +454,8 @@ class Digital_Wallet {
|
|
| 454 |
}
|
| 455 |
|
| 456 |
if ( empty( $payment_request ) ) {
|
| 457 |
-
|
|
|
|
| 458 |
}
|
| 459 |
} catch ( \Exception $e ) {
|
| 460 |
wp_send_json_error( $e->getMessage() );
|
|
@@ -903,9 +904,6 @@ class Digital_Wallet {
|
|
| 903 |
'simple',
|
| 904 |
'variable',
|
| 905 |
'variation',
|
| 906 |
-
'subscription',
|
| 907 |
-
'variable-subscription',
|
| 908 |
-
'subscription_variation',
|
| 909 |
'booking',
|
| 910 |
'bundle',
|
| 911 |
'composite',
|
|
@@ -994,19 +992,46 @@ class Digital_Wallet {
|
|
| 994 |
*/
|
| 995 |
public function is_available() {
|
| 996 |
if ( null === $this->is_available ) {
|
| 997 |
-
$
|
| 998 |
-
$current_page = $this->get_current_page();
|
| 999 |
-
|
| 1000 |
-
if ( is_array( $available_pages ) && $current_page && in_array( $current_page, $available_pages, true ) ) {
|
| 1001 |
-
$this->is_available = ( 'yes' === $this->gateway->get_option( 'enable_digital_wallets', 'yes' ) && $this->gateway->is_digital_wallet_available() && $this->gateway->is_available() && ( 'product' === $current_page ? $this->allowed_for_product_page() : $this->allowed_for_cart() ) ) ? true : false;
|
| 1002 |
-
} else {
|
| 1003 |
-
$this->is_available = false;
|
| 1004 |
-
}
|
| 1005 |
}
|
| 1006 |
|
| 1007 |
return $this->is_available;
|
| 1008 |
}
|
| 1009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1010 |
/**
|
| 1011 |
* This function calculates the value returned by get_option( 'wc_square_apple_pay_enabled', $default )
|
| 1012 |
* and is used by WC Admin's Remote Inbox Notifications for marketing purposes.
|
|
@@ -1018,7 +1043,7 @@ class Digital_Wallet {
|
|
| 1018 |
* @return int|mixed
|
| 1019 |
*/
|
| 1020 |
public function get_option_is_apple_pay_enabled( $value ) {
|
| 1021 |
-
if ( $this->
|
| 1022 |
$value = wp_rand( 1, 2 );
|
| 1023 |
}
|
| 1024 |
|
| 48 |
public function __construct( $gateway ) {
|
| 49 |
$this->gateway = $gateway;
|
| 50 |
|
| 51 |
+
if ( 'yes' === $gateway->get_option( 'enabled', 'no' ) && $this->is_digital_wallet_enabled() ) {
|
| 52 |
add_action( 'wp', array( $this, 'init' ) );
|
| 53 |
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
| 54 |
}
|
| 240 |
|
| 241 |
case 'cart':
|
| 242 |
case 'checkout':
|
| 243 |
+
if ( isset( WC()->cart ) && $this->allowed_for_cart() ) {
|
| 244 |
WC()->cart->calculate_totals();
|
| 245 |
$payment_request = $this->build_payment_request( WC()->cart->total );
|
| 246 |
}
|
| 454 |
}
|
| 455 |
|
| 456 |
if ( empty( $payment_request ) ) {
|
| 457 |
+
/* translators: Context (product, cart, checkout or page) */
|
| 458 |
+
throw new \Exception( sprintf( esc_html__( 'Empty payment request data for %s.', 'woocommerce-square' ), ! empty( $context ) ? $context : 'page' ) );
|
| 459 |
}
|
| 460 |
} catch ( \Exception $e ) {
|
| 461 |
wp_send_json_error( $e->getMessage() );
|
| 904 |
'simple',
|
| 905 |
'variable',
|
| 906 |
'variation',
|
|
|
|
|
|
|
|
|
|
| 907 |
'booking',
|
| 908 |
'bundle',
|
| 909 |
'composite',
|
| 992 |
*/
|
| 993 |
public function is_available() {
|
| 994 |
if ( null === $this->is_available ) {
|
| 995 |
+
$this->is_available = $this->is_available_for_page() && $this->is_digital_wallet_enabled() && $this->gateway->is_available();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 996 |
}
|
| 997 |
|
| 998 |
return $this->is_available;
|
| 999 |
}
|
| 1000 |
|
| 1001 |
+
/**
|
| 1002 |
+
* Returns true if digital wallets are available for the given page.
|
| 1003 |
+
* Checks the current page is no $page value is given
|
| 1004 |
+
*
|
| 1005 |
+
* @since 2.4.0
|
| 1006 |
+
* @param string $page
|
| 1007 |
+
* @return bool
|
| 1008 |
+
*/
|
| 1009 |
+
public function is_available_for_page( $page = '' ) {
|
| 1010 |
+
$is_available = true;
|
| 1011 |
+
$page = ! empty( $page ) ? $page : $this->get_current_page();
|
| 1012 |
+
$available_pages = $this->get_available_pages();
|
| 1013 |
+
|
| 1014 |
+
if ( empty( $page ) || ! is_array( $available_pages ) || ! in_array( $page, $available_pages, true ) ) {
|
| 1015 |
+
$is_available = false;
|
| 1016 |
+
}
|
| 1017 |
+
|
| 1018 |
+
if ( $is_available && 'product' === $page ) {
|
| 1019 |
+
$is_available = $this->allowed_for_product_page();
|
| 1020 |
+
}
|
| 1021 |
+
|
| 1022 |
+
return $is_available;
|
| 1023 |
+
}
|
| 1024 |
+
|
| 1025 |
+
/**
|
| 1026 |
+
* Checks if digital wallets are available and enabled.
|
| 1027 |
+
*
|
| 1028 |
+
* @since 2.4
|
| 1029 |
+
* @return bool
|
| 1030 |
+
*/
|
| 1031 |
+
public function is_digital_wallet_enabled() {
|
| 1032 |
+
return $this->gateway->is_digital_wallet_available() && 'yes' === $this->gateway->get_option( 'enable_digital_wallets', 'yes' );
|
| 1033 |
+
}
|
| 1034 |
+
|
| 1035 |
/**
|
| 1036 |
* This function calculates the value returned by get_option( 'wc_square_apple_pay_enabled', $default )
|
| 1037 |
* and is used by WC Admin's Remote Inbox Notifications for marketing purposes.
|
| 1043 |
* @return int|mixed
|
| 1044 |
*/
|
| 1045 |
public function get_option_is_apple_pay_enabled( $value ) {
|
| 1046 |
+
if ( $this->is_digital_wallet_enabled() && ! in_array( 'apple', $this->gateway->get_option( 'digital_wallets_hide_button_options', array() ), true ) ) {
|
| 1047 |
$value = wp_rand( 1, 2 );
|
| 1048 |
}
|
| 1049 |
|
includes/Plugin.php
CHANGED
|
@@ -42,7 +42,7 @@ class Plugin extends Framework\SV_WC_Payment_Gateway_Plugin {
|
|
| 42 |
|
| 43 |
|
| 44 |
/** plugin version number */
|
| 45 |
-
const VERSION = '2.
|
| 46 |
|
| 47 |
/** plugin ID */
|
| 48 |
const PLUGIN_ID = 'square';
|
| 42 |
|
| 43 |
|
| 44 |
/** plugin version number */
|
| 45 |
+
const VERSION = '2.4.0';
|
| 46 |
|
| 47 |
/** plugin ID */
|
| 48 |
const PLUGIN_ID = 'square';
|
readme.txt
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
Contributors: woocommerce, automattic, royho, woothemes, bor0, mattdallan, menakas, chickenn00dle, jorgeatorres, jamesgallan, achyuthajoy
|
| 3 |
Tags: credit card, square, woocommerce, inventory sync
|
| 4 |
Requires at least: 4.6
|
| 5 |
-
Tested up to: 5.
|
| 6 |
Requires PHP: 5.6
|
| 7 |
-
Stable tag: 2.
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
|
@@ -71,6 +71,10 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
|
|
| 71 |
2. The payment gateway settings.
|
| 72 |
|
| 73 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
= 2.3.4 - 2021.02.11 =
|
| 76 |
* Fix - Handle exceptions when loading digital wallet buttons on product pages with no stock or other serviceable issues. PR#591
|
| 2 |
Contributors: woocommerce, automattic, royho, woothemes, bor0, mattdallan, menakas, chickenn00dle, jorgeatorres, jamesgallan, achyuthajoy
|
| 3 |
Tags: credit card, square, woocommerce, inventory sync
|
| 4 |
Requires at least: 4.6
|
| 5 |
+
Tested up to: 5.7
|
| 6 |
Requires PHP: 5.6
|
| 7 |
+
Stable tag: 2.4.0
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
| 71 |
2. The payment gateway settings.
|
| 72 |
|
| 73 |
== Changelog ==
|
| 74 |
+
= 2.4.0 - 2021.03.23 =
|
| 75 |
+
* Fix - Update jQuery 3 deprecated functions. PR#560
|
| 76 |
+
* Fix - Don't display digital wallet buttons when the cart contains a subscription product as Square does not yet support tokenization through digital wallets. PR#597
|
| 77 |
+
* Dev - Replace CoffeeScript with plain JS. PR#560
|
| 78 |
|
| 79 |
= 2.3.4 - 2021.02.11 =
|
| 80 |
* Fix - Handle exceptions when loading digital wallet buttons on product pages with no stock or other serviceable issues. PR#591
|
vendor/square/connect/.travis.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
language: php
|
| 2 |
-
sudo: false
|
| 3 |
-
dist: trusty
|
| 4 |
-
php:
|
| 5 |
-
- 5.4
|
| 6 |
-
- 5.5
|
| 7 |
-
- 5.6
|
| 8 |
-
- 7.0
|
| 9 |
-
cache:
|
| 10 |
-
directories:
|
| 11 |
-
- $HOME/.composer/cache/files
|
| 12 |
-
before_install:
|
| 13 |
-
- composer config -g repositories.packagist composer https://packagist.jp
|
| 14 |
-
- composer install -vvv
|
| 15 |
-
install:
|
| 16 |
-
- openssl aes-256-cbc -K $encrypted_afef0992877c_key -iv $encrypted_afef0992877c_iv -in ./travis-ci/accounts.enc -out ./travis-ci/accounts.json -d
|
| 17 |
-
script:
|
| 18 |
-
- vendor/bin/phpunit test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/ApplePayApiTest.php
DELETED
|
@@ -1,50 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* ApplePayApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class ApplePayApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for registerDomain
|
| 43 |
-
*
|
| 44 |
-
* RegisterDomain
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_registerDomain() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/CatalogApiTest.php
DELETED
|
@@ -1,637 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
namespace SquareConnect\Api;
|
| 3 |
-
|
| 4 |
-
use \SquareConnect\Configuration;
|
| 5 |
-
use \SquareConnect\ApiClient;
|
| 6 |
-
use \SquareConnect\ApiException;
|
| 7 |
-
use \SquareConnect\ObjectSerializer;
|
| 8 |
-
use \SquareConnect\Model\CatalogObject;
|
| 9 |
-
use \SquareConnect\Model\BatchUpsertCatalogObjectsRequest;
|
| 10 |
-
use \SquareConnect\Model\BatchDeleteCatalogObjectsRequest;
|
| 11 |
-
use \SquareConnect\Model\UpdateItemTaxesRequest;
|
| 12 |
-
use \SquareConnect\Model\UpsertCatalogObjectRequest;
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* CatalogApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class CatalogApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
const COFFEE_CLIENT_ID = "#Coffee";
|
| 28 |
-
const BEVERAGES_CLIENT_ID = "#Beverages";
|
| 29 |
-
const SMALL_COFFEE_CLIENT_ID = "#SmallCoffee";
|
| 30 |
-
const LARGE_COFFEE_CLIENT_ID = "#LargeCoffee";
|
| 31 |
-
const SMALL_TEA_CLIENT_ID = "#SmallTea";
|
| 32 |
-
const SALES_TAX_CLIENT_ID = "#SalesTax";
|
| 33 |
-
const MILKS_CLIENT_ID = "#Milks";
|
| 34 |
-
|
| 35 |
-
private static $api;
|
| 36 |
-
private static $test_accounts;
|
| 37 |
-
private $objects = [];
|
| 38 |
-
private $idMap = [];
|
| 39 |
-
private $beverages = [
|
| 40 |
-
"type" => "CATEGORY",
|
| 41 |
-
"id" => self::BEVERAGES_CLIENT_ID,
|
| 42 |
-
"category_data" => [
|
| 43 |
-
"name" => "Beverages"
|
| 44 |
-
]
|
| 45 |
-
];
|
| 46 |
-
private $milks = [
|
| 47 |
-
"type" => "MODIFIER_LIST",
|
| 48 |
-
"id" => self::MILKS_CLIENT_ID,
|
| 49 |
-
"modifier_list_data" => [
|
| 50 |
-
"name" => "Milks",
|
| 51 |
-
"modifiers" => [
|
| 52 |
-
[
|
| 53 |
-
"type" => "MODIFIER",
|
| 54 |
-
"id" => "#WholeMilk",
|
| 55 |
-
"modifier_data" => [
|
| 56 |
-
"name" => "Whole Milk"]],
|
| 57 |
-
[
|
| 58 |
-
"type" => 'MODIFIER',
|
| 59 |
-
"id" => "#SkimMilk",
|
| 60 |
-
"modifier_data" => [
|
| 61 |
-
"name" => "Skim Milk"]],
|
| 62 |
-
[
|
| 63 |
-
"type" => "MODIFIER",
|
| 64 |
-
"id" => "#SoyMilk",
|
| 65 |
-
"modifier_data" => [
|
| 66 |
-
"name" => "SoyMilk",
|
| 67 |
-
"price_money" => [
|
| 68 |
-
"amount" => 50.0,
|
| 69 |
-
"currency" => "USD"
|
| 70 |
-
]
|
| 71 |
-
]
|
| 72 |
-
]
|
| 73 |
-
]
|
| 74 |
-
]
|
| 75 |
-
];
|
| 76 |
-
|
| 77 |
-
private $syrups = [
|
| 78 |
-
"type" => "MODIFIER_LIST",
|
| 79 |
-
"id" => "#Syrups",
|
| 80 |
-
"modifier_list_data" => [
|
| 81 |
-
"name" => "Syrups",
|
| 82 |
-
"modifiers" => [
|
| 83 |
-
[
|
| 84 |
-
"type" => "MODIFIER",
|
| 85 |
-
"id" => "#Hazelnut",
|
| 86 |
-
"modifier_data" => [
|
| 87 |
-
"name" => "Hazelnut"
|
| 88 |
-
]
|
| 89 |
-
],
|
| 90 |
-
[
|
| 91 |
-
"type" => "MODIFIER",
|
| 92 |
-
"id" => "#Vanilla",
|
| 93 |
-
"modifier_data" => [
|
| 94 |
-
"name" => "Vanilla"
|
| 95 |
-
]
|
| 96 |
-
],
|
| 97 |
-
[
|
| 98 |
-
"type" => "MODIFIER",
|
| 99 |
-
"id" => "#Chocolate",
|
| 100 |
-
"modifier_data" => [
|
| 101 |
-
"name" => "Chocolate"
|
| 102 |
-
]
|
| 103 |
-
]
|
| 104 |
-
]
|
| 105 |
-
]
|
| 106 |
-
];
|
| 107 |
-
private $coffee = [
|
| 108 |
-
"type" => "ITEM",
|
| 109 |
-
"id" => self::COFFEE_CLIENT_ID,
|
| 110 |
-
"item_data" => [
|
| 111 |
-
"name" => "Coffee",
|
| 112 |
-
"description" => "Hot bean juice",
|
| 113 |
-
"abbreviation" => "Co",
|
| 114 |
-
"category_id" => self::BEVERAGES_CLIENT_ID,
|
| 115 |
-
"modifier_list_info" => [["modifier_list_id" => self::MILKS_CLIENT_ID]],
|
| 116 |
-
"tax_ids" => [self::SALES_TAX_CLIENT_ID],
|
| 117 |
-
"variations" => [
|
| 118 |
-
[
|
| 119 |
-
"type" => "ITEM_VARIATION",
|
| 120 |
-
"id" => self::SMALL_COFFEE_CLIENT_ID,
|
| 121 |
-
"item_variation_data" => [
|
| 122 |
-
"name" => "Small",
|
| 123 |
-
"item_id" => self::COFFEE_CLIENT_ID,
|
| 124 |
-
"pricing_type" => "FIXED_PRICING",
|
| 125 |
-
"price_money" => [
|
| 126 |
-
"amount" => 195.0,
|
| 127 |
-
"currency" => "USD"
|
| 128 |
-
]
|
| 129 |
-
]
|
| 130 |
-
],
|
| 131 |
-
[
|
| 132 |
-
"type" => "ITEM_VARIATION",
|
| 133 |
-
"id" => self::LARGE_COFFEE_CLIENT_ID,
|
| 134 |
-
"item_variation_data" => [
|
| 135 |
-
"name" => "Large",
|
| 136 |
-
"item_id" => self::COFFEE_CLIENT_ID,
|
| 137 |
-
"pricing_type" => "FIXED_PRICING",
|
| 138 |
-
"price_money" => [
|
| 139 |
-
"amount" => 255.0,
|
| 140 |
-
"currency" => "USD"
|
| 141 |
-
]
|
| 142 |
-
]
|
| 143 |
-
]
|
| 144 |
-
]
|
| 145 |
-
]
|
| 146 |
-
];
|
| 147 |
-
private $tea = [
|
| 148 |
-
"type" => "ITEM",
|
| 149 |
-
"id" => "#Tea",
|
| 150 |
-
"item_data" => [
|
| 151 |
-
"name" => "Tea",
|
| 152 |
-
"description" => "Hot leaf juice",
|
| 153 |
-
"abbreviation" => "Te",
|
| 154 |
-
"category_id" => self::BEVERAGES_CLIENT_ID,
|
| 155 |
-
"modifier_list_info" => [["modifier_list_id" => self::MILKS_CLIENT_ID]],
|
| 156 |
-
"tax_ids" => [self::SALES_TAX_CLIENT_ID],
|
| 157 |
-
"variations" => [
|
| 158 |
-
[
|
| 159 |
-
"type" => "ITEM_VARIATION",
|
| 160 |
-
"id" => self::SMALL_TEA_CLIENT_ID,
|
| 161 |
-
"item_variation_data" => [
|
| 162 |
-
"name" => "Small",
|
| 163 |
-
"item_id" => "#Tea",
|
| 164 |
-
"pricing_type" => "FIXED_PRICING",
|
| 165 |
-
"price_money" => [
|
| 166 |
-
"amount" => 150.0,
|
| 167 |
-
"currency" => "USD"
|
| 168 |
-
]
|
| 169 |
-
]
|
| 170 |
-
],
|
| 171 |
-
[
|
| 172 |
-
"type" => "ITEM_VARIATION",
|
| 173 |
-
"id" => "#LargeTea",
|
| 174 |
-
"item_variation_data" => [
|
| 175 |
-
"name" => "Large",
|
| 176 |
-
"item_id" => "#Tea",
|
| 177 |
-
"pricing_type" => "FIXED_PRICING",
|
| 178 |
-
"price_money" => [
|
| 179 |
-
"amount" => 200.0,
|
| 180 |
-
"currency" => "USD"
|
| 181 |
-
]
|
| 182 |
-
]
|
| 183 |
-
]
|
| 184 |
-
]
|
| 185 |
-
]
|
| 186 |
-
];
|
| 187 |
-
private $sales_tax = [
|
| 188 |
-
"type" => "TAX",
|
| 189 |
-
"id" => '#SalesTax',
|
| 190 |
-
"present_at_all_locations" => true,
|
| 191 |
-
"tax_data" => [
|
| 192 |
-
"name" => "Sales Tax",
|
| 193 |
-
"calculation_phase" => "TAX_SUBTOTAL_PHASE",
|
| 194 |
-
"inclusion_type" => "ADDITIVE",
|
| 195 |
-
"percentage" => '5.0',
|
| 196 |
-
"applies_to_custom_amounts" => true,
|
| 197 |
-
"enabled" => true
|
| 198 |
-
]
|
| 199 |
-
];
|
| 200 |
-
|
| 201 |
-
/**
|
| 202 |
-
* Setup before running each test case
|
| 203 |
-
*/
|
| 204 |
-
public static function setUpBeforeClass() {
|
| 205 |
-
self::$api = new \SquareConnect\Api\CatalogApi();
|
| 206 |
-
self::$test_accounts = new \SquareConnect\TestAccounts();
|
| 207 |
-
// Configure OAuth2 access token for authorization: oauth2
|
| 208 |
-
$account = self::$test_accounts->{'US-Prod'};
|
| 209 |
-
$access_token = $account->{'access_token'};
|
| 210 |
-
Configuration::getDefaultConfiguration()->setAccessToken($access_token);
|
| 211 |
-
}
|
| 212 |
-
|
| 213 |
-
protected function setUp() {
|
| 214 |
-
$this->objects = [$this->beverages, $this->milks, $this->syrups, $this->coffee, $this->tea, $this->sales_tax];
|
| 215 |
-
$this->idMap = [];
|
| 216 |
-
$this->buildTestCatalog();
|
| 217 |
-
}
|
| 218 |
-
|
| 219 |
-
protected function tearDown() {
|
| 220 |
-
$this->deleteTestCatalog();
|
| 221 |
-
}
|
| 222 |
-
|
| 223 |
-
protected function buildTestCatalog() {
|
| 224 |
-
$body = new \SquareConnect\Model\BatchUpsertCatalogObjectsRequest([
|
| 225 |
-
"idempotency_key" => uniqid(),
|
| 226 |
-
"batches" => [
|
| 227 |
-
[
|
| 228 |
-
"objects" => $this->objects
|
| 229 |
-
]
|
| 230 |
-
]
|
| 231 |
-
]);
|
| 232 |
-
|
| 233 |
-
$response = self::$api->batchUpsertCatalogObjects($body);
|
| 234 |
-
|
| 235 |
-
foreach($response->getIdMappings() as $mapping) {
|
| 236 |
-
$this->idMap[$mapping->getClientObjectId()] = $mapping->getObjectId();
|
| 237 |
-
}
|
| 238 |
-
}
|
| 239 |
-
|
| 240 |
-
protected function deleteTestCatalog() {
|
| 241 |
-
$objectIds = [];
|
| 242 |
-
$cursor = "";
|
| 243 |
-
do {
|
| 244 |
-
$response = self::$api->listCatalog($cursor, null);
|
| 245 |
-
$cursor = $response->getCursor();
|
| 246 |
-
foreach($response->getObjects() as $object) {
|
| 247 |
-
array_push($objectIds, $object->getId());
|
| 248 |
-
}
|
| 249 |
-
} while (!empty($cursor));
|
| 250 |
-
|
| 251 |
-
while(!empty($objectIds)) {
|
| 252 |
-
$toRemove = array_splice($objectIds, 0, 200);
|
| 253 |
-
$request = new \SquareConnect\Model\BatchDeleteCatalogObjectsRequest([
|
| 254 |
-
"object_ids" => $toRemove
|
| 255 |
-
]);
|
| 256 |
-
self::$api->batchDeleteCatalogObjects($request);
|
| 257 |
-
}
|
| 258 |
-
}
|
| 259 |
-
|
| 260 |
-
/**
|
| 261 |
-
* Test case for batchDeleteCatalogObjects
|
| 262 |
-
*
|
| 263 |
-
* BatchDeleteCatalogObjects
|
| 264 |
-
*
|
| 265 |
-
*/
|
| 266 |
-
public function test_batchDeleteCatalogObjects() {
|
| 267 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 268 |
-
$smallCoffeeId = $this->idMap[self::SMALL_COFFEE_CLIENT_ID];
|
| 269 |
-
$largeCoffeeId = $this->idMap[self::LARGE_COFFEE_CLIENT_ID];
|
| 270 |
-
$smallTeaId = $this->idMap[self::SMALL_TEA_CLIENT_ID];
|
| 271 |
-
|
| 272 |
-
$request = new \SquareConnect\Model\BatchDeleteCatalogObjectsRequest([
|
| 273 |
-
"object_ids" => [$coffeeId, $smallTeaId]
|
| 274 |
-
]);
|
| 275 |
-
$response = self::$api->batchDeleteCatalogObjects($request);
|
| 276 |
-
|
| 277 |
-
$this->assertCount(4, $response->getDeletedObjectIds());
|
| 278 |
-
$this->assertContains($coffeeId, $response->getDeletedObjectIds());
|
| 279 |
-
$this->assertContains($smallCoffeeId, $response->getDeletedObjectIds());
|
| 280 |
-
$this->assertContains($largeCoffeeId, $response->getDeletedObjectIds());
|
| 281 |
-
$this->assertContains($smallTeaId, $response->getDeletedObjectIds());
|
| 282 |
-
}
|
| 283 |
-
/**
|
| 284 |
-
* Test case for batchRetrieveCatalogObjects
|
| 285 |
-
*
|
| 286 |
-
* BatchRetrieveCatalogObjects
|
| 287 |
-
*
|
| 288 |
-
*/
|
| 289 |
-
public function test_batchRetrieveCatalogObjects() {
|
| 290 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 291 |
-
$salesTaxId = $this->idMap[self::SALES_TAX_CLIENT_ID];
|
| 292 |
-
$beveragesId = $this->idMap[self::BEVERAGES_CLIENT_ID];
|
| 293 |
-
$milksId = $this->idMap[self::MILKS_CLIENT_ID];
|
| 294 |
-
|
| 295 |
-
$request = new \SquareConnect\Model\BatchRetrieveCatalogObjectsRequest([
|
| 296 |
-
"object_ids" => [$coffeeId, $salesTaxId]
|
| 297 |
-
]);
|
| 298 |
-
|
| 299 |
-
$response = self::$api->batchRetrieveCatalogObjects($request);
|
| 300 |
-
|
| 301 |
-
$this->assertCount(2, $response->getObjects());
|
| 302 |
-
$coffee = $response->getObjects()[0];
|
| 303 |
-
$this->assertEquals("ITEM", $coffee->getType());
|
| 304 |
-
$this->assertEquals($coffeeId, $coffee->getId());
|
| 305 |
-
$this->assertNotEmpty($coffee->getUpdatedAt());
|
| 306 |
-
$this->assertTrue($coffee->getVersion() != 0);
|
| 307 |
-
$this->assertFalse($coffee->getIsDeleted());
|
| 308 |
-
$this->assertEmpty($coffee->getCatalogV1Ids());
|
| 309 |
-
$this->assertEmpty($coffee->getPresentAtLocationIds());
|
| 310 |
-
$this->assertEmpty($coffee->getAbsentAtLocationIds());
|
| 311 |
-
|
| 312 |
-
$this->assertEquals("Coffee", $coffee->getItemData()->getName());
|
| 313 |
-
$this->assertEquals("Hot bean juice", $coffee->getItemData()->getDescription());
|
| 314 |
-
$this->assertEquals("Co", $coffee->getItemData()->getAbbreviation());
|
| 315 |
-
$this->assertNull($coffee->getItemData()->getLabelColor());
|
| 316 |
-
$this->assertNull($coffee->getItemData()->getAvailableOnline());
|
| 317 |
-
$this->assertNull($coffee->getItemData()->getAvailableForPickup());
|
| 318 |
-
$this->assertNull($coffee->getItemData()->getAvailableElectronically());
|
| 319 |
-
$this->assertEquals($beveragesId, $coffee->getItemData()->getCategoryId());
|
| 320 |
-
$this->assertCount(1, $coffee->getItemData()->getTaxIds());
|
| 321 |
-
$this->assertEquals($salesTaxId, $coffee->getItemData()->getTaxIds()[0]);
|
| 322 |
-
$this->assertCount(1, $coffee->getItemData()->getModifierListInfo());
|
| 323 |
-
$this->assertEquals($milksId, $coffee->getItemData()->getModifierListInfo()[0]->getModifierListId());
|
| 324 |
-
$this->assertEmpty($coffee->getItemData()->getModifierListInfo()[0]->getModifierOverrides());
|
| 325 |
-
$this->assertNull($coffee->getItemData()->getModifierListInfo()[0]->getMinSelectedModifiers());
|
| 326 |
-
$this->assertNull($coffee->getItemData()->getModifierListInfo()[0]->getMaxSelectedModifiers());
|
| 327 |
-
$this->assertNull($coffee->getItemData()->getModifierListInfo()[0]->getEnabled());
|
| 328 |
-
|
| 329 |
-
$this->assertCount(2, $coffee->getItemData()->getVariations());
|
| 330 |
-
$this->assertEquals("Small", $coffee->getItemData()->getVariations()[0]->getItemVariationData()->getName());
|
| 331 |
-
$this->assertEquals("FIXED_PRICING", $coffee->getItemData()->getVariations()[0]->getItemVariationData()->getPricingType());
|
| 332 |
-
$this->assertEquals(195.0, $coffee->getItemData()->getVariations()[0]->getItemVariationData()->getPriceMoney()->getAmount());
|
| 333 |
-
$this->assertEquals("USD", $coffee->getItemData()->getVariations()[0]->getItemVariationData()->getPriceMoney()->getCurrency());
|
| 334 |
-
|
| 335 |
-
$this->assertEquals("Large", $coffee->getItemData()->getVariations()[1]->getItemVariationData()->getName());
|
| 336 |
-
$this->assertEquals("FIXED_PRICING", $coffee->getItemData()->getVariations()[1]->getItemVariationData()->getPricingType());
|
| 337 |
-
$this->assertEquals(255.0, $coffee->getItemData()->getVariations()[1]->getItemVariationData()->getPriceMoney()->getAmount());
|
| 338 |
-
$this->assertEquals("USD", $coffee->getItemData()->getVariations()[1]->getItemVariationData()->getPriceMoney()->getCurrency());
|
| 339 |
-
|
| 340 |
-
$this->assertNull($coffee->getCategoryData());
|
| 341 |
-
$this->assertNull($coffee->getItemVariationData());
|
| 342 |
-
$this->assertNull($coffee->getTaxData());
|
| 343 |
-
$this->assertNull($coffee->getDiscountData());
|
| 344 |
-
$this->assertNull($coffee->getModifierListData());
|
| 345 |
-
$this->assertNull($coffee->getModifierData());
|
| 346 |
-
|
| 347 |
-
$salesTax = $response->getObjects()[1];
|
| 348 |
-
$this->assertEquals("TAX", $salesTax->getType());
|
| 349 |
-
$this->assertEquals($salesTaxId, $salesTax->getId());
|
| 350 |
-
$this->assertEquals("Sales Tax", $salesTax->getTaxData()->getName());
|
| 351 |
-
}
|
| 352 |
-
|
| 353 |
-
/**
|
| 354 |
-
* Test case for batchUpsertCatalogObjects
|
| 355 |
-
*
|
| 356 |
-
* BatchUpsertCatalogObjects
|
| 357 |
-
*
|
| 358 |
-
*/
|
| 359 |
-
public function test_batchUpsertCatalogObjects() {
|
| 360 |
-
$batches = [];
|
| 361 |
-
|
| 362 |
-
$numObjects = 0;
|
| 363 |
-
// TODO s/$batchNum < 1/$batchNum < 3/
|
| 364 |
-
for ($batchNum = 0; $batchNum < 1; $batchNum++) {
|
| 365 |
-
$batch = [];
|
| 366 |
-
|
| 367 |
-
for($i = 0; $i < 100; $i++) {
|
| 368 |
-
$itemId = sprintf("Item-%d-%d", $batchNum, $i);
|
| 369 |
-
|
| 370 |
-
$variationId = sprintf("#ItemVariation-%d-%d", $batchNum, $i);
|
| 371 |
-
array_push($batch, new \SquareConnect\Model\CatalogObject([
|
| 372 |
-
"type" => "ITEM",
|
| 373 |
-
"id" => "#" . $itemId,
|
| 374 |
-
"item_data" => [
|
| 375 |
-
"name" => $itemId,
|
| 376 |
-
"variations" => [
|
| 377 |
-
[
|
| 378 |
-
"type" => "ITEM_VARIATION",
|
| 379 |
-
"id" => $variationId,
|
| 380 |
-
"item_variation_data" => [
|
| 381 |
-
"name" => "Regular",
|
| 382 |
-
"item_id" => "#" . $itemId,
|
| 383 |
-
"pricing_type" => "VARIABLE_PRICING"
|
| 384 |
-
]
|
| 385 |
-
]
|
| 386 |
-
]
|
| 387 |
-
]
|
| 388 |
-
]));
|
| 389 |
-
$numObjects++;
|
| 390 |
-
}
|
| 391 |
-
array_push($batches, ["objects" => $batch]);
|
| 392 |
-
}
|
| 393 |
-
|
| 394 |
-
$request = new \SquareConnect\Model\BatchUpsertCatalogObjectsRequest([
|
| 395 |
-
"idempotency_key" => uniqid(),
|
| 396 |
-
"batches" => $batches
|
| 397 |
-
]);
|
| 398 |
-
$response = self::$api->batchUpsertCatalogObjects($request);
|
| 399 |
-
|
| 400 |
-
$this->assertCount($numObjects, $response->getObjects());
|
| 401 |
-
}
|
| 402 |
-
/**
|
| 403 |
-
* Test case for catalogInfo
|
| 404 |
-
*
|
| 405 |
-
* CatalogInfo
|
| 406 |
-
*
|
| 407 |
-
*/
|
| 408 |
-
public function test_catalogInfo() {
|
| 409 |
-
$response = self::$api->catalogInfo();
|
| 410 |
-
$this->assertEquals(1000, $response->getLimits()->getBatchUpsertMaxObjectsPerBatch());
|
| 411 |
-
$this->assertEquals(10000, $response->getLimits()->getBatchUpsertMaxTotalObjects());
|
| 412 |
-
$this->assertEquals(1000, $response->getLimits()->getBatchRetrieveMaxObjectIds());
|
| 413 |
-
$this->assertEquals(1000, $response->getLimits()->getSearchMaxPageLimit());
|
| 414 |
-
$this->assertEquals(200, $response->getLimits()->getBatchDeleteMaxObjectIds());
|
| 415 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemTaxesMaxItemIds());
|
| 416 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemTaxesMaxTaxesToEnable());
|
| 417 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemTaxesMaxTaxesToDisable());
|
| 418 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemModifierListsMaxItemIds());
|
| 419 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemModifierListsMaxModifierListsToEnable());
|
| 420 |
-
$this->assertEquals(1000, $response->getLimits()->getUpdateItemModifierListsMaxModifierListsToDisable());
|
| 421 |
-
}
|
| 422 |
-
|
| 423 |
-
/**
|
| 424 |
-
* Test case for deleteCatalogObject
|
| 425 |
-
*
|
| 426 |
-
* DeleteCatalogObject
|
| 427 |
-
*
|
| 428 |
-
*/
|
| 429 |
-
public function test_deleteCatalogObject() {
|
| 430 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 431 |
-
$smallCoffeeId = $this->idMap[self::SMALL_COFFEE_CLIENT_ID];
|
| 432 |
-
$largeCoffeeId = $this->idMap[self::LARGE_COFFEE_CLIENT_ID];
|
| 433 |
-
$response = self::$api->deleteCatalogObject($coffeeId);
|
| 434 |
-
|
| 435 |
-
$this->assertCount(3, $response->getDeletedObjectIds());
|
| 436 |
-
|
| 437 |
-
$this->assertContains($coffeeId, $response->getDeletedObjectIds());
|
| 438 |
-
$this->assertContains($smallCoffeeId, $response->getDeletedObjectIds());
|
| 439 |
-
$this->assertContains($largeCoffeeId, $response->getDeletedObjectIds());
|
| 440 |
-
}
|
| 441 |
-
/**
|
| 442 |
-
* Test case for listCatalog
|
| 443 |
-
*
|
| 444 |
-
* ListCatalog
|
| 445 |
-
*
|
| 446 |
-
*/
|
| 447 |
-
public function test_listCatalog() {
|
| 448 |
-
$objects = [];
|
| 449 |
-
$cursor = "";
|
| 450 |
-
do {
|
| 451 |
-
$response = self::$api->listCatalog($cursor, null);
|
| 452 |
-
$cursor = $response->getCursor();
|
| 453 |
-
$objects = array_merge($objects, $response->getObjects());
|
| 454 |
-
} while (!empty($cursor));
|
| 455 |
-
|
| 456 |
-
$this->assertCount(count($this->objects), $objects);
|
| 457 |
-
}
|
| 458 |
-
/**
|
| 459 |
-
* Test case for retrieveCatalogObject
|
| 460 |
-
*
|
| 461 |
-
* RetrieveCatalogObject
|
| 462 |
-
*
|
| 463 |
-
*/
|
| 464 |
-
public function test_retrieveCatalogObject() {
|
| 465 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 466 |
-
$response = self::$api->retrieveCatalogObject($coffeeId, true);
|
| 467 |
-
|
| 468 |
-
$this->assertEmpty($response->getErrors());
|
| 469 |
-
$this->assertEquals($coffeeId, $response->getObject()->getId());
|
| 470 |
-
|
| 471 |
-
$this->assertCount(3, $response->getRelatedObjects());
|
| 472 |
-
|
| 473 |
-
$gotMilks = false;
|
| 474 |
-
$gotSalesTax = false;
|
| 475 |
-
$gotBeverages = false;
|
| 476 |
-
|
| 477 |
-
$this->assertNotEmpty(array_filter($response->getRelatedObjects(), function($object) {
|
| 478 |
-
return $object->getType() == "MODIFIER_LIST" &&
|
| 479 |
-
$object->getModifierListData()->getName() == "Milks";
|
| 480 |
-
}));
|
| 481 |
-
|
| 482 |
-
$this->assertNotEmpty(array_filter($response->getRelatedObjects(), function($object) {
|
| 483 |
-
return $object->getType() == "CATEGORY" &&
|
| 484 |
-
$object->getCategoryData()->getName() == "Beverages";
|
| 485 |
-
}));
|
| 486 |
-
|
| 487 |
-
$this->assertNotEmpty(array_filter($response->getRelatedObjects(), function($object) {
|
| 488 |
-
return $object->getType() == "TAX" &&
|
| 489 |
-
$object->getTaxData()->getName() == "Sales Tax";
|
| 490 |
-
}));
|
| 491 |
-
}
|
| 492 |
-
/**
|
| 493 |
-
* Test case for searchCatalogObjects
|
| 494 |
-
*
|
| 495 |
-
* SearchCatalogObjects
|
| 496 |
-
*
|
| 497 |
-
*/
|
| 498 |
-
public function test_searchCatalogObjectsWithPrefixQuery() {
|
| 499 |
-
$query = new \SquareConnect\Model\SearchCatalogObjectsRequest([
|
| 500 |
-
"query" => [
|
| 501 |
-
"prefix_query" => [
|
| 502 |
-
"attribute_name" => "name",
|
| 503 |
-
"attribute_prefix" => "Sm"
|
| 504 |
-
]
|
| 505 |
-
],
|
| 506 |
-
"include_deleted_objects" => false,
|
| 507 |
-
"include_related_objects" => false,
|
| 508 |
-
]);
|
| 509 |
-
|
| 510 |
-
$response = self::$api->searchCatalogObjects($query);
|
| 511 |
-
$this->assertCount(2, $response->getObjects());
|
| 512 |
-
|
| 513 |
-
$this->assertEquals("ITEM_VARIATION", $response->getObjects()[0]->getType());
|
| 514 |
-
$this->assertEquals("Small", $response->getObjects()[0]->getItemVariationData()->getName());
|
| 515 |
-
$this->assertEquals("ITEM_VARIATION", $response->getObjects()[1]->getType());
|
| 516 |
-
$this->assertEquals("Small", $response->getObjects()[1]->getItemVariationData()->getName());
|
| 517 |
-
}
|
| 518 |
-
|
| 519 |
-
/**
|
| 520 |
-
* Test case for searchCatalogObjects
|
| 521 |
-
*
|
| 522 |
-
* SearchCatalogObjects
|
| 523 |
-
*
|
| 524 |
-
*/
|
| 525 |
-
public function test_searchCatalogObjectsWithTaxQuery() {
|
| 526 |
-
$query = new \SquareConnect\Model\SearchCatalogObjectsRequest([
|
| 527 |
-
"query" => [
|
| 528 |
-
"items_for_tax_query" => [
|
| 529 |
-
"tax_ids" => [
|
| 530 |
-
$this->idMap[self::SALES_TAX_CLIENT_ID]
|
| 531 |
-
]
|
| 532 |
-
]
|
| 533 |
-
],
|
| 534 |
-
"include_deleted_objects" => false,
|
| 535 |
-
"include_related_objects" => false,
|
| 536 |
-
]);
|
| 537 |
-
|
| 538 |
-
$response = self::$api->searchCatalogObjects($query);
|
| 539 |
-
$this->assertCount(2, $response->getObjects());
|
| 540 |
-
|
| 541 |
-
$this->assertEquals("ITEM", $response->getObjects()[0]->getType());
|
| 542 |
-
$this->assertEquals("ITEM", $response->getObjects()[1]->getType());
|
| 543 |
-
|
| 544 |
-
$this->assertNotEmpty(array_filter($response->getObjects(), function($object) {
|
| 545 |
-
return
|
| 546 |
-
$object->getItemData()->getName() == "Coffee";
|
| 547 |
-
}));
|
| 548 |
-
|
| 549 |
-
$this->assertNotEmpty(array_filter($response->getObjects(), function($object) {
|
| 550 |
-
return
|
| 551 |
-
$object->getItemData()->getName() == "Tea";
|
| 552 |
-
}));
|
| 553 |
-
}
|
| 554 |
-
/**
|
| 555 |
-
* Test case for updateItemModifierLists
|
| 556 |
-
*
|
| 557 |
-
* UpdateItemModifierLists
|
| 558 |
-
*
|
| 559 |
-
*/
|
| 560 |
-
public function test_updateItemModifierLists() {
|
| 561 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 562 |
-
$milksId = $this->idMap[self::MILKS_CLIENT_ID];
|
| 563 |
-
$syrupsId = $this->idMap["#Syrups"];
|
| 564 |
-
|
| 565 |
-
$beforeUpdate = self::$api->retrieveCatalogObject($coffeeId, false);
|
| 566 |
-
|
| 567 |
-
$this->assertCount(1, $beforeUpdate->getObject()->getItemData()->getModifierListInfo());
|
| 568 |
-
$this->assertEquals($milksId,
|
| 569 |
-
$beforeUpdate->getObject()->getItemData()->getModifierListInfo()[0]->getModifierListId());
|
| 570 |
-
|
| 571 |
-
$request = new \SquareConnect\Model\UpdateItemModifierListsRequest([
|
| 572 |
-
"item_ids" => [$coffeeId],
|
| 573 |
-
"modifier_lists_to_enable" => [$syrupsId],
|
| 574 |
-
"modifier_lists_to_disable" => [$milksId],
|
| 575 |
-
]);
|
| 576 |
-
$response = self::$api->updateItemModifierLists($request);
|
| 577 |
-
|
| 578 |
-
$afterUpdate = self::$api->retrieveCatalogObject($coffeeId, false);
|
| 579 |
-
// TODO: uncomment this soon
|
| 580 |
-
// $this->assertCount(1, $afterUpdate->getObject()->getItemData()->getModifierListInfo());
|
| 581 |
-
// $this->assertEquals($syrupsId,
|
| 582 |
-
// $afterUpdate->getObject()->getItemData()->getModifierListInfo()[0]->getModifierListId());
|
| 583 |
-
}
|
| 584 |
-
/**
|
| 585 |
-
* Test case for updateItemTaxes
|
| 586 |
-
*
|
| 587 |
-
* UpdateItemTaxes
|
| 588 |
-
*
|
| 589 |
-
*/
|
| 590 |
-
public function test_updateItemTaxes() {
|
| 591 |
-
$coffeeId = $this->idMap[self::COFFEE_CLIENT_ID];
|
| 592 |
-
$salesTaxId = $this->idMap[self::SALES_TAX_CLIENT_ID];
|
| 593 |
-
|
| 594 |
-
$beforeUpdate = self::$api->retrieveCatalogObject($coffeeId, false);
|
| 595 |
-
$this->assertCount(1, $beforeUpdate->getObject()->getItemData()->getTaxIds());
|
| 596 |
-
|
| 597 |
-
$request = new \SquareConnect\Model\UpdateItemTaxesRequest([
|
| 598 |
-
"item_ids" => [$coffeeId],
|
| 599 |
-
"taxes_to_disable" => [$salesTaxId]
|
| 600 |
-
]);
|
| 601 |
-
|
| 602 |
-
self::$api->updateItemTaxes($request);
|
| 603 |
-
|
| 604 |
-
$afterUpdate = self::$api->retrieveCatalogObject($coffeeId, false);
|
| 605 |
-
$this->assertEmpty($afterUpdate->getObject()->getItemData()->getTaxIds());
|
| 606 |
-
}
|
| 607 |
-
/**
|
| 608 |
-
* Test case for upsertCatalogObject
|
| 609 |
-
*
|
| 610 |
-
* UpsertCatalogObject
|
| 611 |
-
*
|
| 612 |
-
*/
|
| 613 |
-
public function test_upsertCatalogObject() {
|
| 614 |
-
$request = new \SquareConnect\Model\UpsertCatalogObjectRequest([
|
| 615 |
-
"idempotency_key" => uniqid(),
|
| 616 |
-
"object" => [
|
| 617 |
-
"type" => "DISCOUNT",
|
| 618 |
-
"id" => "#Discount",
|
| 619 |
-
"discount_data" => [
|
| 620 |
-
"name" => "Half off",
|
| 621 |
-
"percentage" => "50.0"
|
| 622 |
-
]
|
| 623 |
-
]
|
| 624 |
-
]);
|
| 625 |
-
|
| 626 |
-
$response = self::$api->upsertCatalogObject($request);
|
| 627 |
-
|
| 628 |
-
$this->assertEquals("Half off", $response->getCatalogObject()->getDiscountData()->getName());
|
| 629 |
-
$this->assertNotNull($response->getCatalogObject()->getId());
|
| 630 |
-
$this->assertNotNull($response->getCatalogObject()->getUpdatedAt());
|
| 631 |
-
$this->assertNotNull($response->getCatalogObject()->getVersion());
|
| 632 |
-
$this->assertFalse($response->getCatalogObject()->getIsDeleted());
|
| 633 |
-
|
| 634 |
-
$this->assertCount(1, $response->getIdMappings());
|
| 635 |
-
$this->assertEquals("#Discount", $response->getIdMappings()[0]->getClientObjectId());
|
| 636 |
-
}
|
| 637 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/CheckoutApiTest.php
DELETED
|
@@ -1,157 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* CheckoutApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class CheckoutApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
private static $api;
|
| 27 |
-
private static $test_accounts;
|
| 28 |
-
private static $location_id;
|
| 29 |
-
|
| 30 |
-
/**
|
| 31 |
-
* Setup before running each test case
|
| 32 |
-
*/
|
| 33 |
-
public static function setUpBeforeClass() {
|
| 34 |
-
self::$api = new \SquareConnect\Api\CheckoutApi();
|
| 35 |
-
self::$test_accounts = new \SquareConnect\TestAccounts();
|
| 36 |
-
// Configure OAuth2 access token for authorization: oauth2
|
| 37 |
-
$account = self::$test_accounts->{'US-Prod-Sandbox'};
|
| 38 |
-
$access_token = $account->access_token;
|
| 39 |
-
Configuration::getDefaultConfiguration()->setAccessToken($access_token);
|
| 40 |
-
|
| 41 |
-
self::$location_id = $account->location_id;
|
| 42 |
-
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Clean up after running each test case
|
| 47 |
-
*/
|
| 48 |
-
public static function tearDownAfterClass() {
|
| 49 |
-
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
/**
|
| 53 |
-
* Test case for createCheckout
|
| 54 |
-
*
|
| 55 |
-
* CreateCheckout
|
| 56 |
-
*
|
| 57 |
-
*/
|
| 58 |
-
public function test_createCheckout() {
|
| 59 |
-
$body = new \SquareConnect\Model\CreateCheckoutRequest([
|
| 60 |
-
"idempotency_key" => uniqid(),
|
| 61 |
-
"order" => [
|
| 62 |
-
"reference_id" => "reference_id",
|
| 63 |
-
"line_items" => [
|
| 64 |
-
[
|
| 65 |
-
"name" => "Printed T Shirt",
|
| 66 |
-
"quantity" => "2",
|
| 67 |
-
"base_price_money" => [
|
| 68 |
-
"amount" => 1500,
|
| 69 |
-
"currency" => "USD"
|
| 70 |
-
],
|
| 71 |
-
"discounts" => [
|
| 72 |
-
[
|
| 73 |
-
"name" => "7% off previous season item",
|
| 74 |
-
"percentage" => "7"
|
| 75 |
-
],
|
| 76 |
-
[
|
| 77 |
-
"name" => "$3 off Customer Discount",
|
| 78 |
-
"amount_money" => [
|
| 79 |
-
"amount" => 300,
|
| 80 |
-
"currency" => "USD"
|
| 81 |
-
]
|
| 82 |
-
]
|
| 83 |
-
]
|
| 84 |
-
],
|
| 85 |
-
[
|
| 86 |
-
"name" => "Slim Jeans",
|
| 87 |
-
"quantity" => "1",
|
| 88 |
-
"base_price_money" => [
|
| 89 |
-
"amount" => 2500,
|
| 90 |
-
"currency" => "USD"
|
| 91 |
-
]
|
| 92 |
-
],
|
| 93 |
-
[
|
| 94 |
-
"name" => "Woven Sweater",
|
| 95 |
-
"quantity" => "3",
|
| 96 |
-
"base_price_money" => [
|
| 97 |
-
"amount" => 3500,
|
| 98 |
-
"currency" => "USD"
|
| 99 |
-
],
|
| 100 |
-
"discounts" => [
|
| 101 |
-
[
|
| 102 |
-
"name" => "$11 off Customer Discount",
|
| 103 |
-
"amount_money" => [
|
| 104 |
-
"amount" => 1100,
|
| 105 |
-
"currency" => "USD"
|
| 106 |
-
]
|
| 107 |
-
]
|
| 108 |
-
],
|
| 109 |
-
"taxes" => [
|
| 110 |
-
[
|
| 111 |
-
"name" => "Fair Trade Tax",
|
| 112 |
-
"percentage" => "5"
|
| 113 |
-
]
|
| 114 |
-
]
|
| 115 |
-
]
|
| 116 |
-
],
|
| 117 |
-
"discounts" => [
|
| 118 |
-
[
|
| 119 |
-
"name" => "Father's day 12% OFF",
|
| 120 |
-
"percentage" => "12"
|
| 121 |
-
],
|
| 122 |
-
[
|
| 123 |
-
"name" => "Global Sales $55 OFF",
|
| 124 |
-
"amount_money" => [
|
| 125 |
-
"amount" => 5500,
|
| 126 |
-
"currency" => "USD"
|
| 127 |
-
]
|
| 128 |
-
]
|
| 129 |
-
],
|
| 130 |
-
"taxes" => [
|
| 131 |
-
[
|
| 132 |
-
"name" => "Sales Tax",
|
| 133 |
-
"percentage" => "8.5"
|
| 134 |
-
]
|
| 135 |
-
]
|
| 136 |
-
],
|
| 137 |
-
"ask_for_shipping_address" => true,
|
| 138 |
-
"merchant_support_email" => "merchant+support@website.com",
|
| 139 |
-
"pre_populate_buyer_email" => "example@email.com",
|
| 140 |
-
"pre_populate_shipping_address" => [
|
| 141 |
-
"address_line_1" => "1455 Market St.",
|
| 142 |
-
"address_line_2" => "Suite 600",
|
| 143 |
-
"locality" => "San Francisco",
|
| 144 |
-
"administrative_district_level_1" => "CA",
|
| 145 |
-
"postal_code" => "94103",
|
| 146 |
-
"country" => "US",
|
| 147 |
-
"first_name" => "Jane",
|
| 148 |
-
"last_name" => "Doe"
|
| 149 |
-
],
|
| 150 |
-
"redirect_url" => "https://docs.connect.squareup.com/order-confirm"
|
| 151 |
-
]);
|
| 152 |
-
|
| 153 |
-
$response = self::$api->createCheckout(self::$location_id, $body);
|
| 154 |
-
$this->assertEmpty($response->getErrors());
|
| 155 |
-
$this->assertStringStartsWith("https://connect.", $response->getCheckout()->getCheckoutPageUrl());
|
| 156 |
-
}
|
| 157 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/CustomersApiTest.php
DELETED
|
@@ -1,104 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* CustomersApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class CustomersApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for createCustomer
|
| 43 |
-
*
|
| 44 |
-
* CreateCustomer
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_createCustomer() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for createCustomerCard
|
| 52 |
-
*
|
| 53 |
-
* CreateCustomerCard
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_createCustomerCard() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for deleteCustomer
|
| 61 |
-
*
|
| 62 |
-
* DeleteCustomer
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_deleteCustomer() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for deleteCustomerCard
|
| 70 |
-
*
|
| 71 |
-
* DeleteCustomerCard
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_deleteCustomerCard() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for listCustomers
|
| 79 |
-
*
|
| 80 |
-
* ListCustomers
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_listCustomers() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for retrieveCustomer
|
| 88 |
-
*
|
| 89 |
-
* RetrieveCustomer
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_retrieveCustomer() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for updateCustomer
|
| 97 |
-
*
|
| 98 |
-
* UpdateCustomer
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_updateCustomer() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/EmployeesApiTest.php
DELETED
|
@@ -1,59 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* EmployeesApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class EmployeesApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for listEmployees
|
| 43 |
-
*
|
| 44 |
-
* ListEmployees
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_listEmployees() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for retrieveEmployee
|
| 52 |
-
*
|
| 53 |
-
* RetrieveEmployee
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_retrieveEmployee() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/InventoryApiTest.php
DELETED
|
@@ -1,305 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* InventoryApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class InventoryApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
private static $api_instance;
|
| 28 |
-
private static $catalog_api_instance;
|
| 29 |
-
private static $test_accounts;
|
| 30 |
-
private static $location_id;
|
| 31 |
-
private static $catalog_object_id;
|
| 32 |
-
private $tea = [
|
| 33 |
-
"type" => "ITEM",
|
| 34 |
-
"id" => "#Tea",
|
| 35 |
-
"item_data" => [
|
| 36 |
-
"name" => "Tea",
|
| 37 |
-
"description" => "Hot leaf juice",
|
| 38 |
-
"abbreviation" => "Te",
|
| 39 |
-
"variations" => [
|
| 40 |
-
[
|
| 41 |
-
"type" => "ITEM_VARIATION",
|
| 42 |
-
"id" => "#self::SMALL_TEA_CLIENT_ID",
|
| 43 |
-
"item_variation_data" => [
|
| 44 |
-
"name" => "Small",
|
| 45 |
-
"item_id" => "#Tea",
|
| 46 |
-
"pricing_type" => "FIXED_PRICING",
|
| 47 |
-
"price_money" => [
|
| 48 |
-
"amount" => 150.0,
|
| 49 |
-
"currency" => "USD"
|
| 50 |
-
]
|
| 51 |
-
]
|
| 52 |
-
]
|
| 53 |
-
]
|
| 54 |
-
]
|
| 55 |
-
];
|
| 56 |
-
|
| 57 |
-
/**
|
| 58 |
-
* Setup before running each test case
|
| 59 |
-
*/
|
| 60 |
-
public static function setUpBeforeClass() {
|
| 61 |
-
self::$api_instance = new \SquareConnect\Api\InventoryApi();
|
| 62 |
-
self::$catalog_api_instance = new \SquareConnect\Api\CatalogApi();
|
| 63 |
-
self::$test_accounts = new \SquareConnect\TestAccounts();
|
| 64 |
-
// Configure OAuth2 access token for authorization: oauth2
|
| 65 |
-
$account = self::$test_accounts->{'US-Prod'};
|
| 66 |
-
$access_token = $account->{'access_token'};
|
| 67 |
-
self::$location_id = $account->{'location_id'};
|
| 68 |
-
Configuration::getDefaultConfiguration()->setAccessToken($access_token);
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
protected function setUp() {
|
| 72 |
-
$response = $this->searchItemVariation();
|
| 73 |
-
if (count($response->getObjects()) == 0) {
|
| 74 |
-
$this->createTestItemVariation();
|
| 75 |
-
$response = $this->searchItemVariation();
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
self::$catalog_object_id = $response->getObjects()[0]->getId();
|
| 79 |
-
}
|
| 80 |
-
|
| 81 |
-
protected function createTestItemVariation() {
|
| 82 |
-
$body = new \SquareConnect\Model\BatchUpsertCatalogObjectsRequest([
|
| 83 |
-
"idempotency_key" => uniqid(),
|
| 84 |
-
"batches" => [
|
| 85 |
-
[
|
| 86 |
-
"objects" => [$this->tea]
|
| 87 |
-
]
|
| 88 |
-
]
|
| 89 |
-
]);
|
| 90 |
-
|
| 91 |
-
self::$catalog_api_instance->batchUpsertCatalogObjects($body);
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
protected function searchItemVariation() {
|
| 95 |
-
$query = new \SquareConnect\Model\SearchCatalogObjectsRequest([
|
| 96 |
-
"object_types" => [
|
| 97 |
-
"ITEM_VARIATION"
|
| 98 |
-
],
|
| 99 |
-
"limit" => 1,
|
| 100 |
-
"include_deleted_objects" => false,
|
| 101 |
-
"include_related_objects" => false,
|
| 102 |
-
]);
|
| 103 |
-
|
| 104 |
-
return self::$catalog_api_instance->searchCatalogObjects($query);
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
/**
|
| 108 |
-
* Clean up after running each test case
|
| 109 |
-
*/
|
| 110 |
-
public static function tearDownAfterClass() {
|
| 111 |
-
|
| 112 |
-
}
|
| 113 |
-
|
| 114 |
-
/**
|
| 115 |
-
* Test case for batchChangeInventory
|
| 116 |
-
*
|
| 117 |
-
* BatchChangeInventory
|
| 118 |
-
*
|
| 119 |
-
*/
|
| 120 |
-
public function test_batchChangeInventory() {
|
| 121 |
-
$body = new \SquareConnect\Model\BatchChangeInventoryRequest([
|
| 122 |
-
"idempotency_key" => uniqid(),
|
| 123 |
-
"changes" => [
|
| 124 |
-
[
|
| 125 |
-
"type" => "PHYSICAL_COUNT",
|
| 126 |
-
"physical_count" => [
|
| 127 |
-
"catalog_object_id" => self::$catalog_object_id,
|
| 128 |
-
"state" => "IN_STOCK",
|
| 129 |
-
"location_id" => self::$location_id,
|
| 130 |
-
"quantity" => "1",
|
| 131 |
-
"occurred_at" => date("Y-m-d\TH:i:s\Z", time())
|
| 132 |
-
]
|
| 133 |
-
]
|
| 134 |
-
]
|
| 135 |
-
]);
|
| 136 |
-
$response = self::$api_instance->batchChangeInventory($body);
|
| 137 |
-
$this->assertInstanceOf(
|
| 138 |
-
'\SquareConnect\Model\BatchChangeInventoryResponse',
|
| 139 |
-
$response
|
| 140 |
-
);
|
| 141 |
-
$this->assertEmpty($response->getErrors());
|
| 142 |
-
}
|
| 143 |
-
/**
|
| 144 |
-
* Test case for batchRetrieveInventoryChanges
|
| 145 |
-
*
|
| 146 |
-
* BatchRetrieveInventoryChanges
|
| 147 |
-
*
|
| 148 |
-
*/
|
| 149 |
-
public function test_batchRetrieveInventoryChanges() {
|
| 150 |
-
$this->physicalCountInventoryChange(self::$catalog_object_id, self::$location_id);
|
| 151 |
-
$body = new \SquareConnect\Model\BatchRetrieveInventoryChangesRequest([
|
| 152 |
-
"catalog_object_ids" => [ self::$catalog_object_id ]
|
| 153 |
-
]);
|
| 154 |
-
$response = self::$api_instance->batchRetrieveInventoryChanges($body);
|
| 155 |
-
$this->assertInstanceOf(
|
| 156 |
-
'\SquareConnect\Model\BatchRetrieveInventoryChangesResponse',
|
| 157 |
-
$response
|
| 158 |
-
);
|
| 159 |
-
$this->assertEmpty($response->getErrors());
|
| 160 |
-
$this->assertGreaterThanOrEqual(1, count($response->getChanges()));
|
| 161 |
-
$this->assertEquals(self::$catalog_object_id, $response->getChanges()[0]->getPhysicalCount()->getCatalogObjectId());
|
| 162 |
-
}
|
| 163 |
-
/**
|
| 164 |
-
* Test case for batchRetrieveInventoryCounts
|
| 165 |
-
*
|
| 166 |
-
* BatchRetrieveInventoryCounts
|
| 167 |
-
*
|
| 168 |
-
*/
|
| 169 |
-
public function test_batchRetrieveInventoryCounts() {
|
| 170 |
-
$this->physicalCountInventoryChange(self::$catalog_object_id, self::$location_id);
|
| 171 |
-
$body = new \SquareConnect\Model\BatchRetrieveInventoryCountsRequest([
|
| 172 |
-
"catalog_object_ids" => [ self::$catalog_object_id ]
|
| 173 |
-
]);
|
| 174 |
-
$counts = self::$api_instance->batchRetrieveInventoryCounts($body);
|
| 175 |
-
$this->assertInstanceOf(
|
| 176 |
-
'\SquareConnect\Model\BatchRetrieveInventoryCountsResponse',
|
| 177 |
-
$counts
|
| 178 |
-
);
|
| 179 |
-
$this->assertEmpty($counts->getErrors());
|
| 180 |
-
$this->assertGreaterThanOrEqual(1, count($counts->getCounts()));
|
| 181 |
-
$this->assertEquals(self::$catalog_object_id, $counts->getCounts()[0]->getCatalogObjectId());
|
| 182 |
-
}
|
| 183 |
-
/**
|
| 184 |
-
* Test case for retrieveInventoryAdjustment
|
| 185 |
-
*
|
| 186 |
-
* RetrieveInventoryAdjustment
|
| 187 |
-
*
|
| 188 |
-
*/
|
| 189 |
-
public function test_retrieveInventoryAdjustment() {
|
| 190 |
-
$batch_change_inventory_body = new \SquareConnect\Model\BatchChangeInventoryRequest([
|
| 191 |
-
"idempotency_key" => uniqid(),
|
| 192 |
-
"changes" => [
|
| 193 |
-
[
|
| 194 |
-
"type" => "ADJUSTMENT",
|
| 195 |
-
"adjustment" => [
|
| 196 |
-
"catalog_object_id" => self::$catalog_object_id,
|
| 197 |
-
"from_state" => "NONE",
|
| 198 |
-
"to_state" => "IN_STOCK",
|
| 199 |
-
"location_id" => self::$location_id,
|
| 200 |
-
"quantity" => "1",
|
| 201 |
-
"occurred_at" => date("Y-m-d\TH:i:s\Z", time())
|
| 202 |
-
]
|
| 203 |
-
]
|
| 204 |
-
]
|
| 205 |
-
]);
|
| 206 |
-
self::$api_instance->batchChangeInventory($batch_change_inventory_body);
|
| 207 |
-
|
| 208 |
-
$batch_retrieve_change_body = new \SquareConnect\Model\BatchRetrieveInventoryChangesRequest([
|
| 209 |
-
"catalog_object_ids" => [ self::$catalog_object_id ],
|
| 210 |
-
"types" => [ "ADJUSTMENT" ]
|
| 211 |
-
]);
|
| 212 |
-
$retrieve_response = self::$api_instance->batchRetrieveInventoryChanges($batch_retrieve_change_body);
|
| 213 |
-
|
| 214 |
-
$adjustment = $retrieve_response->getChanges()[0]->getAdjustment();
|
| 215 |
-
$response = self::$api_instance->retrieveInventoryAdjustment($adjustment->getId());
|
| 216 |
-
$this->assertInstanceOf(
|
| 217 |
-
'\SquareConnect\Model\RetrieveInventoryAdjustmentResponse',
|
| 218 |
-
$response
|
| 219 |
-
);
|
| 220 |
-
$this->assertEquals($response->getAdjustment(), $adjustment);
|
| 221 |
-
}
|
| 222 |
-
/**
|
| 223 |
-
* Test case for retrieveInventoryChanges
|
| 224 |
-
*
|
| 225 |
-
* RetrieveInventoryChanges
|
| 226 |
-
*
|
| 227 |
-
*/
|
| 228 |
-
public function test_retrieveInventoryChanges() {
|
| 229 |
-
$this->physicalCountInventoryChange(self::$catalog_object_id, self::$location_id);
|
| 230 |
-
|
| 231 |
-
$changes = self::$api_instance->retrieveInventoryChanges(self::$catalog_object_id);
|
| 232 |
-
$this->assertInstanceOf(
|
| 233 |
-
'\SquareConnect\Model\RetrieveInventoryChangesResponse',
|
| 234 |
-
$changes
|
| 235 |
-
);
|
| 236 |
-
$this->assertGreaterThanOrEqual(1, count($changes->getChanges()));
|
| 237 |
-
|
| 238 |
-
$change = $changes->getChanges()[0];
|
| 239 |
-
if ($change->getType() == 'PHYSICAL_COUNT') {
|
| 240 |
-
$this->assertEquals(self::$catalog_object_id, $change->getPhysicalCount()->getCatalogObjectId());
|
| 241 |
-
} else {
|
| 242 |
-
$this->assertEquals(self::$catalog_object_id, $change->getAdjustment()->getCatalogObjectId());
|
| 243 |
-
};
|
| 244 |
-
}
|
| 245 |
-
/**
|
| 246 |
-
* Test case for retrieveInventoryCount
|
| 247 |
-
*
|
| 248 |
-
* RetrieveInventoryCount
|
| 249 |
-
*
|
| 250 |
-
*/
|
| 251 |
-
public function test_retrieveInventoryCount() {
|
| 252 |
-
$this->physicalCountInventoryChange(self::$catalog_object_id, self::$location_id);
|
| 253 |
-
|
| 254 |
-
$counts = self::$api_instance->retrieveInventoryCount(self::$catalog_object_id);
|
| 255 |
-
$this->assertInstanceOf(
|
| 256 |
-
'\SquareConnect\Model\RetrieveInventoryCountResponse',
|
| 257 |
-
$counts
|
| 258 |
-
);
|
| 259 |
-
$this->assertGreaterThanOrEqual(1, count($counts->getCounts()));
|
| 260 |
-
$this->assertEquals(self::$catalog_object_id, $counts->getCounts()[0]->getCatalogObjectId());
|
| 261 |
-
}
|
| 262 |
-
/**
|
| 263 |
-
* Test case for retrieveInventoryPhysicalCount
|
| 264 |
-
*
|
| 265 |
-
* RetrieveInventoryPhysicalCount
|
| 266 |
-
*
|
| 267 |
-
*/
|
| 268 |
-
public function test_retrieveInventoryPhysicalCount() {
|
| 269 |
-
$this->physicalCountInventoryChange(self::$catalog_object_id, self::$location_id);
|
| 270 |
-
|
| 271 |
-
$batch_retrieve_change_body = new \SquareConnect\Model\BatchRetrieveInventoryChangesRequest([
|
| 272 |
-
"catalog_object_ids" => [ self::$catalog_object_id ],
|
| 273 |
-
"types" => [ "PHYSICAL_COUNT" ]
|
| 274 |
-
]);
|
| 275 |
-
$retrieve_response = self::$api_instance->batchRetrieveInventoryChanges($batch_retrieve_change_body);
|
| 276 |
-
|
| 277 |
-
$physical_count = $retrieve_response->getChanges()[0]->getPhysicalCount();
|
| 278 |
-
$count = self::$api_instance->retrieveInventoryPhysicalCount($physical_count->getId());
|
| 279 |
-
$this->assertInstanceOf(
|
| 280 |
-
'\SquareConnect\Model\RetrieveInventoryPhysicalCountResponse',
|
| 281 |
-
$count
|
| 282 |
-
);
|
| 283 |
-
$this->assertEquals($physical_count, $count->getCount());
|
| 284 |
-
}
|
| 285 |
-
|
| 286 |
-
private function physicalCountInventoryChange($catalog_object_id, $location_id) {
|
| 287 |
-
$batch_change_inventory_body = new \SquareConnect\Model\BatchChangeInventoryRequest([
|
| 288 |
-
"idempotency_key" => uniqid(),
|
| 289 |
-
"changes" => [
|
| 290 |
-
[
|
| 291 |
-
"type" => "PHYSICAL_COUNT",
|
| 292 |
-
"physical_count" => [
|
| 293 |
-
"catalog_object_id" => $catalog_object_id,
|
| 294 |
-
"state" => "IN_STOCK",
|
| 295 |
-
"location_id" => $location_id,
|
| 296 |
-
"quantity" => "1",
|
| 297 |
-
"occurred_at" => date("Y-m-d\TH:i:s\Z", time())
|
| 298 |
-
]
|
| 299 |
-
]
|
| 300 |
-
]
|
| 301 |
-
]);
|
| 302 |
-
|
| 303 |
-
self::$api_instance->batchChangeInventory($batch_change_inventory_body);
|
| 304 |
-
}
|
| 305 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/LaborApiTest.php
DELETED
|
@@ -1,167 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* LaborApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class LaborApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for createBreakType
|
| 43 |
-
*
|
| 44 |
-
* CreateBreakType
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_createBreakType() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for createShift
|
| 52 |
-
*
|
| 53 |
-
* CreateShift
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_createShift() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for deleteBreakType
|
| 61 |
-
*
|
| 62 |
-
* DeleteBreakType
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_deleteBreakType() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for deleteShift
|
| 70 |
-
*
|
| 71 |
-
* DeleteShift
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_deleteShift() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for getBreakType
|
| 79 |
-
*
|
| 80 |
-
* GetBreakType
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_getBreakType() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for getEmployeeWage
|
| 88 |
-
*
|
| 89 |
-
* GetEmployeeWage
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_getEmployeeWage() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for getShift
|
| 97 |
-
*
|
| 98 |
-
* GetShift
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_getShift() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
/**
|
| 105 |
-
* Test case for listBreakTypes
|
| 106 |
-
*
|
| 107 |
-
* ListBreakTypes
|
| 108 |
-
*
|
| 109 |
-
*/
|
| 110 |
-
public function test_listBreakTypes() {
|
| 111 |
-
|
| 112 |
-
}
|
| 113 |
-
/**
|
| 114 |
-
* Test case for listEmployeeWages
|
| 115 |
-
*
|
| 116 |
-
* ListEmployeeWages
|
| 117 |
-
*
|
| 118 |
-
*/
|
| 119 |
-
public function test_listEmployeeWages() {
|
| 120 |
-
|
| 121 |
-
}
|
| 122 |
-
/**
|
| 123 |
-
* Test case for listWorkweekConfigs
|
| 124 |
-
*
|
| 125 |
-
* ListWorkweekConfigs
|
| 126 |
-
*
|
| 127 |
-
*/
|
| 128 |
-
public function test_listWorkweekConfigs() {
|
| 129 |
-
|
| 130 |
-
}
|
| 131 |
-
/**
|
| 132 |
-
* Test case for searchShifts
|
| 133 |
-
*
|
| 134 |
-
* SearchShifts
|
| 135 |
-
*
|
| 136 |
-
*/
|
| 137 |
-
public function test_searchShifts() {
|
| 138 |
-
|
| 139 |
-
}
|
| 140 |
-
/**
|
| 141 |
-
* Test case for updateBreakType
|
| 142 |
-
*
|
| 143 |
-
* UpdateBreakType
|
| 144 |
-
*
|
| 145 |
-
*/
|
| 146 |
-
public function test_updateBreakType() {
|
| 147 |
-
|
| 148 |
-
}
|
| 149 |
-
/**
|
| 150 |
-
* Test case for updateShift
|
| 151 |
-
*
|
| 152 |
-
* UpdateShift
|
| 153 |
-
*
|
| 154 |
-
*/
|
| 155 |
-
public function test_updateShift() {
|
| 156 |
-
|
| 157 |
-
}
|
| 158 |
-
/**
|
| 159 |
-
* Test case for updateWorkweekConfig
|
| 160 |
-
*
|
| 161 |
-
* UpdateWorkweekConfig
|
| 162 |
-
*
|
| 163 |
-
*/
|
| 164 |
-
public function test_updateWorkweekConfig() {
|
| 165 |
-
|
| 166 |
-
}
|
| 167 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/LocationsApiTest.php
DELETED
|
@@ -1,70 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* LocationsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class LocationsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
private static $api_instance;
|
| 27 |
-
private static $test_accounts;
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Setup before running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function setUpBeforeClass() {
|
| 33 |
-
self::$api_instance = new \SquareConnect\Api\LocationsApi();
|
| 34 |
-
self::$test_accounts = new \SquareConnect\TestAccounts();
|
| 35 |
-
// Configure OAuth2 access token for authorization: oauth2
|
| 36 |
-
$sandbox_account = self::$test_accounts->{'US-Prod-Sandbox'};
|
| 37 |
-
$access_token = $sandbox_account->{'access_token'};
|
| 38 |
-
Configuration::getDefaultConfiguration()->setAccessToken($access_token);
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Clean up after running each test case
|
| 43 |
-
*/
|
| 44 |
-
public static function tearDownAfterClass() {
|
| 45 |
-
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
/**
|
| 49 |
-
* Test case for listLocations
|
| 50 |
-
*
|
| 51 |
-
* ListLocations
|
| 52 |
-
*
|
| 53 |
-
*/
|
| 54 |
-
public function test_listLocations() {
|
| 55 |
-
$result = self::$api_instance->listLocations();
|
| 56 |
-
$this->assertInstanceOf(
|
| 57 |
-
'\SquareConnect\Model\ListLocationsResponse',
|
| 58 |
-
$result
|
| 59 |
-
);
|
| 60 |
-
$first_location = $result->getLocations()[0];
|
| 61 |
-
$this->assertInstanceOf(
|
| 62 |
-
'\SquareConnect\Model\Location',
|
| 63 |
-
$first_location
|
| 64 |
-
);
|
| 65 |
-
$this->assertEquals(
|
| 66 |
-
self::$test_accounts->{'US-Prod-Sandbox'}->{'location_id'},
|
| 67 |
-
$first_location->getId()
|
| 68 |
-
);
|
| 69 |
-
}
|
| 70 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/MobileAuthorizationApiTest.php
DELETED
|
@@ -1,50 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* MobileAuthorizationApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class MobileAuthorizationApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for createMobileAuthorizationCode
|
| 43 |
-
*
|
| 44 |
-
* CreateMobileAuthorizationCode
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_createMobileAuthorizationCode() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/OAuthApiTest.php
DELETED
|
@@ -1,68 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* OAuthApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class OAuthApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for obtainToken
|
| 43 |
-
*
|
| 44 |
-
* ObtainToken
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_obtainToken() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for renewToken
|
| 52 |
-
*
|
| 53 |
-
* RenewToken
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_renewToken() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for revokeToken
|
| 61 |
-
*
|
| 62 |
-
* RevokeToken
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_revokeToken() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/OrdersApiTest.php
DELETED
|
@@ -1,59 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* OrdersApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class OrdersApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for batchRetrieveOrders
|
| 43 |
-
*
|
| 44 |
-
* BatchRetrieveOrders
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_batchRetrieveOrders() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for createOrder
|
| 52 |
-
*
|
| 53 |
-
* CreateOrder
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_createOrder() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/PaymentsApiTest.php
DELETED
|
@@ -1,95 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* PaymentsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class PaymentsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for cancelPayment
|
| 43 |
-
*
|
| 44 |
-
* CancelPayment
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_cancelPayment() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for cancelPaymentByIdempotencyKey
|
| 52 |
-
*
|
| 53 |
-
* CancelPaymentByIdempotencyKey
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_cancelPaymentByIdempotencyKey() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for completePayment
|
| 61 |
-
*
|
| 62 |
-
* CompletePayment
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_completePayment() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for createPayment
|
| 70 |
-
*
|
| 71 |
-
* CreatePayment
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_createPayment() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for getPayment
|
| 79 |
-
*
|
| 80 |
-
* GetPayment
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_getPayment() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for listPayments
|
| 88 |
-
*
|
| 89 |
-
* ListPayments
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_listPayments() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/RefundsApiTest.php
DELETED
|
@@ -1,68 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* RefundsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class RefundsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for getPaymentRefund
|
| 43 |
-
*
|
| 44 |
-
* GetPaymentRefund
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_getPaymentRefund() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for listPaymentRefunds
|
| 52 |
-
*
|
| 53 |
-
* ListPaymentRefunds
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_listPaymentRefunds() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for refundPayment
|
| 61 |
-
*
|
| 62 |
-
* RefundPayment
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_refundPayment() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/ReportingApiTest.php
DELETED
|
@@ -1,67 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* ReportingApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class ReportingApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
private static $api;
|
| 27 |
-
private static $test_accounts;
|
| 28 |
-
private static $location_id;
|
| 29 |
-
|
| 30 |
-
/**
|
| 31 |
-
* Setup before running each test case
|
| 32 |
-
*/
|
| 33 |
-
public static function setUpBeforeClass() {
|
| 34 |
-
self::$api = new \SquareConnect\Api\ReportingApi();
|
| 35 |
-
self::$test_accounts = new \SquareConnect\TestAccounts();
|
| 36 |
-
// Configure OAuth2 access token for authorization: oauth2
|
| 37 |
-
$account = self::$test_accounts->{'US-Prod'};
|
| 38 |
-
$access_token = $account->access_token;
|
| 39 |
-
Configuration::getDefaultConfiguration()->setAccessToken($access_token);
|
| 40 |
-
|
| 41 |
-
self::$location_id = $account->location_id;
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
/**
|
| 45 |
-
* Clean up after running each test case
|
| 46 |
-
*/
|
| 47 |
-
public static function tearDownAfterClass() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
|
| 51 |
-
/**
|
| 52 |
-
* Test case for listAdditionalRecipientReceivableRefunds
|
| 53 |
-
*
|
| 54 |
-
* ListAdditionalRecipientReceivableRefunds
|
| 55 |
-
*
|
| 56 |
-
*/
|
| 57 |
-
public function test_listAdditionalRecipientReceivableRefunds() {
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for listAdditionalRecipientReceivables
|
| 61 |
-
*
|
| 62 |
-
* ListAdditionalRecipientReceivables
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_listAdditionalRecipientReceivables() {
|
| 66 |
-
}
|
| 67 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/TransactionsApiTest.php
DELETED
|
@@ -1,104 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* TransactionsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class TransactionsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for captureTransaction
|
| 43 |
-
*
|
| 44 |
-
* CaptureTransaction
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_captureTransaction() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for charge
|
| 52 |
-
*
|
| 53 |
-
* Charge
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_charge() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for createRefund
|
| 61 |
-
*
|
| 62 |
-
* CreateRefund
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_createRefund() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for listRefunds
|
| 70 |
-
*
|
| 71 |
-
* ListRefunds
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_listRefunds() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for listTransactions
|
| 79 |
-
*
|
| 80 |
-
* ListTransactions
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_listTransactions() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for retrieveTransaction
|
| 88 |
-
*
|
| 89 |
-
* RetrieveTransaction
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_retrieveTransaction() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for voidTransaction
|
| 97 |
-
*
|
| 98 |
-
* VoidTransaction
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_voidTransaction() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/V1EmployeesApiTest.php
DELETED
|
@@ -1,185 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* V1EmployeesApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class V1EmployeesApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for createEmployee
|
| 43 |
-
*
|
| 44 |
-
* Creates an employee for a business.
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_createEmployee() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for createEmployeeRole
|
| 52 |
-
*
|
| 53 |
-
* Creates an employee role you can then assign to employees.
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_createEmployeeRole() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for createTimecard
|
| 61 |
-
*
|
| 62 |
-
* Creates a timecard for an employee. Each timecard corresponds to a single shift.
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_createTimecard() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for deleteTimecard
|
| 70 |
-
*
|
| 71 |
-
* Deletes a timecard. Deleted timecards are still accessible from Connect API endpoints, but the value of their deleted field is set to true. See Handling deleted timecards for more information.
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_deleteTimecard() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for listCashDrawerShifts
|
| 79 |
-
*
|
| 80 |
-
* Provides the details for all of a location's cash drawer shifts during a date range. The date range you specify cannot exceed 90 days.
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_listCashDrawerShifts() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for listEmployeeRoles
|
| 88 |
-
*
|
| 89 |
-
* Provides summary information for all of a business's employee roles.
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_listEmployeeRoles() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for listEmployees
|
| 97 |
-
*
|
| 98 |
-
* Provides summary information for all of a business's employees.
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_listEmployees() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
/**
|
| 105 |
-
* Test case for listTimecardEvents
|
| 106 |
-
*
|
| 107 |
-
* Provides summary information for all events associated with a particular timecard.
|
| 108 |
-
*
|
| 109 |
-
*/
|
| 110 |
-
public function test_listTimecardEvents() {
|
| 111 |
-
|
| 112 |
-
}
|
| 113 |
-
/**
|
| 114 |
-
* Test case for listTimecards
|
| 115 |
-
*
|
| 116 |
-
* Provides summary information for all of a business's employee timecards.
|
| 117 |
-
*
|
| 118 |
-
*/
|
| 119 |
-
public function test_listTimecards() {
|
| 120 |
-
|
| 121 |
-
}
|
| 122 |
-
/**
|
| 123 |
-
* Test case for retrieveCashDrawerShift
|
| 124 |
-
*
|
| 125 |
-
* Provides the details for a single cash drawer shift, including all events that occurred during the shift.
|
| 126 |
-
*
|
| 127 |
-
*/
|
| 128 |
-
public function test_retrieveCashDrawerShift() {
|
| 129 |
-
|
| 130 |
-
}
|
| 131 |
-
/**
|
| 132 |
-
* Test case for retrieveEmployee
|
| 133 |
-
*
|
| 134 |
-
* Provides the details for a single employee.
|
| 135 |
-
*
|
| 136 |
-
*/
|
| 137 |
-
public function test_retrieveEmployee() {
|
| 138 |
-
|
| 139 |
-
}
|
| 140 |
-
/**
|
| 141 |
-
* Test case for retrieveEmployeeRole
|
| 142 |
-
*
|
| 143 |
-
* Provides the details for a single employee role.
|
| 144 |
-
*
|
| 145 |
-
*/
|
| 146 |
-
public function test_retrieveEmployeeRole() {
|
| 147 |
-
|
| 148 |
-
}
|
| 149 |
-
/**
|
| 150 |
-
* Test case for retrieveTimecard
|
| 151 |
-
*
|
| 152 |
-
* Provides the details for a single timecard.
|
| 153 |
-
*
|
| 154 |
-
*/
|
| 155 |
-
public function test_retrieveTimecard() {
|
| 156 |
-
|
| 157 |
-
}
|
| 158 |
-
/**
|
| 159 |
-
* Test case for updateEmployee
|
| 160 |
-
*
|
| 161 |
-
* V1 UpdateEmployee
|
| 162 |
-
*
|
| 163 |
-
*/
|
| 164 |
-
public function test_updateEmployee() {
|
| 165 |
-
|
| 166 |
-
}
|
| 167 |
-
/**
|
| 168 |
-
* Test case for updateEmployeeRole
|
| 169 |
-
*
|
| 170 |
-
* Modifies the details of an employee role.
|
| 171 |
-
*
|
| 172 |
-
*/
|
| 173 |
-
public function test_updateEmployeeRole() {
|
| 174 |
-
|
| 175 |
-
}
|
| 176 |
-
/**
|
| 177 |
-
* Test case for updateTimecard
|
| 178 |
-
*
|
| 179 |
-
* Modifies a timecard's details. This creates an API_EDIT event for the timecard. You can view a timecard's event history with the List Timecard Events endpoint.
|
| 180 |
-
*
|
| 181 |
-
*/
|
| 182 |
-
public function test_updateTimecard() {
|
| 183 |
-
|
| 184 |
-
}
|
| 185 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/V1ItemsApiTest.php
DELETED
|
@@ -1,401 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* V1ItemsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class V1ItemsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for adjustInventory
|
| 43 |
-
*
|
| 44 |
-
* Adjusts an item variation's current available inventory.
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_adjustInventory() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for applyFee
|
| 52 |
-
*
|
| 53 |
-
* Associates a fee with an item, meaning the fee is automatically applied to the item in Square Register.
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_applyFee() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for applyModifierList
|
| 61 |
-
*
|
| 62 |
-
* Associates a modifier list with an item, meaning modifier options from the list can be applied to the item.
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_applyModifierList() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for createCategory
|
| 70 |
-
*
|
| 71 |
-
* Creates an item category.
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_createCategory() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for createDiscount
|
| 79 |
-
*
|
| 80 |
-
* Creates a discount.
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_createDiscount() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for createFee
|
| 88 |
-
*
|
| 89 |
-
* Creates a fee (tax).
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_createFee() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for createItem
|
| 97 |
-
*
|
| 98 |
-
* Creates an item and at least one variation for it.
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_createItem() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
/**
|
| 105 |
-
* Test case for createModifierList
|
| 106 |
-
*
|
| 107 |
-
* Creates an item modifier list and at least one modifier option for it.
|
| 108 |
-
*
|
| 109 |
-
*/
|
| 110 |
-
public function test_createModifierList() {
|
| 111 |
-
|
| 112 |
-
}
|
| 113 |
-
/**
|
| 114 |
-
* Test case for createModifierOption
|
| 115 |
-
*
|
| 116 |
-
* Creates an item modifier option and adds it to a modifier list.
|
| 117 |
-
*
|
| 118 |
-
*/
|
| 119 |
-
public function test_createModifierOption() {
|
| 120 |
-
|
| 121 |
-
}
|
| 122 |
-
/**
|
| 123 |
-
* Test case for createPage
|
| 124 |
-
*
|
| 125 |
-
* Creates a Favorites page in Square Register.
|
| 126 |
-
*
|
| 127 |
-
*/
|
| 128 |
-
public function test_createPage() {
|
| 129 |
-
|
| 130 |
-
}
|
| 131 |
-
/**
|
| 132 |
-
* Test case for createVariation
|
| 133 |
-
*
|
| 134 |
-
* Creates an item variation for an existing item.
|
| 135 |
-
*
|
| 136 |
-
*/
|
| 137 |
-
public function test_createVariation() {
|
| 138 |
-
|
| 139 |
-
}
|
| 140 |
-
/**
|
| 141 |
-
* Test case for deleteCategory
|
| 142 |
-
*
|
| 143 |
-
* Deletes an existing item category.
|
| 144 |
-
*
|
| 145 |
-
*/
|
| 146 |
-
public function test_deleteCategory() {
|
| 147 |
-
|
| 148 |
-
}
|
| 149 |
-
/**
|
| 150 |
-
* Test case for deleteDiscount
|
| 151 |
-
*
|
| 152 |
-
* Deletes an existing discount.
|
| 153 |
-
*
|
| 154 |
-
*/
|
| 155 |
-
public function test_deleteDiscount() {
|
| 156 |
-
|
| 157 |
-
}
|
| 158 |
-
/**
|
| 159 |
-
* Test case for deleteFee
|
| 160 |
-
*
|
| 161 |
-
* Deletes an existing fee (tax).
|
| 162 |
-
*
|
| 163 |
-
*/
|
| 164 |
-
public function test_deleteFee() {
|
| 165 |
-
|
| 166 |
-
}
|
| 167 |
-
/**
|
| 168 |
-
* Test case for deleteItem
|
| 169 |
-
*
|
| 170 |
-
* Deletes an existing item and all item variations associated with it.
|
| 171 |
-
*
|
| 172 |
-
*/
|
| 173 |
-
public function test_deleteItem() {
|
| 174 |
-
|
| 175 |
-
}
|
| 176 |
-
/**
|
| 177 |
-
* Test case for deleteModifierList
|
| 178 |
-
*
|
| 179 |
-
* Deletes an existing item modifier list and all modifier options associated with it.
|
| 180 |
-
*
|
| 181 |
-
*/
|
| 182 |
-
public function test_deleteModifierList() {
|
| 183 |
-
|
| 184 |
-
}
|
| 185 |
-
/**
|
| 186 |
-
* Test case for deleteModifierOption
|
| 187 |
-
*
|
| 188 |
-
* Deletes an existing item modifier option from a modifier list.
|
| 189 |
-
*
|
| 190 |
-
*/
|
| 191 |
-
public function test_deleteModifierOption() {
|
| 192 |
-
|
| 193 |
-
}
|
| 194 |
-
/**
|
| 195 |
-
* Test case for deletePage
|
| 196 |
-
*
|
| 197 |
-
* Deletes an existing Favorites page and all of its cells.
|
| 198 |
-
*
|
| 199 |
-
*/
|
| 200 |
-
public function test_deletePage() {
|
| 201 |
-
|
| 202 |
-
}
|
| 203 |
-
/**
|
| 204 |
-
* Test case for deletePageCell
|
| 205 |
-
*
|
| 206 |
-
* Deletes a cell from a Favorites page in Square Register.
|
| 207 |
-
*
|
| 208 |
-
*/
|
| 209 |
-
public function test_deletePageCell() {
|
| 210 |
-
|
| 211 |
-
}
|
| 212 |
-
/**
|
| 213 |
-
* Test case for deleteVariation
|
| 214 |
-
*
|
| 215 |
-
* Deletes an existing item variation from an item.
|
| 216 |
-
*
|
| 217 |
-
*/
|
| 218 |
-
public function test_deleteVariation() {
|
| 219 |
-
|
| 220 |
-
}
|
| 221 |
-
/**
|
| 222 |
-
* Test case for listCategories
|
| 223 |
-
*
|
| 224 |
-
* Lists all of a location's item categories.
|
| 225 |
-
*
|
| 226 |
-
*/
|
| 227 |
-
public function test_listCategories() {
|
| 228 |
-
|
| 229 |
-
}
|
| 230 |
-
/**
|
| 231 |
-
* Test case for listDiscounts
|
| 232 |
-
*
|
| 233 |
-
* Lists all of a location's discounts.
|
| 234 |
-
*
|
| 235 |
-
*/
|
| 236 |
-
public function test_listDiscounts() {
|
| 237 |
-
|
| 238 |
-
}
|
| 239 |
-
/**
|
| 240 |
-
* Test case for listFees
|
| 241 |
-
*
|
| 242 |
-
* Lists all of a location's fees (taxes).
|
| 243 |
-
*
|
| 244 |
-
*/
|
| 245 |
-
public function test_listFees() {
|
| 246 |
-
|
| 247 |
-
}
|
| 248 |
-
/**
|
| 249 |
-
* Test case for listInventory
|
| 250 |
-
*
|
| 251 |
-
* Provides inventory information for all of a merchant's inventory-enabled item variations.
|
| 252 |
-
*
|
| 253 |
-
*/
|
| 254 |
-
public function test_listInventory() {
|
| 255 |
-
|
| 256 |
-
}
|
| 257 |
-
/**
|
| 258 |
-
* Test case for listItems
|
| 259 |
-
*
|
| 260 |
-
* Provides summary information for all of a location's items.
|
| 261 |
-
*
|
| 262 |
-
*/
|
| 263 |
-
public function test_listItems() {
|
| 264 |
-
|
| 265 |
-
}
|
| 266 |
-
/**
|
| 267 |
-
* Test case for listModifierLists
|
| 268 |
-
*
|
| 269 |
-
* Lists all of a location's modifier lists.
|
| 270 |
-
*
|
| 271 |
-
*/
|
| 272 |
-
public function test_listModifierLists() {
|
| 273 |
-
|
| 274 |
-
}
|
| 275 |
-
/**
|
| 276 |
-
* Test case for listPages
|
| 277 |
-
*
|
| 278 |
-
* Lists all of a location's Favorites pages in Square Register.
|
| 279 |
-
*
|
| 280 |
-
*/
|
| 281 |
-
public function test_listPages() {
|
| 282 |
-
|
| 283 |
-
}
|
| 284 |
-
/**
|
| 285 |
-
* Test case for removeFee
|
| 286 |
-
*
|
| 287 |
-
* Removes a fee assocation from an item, meaning the fee is no longer automatically applied to the item in Square Register.
|
| 288 |
-
*
|
| 289 |
-
*/
|
| 290 |
-
public function test_removeFee() {
|
| 291 |
-
|
| 292 |
-
}
|
| 293 |
-
/**
|
| 294 |
-
* Test case for removeModifierList
|
| 295 |
-
*
|
| 296 |
-
* Removes a modifier list association from an item, meaning modifier options from the list can no longer be applied to the item.
|
| 297 |
-
*
|
| 298 |
-
*/
|
| 299 |
-
public function test_removeModifierList() {
|
| 300 |
-
|
| 301 |
-
}
|
| 302 |
-
/**
|
| 303 |
-
* Test case for retrieveItem
|
| 304 |
-
*
|
| 305 |
-
* Provides the details for a single item, including associated modifier lists and fees.
|
| 306 |
-
*
|
| 307 |
-
*/
|
| 308 |
-
public function test_retrieveItem() {
|
| 309 |
-
|
| 310 |
-
}
|
| 311 |
-
/**
|
| 312 |
-
* Test case for retrieveModifierList
|
| 313 |
-
*
|
| 314 |
-
* Provides the details for a single modifier list.
|
| 315 |
-
*
|
| 316 |
-
*/
|
| 317 |
-
public function test_retrieveModifierList() {
|
| 318 |
-
|
| 319 |
-
}
|
| 320 |
-
/**
|
| 321 |
-
* Test case for updateCategory
|
| 322 |
-
*
|
| 323 |
-
* Modifies the details of an existing item category.
|
| 324 |
-
*
|
| 325 |
-
*/
|
| 326 |
-
public function test_updateCategory() {
|
| 327 |
-
|
| 328 |
-
}
|
| 329 |
-
/**
|
| 330 |
-
* Test case for updateDiscount
|
| 331 |
-
*
|
| 332 |
-
* Modifies the details of an existing discount.
|
| 333 |
-
*
|
| 334 |
-
*/
|
| 335 |
-
public function test_updateDiscount() {
|
| 336 |
-
|
| 337 |
-
}
|
| 338 |
-
/**
|
| 339 |
-
* Test case for updateFee
|
| 340 |
-
*
|
| 341 |
-
* Modifies the details of an existing fee (tax).
|
| 342 |
-
*
|
| 343 |
-
*/
|
| 344 |
-
public function test_updateFee() {
|
| 345 |
-
|
| 346 |
-
}
|
| 347 |
-
/**
|
| 348 |
-
* Test case for updateItem
|
| 349 |
-
*
|
| 350 |
-
* Modifies the core details of an existing item.
|
| 351 |
-
*
|
| 352 |
-
*/
|
| 353 |
-
public function test_updateItem() {
|
| 354 |
-
|
| 355 |
-
}
|
| 356 |
-
/**
|
| 357 |
-
* Test case for updateModifierList
|
| 358 |
-
*
|
| 359 |
-
* Modifies the details of an existing item modifier list.
|
| 360 |
-
*
|
| 361 |
-
*/
|
| 362 |
-
public function test_updateModifierList() {
|
| 363 |
-
|
| 364 |
-
}
|
| 365 |
-
/**
|
| 366 |
-
* Test case for updateModifierOption
|
| 367 |
-
*
|
| 368 |
-
* Modifies the details of an existing item modifier option.
|
| 369 |
-
*
|
| 370 |
-
*/
|
| 371 |
-
public function test_updateModifierOption() {
|
| 372 |
-
|
| 373 |
-
}
|
| 374 |
-
/**
|
| 375 |
-
* Test case for updatePage
|
| 376 |
-
*
|
| 377 |
-
* Modifies the details of a Favorites page in Square Register.
|
| 378 |
-
*
|
| 379 |
-
*/
|
| 380 |
-
public function test_updatePage() {
|
| 381 |
-
|
| 382 |
-
}
|
| 383 |
-
/**
|
| 384 |
-
* Test case for updatePageCell
|
| 385 |
-
*
|
| 386 |
-
* Modifies a cell of a Favorites page in Square Register.
|
| 387 |
-
*
|
| 388 |
-
*/
|
| 389 |
-
public function test_updatePageCell() {
|
| 390 |
-
|
| 391 |
-
}
|
| 392 |
-
/**
|
| 393 |
-
* Test case for updateVariation
|
| 394 |
-
*
|
| 395 |
-
* Modifies the details of an existing item variation.
|
| 396 |
-
*
|
| 397 |
-
*/
|
| 398 |
-
public function test_updateVariation() {
|
| 399 |
-
|
| 400 |
-
}
|
| 401 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/V1LocationsApiTest.php
DELETED
|
@@ -1,59 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* V1LocationApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class V1LocationsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for listLocations
|
| 43 |
-
*
|
| 44 |
-
* Provides details for a business's locations, including their IDs.
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_listLocations() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for retrieveBusiness
|
| 52 |
-
*
|
| 53 |
-
* Get a business's information.
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_retrieveBusiness() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Api/V1TransactionsApiTest.php
DELETED
|
@@ -1,140 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Api;
|
| 9 |
-
|
| 10 |
-
use \SquareConnect\Configuration;
|
| 11 |
-
use \SquareConnect\ApiClient;
|
| 12 |
-
use \SquareConnect\ApiException;
|
| 13 |
-
use \SquareConnect\ObjectSerializer;
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* V1TransactionsApiTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class V1TransactionsApiTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test case for createRefund
|
| 43 |
-
*
|
| 44 |
-
* Issues a refund for a previously processed payment. You must issue a refund within 60 days of the associated payment.
|
| 45 |
-
*
|
| 46 |
-
*/
|
| 47 |
-
public function test_createRefund() {
|
| 48 |
-
|
| 49 |
-
}
|
| 50 |
-
/**
|
| 51 |
-
* Test case for listBankAccounts
|
| 52 |
-
*
|
| 53 |
-
* Provides non-confidential details for all of a location's associated bank accounts. This endpoint does not provide full bank account numbers, and there is no way to obtain a full bank account number with the Connect API.
|
| 54 |
-
*
|
| 55 |
-
*/
|
| 56 |
-
public function test_listBankAccounts() {
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
/**
|
| 60 |
-
* Test case for listOrders
|
| 61 |
-
*
|
| 62 |
-
* Provides summary information for a merchant's online store orders.
|
| 63 |
-
*
|
| 64 |
-
*/
|
| 65 |
-
public function test_listOrders() {
|
| 66 |
-
|
| 67 |
-
}
|
| 68 |
-
/**
|
| 69 |
-
* Test case for listPayments
|
| 70 |
-
*
|
| 71 |
-
* Provides summary information for all payments taken by a merchant or any of the merchant's mobile staff during a date range. Date ranges cannot exceed one year in length. See Date ranges for details of inclusive and exclusive dates.
|
| 72 |
-
*
|
| 73 |
-
*/
|
| 74 |
-
public function test_listPayments() {
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
/**
|
| 78 |
-
* Test case for listRefunds
|
| 79 |
-
*
|
| 80 |
-
* Provides the details for all refunds initiated by a merchant or any of the merchant's mobile staff during a date range. Date ranges cannot exceed one year in length.
|
| 81 |
-
*
|
| 82 |
-
*/
|
| 83 |
-
public function test_listRefunds() {
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
/**
|
| 87 |
-
* Test case for listSettlements
|
| 88 |
-
*
|
| 89 |
-
* Provides summary information for all deposits and withdrawals initiated by Square to a merchant's bank account during a date range. Date ranges cannot exceed one year in length.
|
| 90 |
-
*
|
| 91 |
-
*/
|
| 92 |
-
public function test_listSettlements() {
|
| 93 |
-
|
| 94 |
-
}
|
| 95 |
-
/**
|
| 96 |
-
* Test case for retrieveBankAccount
|
| 97 |
-
*
|
| 98 |
-
* Provides non-confidential details for a merchant's associated bank account. This endpoint does not provide full bank account numbers, and there is no way to obtain a full bank account number with the Connect API.
|
| 99 |
-
*
|
| 100 |
-
*/
|
| 101 |
-
public function test_retrieveBankAccount() {
|
| 102 |
-
|
| 103 |
-
}
|
| 104 |
-
/**
|
| 105 |
-
* Test case for retrieveOrder
|
| 106 |
-
*
|
| 107 |
-
* Provides comprehensive information for a single online store order, including the order's history.
|
| 108 |
-
*
|
| 109 |
-
*/
|
| 110 |
-
public function test_retrieveOrder() {
|
| 111 |
-
|
| 112 |
-
}
|
| 113 |
-
/**
|
| 114 |
-
* Test case for retrievePayment
|
| 115 |
-
*
|
| 116 |
-
* Provides comprehensive information for a single payment.
|
| 117 |
-
*
|
| 118 |
-
*/
|
| 119 |
-
public function test_retrievePayment() {
|
| 120 |
-
|
| 121 |
-
}
|
| 122 |
-
/**
|
| 123 |
-
* Test case for retrieveSettlement
|
| 124 |
-
*
|
| 125 |
-
* Provides comprehensive information for a single settlement, including the entries that contribute to the settlement's total.
|
| 126 |
-
*
|
| 127 |
-
*/
|
| 128 |
-
public function test_retrieveSettlement() {
|
| 129 |
-
|
| 130 |
-
}
|
| 131 |
-
/**
|
| 132 |
-
* Test case for updateOrder
|
| 133 |
-
*
|
| 134 |
-
* Updates the details of an online store order. Every update you perform on an order corresponds to one of three actions:
|
| 135 |
-
*
|
| 136 |
-
*/
|
| 137 |
-
public function test_updateOrder() {
|
| 138 |
-
|
| 139 |
-
}
|
| 140 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/ApiClientTest.php
DELETED
|
@@ -1,95 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
namespace SquareConnect\Api;
|
| 3 |
-
|
| 4 |
-
use \SquareConnect\Configuration;
|
| 5 |
-
use \SquareConnect\ApiClient;
|
| 6 |
-
use \SquareConnect\ApiException;
|
| 7 |
-
use \SquareConnect\ObjectSerializer;
|
| 8 |
-
use \SquareConnect\Model\CatalogObject;
|
| 9 |
-
use \SquareConnect\Model\BatchUpsertCatalogObjectsRequest;
|
| 10 |
-
use \SquareConnect\Model\BatchDeleteCatalogObjectsRequest;
|
| 11 |
-
use \SquareConnect\Model\UpdateItemTaxesRequest;
|
| 12 |
-
use \SquareConnect\Model\UpsertCatalogObjectRequest;
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
/**
|
| 16 |
-
* ApiClientTest Class Doc Comment
|
| 17 |
-
*
|
| 18 |
-
* @category Class
|
| 19 |
-
* @package SquareConnect
|
| 20 |
-
* @author Square Inc.
|
| 21 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 22 |
-
* @link https://squareup.com/developers
|
| 23 |
-
*/
|
| 24 |
-
class ApiClientTest extends \PHPUnit_Framework_TestCase
|
| 25 |
-
{
|
| 26 |
-
/**
|
| 27 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 28 |
-
*
|
| 29 |
-
*/
|
| 30 |
-
public function test_getV1BatchTokenFromHeadersNoHeaders() {
|
| 31 |
-
$headers = [];
|
| 32 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 33 |
-
$this->assertEquals(null, $batch_token);
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 38 |
-
*
|
| 39 |
-
*/
|
| 40 |
-
public function test_getV1BatchTokenFromHeadersNoLinkHeader() {
|
| 41 |
-
$headers = [
|
| 42 |
-
'link' => 'test'
|
| 43 |
-
];
|
| 44 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 45 |
-
$this->assertEquals(null, $batch_token);
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
/**
|
| 49 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 50 |
-
*
|
| 51 |
-
*/
|
| 52 |
-
public function test_getV1BatchTokenFromHeadersWrongLinkHeader() {
|
| 53 |
-
$headers = [
|
| 54 |
-
'Link' => 'test'
|
| 55 |
-
];
|
| 56 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 57 |
-
$this->assertEquals(null, $batch_token);
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
/**
|
| 61 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 62 |
-
*
|
| 63 |
-
*/
|
| 64 |
-
public function test_getV1BatchTokenFromHeadersNoNextLinkHeader() {
|
| 65 |
-
$headers = [
|
| 66 |
-
'Link' => '<http://connect.squareup.com/v1/payments/?batch_token=TOKEN1>; rel="previous"; title="previous chapter"'
|
| 67 |
-
];
|
| 68 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 69 |
-
$this->assertEquals(null, $batch_token);
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
/**
|
| 73 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 74 |
-
*
|
| 75 |
-
*/
|
| 76 |
-
public function test_getV1BatchTokenFromHeadersNoBatchToken() {
|
| 77 |
-
$headers = [
|
| 78 |
-
'Link' => "<http://connect.squareup.com/v1/payments/?batch_Ttoken=TOKEN1>;rel='next'"
|
| 79 |
-
];
|
| 80 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 81 |
-
$this->assertEquals(null, $batch_token);
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
/**
|
| 85 |
-
* Test case for getV1BatchTokenFromHeaders
|
| 86 |
-
*
|
| 87 |
-
*/
|
| 88 |
-
public function test_getV1BatchTokenFromHeaders() {
|
| 89 |
-
$headers = [
|
| 90 |
-
'Link' => "<http://connect.squareup.com/v1/payments/?batch_token=TOKEN1>;rel='next'"
|
| 91 |
-
];
|
| 92 |
-
$batch_token = \SquareConnect\ApiClient::getV1BatchTokenFromHeaders($headers);
|
| 93 |
-
$this->assertEquals('TOKEN1', $batch_token);
|
| 94 |
-
}
|
| 95 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/AdditionalRecipientReceivableRefundTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* AdditionalRecipientReceivableRefundTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class AdditionalRecipientReceivableRefundTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test AdditionalRecipientReceivableRefund
|
| 38 |
-
*/
|
| 39 |
-
public function testAdditionalRecipientReceivableRefund() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/AdditionalRecipientReceivableTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* AdditionalRecipientReceivableTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class AdditionalRecipientReceivableTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test AdditionalRecipientReceivable
|
| 38 |
-
*/
|
| 39 |
-
public function testAdditionalRecipientReceivable() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/AdditionalRecipientTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* AdditionalRecipientTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class AdditionalRecipientTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test AdditionalRecipient
|
| 38 |
-
*/
|
| 39 |
-
public function testAdditionalRecipient() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/AddressTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* AddressTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class AddressTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Address
|
| 38 |
-
*/
|
| 39 |
-
public function testAddress() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/AggregationStrategyTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* AggregationStrategyTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class AggregationStrategyTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test AggregationStrategy
|
| 38 |
-
*/
|
| 39 |
-
public function testAggregationStrategy() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BalancePaymentDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BalancePaymentDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BalancePaymentDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BalancePaymentDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testBalancePaymentDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchChangeInventoryRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchChangeInventoryRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchChangeInventoryRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchChangeInventoryRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchChangeInventoryRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchChangeInventoryResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchChangeInventoryResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchChangeInventoryResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchChangeInventoryResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchChangeInventoryResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchDeleteCatalogObjectsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchDeleteCatalogObjectsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchDeleteCatalogObjectsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchDeleteCatalogObjectsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchDeleteCatalogObjectsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchDeleteCatalogObjectsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchDeleteCatalogObjectsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchDeleteCatalogObjectsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchDeleteCatalogObjectsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchDeleteCatalogObjectsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveCatalogObjectsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveCatalogObjectsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveCatalogObjectsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveCatalogObjectsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveCatalogObjectsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveCatalogObjectsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveCatalogObjectsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveCatalogObjectsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveCatalogObjectsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveCatalogObjectsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveInventoryChangesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveInventoryChangesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveInventoryChangesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveInventoryChangesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveInventoryChangesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveInventoryChangesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveInventoryChangesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveInventoryChangesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveInventoryChangesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveInventoryChangesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveInventoryCountsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveInventoryCountsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveInventoryCountsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveInventoryCountsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveInventoryCountsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveInventoryCountsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveInventoryCountsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveInventoryCountsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveInventoryCountsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveInventoryCountsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveOrdersRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveOrdersRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveOrdersRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveOrdersRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveOrdersRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchRetrieveOrdersResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchRetrieveOrdersResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchRetrieveOrdersResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchRetrieveOrdersResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchRetrieveOrdersResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchUpsertCatalogObjectsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchUpsertCatalogObjectsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchUpsertCatalogObjectsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchUpsertCatalogObjectsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchUpsertCatalogObjectsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BatchUpsertCatalogObjectsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BatchUpsertCatalogObjectsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BatchUpsertCatalogObjectsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BatchUpsertCatalogObjectsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testBatchUpsertCatalogObjectsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BreakTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BreakTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BreakTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BreakType
|
| 38 |
-
*/
|
| 39 |
-
public function testBreakType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BusinessHoursPeriodTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BusinessHoursPeriodTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BusinessHoursPeriodTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BusinessHoursPeriod
|
| 38 |
-
*/
|
| 39 |
-
public function testBusinessHoursPeriod() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/BusinessHoursTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* BusinessHoursTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class BusinessHoursTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test BusinessHours
|
| 38 |
-
*/
|
| 39 |
-
public function testBusinessHours() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CancelPaymentByIdempotencyKeyRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CancelPaymentByIdempotencyKeyRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CancelPaymentByIdempotencyKeyRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CancelPaymentByIdempotencyKeyRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCancelPaymentByIdempotencyKeyRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CancelPaymentByIdempotencyKeyResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CancelPaymentByIdempotencyKeyResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CancelPaymentByIdempotencyKeyResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CancelPaymentByIdempotencyKeyResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCancelPaymentByIdempotencyKeyResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CancelPaymentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CancelPaymentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CancelPaymentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CancelPaymentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCancelPaymentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CancelPaymentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CancelPaymentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CancelPaymentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CancelPaymentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCancelPaymentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CaptureTransactionRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CaptureTransactionRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CaptureTransactionRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CaptureTransactionRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCaptureTransactionRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CaptureTransactionResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CaptureTransactionResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CaptureTransactionResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CaptureTransactionResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCaptureTransactionResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CardBrandTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CardBrandTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CardBrandTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CardBrand
|
| 38 |
-
*/
|
| 39 |
-
public function testCardBrand() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CardPaymentDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CardPaymentDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CardPaymentDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CardPaymentDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testCardPaymentDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CardTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CardTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CardTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Card
|
| 38 |
-
*/
|
| 39 |
-
public function testCard() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogCategoryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogCategoryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogCategoryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogCategory
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogCategory() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogDiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogDiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogDiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogDiscount
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogDiscount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogDiscountTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogDiscountTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogDiscountTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogDiscountType
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogDiscountType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogIdMappingTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogIdMappingTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogIdMappingTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogIdMapping
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogIdMapping() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogImageTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogImageTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogImageTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogImage
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogImage() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogInfoRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogInfoRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogInfoRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogInfoRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogInfoRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogInfoResponseLimitsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogInfoResponseLimitsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogInfoResponseLimitsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogInfoResponseLimits
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogInfoResponseLimits() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogInfoResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogInfoResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogInfoResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogInfoResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogInfoResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemModifierListInfoTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemModifierListInfoTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemModifierListInfoTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemModifierListInfo
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemModifierListInfo() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemOptionForItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemOptionForItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemOptionForItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemOptionForItem
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemOptionForItem() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemOptionTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemOptionTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemOptionTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemOption
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemOption() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemOptionValueForItemVariationTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemOptionValueForItemVariationTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemOptionValueForItemVariationTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemOptionValueForItemVariation
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemOptionValueForItemVariation() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemOptionValueTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemOptionValueTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemOptionValueTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemOptionValue
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemOptionValue() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemProductTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemProductTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemProductTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemProductType
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemProductType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItem
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItem() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogItemVariationTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogItemVariationTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogItemVariationTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogItemVariation
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogItemVariation() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogMeasurementUnitTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogMeasurementUnitTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogMeasurementUnitTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogMeasurementUnit
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogMeasurementUnit() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogModifierListSelectionTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogModifierListSelectionTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogModifierListSelectionTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogModifierListSelectionType
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogModifierListSelectionType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogModifierListTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogModifierListTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogModifierListTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogModifierList
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogModifierList() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogModifierOverrideTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogModifierOverrideTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogModifierOverrideTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogModifierOverride
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogModifierOverride() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogModifierTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogModifierTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogModifierTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogModifier
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogModifier() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogObjectBatchTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogObjectBatchTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogObjectBatchTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogObjectBatch
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogObjectBatch() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogObjectTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogObjectTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogObjectTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogObject
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogObject() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogObjectTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogObjectTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogObjectTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogObjectType
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogObjectType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogPricingRuleTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogPricingRuleTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogPricingRuleTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogPricingRule
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogPricingRule() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogPricingTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogPricingTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogPricingTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogPricingType
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogPricingType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogProductSetTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogProductSetTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogProductSetTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogProductSet
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogProductSet() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryExactTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryExactTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryExactTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryExact
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryExact() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryItemVariationsForItemOptionValuesTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryItemVariationsForItemOptionValuesTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryItemVariationsForItemOptionValuesTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryItemVariationsForItemOptionValues
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryItemVariationsForItemOptionValues() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryItemsForItemOptionsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryItemsForItemOptionsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryItemsForItemOptionsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryItemsForItemOptions
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryItemsForItemOptions() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryItemsForModifierListTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryItemsForModifierListTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryItemsForModifierListTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryItemsForModifierList
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryItemsForModifierList() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryItemsForTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryItemsForTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryItemsForTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryItemsForTax
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryItemsForTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryPrefixTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryPrefixTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryPrefixTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryPrefix
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryPrefix() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryRangeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryRangeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryRangeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryRange
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryRange() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQuerySortedAttributeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQuerySortedAttributeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQuerySortedAttributeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQuerySortedAttribute
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQuerySortedAttribute() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQuery
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQuery() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogQueryTextTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogQueryTextTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogQueryTextTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogQueryText
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogQueryText() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogTax
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogTimePeriodTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogTimePeriodTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogTimePeriodTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogTimePeriod
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogTimePeriod() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CatalogV1IdTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CatalogV1IdTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CatalogV1IdTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CatalogV1Id
|
| 38 |
-
*/
|
| 39 |
-
public function testCatalogV1Id() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ChargeRequestAdditionalRecipientTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ChargeRequestAdditionalRecipientTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ChargeRequestAdditionalRecipientTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ChargeRequestAdditionalRecipient
|
| 38 |
-
*/
|
| 39 |
-
public function testChargeRequestAdditionalRecipient() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ChargeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ChargeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ChargeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ChargeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testChargeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ChargeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ChargeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ChargeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ChargeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testChargeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CheckoutTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CheckoutTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CheckoutTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Checkout
|
| 38 |
-
*/
|
| 39 |
-
public function testCheckout() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CompletePaymentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CompletePaymentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CompletePaymentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CompletePaymentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCompletePaymentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CompletePaymentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CompletePaymentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CompletePaymentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CompletePaymentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCompletePaymentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CoordinatesTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CoordinatesTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CoordinatesTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Coordinates
|
| 38 |
-
*/
|
| 39 |
-
public function testCoordinates() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CountryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CountryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CountryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Country
|
| 38 |
-
*/
|
| 39 |
-
public function testCountry() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateBreakTypeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateBreakTypeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateBreakTypeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateBreakTypeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateBreakTypeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateBreakTypeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateBreakTypeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateBreakTypeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateBreakTypeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateBreakTypeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCheckoutRequestTest.php
DELETED
|
@@ -1,62 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
use SquareConnect\Model\CreateCheckoutRequest;
|
| 10 |
-
|
| 11 |
-
/**
|
| 12 |
-
* CreateCheckoutRequestTest Class Doc Comment
|
| 13 |
-
*
|
| 14 |
-
* @category Class
|
| 15 |
-
* @package SquareConnect
|
| 16 |
-
* @author Square Inc.
|
| 17 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 18 |
-
* @link https://squareup.com/developers
|
| 19 |
-
*/
|
| 20 |
-
class CreateCheckoutRequestTest extends \PHPUnit_Framework_TestCase
|
| 21 |
-
{
|
| 22 |
-
|
| 23 |
-
private static $checkoutRequest;
|
| 24 |
-
|
| 25 |
-
/**
|
| 26 |
-
* Setup before running each test case
|
| 27 |
-
*/
|
| 28 |
-
public static function setUpBeforeClass() {
|
| 29 |
-
self::$checkoutRequest = new \SquareConnect\Model\CreateCheckoutRequest();
|
| 30 |
-
}
|
| 31 |
-
|
| 32 |
-
/**
|
| 33 |
-
* Clean up after running each test case
|
| 34 |
-
*/
|
| 35 |
-
public static function tearDownAfterClass() {
|
| 36 |
-
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
/**
|
| 40 |
-
* Test CreateCheckoutRequest
|
| 41 |
-
*/
|
| 42 |
-
public function testCreateCheckoutRequest() {
|
| 43 |
-
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
/**
|
| 47 |
-
* Test AdditionalRecipients
|
| 48 |
-
*/
|
| 49 |
-
public function testAdditionalRecipients() {
|
| 50 |
-
$recipient = [
|
| 51 |
-
"location_id" => "location",
|
| 52 |
-
"description" => "description",
|
| 53 |
-
"amount_money" => [
|
| 54 |
-
"amount" => 1,
|
| 55 |
-
"currency" => "USD"
|
| 56 |
-
]
|
| 57 |
-
];
|
| 58 |
-
self::$checkoutRequest->setAdditionalRecipients([$recipient]);
|
| 59 |
-
$this->assertContains($recipient, self::$checkoutRequest->getAdditionalRecipients());
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCheckoutResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateCheckoutResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateCheckoutResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateCheckoutResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateCheckoutResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCustomerCardRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateCustomerCardRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateCustomerCardRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateCustomerCardRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateCustomerCardRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCustomerCardResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateCustomerCardResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateCustomerCardResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateCustomerCardResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateCustomerCardResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCustomerRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateCustomerRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateCustomerRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateCustomerRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateCustomerRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateCustomerResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateCustomerResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateCustomerResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateCustomerResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateCustomerResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateMobileAuthorizationCodeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateMobileAuthorizationCodeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateMobileAuthorizationCodeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateMobileAuthorizationCodeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateMobileAuthorizationCodeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateMobileAuthorizationCodeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateMobileAuthorizationCodeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateMobileAuthorizationCodeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateMobileAuthorizationCodeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateMobileAuthorizationCodeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderRequestDiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderRequestDiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderRequestDiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderRequestDiscount
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderRequestDiscount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderRequestLineItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderRequestLineItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderRequestLineItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderRequestLineItem
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderRequestLineItem() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderRequestModifierTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderRequestModifierTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderRequestModifierTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderRequestModifier
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderRequestModifier() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderRequestTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderRequestTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderRequestTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderRequestTax
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderRequestTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateOrderResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateOrderResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateOrderResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateOrderResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateOrderResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreatePaymentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreatePaymentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreatePaymentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreatePaymentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreatePaymentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreatePaymentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreatePaymentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreatePaymentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreatePaymentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreatePaymentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateRefundRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateRefundRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateRefundRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateRefundRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateRefundRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateRefundResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateRefundResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateRefundResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateRefundResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateRefundResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateShiftRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateShiftRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateShiftRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateShiftRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateShiftRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CreateShiftResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CreateShiftResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CreateShiftResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CreateShiftResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testCreateShiftResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CurrencyTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CurrencyTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CurrencyTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Currency
|
| 38 |
-
*/
|
| 39 |
-
public function testCurrency() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerCreationSourceFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerCreationSourceFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerCreationSourceFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerCreationSourceFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerCreationSourceFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerCreationSourceTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerCreationSourceTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerCreationSourceTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerCreationSource
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerCreationSource() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerGroupInfoTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerGroupInfoTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerGroupInfoTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerGroupInfo
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerGroupInfo() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerInclusionExclusionTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerInclusionExclusionTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerInclusionExclusionTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerInclusionExclusion
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerInclusionExclusion() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerPreferencesTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerPreferencesTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerPreferencesTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerPreferences
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerPreferences() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerQueryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerQueryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerQueryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerQuery
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerQuery() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerSortFieldTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerSortFieldTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerSortFieldTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerSortField
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerSortField() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerSortTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerSortTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerSortTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test CustomerSort
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomerSort() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/CustomerTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* CustomerTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class CustomerTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Customer
|
| 38 |
-
*/
|
| 39 |
-
public function testCustomer() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DateRangeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DateRangeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DateRangeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DateRange
|
| 38 |
-
*/
|
| 39 |
-
public function testDateRange() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DayOfWeekTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DayOfWeekTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DayOfWeekTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DayOfWeek
|
| 38 |
-
*/
|
| 39 |
-
public function testDayOfWeek() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteBreakTypeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteBreakTypeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteBreakTypeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteBreakTypeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteBreakTypeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteBreakTypeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteBreakTypeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteBreakTypeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteBreakTypeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteBreakTypeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCatalogObjectRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCatalogObjectRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCatalogObjectRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCatalogObjectRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCatalogObjectRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCatalogObjectResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCatalogObjectResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCatalogObjectResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCatalogObjectResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCatalogObjectResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCustomerCardRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCustomerCardRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCustomerCardRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCustomerCardRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCustomerCardRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCustomerCardResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCustomerCardResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCustomerCardResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCustomerCardResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCustomerCardResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCustomerRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCustomerRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCustomerRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCustomerRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCustomerRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteCustomerResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteCustomerResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteCustomerResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteCustomerResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteCustomerResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteShiftRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteShiftRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteShiftRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteShiftRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteShiftRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeleteShiftResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeleteShiftResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeleteShiftResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test DeleteShiftResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testDeleteShiftResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/DeviceTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* DeviceTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class DeviceTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Device
|
| 38 |
-
*/
|
| 39 |
-
public function testDevice() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/EmployeeStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* EmployeeStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class EmployeeStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test EmployeeStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testEmployeeStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/EmployeeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* EmployeeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class EmployeeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Employee
|
| 38 |
-
*/
|
| 39 |
-
public function testEmployee() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/EmployeeWageTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* EmployeeWageTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class EmployeeWageTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test EmployeeWage
|
| 38 |
-
*/
|
| 39 |
-
public function testEmployeeWage() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ErrorCategoryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ErrorCategoryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ErrorCategoryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ErrorCategory
|
| 38 |
-
*/
|
| 39 |
-
public function testErrorCategory() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ErrorCodeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ErrorCodeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ErrorCodeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ErrorCode
|
| 38 |
-
*/
|
| 39 |
-
public function testErrorCode() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ErrorTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ErrorTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ErrorTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Error
|
| 38 |
-
*/
|
| 39 |
-
public function testError() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetBreakTypeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetBreakTypeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetBreakTypeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetBreakTypeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testGetBreakTypeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetBreakTypeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetBreakTypeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetBreakTypeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetBreakTypeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testGetBreakTypeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetEmployeeWageRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetEmployeeWageRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetEmployeeWageRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetEmployeeWageRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testGetEmployeeWageRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetEmployeeWageResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetEmployeeWageResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetEmployeeWageResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetEmployeeWageResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testGetEmployeeWageResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetPaymentRefundRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetPaymentRefundRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetPaymentRefundRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetPaymentRefundRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testGetPaymentRefundRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetPaymentRefundResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetPaymentRefundResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetPaymentRefundResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetPaymentRefundResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testGetPaymentRefundResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetPaymentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetPaymentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetPaymentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetPaymentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testGetPaymentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetPaymentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetPaymentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetPaymentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetPaymentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testGetPaymentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetShiftRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetShiftRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetShiftRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetShiftRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testGetShiftRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/GetShiftResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* GetShiftResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class GetShiftResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test GetShiftResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testGetShiftResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryAdjustmentTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryAdjustmentTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryAdjustmentTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryAdjustment
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryAdjustment() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryAlertTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryAlertTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryAlertTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryAlertType
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryAlertType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryChangeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryChangeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryChangeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryChange
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryChange() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryChangeTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryChangeTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryChangeTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryChangeType
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryChangeType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryCountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryCountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryCountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryCount
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryCount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryPhysicalCountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryPhysicalCountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryPhysicalCountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryPhysicalCount
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryPhysicalCount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryStateTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryStateTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryStateTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryState
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryState() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/InventoryTransferTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* InventoryTransferTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class InventoryTransferTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test InventoryTransfer
|
| 38 |
-
*/
|
| 39 |
-
public function testInventoryTransfer() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ItemVariationLocationOverridesTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ItemVariationLocationOverridesTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ItemVariationLocationOverridesTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ItemVariationLocationOverrides
|
| 38 |
-
*/
|
| 39 |
-
public function testItemVariationLocationOverrides() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListAdditionalRecipientReceivableRefundsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListAdditionalRecipientReceivableRefundsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListAdditionalRecipientReceivableRefundsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListAdditionalRecipientReceivableRefundsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListAdditionalRecipientReceivableRefundsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListAdditionalRecipientReceivableRefundsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListAdditionalRecipientReceivableRefundsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListAdditionalRecipientReceivableRefundsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListAdditionalRecipientReceivableRefundsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListAdditionalRecipientReceivableRefundsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListAdditionalRecipientReceivablesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListAdditionalRecipientReceivablesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListAdditionalRecipientReceivablesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListAdditionalRecipientReceivablesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListAdditionalRecipientReceivablesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListAdditionalRecipientReceivablesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListAdditionalRecipientReceivablesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListAdditionalRecipientReceivablesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListAdditionalRecipientReceivablesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListAdditionalRecipientReceivablesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListBreakTypesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListBreakTypesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListBreakTypesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListBreakTypesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListBreakTypesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListBreakTypesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListBreakTypesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListBreakTypesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListBreakTypesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListBreakTypesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListCatalogRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListCatalogRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListCatalogRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListCatalogRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListCatalogRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListCatalogResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListCatalogResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListCatalogResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListCatalogResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListCatalogResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListCustomersRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListCustomersRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListCustomersRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListCustomersRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListCustomersRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListCustomersResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListCustomersResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListCustomersResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListCustomersResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListCustomersResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListEmployeeWagesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListEmployeeWagesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListEmployeeWagesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListEmployeeWagesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListEmployeeWagesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListEmployeeWagesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListEmployeeWagesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListEmployeeWagesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListEmployeeWagesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListEmployeeWagesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListEmployeesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListEmployeesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListEmployeesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListEmployeesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListEmployeesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListEmployeesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListEmployeesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListEmployeesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListEmployeesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListEmployeesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListLocationsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListLocationsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListLocationsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListLocationsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListLocationsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListLocationsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListLocationsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListLocationsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListLocationsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListLocationsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListPaymentRefundsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListPaymentRefundsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListPaymentRefundsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListPaymentRefundsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListPaymentRefundsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListPaymentRefundsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListPaymentRefundsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListPaymentRefundsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListPaymentRefundsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListPaymentRefundsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListPaymentsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListPaymentsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListPaymentsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListPaymentsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListPaymentsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListPaymentsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListPaymentsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListPaymentsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListPaymentsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListPaymentsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListRefundsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListRefundsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListRefundsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListRefundsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListRefundsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListRefundsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListRefundsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListRefundsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListRefundsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListRefundsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListTransactionsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListTransactionsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListTransactionsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListTransactionsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListTransactionsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListTransactionsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListTransactionsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListTransactionsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListTransactionsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListTransactionsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListWorkweekConfigsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListWorkweekConfigsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListWorkweekConfigsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListWorkweekConfigsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testListWorkweekConfigsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ListWorkweekConfigsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ListWorkweekConfigsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ListWorkweekConfigsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ListWorkweekConfigsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testListWorkweekConfigsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/LocationCapabilityTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* LocationCapabilityTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class LocationCapabilityTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test LocationCapability
|
| 38 |
-
*/
|
| 39 |
-
public function testLocationCapability() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/LocationStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* LocationStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class LocationStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test LocationStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testLocationStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/LocationTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* LocationTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class LocationTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Location
|
| 38 |
-
*/
|
| 39 |
-
public function testLocation() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/LocationTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* LocationTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class LocationTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test LocationType
|
| 38 |
-
*/
|
| 39 |
-
public function testLocationType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitAreaTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitAreaTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitAreaTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitArea
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitArea() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitCustomTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitCustomTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitCustomTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitCustom
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitCustom() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitGenericTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitGenericTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitGenericTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitGeneric
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitGeneric() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitLengthTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitLengthTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitLengthTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitLength
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitLength() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnit
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnit() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitTimeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitTimeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitTimeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitTime
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitTime() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitUnitTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitUnitTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitUnitTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitUnitType
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitUnitType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitVolumeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitVolumeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitVolumeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitVolume
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitVolume() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MeasurementUnitWeightTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MeasurementUnitWeightTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MeasurementUnitWeightTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test MeasurementUnitWeight
|
| 38 |
-
*/
|
| 39 |
-
public function testMeasurementUnitWeight() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ModelBreakTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ModelBreakTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ModelBreakTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ModelBreak
|
| 38 |
-
*/
|
| 39 |
-
public function testModelBreak() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/MoneyTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* MoneyTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class MoneyTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Money
|
| 38 |
-
*/
|
| 39 |
-
public function testMoney() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ObtainTokenRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ObtainTokenRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ObtainTokenRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ObtainTokenRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testObtainTokenRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ObtainTokenResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ObtainTokenResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ObtainTokenResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ObtainTokenResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testObtainTokenResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderEntryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderEntryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderEntryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderEntry
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderEntry() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentPickupDetailsScheduleTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentPickupDetailsScheduleTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentPickupDetailsScheduleTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentPickupDetailsScheduleType
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentPickupDetailsScheduleType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentPickupDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentPickupDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentPickupDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentPickupDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentPickupDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentRecipientTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentRecipientTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentRecipientTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentRecipient
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentRecipient() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentShipmentDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentShipmentDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentShipmentDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentShipmentDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentShipmentDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentStateTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentStateTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentStateTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentState
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentState() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillment
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillment() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderFulfillmentTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderFulfillmentTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderFulfillmentTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderFulfillmentType
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderFulfillmentType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemAppliedDiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemAppliedDiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemAppliedDiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemAppliedDiscount
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemAppliedDiscount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemAppliedTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemAppliedTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemAppliedTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemAppliedTax
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemAppliedTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemDiscountScopeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemDiscountScopeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemDiscountScopeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemDiscountScope
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemDiscountScope() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemDiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemDiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemDiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemDiscount
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemDiscount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemDiscountTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemDiscountTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemDiscountTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemDiscountType
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemDiscountType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemModifierTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemModifierTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemModifierTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemModifier
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemModifier() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemTaxScopeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemTaxScopeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemTaxScopeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemTaxScope
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemTaxScope() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemTax
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemTaxTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemTaxTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemTaxTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItemTaxType
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItemTaxType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderLineItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderLineItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderLineItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderLineItem
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderLineItem() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderMoneyAmountsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderMoneyAmountsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderMoneyAmountsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderMoneyAmounts
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderMoneyAmounts() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderQuantityUnitTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderQuantityUnitTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderQuantityUnitTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderQuantityUnit
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderQuantityUnit() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnDiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnDiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnDiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturnDiscount
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturnDiscount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnLineItemModifierTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnLineItemModifierTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnLineItemModifierTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturnLineItemModifier
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturnLineItemModifier() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnLineItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnLineItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnLineItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturnLineItem
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturnLineItem() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnServiceChargeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnServiceChargeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnServiceChargeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturnServiceCharge
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturnServiceCharge() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnTaxTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnTaxTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnTaxTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturnTax
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturnTax() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderReturnTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderReturnTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderReturnTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderReturn
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderReturn() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderRoundingAdjustmentTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderRoundingAdjustmentTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderRoundingAdjustmentTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderRoundingAdjustment
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderRoundingAdjustment() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderServiceChargeCalculationPhaseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderServiceChargeCalculationPhaseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderServiceChargeCalculationPhaseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderServiceChargeCalculationPhase
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderServiceChargeCalculationPhase() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderServiceChargeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderServiceChargeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderServiceChargeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderServiceCharge
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderServiceCharge() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderSourceTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderSourceTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderSourceTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderSource
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderSource() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderStateTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderStateTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderStateTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test OrderState
|
| 38 |
-
*/
|
| 39 |
-
public function testOrderState() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/OrderTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* OrderTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class OrderTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Order
|
| 38 |
-
*/
|
| 39 |
-
public function testOrder() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/PayOrderRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* PayOrderRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class PayOrderRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test PayOrderRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testPayOrderRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/PayOrderResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* PayOrderResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class PayOrderResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test PayOrderResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testPayOrderResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/PaymentRefundTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* PaymentRefundTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class PaymentRefundTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test PaymentRefund
|
| 38 |
-
*/
|
| 39 |
-
public function testPaymentRefund() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/PaymentTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* PaymentTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class PaymentTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Payment
|
| 38 |
-
*/
|
| 39 |
-
public function testPayment() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ProcessingFeeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ProcessingFeeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ProcessingFeeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ProcessingFee
|
| 38 |
-
*/
|
| 39 |
-
public function testProcessingFee() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ProductTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ProductTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ProductTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Product
|
| 38 |
-
*/
|
| 39 |
-
public function testProduct() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RefundPaymentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RefundPaymentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RefundPaymentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RefundPaymentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRefundPaymentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RefundPaymentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RefundPaymentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RefundPaymentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RefundPaymentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRefundPaymentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RefundStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RefundStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RefundStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RefundStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testRefundStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RefundTest.php
DELETED
|
@@ -1,64 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
use SquareConnect\Model\Money;
|
| 10 |
-
use SquareConnect\Model\AdditionalRecipient;
|
| 11 |
-
use SquareConnect\Model\AdditionalRecipientTest;
|
| 12 |
-
|
| 13 |
-
/**
|
| 14 |
-
* RefundTest Class Doc Comment
|
| 15 |
-
*
|
| 16 |
-
* @category Class
|
| 17 |
-
* @package SquareConnect
|
| 18 |
-
* @author Square Inc.
|
| 19 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 20 |
-
* @link https://squareup.com/developers
|
| 21 |
-
*/
|
| 22 |
-
class RefundTest extends \PHPUnit_Framework_TestCase
|
| 23 |
-
{
|
| 24 |
-
|
| 25 |
-
private static $refund;
|
| 26 |
-
|
| 27 |
-
/**
|
| 28 |
-
* Setup before running each test case
|
| 29 |
-
*/
|
| 30 |
-
public static function setUpBeforeClass() {
|
| 31 |
-
self::$refund = new \SquareConnect\Model\Refund();
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
/**
|
| 35 |
-
* Clean up after running each test case
|
| 36 |
-
*/
|
| 37 |
-
public static function tearDownAfterClass() {
|
| 38 |
-
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
/**
|
| 42 |
-
* Test Refund
|
| 43 |
-
*/
|
| 44 |
-
public function testRefund() {
|
| 45 |
-
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
/**
|
| 49 |
-
* Test AdditionalRecipients
|
| 50 |
-
*/
|
| 51 |
-
public function testAdditionalRecipients() {
|
| 52 |
-
$recipient = [
|
| 53 |
-
"location_id" => "location",
|
| 54 |
-
"description" => "description",
|
| 55 |
-
"amount_money" => [
|
| 56 |
-
"amount" => 1,
|
| 57 |
-
"currency" => "USD"
|
| 58 |
-
]
|
| 59 |
-
];
|
| 60 |
-
self::$refund->setAdditionalRecipients([$recipient]);
|
| 61 |
-
$this->assertContains($recipient, self::$refund->getAdditionalRecipients());
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RegisterDomainRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RegisterDomainRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RegisterDomainRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RegisterDomainRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRegisterDomainRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RegisterDomainResponseStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RegisterDomainResponseStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RegisterDomainResponseStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RegisterDomainResponseStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testRegisterDomainResponseStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RegisterDomainResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RegisterDomainResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RegisterDomainResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RegisterDomainResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRegisterDomainResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RenewTokenRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RenewTokenRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RenewTokenRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RenewTokenRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRenewTokenRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RenewTokenResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RenewTokenResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RenewTokenResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RenewTokenResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRenewTokenResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveCatalogObjectRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveCatalogObjectRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveCatalogObjectRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveCatalogObjectRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveCatalogObjectRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveCatalogObjectResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveCatalogObjectResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveCatalogObjectResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveCatalogObjectResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveCatalogObjectResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveCustomerRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveCustomerRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveCustomerRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveCustomerRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveCustomerRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveCustomerResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveCustomerResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveCustomerResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveCustomerResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveCustomerResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveEmployeeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveEmployeeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveEmployeeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveEmployeeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveEmployeeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveEmployeeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveEmployeeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveEmployeeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveEmployeeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveEmployeeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryAdjustmentRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryAdjustmentRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryAdjustmentRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryAdjustmentRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryAdjustmentRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryAdjustmentResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryAdjustmentResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryAdjustmentResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryAdjustmentResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryAdjustmentResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryChangesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryChangesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryChangesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryChangesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryChangesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryChangesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryChangesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryChangesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryChangesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryChangesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryCountRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryCountRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryCountRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryCountRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryCountRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryCountResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryCountResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryCountResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryCountResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryCountResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryPhysicalCountRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryPhysicalCountRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryPhysicalCountRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryPhysicalCountRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryPhysicalCountRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveInventoryPhysicalCountResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveInventoryPhysicalCountResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveInventoryPhysicalCountResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveInventoryPhysicalCountResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveInventoryPhysicalCountResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveLocationRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveLocationRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveLocationRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveLocationRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveLocationRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveLocationResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveLocationResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveLocationResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveLocationResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveLocationResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveTransactionRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveTransactionRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveTransactionRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveTransactionRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveTransactionRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RetrieveTransactionResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RetrieveTransactionResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RetrieveTransactionResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RetrieveTransactionResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRetrieveTransactionResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RevokeTokenRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RevokeTokenRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RevokeTokenRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RevokeTokenRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testRevokeTokenRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/RevokeTokenResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* RevokeTokenResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class RevokeTokenResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test RevokeTokenResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testRevokeTokenResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchCatalogObjectsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchCatalogObjectsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchCatalogObjectsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchCatalogObjectsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchCatalogObjectsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchCatalogObjectsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchCatalogObjectsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchCatalogObjectsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchCatalogObjectsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchCatalogObjectsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchCustomersRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchCustomersRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchCustomersRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchCustomersRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchCustomersRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchCustomersResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchCustomersResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchCustomersResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchCustomersResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchCustomersResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersCustomerFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersCustomerFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersCustomerFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersCustomerFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersCustomerFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersDateTimeFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersDateTimeFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersDateTimeFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersDateTimeFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersDateTimeFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersFulfillmentFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersFulfillmentFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersFulfillmentFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersFulfillmentFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersFulfillmentFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersQueryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersQueryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersQueryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersQuery
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersQuery() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersSortFieldTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersSortFieldTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersSortFieldTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersSortField
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersSortField() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersSortTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersSortTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersSortTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersSort
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersSort() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersSourceFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersSourceFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersSourceFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersSourceFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersSourceFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchOrdersStateFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchOrdersStateFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchOrdersStateFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchOrdersStateFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchOrdersStateFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchShiftsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchShiftsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchShiftsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchShiftsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchShiftsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SearchShiftsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SearchShiftsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SearchShiftsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SearchShiftsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testSearchShiftsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftFilterStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftFilterStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftFilterStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftFilterStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftFilterStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftFilterTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftFilterTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftFilterTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftFilter
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftFilter() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftQueryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftQueryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftQueryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftQuery
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftQuery() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftSortFieldTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftSortFieldTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftSortFieldTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftSortField
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftSortField() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftSortTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftSortTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftSortTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftSort
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftSort() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Shift
|
| 38 |
-
*/
|
| 39 |
-
public function testShift() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftWageTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftWageTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftWageTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftWage
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftWage() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftWorkdayMatcherTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftWorkdayMatcherTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftWorkdayMatcherTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftWorkdayMatcher
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftWorkdayMatcher() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/ShiftWorkdayTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* ShiftWorkdayTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class ShiftWorkdayTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test ShiftWorkday
|
| 38 |
-
*/
|
| 39 |
-
public function testShiftWorkday() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SortOrderTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SortOrderTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SortOrderTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SortOrder
|
| 38 |
-
*/
|
| 39 |
-
public function testSortOrder() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/SourceApplicationTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* SourceApplicationTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class SourceApplicationTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test SourceApplication
|
| 38 |
-
*/
|
| 39 |
-
public function testSourceApplication() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/StandardUnitDescriptionGroupTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* StandardUnitDescriptionGroupTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class StandardUnitDescriptionGroupTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test StandardUnitDescriptionGroup
|
| 38 |
-
*/
|
| 39 |
-
public function testStandardUnitDescriptionGroup() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/StandardUnitDescriptionTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* StandardUnitDescriptionTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class StandardUnitDescriptionTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test StandardUnitDescription
|
| 38 |
-
*/
|
| 39 |
-
public function testStandardUnitDescription() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TaxCalculationPhaseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TaxCalculationPhaseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TaxCalculationPhaseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TaxCalculationPhase
|
| 38 |
-
*/
|
| 39 |
-
public function testTaxCalculationPhase() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TaxInclusionTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TaxInclusionTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TaxInclusionTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TaxInclusionType
|
| 38 |
-
*/
|
| 39 |
-
public function testTaxInclusionType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderCardDetailsEntryMethodTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderCardDetailsEntryMethodTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderCardDetailsEntryMethodTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TenderCardDetailsEntryMethod
|
| 38 |
-
*/
|
| 39 |
-
public function testTenderCardDetailsEntryMethod() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderCardDetailsStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderCardDetailsStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderCardDetailsStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TenderCardDetailsStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testTenderCardDetailsStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderCardDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderCardDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderCardDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TenderCardDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testTenderCardDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderCashDetailsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderCashDetailsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderCashDetailsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TenderCashDetails
|
| 38 |
-
*/
|
| 39 |
-
public function testTenderCashDetails() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderTest.php
DELETED
|
@@ -1,61 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
private static $tender;
|
| 23 |
-
|
| 24 |
-
/**
|
| 25 |
-
* Setup before running each test case
|
| 26 |
-
*/
|
| 27 |
-
public static function setUpBeforeClass() {
|
| 28 |
-
self::$tender = new \SquareConnect\Model\Tender();
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/**
|
| 32 |
-
* Clean up after running each test case
|
| 33 |
-
*/
|
| 34 |
-
public static function tearDownAfterClass() {
|
| 35 |
-
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
/**
|
| 39 |
-
* Test Tender
|
| 40 |
-
*/
|
| 41 |
-
public function testTender() {
|
| 42 |
-
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Test AdditionalRecipients
|
| 47 |
-
*/
|
| 48 |
-
public function testAdditionalRecipients() {
|
| 49 |
-
$recipient = [
|
| 50 |
-
"location_id" => "location",
|
| 51 |
-
"description" => "description",
|
| 52 |
-
"amount_money" => [
|
| 53 |
-
"amount" => 1,
|
| 54 |
-
"currency" => "USD"
|
| 55 |
-
]
|
| 56 |
-
];
|
| 57 |
-
self::$tender->setAdditionalRecipients([$recipient]);
|
| 58 |
-
$this->assertContains($recipient, self::$tender->getAdditionalRecipients());
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TenderTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TenderTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TenderTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TenderType
|
| 38 |
-
*/
|
| 39 |
-
public function testTenderType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TimeRangeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TimeRangeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TimeRangeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TimeRange
|
| 38 |
-
*/
|
| 39 |
-
public function testTimeRange() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TransactionProductTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TransactionProductTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TransactionProductTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test TransactionProduct
|
| 38 |
-
*/
|
| 39 |
-
public function testTransactionProduct() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/TransactionTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* TransactionTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class TransactionTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test Transaction
|
| 38 |
-
*/
|
| 39 |
-
public function testTransaction() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateBreakTypeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateBreakTypeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateBreakTypeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateBreakTypeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateBreakTypeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateBreakTypeResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateBreakTypeResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateBreakTypeResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateBreakTypeResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateBreakTypeResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateCustomerRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateCustomerRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateCustomerRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateCustomerRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateCustomerRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateCustomerResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateCustomerResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateCustomerResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateCustomerResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateCustomerResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateItemModifierListsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateItemModifierListsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateItemModifierListsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateItemModifierListsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateItemModifierListsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateItemModifierListsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateItemModifierListsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateItemModifierListsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateItemModifierListsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateItemModifierListsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateItemTaxesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateItemTaxesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateItemTaxesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateItemTaxesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateItemTaxesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateItemTaxesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateItemTaxesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateItemTaxesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateItemTaxesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateItemTaxesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateOrderRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateOrderRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateOrderRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateOrderRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateOrderRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateOrderResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateOrderResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateOrderResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateOrderResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateOrderResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateShiftRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateShiftRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateShiftRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateShiftRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateShiftRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateShiftResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateShiftResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateShiftResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateShiftResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateShiftResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateWorkweekConfigRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateWorkweekConfigRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateWorkweekConfigRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateWorkweekConfigRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateWorkweekConfigRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpdateWorkweekConfigResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpdateWorkweekConfigResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpdateWorkweekConfigResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpdateWorkweekConfigResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpdateWorkweekConfigResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpsertCatalogObjectRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpsertCatalogObjectRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpsertCatalogObjectRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpsertCatalogObjectRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testUpsertCatalogObjectRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/UpsertCatalogObjectResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* UpsertCatalogObjectResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class UpsertCatalogObjectResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test UpsertCatalogObjectResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testUpsertCatalogObjectResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1AdjustInventoryRequestAdjustmentTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1AdjustInventoryRequestAdjustmentTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1AdjustInventoryRequestAdjustmentTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1AdjustInventoryRequestAdjustmentType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1AdjustInventoryRequestAdjustmentType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1AdjustInventoryRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1AdjustInventoryRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1AdjustInventoryRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1AdjustInventoryRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1AdjustInventoryRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ApplyFeeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ApplyFeeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ApplyFeeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ApplyFeeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ApplyFeeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ApplyModifierListRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ApplyModifierListRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ApplyModifierListRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ApplyModifierListRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ApplyModifierListRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1BankAccountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1BankAccountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1BankAccountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1BankAccount
|
| 38 |
-
*/
|
| 39 |
-
public function testV1BankAccount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1BankAccountTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1BankAccountTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1BankAccountTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1BankAccountType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1BankAccountType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CashDrawerEventEventTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CashDrawerEventEventTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CashDrawerEventEventTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CashDrawerEventEventType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CashDrawerEventEventType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CashDrawerEventTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CashDrawerEventTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CashDrawerEventTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CashDrawerEvent
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CashDrawerEvent() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CashDrawerShiftEventTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CashDrawerShiftEventTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CashDrawerShiftEventTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CashDrawerShiftEventType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CashDrawerShiftEventType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CashDrawerShiftTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CashDrawerShiftTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CashDrawerShiftTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CashDrawerShift
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CashDrawerShift() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CategoryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CategoryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CategoryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1Category
|
| 38 |
-
*/
|
| 39 |
-
public function testV1Category() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateCategoryRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateCategoryRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateCategoryRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateCategoryRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateCategoryRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateDiscountRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateDiscountRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateDiscountRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateDiscountRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateDiscountRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateEmployeeRoleRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateEmployeeRoleRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateEmployeeRoleRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateEmployeeRoleRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateEmployeeRoleRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateFeeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateFeeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateFeeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateFeeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateFeeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateItemRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateItemRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateItemRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateItemRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateItemRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateModifierListRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateModifierListRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateModifierListRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateModifierListRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateModifierListRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateModifierOptionRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateModifierOptionRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateModifierOptionRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateModifierOptionRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateModifierOptionRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreatePageRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreatePageRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreatePageRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreatePageRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreatePageRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateRefundRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateRefundRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateRefundRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateRefundRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateRefundRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateRefundRequestTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateRefundRequestTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateRefundRequestTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateRefundRequestType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateRefundRequestType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1CreateVariationRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1CreateVariationRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1CreateVariationRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1CreateVariationRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1CreateVariationRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteCategoryRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteCategoryRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteCategoryRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteCategoryRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteCategoryRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteDiscountRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteDiscountRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteDiscountRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteDiscountRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteDiscountRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteFeeRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteFeeRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteFeeRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteFeeRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteFeeRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteItemRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteItemRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteItemRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteItemRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteItemRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteModifierListRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteModifierListRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteModifierListRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteModifierListRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteModifierListRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteModifierOptionRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteModifierOptionRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteModifierOptionRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteModifierOptionRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteModifierOptionRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeletePageCellRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeletePageCellRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeletePageCellRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeletePageCellRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeletePageCellRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeletePageRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeletePageRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeletePageRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeletePageRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeletePageRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteTimecardRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteTimecardRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteTimecardRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteTimecardRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteTimecardRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteTimecardResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteTimecardResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteTimecardResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteTimecardResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteTimecardResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DeleteVariationRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DeleteVariationRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DeleteVariationRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DeleteVariationRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DeleteVariationRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DiscountColorTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DiscountColorTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DiscountColorTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DiscountColor
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DiscountColor() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DiscountDiscountTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DiscountDiscountTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DiscountDiscountTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1DiscountDiscountType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1DiscountDiscountType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1DiscountTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1DiscountTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1DiscountTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1Discount
|
| 38 |
-
*/
|
| 39 |
-
public function testV1Discount() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1EmployeeRolePermissionsTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1EmployeeRolePermissionsTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1EmployeeRolePermissionsTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1EmployeeRolePermissions
|
| 38 |
-
*/
|
| 39 |
-
public function testV1EmployeeRolePermissions() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1EmployeeRoleTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1EmployeeRoleTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1EmployeeRoleTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1EmployeeRole
|
| 38 |
-
*/
|
| 39 |
-
public function testV1EmployeeRole() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1EmployeeStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1EmployeeStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1EmployeeStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1EmployeeStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testV1EmployeeStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1EmployeeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1EmployeeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1EmployeeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1Employee
|
| 38 |
-
*/
|
| 39 |
-
public function testV1Employee() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1FeeAdjustmentTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1FeeAdjustmentTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1FeeAdjustmentTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1FeeAdjustmentType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1FeeAdjustmentType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1FeeCalculationPhaseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1FeeCalculationPhaseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1FeeCalculationPhaseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1FeeCalculationPhase
|
| 38 |
-
*/
|
| 39 |
-
public function testV1FeeCalculationPhase() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1FeeInclusionTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1FeeInclusionTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1FeeInclusionTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1FeeInclusionType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1FeeInclusionType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1FeeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1FeeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1FeeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1Fee
|
| 38 |
-
*/
|
| 39 |
-
public function testV1Fee() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1FeeTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1FeeTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1FeeTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1FeeType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1FeeType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1InventoryEntryTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1InventoryEntryTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1InventoryEntryTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1InventoryEntry
|
| 38 |
-
*/
|
| 39 |
-
public function testV1InventoryEntry() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ItemColorTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ItemColorTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ItemColorTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ItemColor
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ItemColor() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ItemImageTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ItemImageTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ItemImageTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ItemImage
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ItemImage() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ItemTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ItemTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ItemTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1Item
|
| 38 |
-
*/
|
| 39 |
-
public function testV1Item() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ItemTypeTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ItemTypeTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ItemTypeTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ItemType
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ItemType() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ItemVisibilityTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ItemVisibilityTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ItemVisibilityTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ItemVisibility
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ItemVisibility() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListBankAccountsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListBankAccountsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListBankAccountsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListBankAccountsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListBankAccountsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListBankAccountsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListBankAccountsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListBankAccountsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListBankAccountsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListBankAccountsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListCashDrawerShiftsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListCashDrawerShiftsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListCashDrawerShiftsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListCashDrawerShiftsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListCashDrawerShiftsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListCashDrawerShiftsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListCashDrawerShiftsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListCashDrawerShiftsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListCashDrawerShiftsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListCashDrawerShiftsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListCategoriesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListCategoriesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListCategoriesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListCategoriesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListCategoriesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListCategoriesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListCategoriesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListCategoriesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListCategoriesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListCategoriesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListDiscountsRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListDiscountsRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListDiscountsRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListDiscountsRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListDiscountsRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListDiscountsResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListDiscountsResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListDiscountsResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListDiscountsResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListDiscountsResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListEmployeeRolesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListEmployeeRolesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListEmployeeRolesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListEmployeeRolesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListEmployeeRolesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListEmployeeRolesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListEmployeeRolesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListEmployeeRolesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListEmployeeRolesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListEmployeeRolesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListEmployeesRequestStatusTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListEmployeesRequestStatusTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListEmployeesRequestStatusTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListEmployeesRequestStatus
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListEmployeesRequestStatus() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListEmployeesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListEmployeesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListEmployeesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListEmployeesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListEmployeesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListEmployeesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListEmployeesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListEmployeesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListEmployeesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListEmployeesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListFeesRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListFeesRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListFeesRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListFeesRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListFeesRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListFeesResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListFeesResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListFeesResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListFeesResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListFeesResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListInventoryRequestTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListInventoryRequestTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListInventoryRequestTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListInventoryRequest
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListInventoryRequest() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/test/Model/V1ListInventoryResponseTest.php
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
/**
|
| 3 |
-
* NOTE: This class is auto generated by the swagger code generator program.
|
| 4 |
-
* https://github.com/swagger-api/swagger-codegen
|
| 5 |
-
* Do not edit the class manually.
|
| 6 |
-
*/
|
| 7 |
-
|
| 8 |
-
namespace SquareConnect\Model;
|
| 9 |
-
|
| 10 |
-
/**
|
| 11 |
-
* V1ListInventoryResponseTest Class Doc Comment
|
| 12 |
-
*
|
| 13 |
-
* @category Class
|
| 14 |
-
* @package SquareConnect
|
| 15 |
-
* @author Square Inc.
|
| 16 |
-
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
| 17 |
-
* @link https://squareup.com/developers
|
| 18 |
-
*/
|
| 19 |
-
class V1ListInventoryResponseTest extends \PHPUnit_Framework_TestCase
|
| 20 |
-
{
|
| 21 |
-
|
| 22 |
-
/**
|
| 23 |
-
* Setup before running each test case
|
| 24 |
-
*/
|
| 25 |
-
public static function setUpBeforeClass() {
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/**
|
| 30 |
-
* Clean up after running each test case
|
| 31 |
-
*/
|
| 32 |
-
public static function tearDownAfterClass() {
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/**
|
| 37 |
-
* Test V1ListInventoryResponse
|
| 38 |
-
*/
|
| 39 |
-
public function testV1ListInventoryResponse() {
|
| 40 |
-
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/square/connect/{test/Model/V1ListItemsRequestTest.php → test}
RENAMED
|
File without changes
|
