From 958aa988783e5a3b6964a6246d8df0b98e9aa3f4 Mon Sep 17 00:00:00 2001 From: cb-alish Date: Fri, 6 Feb 2026 12:42:54 +0530 Subject: [PATCH] Releasing v4.16.0 --- CHANGELOG.md | 43 ++++++++++ VERSION | 2 +- src/Actions/AddonActions.php | 14 ++-- src/Actions/AddressActions.php | 4 +- src/Actions/AttachedItemActions.php | 10 +-- src/Actions/BusinessEntityActions.php | 4 +- src/Actions/CardActions.php | 10 +-- src/Actions/CommentActions.php | 8 +- src/Actions/ConfigurationActions.php | 2 +- .../Contracts/AddonActionsInterface.php | 14 ++-- .../Contracts/AddressActionsInterface.php | 4 +- .../AttachedItemActionsInterface.php | 10 +-- .../BusinessEntityActionsInterface.php | 4 +- .../Contracts/CardActionsInterface.php | 10 +-- .../Contracts/CommentActionsInterface.php | 8 +- .../ConfigurationActionsInterface.php | 2 +- .../Contracts/CouponActionsInterface.php | 18 ++--- .../Contracts/CouponCodeActionsInterface.php | 8 +- .../Contracts/CouponSetActionsInterface.php | 14 ++-- .../Contracts/CreditNoteActionsInterface.php | 28 +++---- .../Contracts/CurrencyActionsInterface.php | 12 +-- .../Contracts/CustomerActionsInterface.php | 52 ++++++------ .../CustomerEntitlementActionsInterface.php | 2 +- .../DifferentialPriceActionsInterface.php | 10 +-- .../Contracts/EntitlementActionsInterface.php | 4 +- .../EntitlementOverrideActionsInterface.php | 7 +- .../Contracts/EstimateActionsInterface.php | 40 +++++----- .../Contracts/EventActionsInterface.php | 4 +- .../Contracts/ExportActionsInterface.php | 36 ++++----- .../Contracts/FeatureActionsInterface.php | 16 ++-- .../Contracts/GiftActionsInterface.php | 14 ++-- .../Contracts/HostedPageActionsInterface.php | 45 ++++++----- .../InAppSubscriptionActionsInterface.php | 8 +- .../Contracts/InvoiceActionsInterface.php | 80 +++++++++---------- .../Contracts/ItemActionsInterface.php | 10 +-- .../ItemEntitlementActionsInterface.php | 8 +- .../Contracts/ItemFamilyActionsInterface.php | 10 +-- .../Contracts/ItemPriceActionsInterface.php | 14 ++-- .../NonSubscriptionActionsInterface.php | 2 +- .../Contracts/OfferEventActionsInterface.php | 2 +- .../OfferFulfillmentActionsInterface.php | 6 +- ...mnichannelOneTimeOrderActionsInterface.php | 4 +- ...mnichannelSubscriptionActionsInterface.php | 23 ++++-- ...hannelSubscriptionItemActionsInterface.php | 2 +- .../Contracts/OrderActionsInterface.php | 24 +++--- .../PaymentIntentActionsInterface.php | 6 +- .../PaymentScheduleSchemeActionsInterface.php | 6 +- .../PaymentSourceActionsInterface.php | 32 ++++---- .../PaymentVoucherActionsInterface.php | 8 +- .../PersonalizedOfferActionsInterface.php | 2 +- .../Contracts/PlanActionsInterface.php | 14 ++-- .../PortalSessionActionsInterface.php | 8 +- .../PriceVariantActionsInterface.php | 10 +-- .../PricingPageSessionActionsInterface.php | 4 +- .../PromotionalCreditActionsInterface.php | 10 +-- .../Contracts/PurchaseActionsInterface.php | 4 +- .../Contracts/QuoteActionsInterface.php | 40 +++++----- .../Contracts/RampActionsInterface.php | 10 +-- .../RecordedPurchaseActionsInterface.php | 4 +- .../ResourceMigrationActionsInterface.php | 2 +- .../Contracts/RuleActionsInterface.php | 2 +- .../SiteMigrationDetailActionsInterface.php | 2 +- .../SubscriptionActionsInterface.php | 75 ++++++++--------- ...ubscriptionEntitlementActionsInterface.php | 4 +- .../Contracts/TimeMachineActionsInterface.php | 6 +- .../Contracts/TransactionActionsInterface.php | 24 +++--- .../UnbilledChargeActionsInterface.php | 12 +-- .../Contracts/UsageActionsInterface.php | 10 +-- .../Contracts/UsageEventActionsInterface.php | 4 +- .../Contracts/UsageFileActionsInterface.php | 4 +- .../VirtualBankAccountActionsInterface.php | 14 ++-- .../WebhookEndpointActionsInterface.php | 10 +-- src/Actions/CouponActions.php | 18 ++--- src/Actions/CouponCodeActions.php | 8 +- src/Actions/CouponSetActions.php | 14 ++-- src/Actions/CreditNoteActions.php | 28 +++---- src/Actions/CurrencyActions.php | 12 +-- src/Actions/CustomerActions.php | 52 ++++++------ src/Actions/CustomerEntitlementActions.php | 2 +- src/Actions/DifferentialPriceActions.php | 10 +-- src/Actions/EntitlementActions.php | 4 +- src/Actions/EntitlementOverrideActions.php | 7 +- src/Actions/EstimateActions.php | 40 +++++----- src/Actions/EventActions.php | 4 +- src/Actions/ExportActions.php | 36 ++++----- src/Actions/FeatureActions.php | 16 ++-- src/Actions/GiftActions.php | 14 ++-- src/Actions/HostedPageActions.php | 45 ++++++----- src/Actions/InAppSubscriptionActions.php | 8 +- src/Actions/InvoiceActions.php | 80 +++++++++---------- src/Actions/ItemActions.php | 10 +-- src/Actions/ItemEntitlementActions.php | 8 +- src/Actions/ItemFamilyActions.php | 10 +-- src/Actions/ItemPriceActions.php | 14 ++-- src/Actions/NonSubscriptionActions.php | 2 +- src/Actions/OfferEventActions.php | 2 +- src/Actions/OfferFulfillmentActions.php | 6 +- .../OmnichannelOneTimeOrderActions.php | 4 +- .../OmnichannelSubscriptionActions.php | 23 ++++-- .../OmnichannelSubscriptionItemActions.php | 2 +- src/Actions/OrderActions.php | 24 +++--- src/Actions/PaymentIntentActions.php | 6 +- src/Actions/PaymentScheduleSchemeActions.php | 6 +- src/Actions/PaymentSourceActions.php | 32 ++++---- src/Actions/PaymentVoucherActions.php | 8 +- src/Actions/PersonalizedOfferActions.php | 2 +- src/Actions/PlanActions.php | 14 ++-- src/Actions/PortalSessionActions.php | 8 +- src/Actions/PriceVariantActions.php | 10 +-- src/Actions/PricingPageSessionActions.php | 4 +- src/Actions/PromotionalCreditActions.php | 10 +-- src/Actions/PurchaseActions.php | 4 +- src/Actions/QuoteActions.php | 40 +++++----- src/Actions/RampActions.php | 10 +-- src/Actions/RecordedPurchaseActions.php | 4 +- src/Actions/ResourceMigrationActions.php | 2 +- src/Actions/RuleActions.php | 2 +- src/Actions/SiteMigrationDetailActions.php | 2 +- src/Actions/SubscriptionActions.php | 75 ++++++++--------- .../SubscriptionEntitlementActions.php | 4 +- src/Actions/TimeMachineActions.php | 6 +- src/Actions/TransactionActions.php | 24 +++--- src/Actions/UnbilledChargeActions.php | 12 +-- src/Actions/UsageActions.php | 10 +-- src/Actions/UsageEventActions.php | 4 +- src/Actions/UsageFileActions.php | 4 +- src/Actions/VirtualBankAccountActions.php | 14 ++-- src/Actions/WebhookEndpointActions.php | 10 +-- src/Enums/EntityType.php | 1 + src/Enums/EventType.php | 1 + src/Enums/Gateway.php | 1 + src/Enums/PaymentMethod.php | 4 + src/Enums/PaymentMethodSavePolicy.php | 15 ++++ src/Enums/PaymentMethodType.php | 4 + src/Enums/Type.php | 4 + .../CreditNote/Enums/EinvoiceStatus.php | 7 ++ src/Resources/Einvoice/Enums/Status.php | 7 ++ .../EntitlementOverride.php | 24 +++++- .../Invoice/Enums/EinvoiceStatus.php | 7 ++ .../PaymentIntent/Enums/PaymentMethodType.php | 6 ++ src/Resources/Subscription/Subscription.php | 14 +++- src/Version.php | 2 +- 142 files changed, 1036 insertions(+), 870 deletions(-) create mode 100644 src/Enums/PaymentMethodSavePolicy.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f7bd90d..008e02db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +### v4.16.0 (2026-02-06) +* * * +### New Attributes: +- [`subscription_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#subscription_id) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#is_enabled) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#decommissioned) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions). + + +### New Parameters: +- [`omnichannel_subscription_item`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#omnichannel_subscription_item) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions). +- [`entitlement_overrides.entity_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_id) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`entitlement_overrides.entity_type`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_type) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`entitlement_overrides.is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_is_enabled) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`payment_method_save_policy`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now#payment_method_save_policy) has been added as request body parameter to [`collect_now`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages). +- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items#decommissioned) has been added as request body parameter to [`cancel_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions). + + +### Parameter Updates: +- [`pricing_page`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription#pricing_page) has been changed from required to optional in [`create_pricing_page_for_existing_subscription`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription) of [`PricingPageSession`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions). + + +### New Events: +- [`payment_due_reminder`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_due_reminder) has been added. + + +### New Enums: +- `charge` has been added as a new value enum `EntityType`. +- `payment_due_reminder` has been added as a new value enum `EventType`. +- `tempus` has been added as a new value enum `Gateway`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethod`. +- `always`, `ask`, and `never` have been added as new values enum `PaymentMethodSavePolicy`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethodType`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `Type`. +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#einvoice_status) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes). +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#status) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices). +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#einvoice_status) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). + + + ### v4.15.1 (2026-01-19) * * * diff --git a/VERSION b/VERSION index 68289521..ecbc3b03 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.15.1 \ No newline at end of file +4.16.0 diff --git a/src/Actions/AddonActions.php b/src/Actions/AddonActions.php index b2271966..c66981b2 100644 --- a/src/Actions/AddonActions.php +++ b/src/Actions/AddonActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#copy_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/copy-an-addon?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -68,7 +68,7 @@ public function copy(array $params, array $headers = []): CopyAddonResponse } /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#unarchive_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/unarchive-an-addon?lang=php-v4 * * @param string $id * @param array $headers @@ -99,7 +99,7 @@ public function unarchive(string $id, array $headers = []): UnarchiveAddonRespon } /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#retrieve_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/retrieve-an-addon?lang=php-v4 * * @param string $id * @param array $headers @@ -129,7 +129,7 @@ public function retrieve(string $id, array $headers = []): RetrieveAddonResponse } /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#update_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/update-an-addon?lang=php-v4 * @param array{ * tiers?: array $headers diff --git a/src/Actions/AddressActions.php b/src/Actions/AddressActions.php index 738aed46..4d92ef23 100644 --- a/src/Actions/AddressActions.php +++ b/src/Actions/AddressActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/addresses?lang=php#retrieve_an_address + * @see https://apidocs.chargebee.com/docs/api/addresses/retrieve-an-address?lang=php-v4 * @param array{ * subscription_id?: string, * label?: string, @@ -59,7 +59,7 @@ public function retrieve(array $params, array $headers = []): RetrieveAddressRes } /** - * @see https://apidocs.chargebee.com/docs/api/addresses?lang=php#update_an_address + * @see https://apidocs.chargebee.com/docs/api/addresses/update-an-address?lang=php-v4 * @param array{ * subscription_id?: string, * label?: string, diff --git a/src/Actions/AttachedItemActions.php b/src/Actions/AttachedItemActions.php index 10bf9a47..04198221 100644 --- a/src/Actions/AttachedItemActions.php +++ b/src/Actions/AttachedItemActions.php @@ -29,7 +29,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#retrieve_an_attached_item_ + * @see https://apidocs.chargebee.com/docs/api/attached_items/retrieve-an-attached-item-?lang=php-v4 * @param array{ * parent_item_id?: string, * } $params Description of the parameters @@ -62,7 +62,7 @@ public function retrieve(string $id, array $params, array $headers = []): Retrie } /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#update_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/update-an-attached-item?lang=php-v4 * @param array{ * parent_item_id?: string, * type?: string, @@ -102,7 +102,7 @@ public function update(string $id, array $params, array $headers = []): UpdateAt } /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#list_attached_items + * @see https://apidocs.chargebee.com/docs/api/attached_items/list-attached-items?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -174,7 +174,7 @@ public function all(string $id, array $params = [], array $headers = []): ListAt } /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#create_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/create-an-attached-item?lang=php-v4 * @param array{ * item_id?: string, * type?: string, @@ -215,7 +215,7 @@ public function create(string $id, array $params, array $headers = []): CreateAt } /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#delete_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/delete-an-attached-item?lang=php-v4 * @param array{ * parent_item_id?: string, * } $params Description of the parameters diff --git a/src/Actions/BusinessEntityActions.php b/src/Actions/BusinessEntityActions.php index 2bb28ffb..c69e9df8 100644 --- a/src/Actions/BusinessEntityActions.php +++ b/src/Actions/BusinessEntityActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/business_entities?lang=php#list_the_business_entity_transfers + * @see https://apidocs.chargebee.com/docs/api/business_entities/list-the-business-entity-transfers?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -79,7 +79,7 @@ public function getTransfers(array $params = [], array $headers = []): GetTransf } /** - * @see https://apidocs.chargebee.com/docs/api/business_entities?lang=php#transfer_resources_to_another_business_entity + * @see https://apidocs.chargebee.com/docs/api/business_entities/transfer-resources-to-another-business-entity?lang=php-v4 * @param array{ * active_resource_ids?: array, * destination_business_entity_ids?: array, diff --git a/src/Actions/CardActions.php b/src/Actions/CardActions.php index 0b596dc9..970c00c4 100644 --- a/src/Actions/CardActions.php +++ b/src/Actions/CardActions.php @@ -28,7 +28,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#copy_card + * @see https://apidocs.chargebee.com/docs/api/cards/copy-card?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -62,7 +62,7 @@ public function copyCardForCustomer(string $id, array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#retrieve_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/retrieve-card-for-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -92,7 +92,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCardResponse } /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#switch_gateway + * @see https://apidocs.chargebee.com/docs/api/cards/switch-gateway?lang=php-v4 * @param array{ * gateway?: string, * gateway_account_id?: string, @@ -127,7 +127,7 @@ public function switchGatewayForCustomer(string $id, array $params, array $heade } /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#delete_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/delete-card-for-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -158,7 +158,7 @@ public function deleteCardForCustomer(string $id, array $headers = []): DeleteCa } /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#update_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/update-card-for-a-customer?lang=php-v4 * @param array{ * customer?: array{ * vat_number?: string, diff --git a/src/Actions/CommentActions.php b/src/Actions/CommentActions.php index 9c6a6720..385abc2b 100644 --- a/src/Actions/CommentActions.php +++ b/src/Actions/CommentActions.php @@ -28,7 +28,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#delete_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/delete-a-comment?lang=php-v4 * * @param string $id * @param array $headers @@ -59,7 +59,7 @@ public function delete(string $id, array $headers = []): DeleteCommentResponse } /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#retrieve_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/retrieve-a-comment?lang=php-v4 * * @param string $id * @param array $headers @@ -89,7 +89,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCommentRespon } /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#list_comments + * @see https://apidocs.chargebee.com/docs/api/comments/list-comments?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -135,7 +135,7 @@ public function all(array $params = [], array $headers = []): ListCommentRespons } /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#create_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/create-a-comment?lang=php-v4 * @param array{ * entity_type?: string, * entity_id?: string, diff --git a/src/Actions/ConfigurationActions.php b/src/Actions/ConfigurationActions.php index a6ac41b9..387bfcda 100644 --- a/src/Actions/ConfigurationActions.php +++ b/src/Actions/ConfigurationActions.php @@ -24,7 +24,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/configurations?lang=php#list_site_configurations + * @see https://apidocs.chargebee.com/docs/api/configurations/list-site-configurations?lang=php-v4 * * * @param array $headers diff --git a/src/Actions/Contracts/AddonActionsInterface.php b/src/Actions/Contracts/AddonActionsInterface.php index 847bcc17..fc4f547b 100644 --- a/src/Actions/Contracts/AddonActionsInterface.php +++ b/src/Actions/Contracts/AddonActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#copy_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/copy-an-addon?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -37,7 +37,7 @@ public function copy(array $params, array $headers = []): CopyAddonResponse; /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#unarchive_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/unarchive-an-addon?lang=php-v4 * * @param string $id * @param array $headers @@ -51,7 +51,7 @@ public function copy(array $params, array $headers = []): CopyAddonResponse; public function unarchive(string $id, array $headers = []): UnarchiveAddonResponse; /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#retrieve_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/retrieve-an-addon?lang=php-v4 * * @param string $id * @param array $headers @@ -65,7 +65,7 @@ public function unarchive(string $id, array $headers = []): UnarchiveAddonRespon public function retrieve(string $id, array $headers = []): RetrieveAddonResponse; /** - * @see https://apidocs.chargebee.com/docs/api/addons?lang=php#update_an_addon + * @see https://apidocs.chargebee.com/docs/api/addons/update-an-addon?lang=php-v4 * @param array{ * tiers?: array $headers diff --git a/src/Actions/Contracts/AddressActionsInterface.php b/src/Actions/Contracts/AddressActionsInterface.php index 90f573f1..73738f5b 100644 --- a/src/Actions/Contracts/AddressActionsInterface.php +++ b/src/Actions/Contracts/AddressActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/addresses?lang=php#retrieve_an_address + * @see https://apidocs.chargebee.com/docs/api/addresses/retrieve-an-address?lang=php-v4 * @param array{ * subscription_id?: string, * label?: string, @@ -30,7 +30,7 @@ public function retrieve(array $params, array $headers = []): RetrieveAddressResponse; /** - * @see https://apidocs.chargebee.com/docs/api/addresses?lang=php#update_an_address + * @see https://apidocs.chargebee.com/docs/api/addresses/update-an-address?lang=php-v4 * @param array{ * subscription_id?: string, * label?: string, diff --git a/src/Actions/Contracts/AttachedItemActionsInterface.php b/src/Actions/Contracts/AttachedItemActionsInterface.php index 98d80eb0..52cdaae1 100644 --- a/src/Actions/Contracts/AttachedItemActionsInterface.php +++ b/src/Actions/Contracts/AttachedItemActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#retrieve_an_attached_item_ + * @see https://apidocs.chargebee.com/docs/api/attached_items/retrieve-an-attached-item-?lang=php-v4 * @param array{ * parent_item_id?: string, * } $params Description of the parameters @@ -32,7 +32,7 @@ public function retrieve(string $id, array $params, array $headers = []): RetrieveAttachedItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#update_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/update-an-attached-item?lang=php-v4 * @param array{ * parent_item_id?: string, * type?: string, @@ -54,7 +54,7 @@ public function retrieve(string $id, array $params, array $headers = []): Retrie public function update(string $id, array $params, array $headers = []): UpdateAttachedItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#list_attached_items + * @see https://apidocs.chargebee.com/docs/api/attached_items/list-attached-items?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -109,7 +109,7 @@ public function update(string $id, array $params, array $headers = []): UpdateAt public function all(string $id, array $params = [], array $headers = []): ListAttachedItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#create_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/create-an-attached-item?lang=php-v4 * @param array{ * item_id?: string, * type?: string, @@ -132,7 +132,7 @@ public function all(string $id, array $params = [], array $headers = []): ListAt public function create(string $id, array $params, array $headers = []): CreateAttachedItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/attached_items?lang=php#delete_an_attached_item + * @see https://apidocs.chargebee.com/docs/api/attached_items/delete-an-attached-item?lang=php-v4 * @param array{ * parent_item_id?: string, * } $params Description of the parameters diff --git a/src/Actions/Contracts/BusinessEntityActionsInterface.php b/src/Actions/Contracts/BusinessEntityActionsInterface.php index 0bfb5bba..9e3a65e8 100644 --- a/src/Actions/Contracts/BusinessEntityActionsInterface.php +++ b/src/Actions/Contracts/BusinessEntityActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/business_entities?lang=php#list_the_business_entity_transfers + * @see https://apidocs.chargebee.com/docs/api/business_entities/list-the-business-entity-transfers?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -49,7 +49,7 @@ public function getTransfers(array $params = [], array $headers = []): GetTransfersBusinessEntityResponse; /** - * @see https://apidocs.chargebee.com/docs/api/business_entities?lang=php#transfer_resources_to_another_business_entity + * @see https://apidocs.chargebee.com/docs/api/business_entities/transfer-resources-to-another-business-entity?lang=php-v4 * @param array{ * active_resource_ids?: array, * destination_business_entity_ids?: array, diff --git a/src/Actions/Contracts/CardActionsInterface.php b/src/Actions/Contracts/CardActionsInterface.php index ad7691a2..db9f51b9 100644 --- a/src/Actions/Contracts/CardActionsInterface.php +++ b/src/Actions/Contracts/CardActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#copy_card + * @see https://apidocs.chargebee.com/docs/api/cards/copy-card?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -32,7 +32,7 @@ public function copyCardForCustomer(string $id, array $params, array $headers = []): CopyCardForCustomerCardResponse; /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#retrieve_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/retrieve-card-for-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -46,7 +46,7 @@ public function copyCardForCustomer(string $id, array $params, array $headers = public function retrieve(string $id, array $headers = []): RetrieveCardResponse; /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#switch_gateway + * @see https://apidocs.chargebee.com/docs/api/cards/switch-gateway?lang=php-v4 * @param array{ * gateway?: string, * gateway_account_id?: string, @@ -63,7 +63,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCardResponse; public function switchGatewayForCustomer(string $id, array $params, array $headers = []): SwitchGatewayForCustomerCardResponse; /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#delete_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/delete-card-for-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -77,7 +77,7 @@ public function switchGatewayForCustomer(string $id, array $params, array $heade public function deleteCardForCustomer(string $id, array $headers = []): DeleteCardForCustomerCardResponse; /** - * @see https://apidocs.chargebee.com/docs/api/cards?lang=php#update_card_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/cards/update-card-for-a-customer?lang=php-v4 * @param array{ * customer?: array{ * vat_number?: string, diff --git a/src/Actions/Contracts/CommentActionsInterface.php b/src/Actions/Contracts/CommentActionsInterface.php index 2ef3bde0..e42f121e 100644 --- a/src/Actions/Contracts/CommentActionsInterface.php +++ b/src/Actions/Contracts/CommentActionsInterface.php @@ -15,7 +15,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#delete_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/delete-a-comment?lang=php-v4 * * @param string $id * @param array $headers @@ -29,7 +29,7 @@ public function delete(string $id, array $headers = []): DeleteCommentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#retrieve_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/retrieve-a-comment?lang=php-v4 * * @param string $id * @param array $headers @@ -43,7 +43,7 @@ public function delete(string $id, array $headers = []): DeleteCommentResponse; public function retrieve(string $id, array $headers = []): RetrieveCommentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#list_comments + * @see https://apidocs.chargebee.com/docs/api/comments/list-comments?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -72,7 +72,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCommentRespon public function all(array $params = [], array $headers = []): ListCommentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/comments?lang=php#create_a_comment + * @see https://apidocs.chargebee.com/docs/api/comments/create-a-comment?lang=php-v4 * @param array{ * entity_type?: string, * entity_id?: string, diff --git a/src/Actions/Contracts/ConfigurationActionsInterface.php b/src/Actions/Contracts/ConfigurationActionsInterface.php index d49a5a66..c2aeeb90 100644 --- a/src/Actions/Contracts/ConfigurationActionsInterface.php +++ b/src/Actions/Contracts/ConfigurationActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/configurations?lang=php#list_site_configurations + * @see https://apidocs.chargebee.com/docs/api/configurations/list-site-configurations?lang=php-v4 * * * @param array $headers diff --git a/src/Actions/Contracts/CouponActionsInterface.php b/src/Actions/Contracts/CouponActionsInterface.php index ba14d183..96c89dbb 100644 --- a/src/Actions/Contracts/CouponActionsInterface.php +++ b/src/Actions/Contracts/CouponActionsInterface.php @@ -20,7 +20,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#list_coupons + * @see https://apidocs.chargebee.com/docs/api/coupons/list-coupons?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -102,7 +102,7 @@ public function all(array $params = [], array $headers = []): ListCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#create_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/create-a-coupon?lang=php-v4 * @param array{ * id?: string, * name?: string, @@ -140,7 +140,7 @@ public function all(array $params = [], array $headers = []): ListCouponResponse public function create(array $params, array $headers = []): CreateCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#update_a_coupon_for_items + * @see https://apidocs.chargebee.com/docs/api/coupons/update-a-coupon-for-items?lang=php-v4 * @param array{ * item_constraints?: array $headers @@ -203,7 +203,7 @@ public function updateForItems(string $id, array $params, array $headers = []): public function unarchive(string $id, array $headers = []): UnarchiveCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#delete_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/delete-a-coupon?lang=php-v4 * * @param string $id * @param array $headers @@ -217,7 +217,7 @@ public function unarchive(string $id, array $headers = []): UnarchiveCouponRespo public function delete(string $id, array $headers = []): DeleteCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#copy_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/copy-a-coupon?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -236,7 +236,7 @@ public function delete(string $id, array $headers = []): DeleteCouponResponse; public function copy(array $params, array $headers = []): CopyCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#retrieve_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/retrieve-a-coupon?lang=php-v4 * * @param string $id * @param array $headers @@ -250,7 +250,7 @@ public function copy(array $params, array $headers = []): CopyCouponResponse; public function retrieve(string $id, array $headers = []): RetrieveCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#update_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/update-a-coupon?lang=php-v4 * @param array{ * name?: string, * invoice_name?: string, @@ -286,7 +286,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCouponRespons public function update(string $id, array $params = [], array $headers = []): UpdateCouponResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#create_a_coupon_for_items + * @see https://apidocs.chargebee.com/docs/api/coupons/create-a-coupon-for-items?lang=php-v4 * @param array{ * item_constraints?: array $headers @@ -90,7 +90,7 @@ public function create(array $params, array $headers = []): CreateCouponCodeResp public function retrieve(string $id, array $headers = []): RetrieveCouponCodeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_codes?lang=php#archive_a_coupon_code + * @see https://apidocs.chargebee.com/docs/api/coupon_codes/archive-a-coupon-code?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/CouponSetActionsInterface.php b/src/Actions/Contracts/CouponSetActionsInterface.php index 835c4ff7..9f12ae10 100644 --- a/src/Actions/Contracts/CouponSetActionsInterface.php +++ b/src/Actions/Contracts/CouponSetActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#list_coupon_sets + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/list-coupon-sets?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -83,7 +83,7 @@ public function all(array $params = [], array $headers = []): ListCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#create_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/create-a-coupon-set?lang=php-v4 * @param array{ * coupon_id?: string, * name?: string, @@ -102,7 +102,7 @@ public function all(array $params = [], array $headers = []): ListCouponSetRespo public function create(array $params, array $headers = []): CreateCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#update_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/update-a-coupon-set?lang=php-v4 * @param array{ * name?: string, * meta_data?: mixed, @@ -119,7 +119,7 @@ public function create(array $params, array $headers = []): CreateCouponSetRespo public function update(string $id, array $params = [], array $headers = []): UpdateCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#retrieve_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/retrieve-a-coupon-set?lang=php-v4 * * @param string $id * @param array $headers @@ -133,7 +133,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd public function retrieve(string $id, array $headers = []): RetrieveCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#add_coupon_codes_to_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/add-coupon-codes-to-coupon-set?lang=php-v4 * @param array{ * code?: array, * } $params Description of the parameters @@ -149,7 +149,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCouponSetResp public function addCouponCodes(string $id, array $params = [], array $headers = []): AddCouponCodesCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#delete_unused_coupon_codes + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/delete-unused-coupon-codes?lang=php-v4 * * @param string $id * @param array $headers @@ -163,7 +163,7 @@ public function addCouponCodes(string $id, array $params = [], array $headers = public function deleteUnusedCouponCodes(string $id, array $headers = []): DeleteUnusedCouponCodesCouponSetResponse; /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#delete_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/delete-a-coupon-set?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/CreditNoteActionsInterface.php b/src/Actions/Contracts/CreditNoteActionsInterface.php index 6cce8530..ab58b330 100644 --- a/src/Actions/Contracts/CreditNoteActionsInterface.php +++ b/src/Actions/Contracts/CreditNoteActionsInterface.php @@ -25,7 +25,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#record_refund_for_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/record-refund-for-a-credit-note?lang=php-v4 * @param array{ * transaction?: array{ * id?: string, @@ -50,7 +50,7 @@ public function recordRefund(string $id, array $params, array $headers = []): RecordRefundCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#import_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note?lang=php-v4 * @param array{ * line_items?: array $headers @@ -224,7 +224,7 @@ public function pdf(string $id, array $params = [], array $headers = []): PdfCre public function sendEinvoice(string $id, array $headers = []): SendEinvoiceCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#void_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/void-a-credit-note?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -240,7 +240,7 @@ public function sendEinvoice(string $id, array $headers = []): SendEinvoiceCredi public function voidCreditNote(string $id, array $params = [], array $headers = []): VoidCreditNoteCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#refund_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/refund-a-credit-note?lang=php-v4 * @param array{ * refund_amount?: int, * customer_notes?: string, @@ -258,7 +258,7 @@ public function voidCreditNote(string $id, array $params = [], array $headers = public function refund(string $id, array $params = [], array $headers = []): RefundCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#list_credit_notes + * @see https://apidocs.chargebee.com/docs/api/credit_notes/list-credit-notes?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -409,7 +409,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref public function all(array $params = [], array $headers = []): ListCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#create_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/create-credit-note?lang=php-v4 * @param array{ * line_items?: array $headers @@ -461,7 +461,7 @@ public function create(array $params, array $headers = []): CreateCreditNoteResp public function downloadEinvoice(string $id, array $headers = []): DownloadEinvoiceCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#resend_failed_einvoice_in_credit_notes + * @see https://apidocs.chargebee.com/docs/api/credit_notes/resend-failed-einvoice-in-credit-notes?lang=php-v4 * * @param string $id * @param array $headers @@ -475,7 +475,7 @@ public function downloadEinvoice(string $id, array $headers = []): DownloadEinvo public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#remove_tax_withheld_refunds_from_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/remove-tax-withheld-refunds-from-a-credit-note?lang=php-v4 * @param array{ * tax_withheld?: array{ * id?: string, @@ -493,7 +493,7 @@ public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceC public function removeTaxWithheldRefund(string $id, array $params, array $headers = []): RemoveTaxWithheldRefundCreditNoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#retrieve_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/retrieve-a-credit-note?lang=php-v4 * @param array{ * line_item?: array{ * subscription_id?: array{ diff --git a/src/Actions/Contracts/CurrencyActionsInterface.php b/src/Actions/Contracts/CurrencyActionsInterface.php index 5960b9ba..2e29a27a 100644 --- a/src/Actions/Contracts/CurrencyActionsInterface.php +++ b/src/Actions/Contracts/CurrencyActionsInterface.php @@ -17,7 +17,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#add_schedule + * @see https://apidocs.chargebee.com/docs/api/currencies/add-schedule?lang=php-v4 * @param array{ * manual_exchange_rate?: string, * schedule_at?: int, @@ -34,7 +34,7 @@ public function addSchedule(string $id, array $params, array $headers = []): AddScheduleCurrencyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#add_a_new_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/add-a-new-currency?lang=php-v4 * @param array{ * currency_code?: string, * forex_type?: string, @@ -52,7 +52,7 @@ public function addSchedule(string $id, array $params, array $headers = []): Add public function create(array $params, array $headers = []): CreateCurrencyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#retrieve_a_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/retrieve-a-currency?lang=php-v4 * * @param string $id * @param array $headers @@ -66,7 +66,7 @@ public function create(array $params, array $headers = []): CreateCurrencyRespon public function retrieve(string $id, array $headers = []): RetrieveCurrencyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#update_a_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/update-a-currency?lang=php-v4 * @param array{ * forex_type?: string, * manual_exchange_rate?: string, @@ -83,7 +83,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCurrencyRespo public function update(string $id, array $params, array $headers = []): UpdateCurrencyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#remove_schedule + * @see https://apidocs.chargebee.com/docs/api/currencies/remove-schedule?lang=php-v4 * * @param string $id * @param array $headers @@ -97,7 +97,7 @@ public function update(string $id, array $params, array $headers = []): UpdateCu public function removeSchedule(string $id, array $headers = []): RemoveScheduleCurrencyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#list_currencies + * @see https://apidocs.chargebee.com/docs/api/currencies/list-currencies?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/Contracts/CustomerActionsInterface.php b/src/Actions/Contracts/CustomerActionsInterface.php index d62db7e9..9ed593ce 100644 --- a/src/Actions/Contracts/CustomerActionsInterface.php +++ b/src/Actions/Contracts/CustomerActionsInterface.php @@ -37,7 +37,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delete_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delete-a-customer?lang=php-v4 * @param array{ * delete_payment_method?: bool, * } $params Description of the parameters @@ -53,7 +53,7 @@ public function delete(string $id, array $params = [], array $headers = []): DeleteCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#add_promotional_credits_to_a_customer + * * @param array{ * amount?: int, * currency_code?: string, @@ -74,7 +74,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del public function addPromotionalCredits(string $id, array $params, array $headers = []): AddPromotionalCreditsCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#link_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/link-a-customer?lang=php-v4 * @param array{ * parent_account_access?: array{ * portal_edit_child_subscriptions?: string, @@ -107,7 +107,7 @@ public function addPromotionalCredits(string $id, array $params, array $headers public function relationships(string $id, array $params = [], array $headers = []): RelationshipsCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delink_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delink-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -121,7 +121,7 @@ public function relationships(string $id, array $params = [], array $headers = [ public function deleteRelationship(string $id, array $headers = []): DeleteRelationshipCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delete_contacts_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delete-contacts-for-a-customer?lang=php-v4 * @param array{ * contact?: array{ * id?: string, @@ -139,7 +139,7 @@ public function deleteRelationship(string $id, array $headers = []): DeleteRelat public function deleteContact(string $id, array $params, array $headers = []): DeleteContactCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#assign_payment_role + * @see https://apidocs.chargebee.com/docs/api/customers/assign-payment-role?lang=php-v4 * @param array{ * payment_source_id?: string, * role?: string, @@ -156,7 +156,7 @@ public function deleteContact(string $id, array $params, array $headers = []): D public function assignPaymentRole(string $id, array $params, array $headers = []): AssignPaymentRoleCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#move_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/move-a-customer?lang=php-v4 * @param array{ * id_at_from_site?: string, * from_site?: string, @@ -173,7 +173,7 @@ public function assignPaymentRole(string $id, array $params, array $headers = [] public function move(array $params, array $headers = []): MoveCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#get_hierarchy + * @see https://apidocs.chargebee.com/docs/api/customers/get-hierarchy?lang=php-v4 * @param array{ * hierarchy_operation_type?: string, * } $params Description of the parameters @@ -189,7 +189,7 @@ public function move(array $params, array $headers = []): MoveCustomerResponse; public function hierarchy(string $id, array $params, array $headers = []): HierarchyCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_payment_method_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-payment-method-for-a-customer?lang=php-v4 * @param array{ * payment_method?: array{ * type?: string, @@ -213,7 +213,7 @@ public function hierarchy(string $id, array $params, array $headers = []): Hiera public function updatePaymentMethod(string $id, array $params, array $headers = []): UpdatePaymentMethodCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#retrieve_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/retrieve-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -227,7 +227,7 @@ public function updatePaymentMethod(string $id, array $params, array $headers = public function retrieve(string $id, array $headers = []): RetrieveCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-a-customer?lang=php-v4 * @param array{ * tax_providers_fields?: array $headers @@ -638,7 +638,7 @@ public function deductPromotionalCredits(string $id, array $params, array $heade public function clearPersonalData(string $id, array $headers = []): ClearPersonalDataCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#merge_customers + * @see https://apidocs.chargebee.com/docs/api/customers/merge-customers?lang=php-v4 * @param array{ * from_customer_id?: string, * to_customer_id?: string, @@ -655,7 +655,7 @@ public function clearPersonalData(string $id, array $headers = []): ClearPersona public function merge(array $params, array $headers = []): MergeCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#collect_payment_for_customer + * @see https://apidocs.chargebee.com/docs/api/customers/collect-payment-for-customer?lang=php-v4 * @param array{ * payment_method?: array{ * type?: string, @@ -714,7 +714,7 @@ public function merge(array $params, array $headers = []): MergeCustomerResponse public function collectPayment(string $id, array $params, array $headers = []): CollectPaymentCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#record_an_excess_payment_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/record-an-excess-payment-for-a-customer?lang=php-v4 * @param array{ * transaction?: array{ * id?: string, @@ -739,7 +739,7 @@ public function collectPayment(string $id, array $params, array $headers = []): public function recordExcessPayment(string $id, array $params, array $headers = []): RecordExcessPaymentCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#set_promotional_credits_for_a_customer + * * @param array{ * amount?: int, * currency_code?: string, @@ -760,7 +760,7 @@ public function recordExcessPayment(string $id, array $params, array $headers = public function setPromotionalCredits(string $id, array $params, array $headers = []): SetPromotionalCreditsCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_contacts_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-contacts-for-a-customer?lang=php-v4 * @param array{ * contact?: array{ * id?: string, @@ -786,7 +786,7 @@ public function setPromotionalCredits(string $id, array $params, array $headers public function updateContact(string $id, array $params, array $headers = []): UpdateContactCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_hierarchy_access_settings_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-hierarchy-access-settings-for-a-customer?lang=php-v4 * @param array{ * parent_account_access?: array{ * portal_edit_child_subscriptions?: string, @@ -816,7 +816,7 @@ public function updateContact(string $id, array $params, array $headers = []): U public function updateHierarchySettings(string $id, array $params = [], array $headers = []): UpdateHierarchySettingsCustomerResponse; /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_billing_info_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-billing-info-for-a-customer?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, diff --git a/src/Actions/Contracts/CustomerEntitlementActionsInterface.php b/src/Actions/Contracts/CustomerEntitlementActionsInterface.php index 045e0abd..2e72cc5e 100644 --- a/src/Actions/Contracts/CustomerEntitlementActionsInterface.php +++ b/src/Actions/Contracts/CustomerEntitlementActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/customer_entitlements?lang=php#list_customer_entitlements + * @see https://apidocs.chargebee.com/docs/api/customer_entitlements/list-customer-entitlements?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/Contracts/DifferentialPriceActionsInterface.php b/src/Actions/Contracts/DifferentialPriceActionsInterface.php index 8130786a..51518176 100644 --- a/src/Actions/Contracts/DifferentialPriceActionsInterface.php +++ b/src/Actions/Contracts/DifferentialPriceActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/differential_prices?lang=php#delete_a_differential_price + * @see https://apidocs.chargebee.com/docs/api/differential_prices/delete-a-differential-price?lang=php-v4 * @param array{ * item_price_id?: string, * } $params Description of the parameters @@ -32,7 +32,7 @@ public function delete(string $id, array $params, array $headers = []): DeleteDifferentialPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/differential_prices?lang=php#create_a_differential_price + * @see https://apidocs.chargebee.com/docs/api/differential_prices/create-a-differential-price?lang=php-v4 * @param array{ * parent_periods?: array, * action?: string, * } $params Description of the parameters diff --git a/src/Actions/Contracts/EstimateActionsInterface.php b/src/Actions/Contracts/EstimateActionsInterface.php index e37ba7d3..c16d547f 100644 --- a/src/Actions/Contracts/EstimateActionsInterface.php +++ b/src/Actions/Contracts/EstimateActionsInterface.php @@ -31,7 +31,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#subscription_renewal_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/subscription-renewal-estimate?lang=php-v4 * @param array{ * include_delayed_charges?: bool, * use_existing_balances?: bool, @@ -51,7 +51,7 @@ public function renewalEstimate(string $id, array $params = [], array $headers = []): RenewalEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_creating_a_customer_and_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-customer-and-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -162,7 +162,7 @@ public function renewalEstimate(string $id, array $params = [], array $headers = public function createSubItemEstimate(array $params, array $headers = []): CreateSubItemEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimates_for_payment_schedules + * @see https://apidocs.chargebee.com/docs/api/estimates/estimates-for-payment-schedules?lang=php-v4 * @param array{ * scheme_id?: string, * amount?: int, @@ -181,7 +181,7 @@ public function createSubItemEstimate(array $params, array $headers = []): Creat public function paymentSchedules(array $params, array $headers = []): PaymentSchedulesEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#cancel_subscription_for_items_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-for-items-estimate?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -214,7 +214,7 @@ public function paymentSchedules(array $params, array $headers = []): PaymentSch public function cancelSubscriptionForItems(string $id, array $params = [], array $headers = []): CancelSubscriptionForItemsEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#resume_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/resume-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * resume_date?: int, @@ -234,7 +234,7 @@ public function cancelSubscriptionForItems(string $id, array $params = [], array public function resumeSubscription(string $id, array $params = [], array $headers = []): ResumeSubscriptionEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_invoice_for_items_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate?lang=php-v4 * @param array{ * invoice?: array{ * customer_id?: string, @@ -340,7 +340,7 @@ public function resumeSubscription(string $id, array $params = [], array $header public function createInvoiceForItems(array $params, array $headers = []): CreateInvoiceForItemsEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#gift_subscription_estimate_for_items + * @see https://apidocs.chargebee.com/docs/api/estimates/gift-subscription-estimate-for-items?lang=php-v4 * @param array{ * gift?: array{ * scheduled_at?: int, @@ -415,7 +415,7 @@ public function createInvoiceForItems(array $params, array $headers = []): Creat public function giftSubscriptionForItems(array $params, array $headers = []): GiftSubscriptionForItemsEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -530,7 +530,7 @@ public function giftSubscriptionForItems(array $params, array $headers = []): Gi public function updateSubscriptionForItems(array $params, array $headers = []): UpdateSubscriptionForItemsEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#upcoming_invoices_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate?lang=php-v4 * * @param string $id * @param array $headers @@ -544,7 +544,7 @@ public function updateSubscriptionForItems(array $params, array $headers = []): public function upcomingInvoicesEstimate(string $id, array $headers = []): UpcomingInvoicesEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#regenerate_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/regenerate-invoice-estimate?lang=php-v4 * @param array{ * date_from?: int, * date_to?: int, @@ -563,7 +563,7 @@ public function upcomingInvoicesEstimate(string $id, array $headers = []): Upcom public function regenerateInvoiceEstimate(string $id, array $params = [], array $headers = []): RegenerateInvoiceEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_creating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -662,7 +662,7 @@ public function regenerateInvoiceEstimate(string $id, array $params = [], array public function createSubItemForCustomerEstimate(string $id, array $params, array $headers = []): CreateSubItemForCustomerEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#subscription_change_term_end_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/subscription-change-term-end-estimate?lang=php-v4 * @param array{ * term_ends_at?: int, * prorate?: bool, @@ -680,7 +680,7 @@ public function createSubItemForCustomerEstimate(string $id, array $params, arra public function changeTermEnd(string $id, array $params, array $headers = []): ChangeTermEndEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#pause_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/pause-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * pause_date?: int, @@ -702,7 +702,7 @@ public function changeTermEnd(string $id, array $params, array $headers = []): C public function pauseSubscription(string $id, array $params = [], array $headers = []): PauseSubscriptionEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#advance_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/advance-invoice-estimate?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -730,7 +730,7 @@ public function pauseSubscription(string $id, array $params = [], array $headers public function advanceInvoiceEstimate(string $id, array $params = [], array $headers = []): AdvanceInvoiceEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#update_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/update-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -827,7 +827,7 @@ public function advanceInvoiceEstimate(string $id, array $params = [], array $he public function updateSubscription(array $params, array $headers = []): UpdateSubscriptionEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#gift_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/gift-subscription-estimate?lang=php-v4 * @param array{ * gift?: array{ * scheduled_at?: int, @@ -896,7 +896,7 @@ public function updateSubscription(array $params, array $headers = []): UpdateSu public function giftSubscription(array $params, array $headers = []): GiftSubscriptionEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_subscription_for_a_customer_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-subscription-for-a-customer-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -969,7 +969,7 @@ public function giftSubscription(array $params, array $headers = []): GiftSubscr public function createSubForCustomerEstimate(string $id, array $params, array $headers = []): CreateSubForCustomerEstimateEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1068,7 +1068,7 @@ public function createSubForCustomerEstimate(string $id, array $params, array $h public function createSubscription(array $params, array $headers = []): CreateSubscriptionEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-invoice-estimate?lang=php-v4 * @param array{ * invoice?: array{ * customer_id?: string, @@ -1146,7 +1146,7 @@ public function createSubscription(array $params, array $headers = []): CreateSu public function createInvoice(array $params = [], array $headers = []): CreateInvoiceEstimateResponse; /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#cancel_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-estimate?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, diff --git a/src/Actions/Contracts/EventActionsInterface.php b/src/Actions/Contracts/EventActionsInterface.php index 14097d41..496625cd 100644 --- a/src/Actions/Contracts/EventActionsInterface.php +++ b/src/Actions/Contracts/EventActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/events?lang=php#list_events + * @see https://apidocs.chargebee.com/docs/api/events/list-events?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -67,7 +67,7 @@ public function all(array $params = [], array $headers = []): ListEventResponse; /** - * @see https://apidocs.chargebee.com/docs/api/events?lang=php#retrieve_an_event + * @see https://apidocs.chargebee.com/docs/api/events/retrieve-an-event?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/ExportActionsInterface.php b/src/Actions/Contracts/ExportActionsInterface.php index 1eaa1284..4909437e 100644 --- a/src/Actions/Contracts/ExportActionsInterface.php +++ b/src/Actions/Contracts/ExportActionsInterface.php @@ -29,7 +29,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_customers + * @see https://apidocs.chargebee.com/docs/api/exports/export-customers?lang=php-v4 * @param array{ * customer?: array{ * id?: array{ @@ -145,7 +145,7 @@ public function customers(array $params = [], array $headers = []): CustomersExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_attached_items + * @see https://apidocs.chargebee.com/docs/api/exports/export-attached-items?lang=php-v4 * @param array{ * attached_item?: array{ * id?: array{ @@ -207,7 +207,7 @@ public function customers(array $params = [], array $headers = []): CustomersExp public function attachedItems(array $params = [], array $headers = []): AttachedItemsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_transactions + * @see https://apidocs.chargebee.com/docs/api/exports/export-transactions?lang=php-v4 * @param array{ * transaction?: array{ * id?: array{ @@ -327,7 +327,7 @@ public function attachedItems(array $params = [], array $headers = []): Attached public function transactions(array $params = [], array $headers = []): TransactionsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_differential_price + * @see https://apidocs.chargebee.com/docs/api/exports/export-differential-price?lang=php-v4 * @param array{ * differential_price?: array{ * item_price_id?: array{ @@ -372,7 +372,7 @@ public function transactions(array $params = [], array $headers = []): Transacti public function differentialPrices(array $params = [], array $headers = []): DifferentialPricesExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_item_families + * @see https://apidocs.chargebee.com/docs/api/exports/export-item-families?lang=php-v4 * @param array{ * item_family?: array{ * id?: array{ @@ -414,7 +414,7 @@ public function differentialPrices(array $params = [], array $headers = []): Dif public function itemFamilies(array $params = [], array $headers = []): ItemFamiliesExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_invoices + * @see https://apidocs.chargebee.com/docs/api/exports/export-invoices?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -551,7 +551,7 @@ public function itemFamilies(array $params = [], array $headers = []): ItemFamil public function invoices(array $params = [], array $headers = []): InvoicesExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#retrieve_an_export + * @see https://apidocs.chargebee.com/docs/api/exports/retrieve-an-export?lang=php-v4 * * @param string $id * @param array $headers @@ -565,7 +565,7 @@ public function invoices(array $params = [], array $headers = []): InvoicesExpor public function retrieve(string $id, array $headers = []): RetrieveExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_price_variants + * @see https://apidocs.chargebee.com/docs/api/exports/export-price-variants?lang=php-v4 * @param array{ * price_variant?: array{ * id?: array{ @@ -621,7 +621,7 @@ public function retrieve(string $id, array $headers = []): RetrieveExportRespons public function priceVariants(array $params = [], array $headers = []): PriceVariantsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_items + * @see https://apidocs.chargebee.com/docs/api/exports/export-items?lang=php-v4 * @param array{ * item?: array{ * id?: array{ @@ -712,7 +712,7 @@ public function priceVariants(array $params = [], array $headers = []): PriceVar public function items(array $params = [], array $headers = []): ItemsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_deferred_revenue_reports + * @see https://apidocs.chargebee.com/docs/api/exports/export-deferred-revenue-reports?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -1057,7 +1057,7 @@ public function items(array $params = [], array $headers = []): ItemsExportRespo public function deferredRevenue(array $params, array $headers = []): DeferredRevenueExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_revenue_recognition_reports + * @see https://apidocs.chargebee.com/docs/api/exports/export-revenue-recognition-reports?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -1402,7 +1402,7 @@ public function deferredRevenue(array $params, array $headers = []): DeferredRev public function revenueRecognition(array $params, array $headers = []): RevenueRecognitionExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_credit_notes + * @see https://apidocs.chargebee.com/docs/api/exports/export-credit-notes?lang=php-v4 * @param array{ * credit_note?: array{ * id?: array{ @@ -1540,7 +1540,7 @@ public function revenueRecognition(array $params, array $headers = []): RevenueR public function creditNotes(array $params = [], array $headers = []): CreditNotesExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_coupons + * @see https://apidocs.chargebee.com/docs/api/exports/export-coupons?lang=php-v4 * @param array{ * coupon?: array{ * id?: array{ @@ -1618,7 +1618,7 @@ public function creditNotes(array $params = [], array $headers = []): CreditNote public function coupons(array $params = [], array $headers = []): CouponsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_orders + * @see https://apidocs.chargebee.com/docs/api/exports/export-orders?lang=php-v4 * @param array{ * order?: array{ * id?: array{ @@ -1755,7 +1755,7 @@ public function coupons(array $params = [], array $headers = []): CouponsExportR public function orders(array $params = [], array $headers = []): OrdersExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_item_prices + * @see https://apidocs.chargebee.com/docs/api/exports/export-item-prices?lang=php-v4 * @param array{ * item_price?: array{ * id?: array{ @@ -1881,7 +1881,7 @@ public function orders(array $params = [], array $headers = []): OrdersExportRes public function itemPrices(array $params = [], array $headers = []): ItemPricesExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_subscriptions + * @see https://apidocs.chargebee.com/docs/api/exports/export-subscriptions?lang=php-v4 * @param array{ * subscription?: array{ * id?: array{ @@ -2013,7 +2013,7 @@ public function itemPrices(array $params = [], array $headers = []): ItemPricesE public function subscriptions(array $params = [], array $headers = []): SubscriptionsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_addons + * @see https://apidocs.chargebee.com/docs/api/exports/export-addons?lang=php-v4 * @param array{ * addon?: array{ * id?: array{ @@ -2099,7 +2099,7 @@ public function subscriptions(array $params = [], array $headers = []): Subscrip public function addons(array $params = [], array $headers = []): AddonsExportResponse; /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_plans + * @see https://apidocs.chargebee.com/docs/api/exports/export-plans?lang=php-v4 * @param array{ * plan?: array{ * id?: array{ diff --git a/src/Actions/Contracts/FeatureActionsInterface.php b/src/Actions/Contracts/FeatureActionsInterface.php index 19fe93b9..871eb44e 100644 --- a/src/Actions/Contracts/FeatureActionsInterface.php +++ b/src/Actions/Contracts/FeatureActionsInterface.php @@ -19,7 +19,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#list_features + * @see https://apidocs.chargebee.com/docs/api/features/list-features?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -62,7 +62,7 @@ public function all(array $params = [], array $headers = []): ListFeatureResponse; /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#create_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/create-a-feature?lang=php-v4 * @param array{ * levels?: array $headers @@ -102,7 +102,7 @@ public function create(array $params, array $headers = []): CreateFeatureRespons public function delete(string $id, array $headers = []): DeleteFeatureResponse; /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#retrieve_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/retrieve-a-feature?lang=php-v4 * * @param string $id * @param array $headers @@ -116,7 +116,7 @@ public function delete(string $id, array $headers = []): DeleteFeatureResponse; public function retrieve(string $id, array $headers = []): RetrieveFeatureResponse; /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#update_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/update-a-feature?lang=php-v4 * @param array{ * levels?: array $headers @@ -154,7 +154,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd public function archive(string $id, array $headers = []): ArchiveFeatureResponse; /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#activate_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/activate-a-feature?lang=php-v4 * * @param string $id * @param array $headers @@ -168,7 +168,7 @@ public function archive(string $id, array $headers = []): ArchiveFeatureResponse public function activate(string $id, array $headers = []): ActivateFeatureResponse; /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#reactivate_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/reactivate-a-feature?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/GiftActionsInterface.php b/src/Actions/Contracts/GiftActionsInterface.php index 5322968c..b8e652bb 100644 --- a/src/Actions/Contracts/GiftActionsInterface.php +++ b/src/Actions/Contracts/GiftActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#create_a_gift_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/gifts/create-a-gift-subscription-for-items?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -92,7 +92,7 @@ public function createForItems(array $params, array $headers = []): CreateForItemsGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#cancel_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/cancel-a-gift?lang=php-v4 * * @param string $id * @param array $headers @@ -106,7 +106,7 @@ public function createForItems(array $params, array $headers = []): CreateForIte public function cancel(string $id, array $headers = []): CancelGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#update_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/update-a-gift?lang=php-v4 * @param array{ * scheduled_at?: int, * comment?: string, @@ -123,7 +123,7 @@ public function cancel(string $id, array $headers = []): CancelGiftResponse; public function updateGift(string $id, array $params, array $headers = []): UpdateGiftGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#list_gifts + * @see https://apidocs.chargebee.com/docs/api/gifts/list-gifts?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -165,7 +165,7 @@ public function updateGift(string $id, array $params, array $headers = []): Upda public function all(array $params = [], array $headers = []): ListGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#create_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/create-a-gift?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -232,7 +232,7 @@ public function all(array $params = [], array $headers = []): ListGiftResponse; public function create(array $params, array $headers = []): CreateGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#retrieve_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/retrieve-a-gift?lang=php-v4 * * @param string $id * @param array $headers @@ -246,7 +246,7 @@ public function create(array $params, array $headers = []): CreateGiftResponse; public function retrieve(string $id, array $headers = []): RetrieveGiftResponse; /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#claim_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/claim-a-gift?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/HostedPageActionsInterface.php b/src/Actions/Contracts/HostedPageActionsInterface.php index 6c6365c4..940315c5 100644 --- a/src/Actions/Contracts/HostedPageActionsInterface.php +++ b/src/Actions/Contracts/HostedPageActionsInterface.php @@ -33,7 +33,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_charge-items_and_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-charge-items-and-one-time-charges?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -162,7 +162,7 @@ public function checkoutOneTimeForItems(array $params, array $headers = []): CheckoutOneTimeForItemsHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#update_payment_method + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/update-payment-method?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -191,7 +191,7 @@ public function checkoutOneTimeForItems(array $params, array $headers = []): Che public function updatePaymentMethod(array $params, array $headers = []): UpdatePaymentMethodHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#update_card + * * @param array{ * customer?: array{ * id?: string, @@ -221,7 +221,7 @@ public function updatePaymentMethod(array $params, array $headers = []): UpdateP public function updateCard(array $params, array $headers = []): UpdateCardHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#extend_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/extend-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -241,7 +241,7 @@ public function updateCard(array $params, array $headers = []): UpdateCardHosted public function extendSubscription(array $params, array $headers = []): ExtendSubscriptionHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#notify_an_event + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/notify-an-event?lang=php-v4 * @param array{ * event_name?: string, * occurred_at?: int, @@ -259,7 +259,7 @@ public function extendSubscription(array $params, array $headers = []): ExtendSu public function events(array $params, array $headers = []): EventsHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_gift_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -296,7 +296,7 @@ public function events(array $params, array $headers = []): EventsHostedPageResp public function checkoutGiftForItems(array $params = [], array $headers = []): CheckoutGiftForItemsHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#list_hosted_pages + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/list-hosted-pages?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -338,7 +338,7 @@ public function checkoutGiftForItems(array $params = [], array $headers = []): C public function all(array $params = [], array $headers = []): ListHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_a_hosted_page_to_view_boleto_vouchers + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-hosted-page-to-view-boleto-vouchers?lang=php-v4 * @param array{ * payment_voucher?: array{ * id?: string, @@ -359,7 +359,7 @@ public function all(array $params = [], array $headers = []): ListHostedPageResp public function viewVoucher(array $params, array $headers = []): ViewVoucherHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#collect_now + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -370,6 +370,7 @@ public function viewVoucher(array $params, array $headers = []): ViewVoucherHost * }, * redirect_url?: string, * currency_code?: string, + * payment_method_save_policy?: string, * } $params Description of the parameters * * @param array $headers @@ -383,7 +384,7 @@ public function viewVoucher(array $params, array $headers = []): ViewVoucherHost public function collectNow(array $params, array $headers = []): CollectNowHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#accept_a_quote + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/accept-a-quote?lang=php-v4 * @param array{ * quote?: array{ * id?: string, @@ -403,7 +404,7 @@ public function collectNow(array $params, array $headers = []): CollectNowHosted public function acceptQuote(array $params, array $headers = []): AcceptQuoteHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_checkout_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -540,7 +541,7 @@ public function acceptQuote(array $params, array $headers = []): AcceptQuoteHost public function checkoutNewForItems(array $params, array $headers = []): CheckoutNewForItemsHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#claim_a_gift_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/claim-a-gift-subscription?lang=php-v4 * @param array{ * gift?: array{ * id?: string, @@ -562,7 +563,7 @@ public function checkoutNewForItems(array $params, array $headers = []): Checkou public function claimGift(array $params, array $headers = []): ClaimGiftHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_checkout_to_update_a_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-to-update-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -667,7 +668,7 @@ public function claimGift(array $params, array $headers = []): ClaimGiftHostedPa public function checkoutExistingForItems(array $params, array $headers = []): CheckoutExistingForItemsHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_a_pre-cancel_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -688,7 +689,7 @@ public function checkoutExistingForItems(array $params, array $headers = []): Ch public function preCancel(array $params, array $headers = []): PreCancelHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#acknowledge_a_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/acknowledge-a-hosted-page?lang=php-v4 * * @param string $id * @param array $headers @@ -702,7 +703,7 @@ public function preCancel(array $params, array $headers = []): PreCancelHostedPa public function acknowledge(string $id, array $headers = []): AcknowledgeHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#retrieve_direct_debit_agreement_pdf + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/retrieve-direct-debit-agreement-pdf?lang=php-v4 * @param array{ * payment_source_id?: string, * } $params Description of the parameters @@ -718,7 +719,7 @@ public function acknowledge(string $id, array $headers = []): AcknowledgeHostedP public function retrieveAgreementPdf(array $params, array $headers = []): RetrieveAgreementPdfHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#retrieve_a_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/retrieve-a-hosted-page?lang=php-v4 * * @param string $id * @param array $headers @@ -732,7 +733,7 @@ public function retrieveAgreementPdf(array $params, array $headers = []): Retrie public function retrieve(string $id, array $headers = []): RetrieveHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#manage_payment_sources + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -755,7 +756,7 @@ public function retrieve(string $id, array $headers = []): RetrieveHostedPageRes public function managePaymentSources(array $params, array $headers = []): ManagePaymentSourcesHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_one-time_payments + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-one-time-payments?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -855,7 +856,7 @@ public function managePaymentSources(array $params, array $headers = []): Manage public function checkoutOneTime(array $params = [], array $headers = []): CheckoutOneTimeHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_new_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -970,7 +971,7 @@ public function checkoutOneTime(array $params = [], array $headers = []): Checko public function checkoutNew(array $params, array $headers = []): CheckoutNewHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_gift_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -1001,7 +1002,7 @@ public function checkoutNew(array $params, array $headers = []): CheckoutNewHost public function checkoutGift(array $params, array $headers = []): CheckoutGiftHostedPageResponse; /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_existing_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-existing-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, diff --git a/src/Actions/Contracts/InAppSubscriptionActionsInterface.php b/src/Actions/Contracts/InAppSubscriptionActionsInterface.php index ecce7190..e6f3eebe 100644 --- a/src/Actions/Contracts/InAppSubscriptionActionsInterface.php +++ b/src/Actions/Contracts/InAppSubscriptionActionsInterface.php @@ -15,7 +15,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#retrieve_store_subscription + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/retrieve-store-subscription?lang=php-v4 * @param array{ * receipt?: string, * } $params Description of the parameters @@ -31,7 +31,7 @@ public function retrieveStoreSubs(string $id, array $params, array $headers = []): RetrieveStoreSubsInAppSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#import_receipt + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/import-receipt?lang=php-v4 * @param array{ * product?: array{ * currency_code?: string, @@ -54,7 +54,7 @@ public function retrieveStoreSubs(string $id, array $params, array $headers = [] public function importReceipt(string $id, array $params, array $headers = []): ImportReceiptInAppSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#import_subscription_without_receipt + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/import-subscription-without-receipt?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -83,7 +83,7 @@ public function importReceipt(string $id, array $params, array $headers = []): I public function importSubscription(string $id, array $params, array $headers = []): ImportSubscriptionInAppSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#process_purchase_command + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/process-purchase-command?lang=php-v4 * @param array{ * product?: array{ * id?: string, diff --git a/src/Actions/Contracts/InvoiceActionsInterface.php b/src/Actions/Contracts/InvoiceActionsInterface.php index b6e55faf..1839ac16 100644 --- a/src/Actions/Contracts/InvoiceActionsInterface.php +++ b/src/Actions/Contracts/InvoiceActionsInterface.php @@ -51,7 +51,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#delete_line_items + * @see https://apidocs.chargebee.com/docs/api/invoices/delete-line-items?lang=php-v4 * @param array{ * line_items?: array $headers @@ -218,7 +218,7 @@ public function addCharge(string $id, array $params, array $headers = []): AddCh public function sendEinvoice(string $id, array $headers = []): SendEinvoiceInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#retrieve_payment_schedules_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/retrieve-payment-schedules-for-an-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -232,7 +232,7 @@ public function sendEinvoice(string $id, array $headers = []): SendEinvoiceInvoi public function paymentSchedules(string $id, array $headers = []): PaymentSchedulesInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#write_off_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/write-off-an-invoice?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -248,7 +248,7 @@ public function paymentSchedules(string $id, array $headers = []): PaymentSchedu public function writeOff(string $id, array $params = [], array $headers = []): WriteOffInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#add_a_charge-item_to_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/add-a-charge-item-to-a-pending-invoice?lang=php-v4 * @param array{ * item_price?: array{ * item_price_id?: string, @@ -284,7 +284,7 @@ public function writeOff(string $id, array $params = [], array $headers = []): W public function addChargeItem(string $id, array $params, array $headers = []): AddChargeItemInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#pause_dunning_for_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/pause-dunning-for-invoice?lang=php-v4 * @param array{ * expected_payment_date?: int, * comment?: string, @@ -301,7 +301,7 @@ public function addChargeItem(string $id, array $params, array $headers = []): A public function pauseDunning(string $id, array $params, array $headers = []): PauseDunningInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_invoices + * @see https://apidocs.chargebee.com/docs/api/invoices/list-invoices?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -465,7 +465,7 @@ public function pauseDunning(string $id, array $params, array $headers = []): Pa public function all(array $params = [], array $headers = []): ListInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/create-an-invoice?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -606,7 +606,7 @@ public function all(array $params = [], array $headers = []): ListInvoiceRespons public function create(array $params = [], array $headers = []): CreateInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#close_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/close-a-pending-invoice?lang=php-v4 * @param array{ * notes_to_remove?: array $headers @@ -1213,7 +1213,7 @@ public function recordTaxWithheld(string $id, array $params, array $headers = [] public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#remove_tax_withheld_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/remove-tax-withheld-for-an-invoice?lang=php-v4 * @param array{ * tax_withheld?: array{ * id?: string, @@ -1231,7 +1231,7 @@ public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceI public function removeTaxWithheld(string $id, array $params, array $headers = []): RemoveTaxWithheldInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_payment_reference_numbers + * @see https://apidocs.chargebee.com/docs/api/invoices/list-payment-reference-numbers?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -1258,7 +1258,7 @@ public function removeTaxWithheld(string $id, array $params, array $headers = [] public function listPaymentReferenceNumbers(array $params = [], array $headers = []): ListPaymentReferenceNumbersInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#collect_payment_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/collect-payment-for-an-invoice?lang=php-v4 * @param array{ * amount?: int, * authorization_transaction_id?: string, @@ -1278,7 +1278,7 @@ public function listPaymentReferenceNumbers(array $params = [], array $headers = public function collectPayment(string $id, array $params = [], array $headers = []): CollectPaymentInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#sync_usages + * @see https://apidocs.chargebee.com/docs/api/invoices/sync-usages?lang=php-v4 * * @param string $id * @param array $headers @@ -1292,7 +1292,7 @@ public function collectPayment(string $id, array $params = [], array $headers = public function syncUsages(string $id, array $headers = []): SyncUsagesInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#refund_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/refund-an-invoice?lang=php-v4 * @param array{ * credit_note?: array{ * reason_code?: string, @@ -1314,7 +1314,7 @@ public function syncUsages(string $id, array $headers = []): SyncUsagesInvoiceRe public function refund(string $id, array $params = [], array $headers = []): RefundInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#record_refund_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/record-refund-for-an-invoice?lang=php-v4 * @param array{ * transaction?: array{ * amount?: int, @@ -1342,7 +1342,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref public function recordRefund(string $id, array $params, array $headers = []): RecordRefundInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#retrieve_invoice_as_pdf + * @see https://apidocs.chargebee.com/docs/api/invoices/retrieve-invoice-as-pdf?lang=php-v4 * @param array{ * disposition_type?: string, * } $params Description of the parameters @@ -1358,7 +1358,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re public function pdf(string $id, array $params = [], array $headers = []): PdfInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_invoices_for_a_subscription + * * @param array{ * limit?: int, * offset?: string, @@ -1376,7 +1376,7 @@ public function pdf(string $id, array $params = [], array $headers = []): PdfInv public function invoicesForSubscription(string $id, array $params = [], array $headers = []): InvoicesForSubscriptionInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#download_e-invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/download-e-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -1390,7 +1390,7 @@ public function invoicesForSubscription(string $id, array $params = [], array $h public function downloadEinvoice(string $id, array $headers = []): DownloadEinvoiceInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_invoice_for_a_non-recurring_addon + * @see https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-a-non-recurring-addon?lang=php-v4 * @param array{ * customer_id?: string, * subscription_id?: string, @@ -1420,7 +1420,7 @@ public function downloadEinvoice(string $id, array $headers = []): DownloadEinvo public function chargeAddon(array $params, array $headers = []): ChargeAddonInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#add_non-recurring_addon_to_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/add-non-recurring-addon-to-a-pending-invoice?lang=php-v4 * @param array{ * line_item?: array{ * date_from?: int, @@ -1446,7 +1446,7 @@ public function chargeAddon(array $params, array $headers = []): ChargeAddonInvo public function addAddonCharge(string $id, array $params, array $headers = []): AddAddonChargeInvoiceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_invoice_for_a_one-time_charge + * @see https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-a-one-time-charge?lang=php-v4 * @param array{ * tax_providers_fields?: array $headers @@ -178,7 +178,7 @@ public function create(array $params, array $headers = []): CreateItemResponse; public function delete(string $id, array $headers = []): DeleteItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/items?lang=php#retrieve_an_item + * @see https://apidocs.chargebee.com/docs/api/items/retrieve-an-item?lang=php-v4 * * @param string $id * @param array $headers @@ -192,7 +192,7 @@ public function delete(string $id, array $headers = []): DeleteItemResponse; public function retrieve(string $id, array $headers = []): RetrieveItemResponse; /** - * @see https://apidocs.chargebee.com/docs/api/items?lang=php#update_an_item + * @see https://apidocs.chargebee.com/docs/api/items/update-an-item?lang=php-v4 * @param array{ * bundle_configuration?: array{ * type?: string, diff --git a/src/Actions/Contracts/ItemEntitlementActionsInterface.php b/src/Actions/Contracts/ItemEntitlementActionsInterface.php index 75ec06c2..b88407ae 100644 --- a/src/Actions/Contracts/ItemEntitlementActionsInterface.php +++ b/src/Actions/Contracts/ItemEntitlementActionsInterface.php @@ -15,7 +15,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/item_entitlements?lang=php#list_item_entitlements_for_a_feature + * @see https://apidocs.chargebee.com/docs/api/item_entitlements/list-item-entitlements-for-a-feature?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -33,7 +33,7 @@ public function itemEntitlementsForFeature(string $id, array $params = [], array $headers = []): ItemEntitlementsForFeatureItemEntitlementResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_entitlements?lang=php#upsert_or_remove_item_entitlements_for_a_feature + * @see https://apidocs.chargebee.com/docs/api/item_entitlements/upsert-or-remove-item-entitlements-for-a-feature?lang=php-v4 * @param array{ * item_entitlements?: array $headers @@ -30,7 +30,7 @@ public function delete(string $id, array $headers = []): DeleteItemFamilyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#list_item_families + * @see https://apidocs.chargebee.com/docs/api/item_families/list-item-families?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -72,7 +72,7 @@ public function delete(string $id, array $headers = []): DeleteItemFamilyRespons public function all(array $params = [], array $headers = []): ListItemFamilyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#create_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/create-an-item-family?lang=php-v4 * @param array{ * id?: string, * name?: string, @@ -91,7 +91,7 @@ public function all(array $params = [], array $headers = []): ListItemFamilyResp public function create(array $params, array $headers = []): CreateItemFamilyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#retrieve_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/retrieve-an-item-family?lang=php-v4 * * @param string $id * @param array $headers @@ -105,7 +105,7 @@ public function create(array $params, array $headers = []): CreateItemFamilyResp public function retrieve(string $id, array $headers = []): RetrieveItemFamilyResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#update_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/update-an-item-family?lang=php-v4 * @param array{ * name?: string, * description?: string, diff --git a/src/Actions/Contracts/ItemPriceActionsInterface.php b/src/Actions/Contracts/ItemPriceActionsInterface.php index 95b145dc..747fd076 100644 --- a/src/Actions/Contracts/ItemPriceActionsInterface.php +++ b/src/Actions/Contracts/ItemPriceActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#retrieve_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/retrieve-an-item-price?lang=php-v4 * * @param string $id * @param array $headers @@ -32,7 +32,7 @@ public function retrieve(string $id, array $headers = []): RetrieveItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#update_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/update-an-item-price?lang=php-v4 * @param array{ * tax_detail?: array{ * tax_profile_id?: string, @@ -105,7 +105,7 @@ public function retrieve(string $id, array $headers = []): RetrieveItemPriceResp public function update(string $id, array $params, array $headers = []): UpdateItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#delete_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/delete-an-item-price?lang=php-v4 * * @param string $id * @param array $headers @@ -119,7 +119,7 @@ public function update(string $id, array $params, array $headers = []): UpdateIt public function delete(string $id, array $headers = []): DeleteItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_applicable_item_prices_for_a_plan-item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-applicable-item-prices-for-a-plan-item-price?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -141,7 +141,7 @@ public function delete(string $id, array $headers = []): DeleteItemPriceResponse public function findApplicableItemPrices(string $id, array $params = [], array $headers = []): FindApplicableItemPricesItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_applicable_items_for_a_plan-item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-applicable-items-for-a-plan-item-price?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -162,7 +162,7 @@ public function findApplicableItemPrices(string $id, array $params = [], array $ public function findApplicableItems(string $id, array $params = [], array $headers = []): FindApplicableItemsItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_item_prices + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-item-prices?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -292,7 +292,7 @@ public function findApplicableItems(string $id, array $params = [], array $heade public function all(array $params = [], array $headers = []): ListItemPriceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#create_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/create-an-item-price?lang=php-v4 * @param array{ * tax_detail?: array{ * tax_profile_id?: string, diff --git a/src/Actions/Contracts/NonSubscriptionActionsInterface.php b/src/Actions/Contracts/NonSubscriptionActionsInterface.php index 683c0992..10be8ac0 100644 --- a/src/Actions/Contracts/NonSubscriptionActionsInterface.php +++ b/src/Actions/Contracts/NonSubscriptionActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/non_subscriptions?lang=php#one_time_purchase + * @see https://apidocs.chargebee.com/docs/api/non_subscriptions/one-time-purchase?lang=php-v4 * @param array{ * product?: array{ * id?: string, diff --git a/src/Actions/Contracts/OfferEventActionsInterface.php b/src/Actions/Contracts/OfferEventActionsInterface.php index 267e43d8..0b93e529 100644 --- a/src/Actions/Contracts/OfferEventActionsInterface.php +++ b/src/Actions/Contracts/OfferEventActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/offer_events?lang=php#create_an_offer_event + * @see https://apidocs.chargebee.com/docs/api/offer_events/create-an-offer-event?lang=php-v4 * @param array{ * personalized_offer_id?: string, * type?: string, diff --git a/src/Actions/Contracts/OfferFulfillmentActionsInterface.php b/src/Actions/Contracts/OfferFulfillmentActionsInterface.php index 8d1c7bc9..6f4a6fc3 100644 --- a/src/Actions/Contracts/OfferFulfillmentActionsInterface.php +++ b/src/Actions/Contracts/OfferFulfillmentActionsInterface.php @@ -14,7 +14,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#create_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/create-an-offer-fulfillment?lang=php-v4 * @param array{ * personalized_offer_id?: string, * option_id?: string, @@ -31,7 +31,7 @@ public function offerFulfillments(array $params, array $headers = []): OfferFulfillmentsOfferFulfillmentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#retrieve_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/retrieve-an-offer-fulfillment?lang=php-v4 * * @param string $id * @param array $headers @@ -45,7 +45,7 @@ public function offerFulfillments(array $params, array $headers = []): OfferFulf public function offerFulfillmentsGet(string $id, array $headers = []): OfferFulfillmentsGetOfferFulfillmentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#update_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/update-an-offer-fulfillment?lang=php-v4 * @param array{ * id?: string, * status?: string, diff --git a/src/Actions/Contracts/OmnichannelOneTimeOrderActionsInterface.php b/src/Actions/Contracts/OmnichannelOneTimeOrderActionsInterface.php index 2204a07f..1af96ba1 100644 --- a/src/Actions/Contracts/OmnichannelOneTimeOrderActionsInterface.php +++ b/src/Actions/Contracts/OmnichannelOneTimeOrderActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders?lang=php#list_omnichannel_one_time_orders + * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders/list-omnichannel-one-time-orders?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -41,7 +41,7 @@ public function all(array $params = [], array $headers = []): ListOmnichannelOneTimeOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders?lang=php#retrieve_an_omnichannel_one_time_order + * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders/retrieve-an-omnichannel-one-time-order?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/OmnichannelSubscriptionActionsInterface.php b/src/Actions/Contracts/OmnichannelSubscriptionActionsInterface.php index b9a8520e..803a8dc6 100644 --- a/src/Actions/Contracts/OmnichannelSubscriptionActionsInterface.php +++ b/src/Actions/Contracts/OmnichannelSubscriptionActionsInterface.php @@ -15,7 +15,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#move_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/move-an-omnichannel-subscription?lang=php-v4 * @param array{ * to_customer_id?: string, * } $params Description of the parameters @@ -31,7 +31,7 @@ public function move(string $id, array $params, array $headers = []): MoveOmnichannelSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#retrieve_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/retrieve-an-omnichannel-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -45,7 +45,7 @@ public function move(string $id, array $params, array $headers = []): MoveOmnich public function retrieve(string $id, array $headers = []): RetrieveOmnichannelSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#list_omnichannel_transactions_of_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-transactions-of-an-omnichannel-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -62,11 +62,24 @@ public function retrieve(string $id, array $headers = []): RetrieveOmnichannelSu public function omnichannelTransactionsForOmnichannelSubscription(string $id, array $params = [], array $headers = []): OmnichannelTransactionsForOmnichannelSubscriptionOmnichannelSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#list_omnichannel_subscriptions + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, - * source?: array{ + * omnichannel_subscription_item?: array{ + * status?: array{ + * is?: string, + * is_not?: string, + * in?: string, + * not_in?: string, + * }, + * item_id_at_source?: array{ + * is?: string, + * is_not?: string, + * starts_with?: string, + * }, + * }, + * source?: array{ * is?: mixed, * is_not?: mixed, * in?: mixed, diff --git a/src/Actions/Contracts/OmnichannelSubscriptionItemActionsInterface.php b/src/Actions/Contracts/OmnichannelSubscriptionItemActionsInterface.php index d57a1c38..8ea7fd53 100644 --- a/src/Actions/Contracts/OmnichannelSubscriptionItemActionsInterface.php +++ b/src/Actions/Contracts/OmnichannelSubscriptionItemActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items?lang=php#list_scheduled_changes_for_omnichannel_subscription_item + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/list-scheduled-changes-for-omnichannel-subscription-item?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/Contracts/OrderActionsInterface.php b/src/Actions/Contracts/OrderActionsInterface.php index 5a152809..9585db1a 100644 --- a/src/Actions/Contracts/OrderActionsInterface.php +++ b/src/Actions/Contracts/OrderActionsInterface.php @@ -23,7 +23,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#list_orders + * @see https://apidocs.chargebee.com/docs/api/orders/list-orders?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -127,7 +127,7 @@ public function all(array $params = [], array $headers = []): ListOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#create_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/create-an-order?lang=php-v4 * @param array{ * id?: string, * invoice_id?: string, @@ -151,7 +151,7 @@ public function all(array $params = [], array $headers = []): ListOrderResponse; public function create(array $params, array $headers = []): CreateOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#import_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/import-an-order?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -220,7 +220,7 @@ public function create(array $params, array $headers = []): CreateOrderResponse; public function importOrder(array $params, array $headers = []): ImportOrderOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#assign_order_number + * @see https://apidocs.chargebee.com/docs/api/orders/assign-order-number?lang=php-v4 * * @param string $id * @param array $headers @@ -234,7 +234,7 @@ public function importOrder(array $params, array $headers = []): ImportOrderOrde public function assignOrderNumber(string $id, array $headers = []): AssignOrderNumberOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#resend_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/resend-an-order?lang=php-v4 * @param array{ * order_line_items?: array $headers @@ -325,7 +325,7 @@ public function cancel(string $id, array $params, array $headers = []): CancelOr public function retrieve(string $id, array $headers = []): RetrieveOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#update_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/update-an-order?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -375,7 +375,7 @@ public function retrieve(string $id, array $headers = []): RetrieveOrderResponse public function update(string $id, array $params = [], array $headers = []): UpdateOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#delete_an_imported_order + * @see https://apidocs.chargebee.com/docs/api/orders/delete-an-imported-order?lang=php-v4 * * @param string $id * @param array $headers @@ -389,7 +389,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd public function delete(string $id, array $headers = []): DeleteOrderResponse; /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#create_a_refundable_credit_note + * @see https://apidocs.chargebee.com/docs/api/orders/create-a-refundable-credit-note?lang=php-v4 * @param array{ * credit_note?: array{ * reason_code?: string, diff --git a/src/Actions/Contracts/PaymentIntentActionsInterface.php b/src/Actions/Contracts/PaymentIntentActionsInterface.php index 29afa05b..76c7b916 100644 --- a/src/Actions/Contracts/PaymentIntentActionsInterface.php +++ b/src/Actions/Contracts/PaymentIntentActionsInterface.php @@ -14,7 +14,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#retrieve_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/retrieve-a-payment-intent?lang=php-v4 * * @param string $id * @param array $headers @@ -28,7 +28,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentIntentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#update_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent?lang=php-v4 * @param array{ * amount?: int, * currency_code?: string, @@ -49,7 +49,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentIntent public function update(string $id, array $params = [], array $headers = []): UpdatePaymentIntentResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#create_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent?lang=php-v4 * @param array{ * business_entity_id?: string, * customer_id?: string, diff --git a/src/Actions/Contracts/PaymentScheduleSchemeActionsInterface.php b/src/Actions/Contracts/PaymentScheduleSchemeActionsInterface.php index bd9efbd0..8ec62f0e 100644 --- a/src/Actions/Contracts/PaymentScheduleSchemeActionsInterface.php +++ b/src/Actions/Contracts/PaymentScheduleSchemeActionsInterface.php @@ -14,7 +14,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes?lang=php#retrieve_a_payment_schedule_scheme + * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/retrieve-a-payment-schedule-scheme?lang=php-v4 * * @param string $id * @param array $headers @@ -28,7 +28,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentScheduleSchemeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes?lang=php#create_a_payment_schedule_scheme + * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/create-a-payment-schedule-scheme?lang=php-v4 * @param array{ * flexible_schedules?: array $headers diff --git a/src/Actions/Contracts/PaymentSourceActionsInterface.php b/src/Actions/Contracts/PaymentSourceActionsInterface.php index 289f03a4..aa39ba0c 100644 --- a/src/Actions/Contracts/PaymentSourceActionsInterface.php +++ b/src/Actions/Contracts/PaymentSourceActionsInterface.php @@ -27,7 +27,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_permanent_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token?lang=php-v4 * @param array{ * card?: array{ * last4?: string, @@ -75,7 +75,7 @@ public function createUsingPermanentToken(array $params, array $headers = []): CreateUsingPermanentTokenPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#delete_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/delete-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -89,7 +89,7 @@ public function createUsingPermanentToken(array $params, array $headers = []): C public function delete(string $id, array $headers = []): DeletePaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_card_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-card-payment-source?lang=php-v4 * @param array{ * card?: array{ * gateway_account_id?: string, @@ -124,7 +124,7 @@ public function delete(string $id, array $headers = []): DeletePaymentSourceResp public function createCard(array $params, array $headers = []): CreateCardPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#verify_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/verify-bank-account-payment-source?lang=php-v4 * @param array{ * amount1?: int, * amount2?: int, @@ -141,7 +141,7 @@ public function createCard(array $params, array $headers = []): CreateCardPaymen public function verifyBankAccount(string $id, array $params, array $headers = []): VerifyBankAccountPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#list_payment_sources + * @see https://apidocs.chargebee.com/docs/api/payment_sources/list-payment-sources?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -195,7 +195,7 @@ public function verifyBankAccount(string $id, array $params, array $headers = [] public function all(array $params = [], array $headers = []): ListPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#export_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/export-payment-source?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -211,7 +211,7 @@ public function all(array $params = [], array $headers = []): ListPaymentSourceR public function exportPaymentSource(string $id, array $params, array $headers = []): ExportPaymentSourcePaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-payment-intent?lang=php-v4 * @param array{ * payment_intent?: array{ * id?: string, @@ -238,7 +238,7 @@ public function exportPaymentSource(string $id, array $params, array $headers = public function createUsingPaymentIntent(array $params, array $headers = []): CreateUsingPaymentIntentPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#retrieve_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/retrieve-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -252,7 +252,7 @@ public function createUsingPaymentIntent(array $params, array $headers = []): Cr public function retrieve(string $id, array $headers = []): RetrievePaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_voucher_payment_method + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-voucher-payment-method?lang=php-v4 * @param array{ * voucher_payment_source?: array{ * voucher_type?: string, @@ -274,7 +274,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentSource public function createVoucherPaymentSource(array $params, array $headers = []): CreateVoucherPaymentSourcePaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_gateway_temporary_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-gateway-temporary-token?lang=php-v4 * @param array{ * customer_id?: string, * gateway_account_id?: string, @@ -296,7 +296,7 @@ public function createVoucherPaymentSource(array $params, array $headers = []): public function createUsingTempToken(array $params, array $headers = []): CreateUsingTempTokenPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#update_a_card_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/update-a-card-payment-source?lang=php-v4 * @param array{ * card?: array{ * first_name?: string, @@ -327,7 +327,7 @@ public function createUsingTempToken(array $params, array $headers = []): Create public function updateCard(string $id, array $params = [], array $headers = []): UpdateCardPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#switch_gateway_account + * @see https://apidocs.chargebee.com/docs/api/payment_sources/switch-gateway-account?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -343,7 +343,7 @@ public function updateCard(string $id, array $params = [], array $headers = []): public function switchGatewayAccount(string $id, array $params, array $headers = []): SwitchGatewayAccountPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_chargebee_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-chargebee-token?lang=php-v4 * @param array{ * customer_id?: string, * replace_primary_payment_source?: bool, @@ -361,7 +361,7 @@ public function switchGatewayAccount(string $id, array $params, array $headers = public function createUsingToken(array $params, array $headers = []): CreateUsingTokenPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#local_delete_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/local-delete-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -375,7 +375,7 @@ public function createUsingToken(array $params, array $headers = []): CreateUsin public function deleteLocal(string $id, array $headers = []): DeleteLocalPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-bank-account-payment-source?lang=php-v4 * @param array{ * bank_account?: array{ * gateway_account_id?: string, @@ -411,7 +411,7 @@ public function deleteLocal(string $id, array $headers = []): DeleteLocalPayment public function createBankAccount(array $params, array $headers = []): CreateBankAccountPaymentSourceResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#update_a_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/update-a-bank-account-payment-source?lang=php-v4 * @param array{ * bank_account?: array{ * first_name?: string, diff --git a/src/Actions/Contracts/PaymentVoucherActionsInterface.php b/src/Actions/Contracts/PaymentVoucherActionsInterface.php index e2da4c28..30020005 100644 --- a/src/Actions/Contracts/PaymentVoucherActionsInterface.php +++ b/src/Actions/Contracts/PaymentVoucherActionsInterface.php @@ -15,7 +15,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#list_vouchers_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/list-vouchers-for-a-customer?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -42,7 +42,7 @@ public function paymentVouchersForCustomer(string $id, array $params = [], array $headers = []): PaymentVouchersForCustomerPaymentVoucherResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#list_vouchers_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/list-vouchers-for-an-invoice?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -69,7 +69,7 @@ public function paymentVouchersForCustomer(string $id, array $params = [], array public function paymentVouchersForInvoice(string $id, array $params = [], array $headers = []): PaymentVouchersForInvoicePaymentVoucherResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#retrieve_voucher_data + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/retrieve-voucher-data?lang=php-v4 * * @param string $id * @param array $headers @@ -83,7 +83,7 @@ public function paymentVouchersForInvoice(string $id, array $params = [], array public function retrieve(string $id, array $headers = []): RetrievePaymentVoucherResponse; /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#create_a_voucher_for_the_customer_to_initiate_payment + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/create-a-voucher-for-the-customer-to-initiate-payment?lang=php-v4 * @param array{ * voucher_payment_source?: array{ * voucher_type?: string, diff --git a/src/Actions/Contracts/PersonalizedOfferActionsInterface.php b/src/Actions/Contracts/PersonalizedOfferActionsInterface.php index 64766544..cee12c02 100644 --- a/src/Actions/Contracts/PersonalizedOfferActionsInterface.php +++ b/src/Actions/Contracts/PersonalizedOfferActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/personalized_offers?lang=php#list_personalized_offers + * @see https://apidocs.chargebee.com/docs/api/personalized_offers/list-personalized-offers?lang=php-v4 * @param array{ * request_context?: array{ * user_agent?: string, diff --git a/src/Actions/Contracts/PlanActionsInterface.php b/src/Actions/Contracts/PlanActionsInterface.php index 0fe230e8..b8dc06c4 100644 --- a/src/Actions/Contracts/PlanActionsInterface.php +++ b/src/Actions/Contracts/PlanActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#unarchive_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/unarchive-a-plan?lang=php-v4 * * @param string $id * @param array $headers @@ -32,7 +32,7 @@ public function unarchive(string $id, array $headers = []): UnarchivePlanResponse; /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#delete_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/delete-a-plan?lang=php-v4 * * @param string $id * @param array $headers @@ -46,7 +46,7 @@ public function unarchive(string $id, array $headers = []): UnarchivePlanRespons public function delete(string $id, array $headers = []): DeletePlanResponse; /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#copy_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/copy-a-plan?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -65,7 +65,7 @@ public function delete(string $id, array $headers = []): DeletePlanResponse; public function copy(array $params, array $headers = []): CopyPlanResponse; /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#list_plans + * @see https://apidocs.chargebee.com/docs/api/plans/list-plans?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -183,7 +183,7 @@ public function copy(array $params, array $headers = []): CopyPlanResponse; public function all(array $params = [], array $headers = []): ListPlanResponse; /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#create_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/create-a-plan?lang=php-v4 * @param array{ * tiers?: array $headers @@ -289,7 +289,7 @@ public function create(array $params, array $headers = []): CreatePlanResponse; public function retrieve(string $id, array $headers = []): RetrievePlanResponse; /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#update_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/update-a-plan?lang=php-v4 * @param array{ * tiers?: array $headers @@ -65,7 +65,7 @@ public function activate(string $id, array $params, array $headers = []): Activa public function logout(string $id, array $headers = []): LogoutPortalSessionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/portal_sessions?lang=php#retrieve_a_portal_session + * @see https://apidocs.chargebee.com/docs/api/portal_sessions/retrieve-a-portal-session?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/PriceVariantActionsInterface.php b/src/Actions/Contracts/PriceVariantActionsInterface.php index af2374cd..b28c0e11 100644 --- a/src/Actions/Contracts/PriceVariantActionsInterface.php +++ b/src/Actions/Contracts/PriceVariantActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#delete_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/delete-a-price-variant?lang=php-v4 * * @param string $id * @param array $headers @@ -30,7 +30,7 @@ public function delete(string $id, array $headers = []): DeletePriceVariantResponse; /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#list_price_variants + * @see https://apidocs.chargebee.com/docs/api/price_variants/list-price-variants?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -90,7 +90,7 @@ public function delete(string $id, array $headers = []): DeletePriceVariantRespo public function all(array $params = [], array $headers = []): ListPriceVariantResponse; /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#create_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/create-a-price-variant?lang=php-v4 * @param array{ * attributes?: array $headers @@ -129,7 +129,7 @@ public function create(array $params, array $headers = []): CreatePriceVariantRe public function retrieve(string $id, array $headers = []): RetrievePriceVariantResponse; /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#update_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/update-a-price-variant?lang=php-v4 * @param array{ * attributes?: array $headers @@ -30,7 +30,7 @@ public function retrieve(string $id, array $headers = []): RetrievePromotionalCreditResponse; /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#list_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/list-promotional-credits?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -69,7 +69,7 @@ public function retrieve(string $id, array $headers = []): RetrievePromotionalCr public function all(array $params = [], array $headers = []): ListPromotionalCreditResponse; /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#deduct_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/deduct-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, @@ -91,7 +91,7 @@ public function all(array $params = [], array $headers = []): ListPromotionalCre public function deduct(array $params, array $headers = []): DeductPromotionalCreditResponse; /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#set_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/set-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, @@ -113,7 +113,7 @@ public function deduct(array $params, array $headers = []): DeductPromotionalCre public function set(array $params, array $headers = []): SetPromotionalCreditResponse; /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#add_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/add-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, diff --git a/src/Actions/Contracts/PurchaseActionsInterface.php b/src/Actions/Contracts/PurchaseActionsInterface.php index d72e62fd..1a54f911 100644 --- a/src/Actions/Contracts/PurchaseActionsInterface.php +++ b/src/Actions/Contracts/PurchaseActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/purchases?lang=php#create_a_purchase + * @see https://apidocs.chargebee.com/docs/api/purchases/create-a-purchase?lang=php-v4 * @param array{ * invoice_info?: array{ * po_number?: string, @@ -105,7 +105,7 @@ public function create(array $params, array $headers = []): CreatePurchaseResponse; /** - * @see https://apidocs.chargebee.com/docs/api/purchases?lang=php#estimates_for_purchase + * @see https://apidocs.chargebee.com/docs/api/purchases/estimates-for-purchase?lang=php-v4 * @param array{ * customer?: array{ * vat_number?: string, diff --git a/src/Actions/Contracts/QuoteActionsInterface.php b/src/Actions/Contracts/QuoteActionsInterface.php index 1bddd359..6a6dc8d8 100644 --- a/src/Actions/Contracts/QuoteActionsInterface.php +++ b/src/Actions/Contracts/QuoteActionsInterface.php @@ -31,7 +31,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_a_new_subscription_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -148,7 +148,7 @@ public function createSubItemsForCustomerQuote(string $id, array $params, array $headers = []): CreateSubItemsForCustomerQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#retrieve_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote?lang=php-v4 * * @param string $id * @param array $headers @@ -162,7 +162,7 @@ public function createSubItemsForCustomerQuote(string $id, array $params, array public function retrieve(string $id, array $headers = []): RetrieveQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_create_subscription_quote_for_items + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -278,7 +278,7 @@ public function retrieve(string $id, array $headers = []): RetrieveQuoteResponse public function editCreateSubCustomerQuoteForItems(string $id, array $params, array $headers = []): EditCreateSubCustomerQuoteForItemsQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#update_quote_status + * @see https://apidocs.chargebee.com/docs/api/quotes/update-quote-status?lang=php-v4 * @param array{ * status?: string, * comment?: string, @@ -295,7 +295,7 @@ public function editCreateSubCustomerQuoteForItems(string $id, array $params, ar public function updateStatus(string $id, array $params, array $headers = []): UpdateStatusQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_update_subscription_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -426,7 +426,7 @@ public function updateStatus(string $id, array $params, array $headers = []): Up public function updateSubscriptionQuoteForItems(array $params, array $headers = []): UpdateSubscriptionQuoteForItemsQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#list_quote_line_groups + * @see https://apidocs.chargebee.com/docs/api/quotes/list-quote-line-groups?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -443,7 +443,7 @@ public function updateSubscriptionQuoteForItems(array $params, array $headers = public function quoteLineGroupsForQuote(string $id, array $params = [], array $headers = []): QuoteLineGroupsForQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#extend_expiry_date + * @see https://apidocs.chargebee.com/docs/api/quotes/extend-expiry-date?lang=php-v4 * @param array{ * valid_till?: int, * } $params Description of the parameters @@ -459,7 +459,7 @@ public function quoteLineGroupsForQuote(string $id, array $params = [], array $h public function extendExpiryDate(string $id, array $params, array $headers = []): ExtendExpiryDateQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_charge_items_and_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, @@ -552,7 +552,7 @@ public function extendExpiryDate(string $id, array $params, array $headers = []) public function editForChargeItemsAndCharges(string $id, array $params, array $headers = []): EditForChargeItemsAndChargesQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_update_subscription_quote_for_items + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items?lang=php-v4 * @param array{ * subscription?: array{ * setup_fee?: int, @@ -681,7 +681,7 @@ public function editForChargeItemsAndCharges(string $id, array $params, array $h public function editUpdateSubscriptionQuoteForItems(string $id, array $params, array $headers = []): EditUpdateSubscriptionQuoteForItemsQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#list_quotes + * @see https://apidocs.chargebee.com/docs/api/quotes/list-quotes?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -743,7 +743,7 @@ public function editUpdateSubscriptionQuoteForItems(string $id, array $params, a public function all(array $params = [], array $headers = []): ListQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#retrieve_quote_as_pdf + * @see https://apidocs.chargebee.com/docs/api/quotes/retrieve-quote-as-pdf?lang=php-v4 * @param array{ * consolidated_view?: bool, * disposition_type?: string, @@ -760,7 +760,7 @@ public function all(array $params = [], array $headers = []): ListQuoteResponse; public function pdf(string $id, array $params = [], array $headers = []): PdfQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#convert_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/convert-a-quote?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -785,7 +785,7 @@ public function pdf(string $id, array $params = [], array $headers = []): PdfQuo public function convert(string $id, array $params = [], array $headers = []): ConvertQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_charge_and_charge_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, @@ -880,7 +880,7 @@ public function convert(string $id, array $params = [], array $headers = []): Co public function createForChargeItemsAndCharges(array $params, array $headers = []): CreateForChargeItemsAndChargesQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#delete_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/delete-a-quote?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -896,7 +896,7 @@ public function createForChargeItemsAndCharges(array $params, array $headers = [ public function delete(string $id, array $params = [], array $headers = []): DeleteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-one-time-charges?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -955,7 +955,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del public function editOneTimeQuote(string $id, array $params = [], array $headers = []): EditOneTimeQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1061,7 +1061,7 @@ public function editOneTimeQuote(string $id, array $params = [], array $headers public function updateSubscriptionQuote(array $params, array $headers = []): UpdateSubscriptionQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-one-time-charges?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1122,7 +1122,7 @@ public function updateSubscriptionQuote(array $params, array $headers = []): Upd public function createForOnetimeCharges(array $params, array $headers = []): CreateForOnetimeChargesQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1199,7 +1199,7 @@ public function createForOnetimeCharges(array $params, array $headers = []): Cre public function createSubForCustomerQuote(string $id, array $params, array $headers = []): CreateSubForCustomerQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * plan_id?: string, @@ -1303,7 +1303,7 @@ public function createSubForCustomerQuote(string $id, array $params, array $head public function editUpdateSubscriptionQuote(string $id, array $params = [], array $headers = []): EditUpdateSubscriptionQuoteQuoteResponse; /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, diff --git a/src/Actions/Contracts/RampActionsInterface.php b/src/Actions/Contracts/RampActionsInterface.php index d4c505c9..c8a18bba 100644 --- a/src/Actions/Contracts/RampActionsInterface.php +++ b/src/Actions/Contracts/RampActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#retrieve_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/retrieve-a-ramp?lang=php-v4 * * @param string $id * @param array $headers @@ -30,7 +30,7 @@ public function retrieve(string $id, array $headers = []): RetrieveRampResponse; /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#create_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -104,7 +104,7 @@ public function retrieve(string $id, array $headers = []): RetrieveRampResponse; public function createForSubscription(string $id, array $params, array $headers = []): CreateForSubscriptionRampResponse; /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#list_ramps + * @see https://apidocs.chargebee.com/docs/api/ramps/list-ramps?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -146,7 +146,7 @@ public function createForSubscription(string $id, array $params, array $headers public function all(array $params, array $headers = []): ListRampResponse; /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#update_a_subscription_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -220,7 +220,7 @@ public function all(array $params, array $headers = []): ListRampResponse; public function update(string $id, array $params, array $headers = []): UpdateRampResponse; /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#delete_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/delete-a-ramp?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/RecordedPurchaseActionsInterface.php b/src/Actions/Contracts/RecordedPurchaseActionsInterface.php index ef8253c8..a8242d3d 100644 --- a/src/Actions/Contracts/RecordedPurchaseActionsInterface.php +++ b/src/Actions/Contracts/RecordedPurchaseActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/recorded_purchases?lang=php#retrieve_a_recorded_purchase + * @see https://apidocs.chargebee.com/docs/api/recorded_purchases/retrieve-a-recorded-purchase?lang=php-v4 * * @param string $id * @param array $headers @@ -27,7 +27,7 @@ public function retrieve(string $id, array $headers = []): RetrieveRecordedPurchaseResponse; /** - * @see https://apidocs.chargebee.com/docs/api/recorded_purchases?lang=php#record_a_purchase + * @see https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase?lang=php-v4 * @param array{ * customer?: array{ * id?: string, diff --git a/src/Actions/Contracts/ResourceMigrationActionsInterface.php b/src/Actions/Contracts/ResourceMigrationActionsInterface.php index dd56fcb1..666c7c39 100644 --- a/src/Actions/Contracts/ResourceMigrationActionsInterface.php +++ b/src/Actions/Contracts/ResourceMigrationActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/resource_migrations?lang=php#retrieve_latest_migration_details + * @see https://apidocs.chargebee.com/docs/api/resource_migrations/retrieve-latest-migration-details?lang=php-v4 * @param array{ * from_site?: string, * entity_type?: string, diff --git a/src/Actions/Contracts/RuleActionsInterface.php b/src/Actions/Contracts/RuleActionsInterface.php index 6ef93c1e..2b57d061 100644 --- a/src/Actions/Contracts/RuleActionsInterface.php +++ b/src/Actions/Contracts/RuleActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/rules?lang=php#retrieve_rule_data + * @see https://apidocs.chargebee.com/docs/api/rules/retrieve-rule-data?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/Contracts/SiteMigrationDetailActionsInterface.php b/src/Actions/Contracts/SiteMigrationDetailActionsInterface.php index 2ea57942..bf08d15e 100644 --- a/src/Actions/Contracts/SiteMigrationDetailActionsInterface.php +++ b/src/Actions/Contracts/SiteMigrationDetailActionsInterface.php @@ -12,7 +12,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/site_migration_details?lang=php#list_site_migration_details + * @see https://apidocs.chargebee.com/docs/api/site_migration_details/list-site-migration-details?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/Contracts/SubscriptionActionsInterface.php b/src/Actions/Contracts/SubscriptionActionsInterface.php index 6701d2f6..5b3a0090 100644 --- a/src/Actions/Contracts/SubscriptionActionsInterface.php +++ b/src/Actions/Contracts/SubscriptionActionsInterface.php @@ -48,7 +48,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_an_advance_invoice_schedules + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-an-advance-invoice-schedules?lang=php-v4 * @param array{ * specific_dates_schedule?: array, * } $params Description of the parameters @@ -270,7 +270,7 @@ public function updateForItems(string $id, array $params, array $headers = []): public function removeCoupons(string $id, array $params = [], array $headers = []): RemoveCouponsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#resume_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/resume-a-subscription?lang=php-v4 * @param array{ * payment_intent?: array{ * id?: string, @@ -299,7 +299,7 @@ public function removeCoupons(string $id, array $params = [], array $headers = [ public function resume(string $id, array $params = [], array $headers = []): ResumeSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#cancel_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -319,6 +319,7 @@ public function resume(string $id, array $params = [], array $headers = []): Res * service_period_days?: int, * }>, * cancel_reason_code?: string, + * decommissioned?: bool, * } $params Description of the parameters * @param string $id * @param array $headers @@ -332,7 +333,7 @@ public function resume(string $id, array $params = [], array $headers = []): Res public function cancelForItems(string $id, array $params = [], array $headers = []): CancelForItemsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#regenerate_an_invoice + * @see https://apidocs.chargebee.com/docs/api/subscriptions/regenerate-an-invoice?lang=php-v4 * @param array{ * date_from?: int, * date_to?: int, @@ -351,7 +352,7 @@ public function cancelForItems(string $id, array $params = [], array $headers = public function regenerateInvoice(string $id, array $params = [], array $headers = []): RegenerateInvoiceSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_subscriptions + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -493,7 +494,7 @@ public function regenerateInvoice(string $id, array $params = [], array $headers public function all(array $params = [], array $headers = []): ListSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-a-subscription?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -699,7 +700,7 @@ public function all(array $params = [], array $headers = []): ListSubscriptionRe public function create(array $params, array $headers = []): CreateSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#move_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/move-a-subscription?lang=php-v4 * @param array{ * to_customer_id?: string, * copy_payment_source?: bool, @@ -716,7 +717,7 @@ public function create(array $params, array $headers = []): CreateSubscriptionRe public function move(string $id, array $params, array $headers = []): MoveSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_subscriptions_for_a_customer + * * @param array{ * limit?: int, * offset?: string, @@ -734,7 +735,7 @@ public function move(string $id, array $params, array $headers = []): MoveSubscr public function subscriptionsForCustomer(string $id, array $params = [], array $headers = []): SubscriptionsForCustomerSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_subscription_for_customer + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-customer?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -835,7 +836,7 @@ public function subscriptionsForCustomer(string $id, array $params = [], array $ public function createForCustomer(string $id, array $params, array $headers = []): CreateForCustomerSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-items?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -952,7 +953,7 @@ public function createForCustomer(string $id, array $params, array $headers = [] public function importForItems(string $id, array $params, array $headers = []): ImportForItemsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_advance_invoice + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-advance-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -966,7 +967,7 @@ public function importForItems(string $id, array $params, array $headers = []): public function retrieveAdvanceInvoiceSchedule(string $id, array $headers = []): RetrieveAdvanceInvoiceScheduleSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_cancellation + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-cancellation?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -987,7 +988,7 @@ public function retrieveAdvanceInvoiceSchedule(string $id, array $headers = []): public function removeScheduledCancellation(string $id, array $params = [], array $headers = []): RemoveScheduledCancellationSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_with_scheduled_changes + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-with-scheduled-changes?lang=php-v4 * * @param string $id * @param array $headers @@ -1001,7 +1002,7 @@ public function removeScheduledCancellation(string $id, array $params = [], arra public function retrieveWithScheduledChanges(string $id, array $headers = []): RetrieveWithScheduledChangesSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#reactivate_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/reactivate-a-subscription?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -1042,7 +1043,7 @@ public function retrieveWithScheduledChanges(string $id, array $headers = []): R public function reactivate(string $id, array $params = [], array $headers = []): ReactivateSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#charge_future_renewals + * @see https://apidocs.chargebee.com/docs/api/subscriptions/charge-future-renewals?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -1070,7 +1071,7 @@ public function reactivate(string $id, array $params = [], array $headers = []): public function chargeFutureRenewals(string $id, array $params = [], array $headers = []): ChargeFutureRenewalsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#add_charge_at_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/add-charge-at-term-end?lang=php-v4 * @param array{ * amount?: int, * description?: string, @@ -1093,7 +1094,7 @@ public function chargeFutureRenewals(string $id, array $params = [], array $head public function addChargeAtTermEnd(string $id, array $params, array $headers = []): AddChargeAtTermEndSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_changes + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-changes?lang=php-v4 * * @param string $id * @param array $headers @@ -1107,7 +1108,7 @@ public function addChargeAtTermEnd(string $id, array $params, array $headers = [ public function removeScheduledChanges(string $id, array $headers = []): RemoveScheduledChangesSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#change_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/change-term-end?lang=php-v4 * @param array{ * term_ends_at?: int, * prorate?: bool, @@ -1125,7 +1126,7 @@ public function removeScheduledChanges(string $id, array $headers = []): RemoveS public function changeTermEnd(string $id, array $params, array $headers = []): ChangeTermEndSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#delete_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/delete-a-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -1139,7 +1140,7 @@ public function changeTermEnd(string $id, array $params, array $headers = []): C public function delete(string $id, array $headers = []): DeleteSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1262,7 +1263,7 @@ public function delete(string $id, array $headers = []): DeleteSubscriptionRespo public function createWithItems(string $id, array $params, array $headers = []): CreateWithItemsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-unbilled-charges?lang=php-v4 * @param array{ * unbilled_charges?: array $headers @@ -1326,7 +1327,7 @@ public function importUnbilledCharges(string $id, array $params, array $headers public function removeScheduledResumption(string $id, array $headers = []): RemoveScheduledResumptionSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-a-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -1340,7 +1341,7 @@ public function removeScheduledResumption(string $id, array $headers = []): Remo public function retrieve(string $id, array $headers = []): RetrieveSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#update_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/update-a-subscription?lang=php-v4 * @param array{ * card?: array{ * gateway?: string, @@ -1504,7 +1505,7 @@ public function retrieve(string $id, array $headers = []): RetrieveSubscriptionR public function update(string $id, array $params = [], array $headers = []): UpdateSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_contract_term + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-contract-term?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -1534,7 +1535,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd public function importContractTerm(string $id, array $params = [], array $headers = []): ImportContractTermSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#override_billing_profile + * @see https://apidocs.chargebee.com/docs/api/subscriptions/override-billing-profile?lang=php-v4 * @param array{ * payment_source_id?: string, * auto_collection?: string, @@ -1551,7 +1552,7 @@ public function importContractTerm(string $id, array $params = [], array $header public function overrideBillingProfile(string $id, array $params = [], array $headers = []): OverrideBillingProfileSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_pause + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-pause?lang=php-v4 * * @param string $id * @param array $headers @@ -1565,7 +1566,7 @@ public function overrideBillingProfile(string $id, array $params = [], array $he public function removeScheduledPause(string $id, array $headers = []): RemoveScheduledPauseSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#edit_advance_invoice_schedule + * @see https://apidocs.chargebee.com/docs/api/subscriptions/edit-advance-invoice-schedule?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -1593,7 +1594,7 @@ public function removeScheduledPause(string $id, array $headers = []): RemoveSch public function editAdvanceInvoiceSchedule(string $id, array $params = [], array $headers = []): EditAdvanceInvoiceScheduleSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_discounts_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-discounts-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -1610,7 +1611,7 @@ public function editAdvanceInvoiceSchedule(string $id, array $params = [], array public function listDiscounts(string $id, array $params = [], array $headers = []): ListDiscountsSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_contract_terms_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-contract-terms-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -1631,7 +1632,7 @@ public function listDiscounts(string $id, array $params = [], array $headers = [ public function contractTermsForSubscription(string $id, array $params = [], array $headers = []): ContractTermsForSubscriptionSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#pause_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/pause-a-subscription?lang=php-v4 * @param array{ * pause_option?: string, * pause_date?: int, @@ -1652,7 +1653,7 @@ public function contractTermsForSubscription(string $id, array $params = [], arr public function pause(string $id, array $params = [], array $headers = []): PauseSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_subscription_for_customer + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-customer?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -1752,7 +1753,7 @@ public function pause(string $id, array $params = [], array $headers = []): Paus public function importForCustomer(string $id, array $params, array $headers = []): ImportForCustomerSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-a-subscription?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -1916,7 +1917,7 @@ public function importForCustomer(string $id, array $params, array $headers = [] public function importSubscription(array $params, array $headers = []): ImportSubscriptionSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#cancel_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/cancel-a-subscription?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -1947,7 +1948,7 @@ public function importSubscription(array $params, array $headers = []): ImportSu public function cancel(string $id, array $params = [], array $headers = []): CancelSubscriptionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#charge_addon_at_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/charge-addon-at-term-end?lang=php-v4 * @param array{ * addon_id?: string, * addon_quantity?: int, diff --git a/src/Actions/Contracts/SubscriptionEntitlementActionsInterface.php b/src/Actions/Contracts/SubscriptionEntitlementActionsInterface.php index b65ac783..c270ded3 100644 --- a/src/Actions/Contracts/SubscriptionEntitlementActionsInterface.php +++ b/src/Actions/Contracts/SubscriptionEntitlementActionsInterface.php @@ -13,7 +13,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/subscription_entitlements?lang=php#enable_or_disable_subscription_entitlements + * @see https://apidocs.chargebee.com/docs/api/subscription_entitlements/enable-or-disable-subscription-entitlements?lang=php-v4 * @param array{ * subscription_entitlements?: array $headers @@ -28,7 +28,7 @@ public function retrieve(string $id, array $headers = []): RetrieveTimeMachineResponse; /** - * @see https://apidocs.chargebee.com/docs/api/time_machines?lang=php#travel_forward + * @see https://apidocs.chargebee.com/docs/api/time_machines/travel-forward?lang=php-v4 * @param array{ * destination_time?: int, * } $params Description of the parameters @@ -44,7 +44,7 @@ public function retrieve(string $id, array $headers = []): RetrieveTimeMachineRe public function travelForward(string $id, array $params = [], array $headers = []): TravelForwardTimeMachineResponse; /** - * @see https://apidocs.chargebee.com/docs/api/time_machines?lang=php#start_afresh + * @see https://apidocs.chargebee.com/docs/api/time_machines/start-afresh?lang=php-v4 * @param array{ * genesis_time?: int, * } $params Description of the parameters diff --git a/src/Actions/Contracts/TransactionActionsInterface.php b/src/Actions/Contracts/TransactionActionsInterface.php index 8455b7ff..3ecb4c0d 100644 --- a/src/Actions/Contracts/TransactionActionsInterface.php +++ b/src/Actions/Contracts/TransactionActionsInterface.php @@ -23,7 +23,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions + * @see https://apidocs.chargebee.com/docs/api/transactions/list-transactions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -148,7 +148,7 @@ public function all(array $params = [], array $headers = []): ListTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#reconcile_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/reconcile-transaction?lang=php-v4 * @param array{ * id_at_gateway?: string, * customer_id?: string, @@ -166,7 +166,7 @@ public function all(array $params = [], array $headers = []): ListTransactionRes public function reconcile(string $id, array $params = [], array $headers = []): ReconcileTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#retrieve_a_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/retrieve-a-transaction?lang=php-v4 * * @param string $id * @param array $headers @@ -180,7 +180,7 @@ public function reconcile(string $id, array $params = [], array $headers = []): public function retrieve(string $id, array $headers = []): RetrieveTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#refund_a_payment + * @see https://apidocs.chargebee.com/docs/api/transactions/refund-a-payment?lang=php-v4 * @param array{ * amount?: int, * comment?: string, @@ -197,7 +197,7 @@ public function retrieve(string $id, array $headers = []): RetrieveTransactionRe public function refund(string $id, array $params = [], array $headers = []): RefundTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions_for_a_customer + * * @param array{ * limit?: int, * offset?: string, @@ -215,7 +215,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref public function transactionsForCustomer(string $id, array $params = [], array $headers = []): TransactionsForCustomerTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#record_an_offline_refund + * @see https://apidocs.chargebee.com/docs/api/transactions/record-an-offline-refund?lang=php-v4 * @param array{ * amount?: int, * payment_method?: string, @@ -236,7 +236,7 @@ public function transactionsForCustomer(string $id, array $params = [], array $h public function recordRefund(string $id, array $params, array $headers = []): RecordRefundTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions_for_a_subscription + * * @param array{ * limit?: int, * offset?: string, @@ -254,7 +254,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re public function transactionsForSubscription(string $id, array $params = [], array $headers = []): TransactionsForSubscriptionTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#void_an_authorization_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/void-an-authorization-transaction?lang=php-v4 * * @param string $id * @param array $headers @@ -268,7 +268,7 @@ public function transactionsForSubscription(string $id, array $params = [], arra public function voidTransaction(string $id, array $headers = []): VoidTransactionTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#sync_transaction_status + * @see https://apidocs.chargebee.com/docs/api/transactions/sync-transaction-status?lang=php-v4 * * @param string $id * @param array $headers @@ -282,7 +282,7 @@ public function voidTransaction(string $id, array $headers = []): VoidTransactio public function syncTransaction(string $id, array $headers = []): SyncTransactionTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#create_an_authorization_payment + * @see https://apidocs.chargebee.com/docs/api/transactions/create-an-authorization-payment?lang=php-v4 * @param array{ * customer_id?: string, * payment_source_id?: string, @@ -301,7 +301,7 @@ public function syncTransaction(string $id, array $headers = []): SyncTransactio public function createAuthorization(array $params, array $headers = []): CreateAuthorizationTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_payments_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/transactions/list-payments-for-an-invoice?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -318,7 +318,7 @@ public function createAuthorization(array $params, array $headers = []): CreateA public function paymentsForInvoice(string $id, array $params = [], array $headers = []): PaymentsForInvoiceTransactionResponse; /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#delete_an_offline_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/delete-an-offline-transaction?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters diff --git a/src/Actions/Contracts/UnbilledChargeActionsInterface.php b/src/Actions/Contracts/UnbilledChargeActionsInterface.php index b4978973..60f1cc17 100644 --- a/src/Actions/Contracts/UnbilledChargeActionsInterface.php +++ b/src/Actions/Contracts/UnbilledChargeActionsInterface.php @@ -17,7 +17,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#delete_an_unbilled_charge + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/delete-an-unbilled-charge?lang=php-v4 * * @param string $id * @param array $headers @@ -31,7 +31,7 @@ public function delete(string $id, array $headers = []): DeleteUnbilledChargeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_an_estimate_for_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-an-estimate-for-unbilled-charges?lang=php-v4 * @param array{ * subscription_id?: string, * customer_id?: string, @@ -48,7 +48,7 @@ public function delete(string $id, array $headers = []): DeleteUnbilledChargeRes public function invoiceNowEstimate(array $params = [], array $headers = []): InvoiceNowEstimateUnbilledChargeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_an_invoice_for_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-an-invoice-for-unbilled-charges?lang=php-v4 * @param array{ * subscription_id?: string, * customer_id?: string, @@ -65,7 +65,7 @@ public function invoiceNowEstimate(array $params = [], array $headers = []): Inv public function invoiceUnbilledCharges(array $params = [], array $headers = []): InvoiceUnbilledChargesUnbilledChargeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#list_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/list-unbilled-charges?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -100,7 +100,7 @@ public function invoiceUnbilledCharges(array $params = [], array $headers = []): public function all(array $params = [], array $headers = []): ListUnbilledChargeResponse; /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_unbilled_charges_for_item_subscription + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-unbilled-charges-for-item-subscription?lang=php-v4 * @param array{ * item_prices?: array $headers @@ -27,7 +27,7 @@ public function processingStatus(string $id, array $headers = []): ProcessingStatusUsageFileResponse; /** - * @see https://apidocs.chargebee.com/docs/api/usage_files?lang=php#get_usages_file_upload_url + * @see https://apidocs.chargebee.com/docs/api/usage_files/get-usages-file-upload-url?lang=php-v4 * @param array{ * file_name?: string, * mime_type?: string, diff --git a/src/Actions/Contracts/VirtualBankAccountActionsInterface.php b/src/Actions/Contracts/VirtualBankAccountActionsInterface.php index 0700710a..8dbf112e 100644 --- a/src/Actions/Contracts/VirtualBankAccountActionsInterface.php +++ b/src/Actions/Contracts/VirtualBankAccountActionsInterface.php @@ -18,7 +18,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#local_delete_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/local-delete-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -32,7 +32,7 @@ public function deleteLocal(string $id, array $headers = []): DeleteLocalVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#delete_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/delete-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -46,7 +46,7 @@ public function deleteLocal(string $id, array $headers = []): DeleteLocalVirtual public function delete(string $id, array $headers = []): DeleteVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#list_virtual_bank_accounts + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/list-virtual-bank-accounts?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -82,7 +82,7 @@ public function delete(string $id, array $headers = []): DeleteVirtualBankAccoun public function all(array $params = [], array $headers = []): ListVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#create_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account?lang=php-v4 * @param array{ * customer_id?: string, * email?: string, @@ -100,7 +100,7 @@ public function all(array $params = [], array $headers = []): ListVirtualBankAcc public function create(array $params, array $headers = []): CreateVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#charge_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/charge-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -114,7 +114,7 @@ public function create(array $params, array $headers = []): CreateVirtualBankAcc public function syncFund(string $id, array $headers = []): SyncFundVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#retrieve_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/retrieve-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -128,7 +128,7 @@ public function syncFund(string $id, array $headers = []): SyncFundVirtualBankAc public function retrieve(string $id, array $headers = []): RetrieveVirtualBankAccountResponse; /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#create_a_virtual_bank_account_using_permanent_token + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token?lang=php-v4 * @param array{ * customer_id?: string, * reference_id?: string, diff --git a/src/Actions/Contracts/WebhookEndpointActionsInterface.php b/src/Actions/Contracts/WebhookEndpointActionsInterface.php index d5d613b0..8e5bea7a 100644 --- a/src/Actions/Contracts/WebhookEndpointActionsInterface.php +++ b/src/Actions/Contracts/WebhookEndpointActionsInterface.php @@ -16,7 +16,7 @@ { /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#delete_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/delete-a-webhook-endpoint?lang=php-v4 * * @param string $id * @param array $headers @@ -30,7 +30,7 @@ public function delete(string $id, array $headers = []): DeleteWebhookEndpointResponse; /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#retrieve_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/retrieve-a-webhook-endpoint?lang=php-v4 * * @param string $id * @param array $headers @@ -44,7 +44,7 @@ public function delete(string $id, array $headers = []): DeleteWebhookEndpointRe public function retrieve(string $id, array $headers = []): RetrieveWebhookEndpointResponse; /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#update_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/update-a-webhook-endpoint?lang=php-v4 * @param array{ * name?: string, * api_version?: string, @@ -68,7 +68,7 @@ public function retrieve(string $id, array $headers = []): RetrieveWebhookEndpoi public function update(string $id, array $params = [], array $headers = []): UpdateWebhookEndpointResponse; /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#list_webhook_endpoints + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/list-webhook-endpoints?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -85,7 +85,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd public function all(array $params = [], array $headers = []): ListWebhookEndpointResponse; /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#create_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/create-a-webhook-endpoint?lang=php-v4 * @param array{ * name?: string, * api_version?: string, diff --git a/src/Actions/CouponActions.php b/src/Actions/CouponActions.php index 1fbad7ca..bcfab703 100644 --- a/src/Actions/CouponActions.php +++ b/src/Actions/CouponActions.php @@ -33,7 +33,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#list_coupons + * @see https://apidocs.chargebee.com/docs/api/coupons/list-coupons?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -132,7 +132,7 @@ public function all(array $params = [], array $headers = []): ListCouponResponse } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#create_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/create-a-coupon?lang=php-v4 * @param array{ * id?: string, * name?: string, @@ -189,7 +189,7 @@ public function create(array $params, array $headers = []): CreateCouponResponse } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#update_a_coupon_for_items + * @see https://apidocs.chargebee.com/docs/api/coupons/update-a-coupon-for-items?lang=php-v4 * @param array{ * item_constraints?: array $headers @@ -292,7 +292,7 @@ public function unarchive(string $id, array $headers = []): UnarchiveCouponRespo } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#delete_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/delete-a-coupon?lang=php-v4 * * @param string $id * @param array $headers @@ -323,7 +323,7 @@ public function delete(string $id, array $headers = []): DeleteCouponResponse } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#copy_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/copy-a-coupon?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -360,7 +360,7 @@ public function copy(array $params, array $headers = []): CopyCouponResponse } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#retrieve_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/retrieve-a-coupon?lang=php-v4 * * @param string $id * @param array $headers @@ -390,7 +390,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCouponRespons } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#update_a_coupon + * @see https://apidocs.chargebee.com/docs/api/coupons/update-a-coupon?lang=php-v4 * @param array{ * name?: string, * invoice_name?: string, @@ -445,7 +445,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/coupons?lang=php#create_a_coupon_for_items + * @see https://apidocs.chargebee.com/docs/api/coupons/create-a-coupon-for-items?lang=php-v4 * @param array{ * item_constraints?: array $headers @@ -154,7 +154,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCouponCodeRes } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_codes?lang=php#archive_a_coupon_code + * @see https://apidocs.chargebee.com/docs/api/coupon_codes/archive-a-coupon-code?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/CouponSetActions.php b/src/Actions/CouponSetActions.php index 65b476ed..e4a993d3 100644 --- a/src/Actions/CouponSetActions.php +++ b/src/Actions/CouponSetActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#list_coupon_sets + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/list-coupon-sets?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -113,7 +113,7 @@ public function all(array $params = [], array $headers = []): ListCouponSetRespo } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#create_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/create-a-coupon-set?lang=php-v4 * @param array{ * coupon_id?: string, * name?: string, @@ -151,7 +151,7 @@ public function create(array $params, array $headers = []): CreateCouponSetRespo } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#update_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/update-a-coupon-set?lang=php-v4 * @param array{ * name?: string, * meta_data?: mixed, @@ -187,7 +187,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#retrieve_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/retrieve-a-coupon-set?lang=php-v4 * * @param string $id * @param array $headers @@ -217,7 +217,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCouponSetResp } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#add_coupon_codes_to_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/add-coupon-codes-to-coupon-set?lang=php-v4 * @param array{ * code?: array, * } $params Description of the parameters @@ -251,7 +251,7 @@ public function addCouponCodes(string $id, array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#delete_unused_coupon_codes + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/delete-unused-coupon-codes?lang=php-v4 * * @param string $id * @param array $headers @@ -282,7 +282,7 @@ public function deleteUnusedCouponCodes(string $id, array $headers = []): Delete } /** - * @see https://apidocs.chargebee.com/docs/api/coupon_sets?lang=php#delete_a_coupon_set + * @see https://apidocs.chargebee.com/docs/api/coupon_sets/delete-a-coupon-set?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/CreditNoteActions.php b/src/Actions/CreditNoteActions.php index 86c58b1d..803debae 100644 --- a/src/Actions/CreditNoteActions.php +++ b/src/Actions/CreditNoteActions.php @@ -38,7 +38,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#record_refund_for_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/record-refund-for-a-credit-note?lang=php-v4 * @param array{ * transaction?: array{ * id?: string, @@ -81,7 +81,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#import_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note?lang=php-v4 * @param array{ * line_items?: array $headers @@ -343,7 +343,7 @@ public function sendEinvoice(string $id, array $headers = []): SendEinvoiceCredi } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#void_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/void-a-credit-note?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -377,7 +377,7 @@ public function voidCreditNote(string $id, array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#refund_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/refund-a-credit-note?lang=php-v4 * @param array{ * refund_amount?: int, * customer_notes?: string, @@ -413,7 +413,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#list_credit_notes + * @see https://apidocs.chargebee.com/docs/api/credit_notes/list-credit-notes?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -581,7 +581,7 @@ public function all(array $params = [], array $headers = []): ListCreditNoteResp } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#create_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/create-credit-note?lang=php-v4 * @param array{ * line_items?: array $headers @@ -667,7 +667,7 @@ public function downloadEinvoice(string $id, array $headers = []): DownloadEinvo } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#resend_failed_einvoice_in_credit_notes + * @see https://apidocs.chargebee.com/docs/api/credit_notes/resend-failed-einvoice-in-credit-notes?lang=php-v4 * * @param string $id * @param array $headers @@ -698,7 +698,7 @@ public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceC } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#remove_tax_withheld_refunds_from_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/remove-tax-withheld-refunds-from-a-credit-note?lang=php-v4 * @param array{ * tax_withheld?: array{ * id?: string, @@ -734,7 +734,7 @@ public function removeTaxWithheldRefund(string $id, array $params, array $header } /** - * @see https://apidocs.chargebee.com/docs/api/credit_notes?lang=php#retrieve_a_credit_note + * @see https://apidocs.chargebee.com/docs/api/credit_notes/retrieve-a-credit-note?lang=php-v4 * @param array{ * line_item?: array{ * subscription_id?: array{ diff --git a/src/Actions/CurrencyActions.php b/src/Actions/CurrencyActions.php index 14b15304..9bf2cc19 100644 --- a/src/Actions/CurrencyActions.php +++ b/src/Actions/CurrencyActions.php @@ -30,7 +30,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#add_schedule + * @see https://apidocs.chargebee.com/docs/api/currencies/add-schedule?lang=php-v4 * @param array{ * manual_exchange_rate?: string, * schedule_at?: int, @@ -65,7 +65,7 @@ public function addSchedule(string $id, array $params, array $headers = []): Add } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#add_a_new_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/add-a-new-currency?lang=php-v4 * @param array{ * currency_code?: string, * forex_type?: string, @@ -101,7 +101,7 @@ public function create(array $params, array $headers = []): CreateCurrencyRespon } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#retrieve_a_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/retrieve-a-currency?lang=php-v4 * * @param string $id * @param array $headers @@ -131,7 +131,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCurrencyRespo } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#update_a_currency + * @see https://apidocs.chargebee.com/docs/api/currencies/update-a-currency?lang=php-v4 * @param array{ * forex_type?: string, * manual_exchange_rate?: string, @@ -166,7 +166,7 @@ public function update(string $id, array $params, array $headers = []): UpdateCu } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#remove_schedule + * @see https://apidocs.chargebee.com/docs/api/currencies/remove-schedule?lang=php-v4 * * @param string $id * @param array $headers @@ -197,7 +197,7 @@ public function removeSchedule(string $id, array $headers = []): RemoveScheduleC } /** - * @see https://apidocs.chargebee.com/docs/api/currencies?lang=php#list_currencies + * @see https://apidocs.chargebee.com/docs/api/currencies/list-currencies?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/CustomerActions.php b/src/Actions/CustomerActions.php index ef3f5bef..6610821e 100644 --- a/src/Actions/CustomerActions.php +++ b/src/Actions/CustomerActions.php @@ -50,7 +50,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delete_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delete-a-customer?lang=php-v4 * @param array{ * delete_payment_method?: bool, * } $params Description of the parameters @@ -84,7 +84,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#add_promotional_credits_to_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/add-promotional-credits-to-a-customer?lang=php-v4 * @param array{ * amount?: int, * currency_code?: string, @@ -123,7 +123,7 @@ public function addPromotionalCredits(string $id, array $params, array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#link_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/link-a-customer?lang=php-v4 * @param array{ * parent_account_access?: array{ * portal_edit_child_subscriptions?: string, @@ -174,7 +174,7 @@ public function relationships(string $id, array $params = [], array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delink_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delink-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -205,7 +205,7 @@ public function deleteRelationship(string $id, array $headers = []): DeleteRelat } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#delete_contacts_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/delete-contacts-for-a-customer?lang=php-v4 * @param array{ * contact?: array{ * id?: string, @@ -241,7 +241,7 @@ public function deleteContact(string $id, array $params, array $headers = []): D } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#assign_payment_role + * @see https://apidocs.chargebee.com/docs/api/customers/assign-payment-role?lang=php-v4 * @param array{ * payment_source_id?: string, * role?: string, @@ -276,7 +276,7 @@ public function assignPaymentRole(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#move_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/move-a-customer?lang=php-v4 * @param array{ * id_at_from_site?: string, * from_site?: string, @@ -311,7 +311,7 @@ public function move(array $params, array $headers = []): MoveCustomerResponse } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#get_hierarchy + * @see https://apidocs.chargebee.com/docs/api/customers/get-hierarchy?lang=php-v4 * @param array{ * hierarchy_operation_type?: string, * } $params Description of the parameters @@ -344,7 +344,7 @@ public function hierarchy(string $id, array $params, array $headers = []): Hiera } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_payment_method_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-payment-method-for-a-customer?lang=php-v4 * @param array{ * payment_method?: array{ * type?: string, @@ -387,7 +387,7 @@ public function updatePaymentMethod(string $id, array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#retrieve_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/retrieve-a-customer?lang=php-v4 * * @param string $id * @param array $headers @@ -417,7 +417,7 @@ public function retrieve(string $id, array $headers = []): RetrieveCustomerRespo } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-a-customer?lang=php-v4 * @param array{ * tax_providers_fields?: array $headers @@ -992,7 +992,7 @@ public function clearPersonalData(string $id, array $headers = []): ClearPersona } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#merge_customers + * @see https://apidocs.chargebee.com/docs/api/customers/merge-customers?lang=php-v4 * @param array{ * from_customer_id?: string, * to_customer_id?: string, @@ -1027,7 +1027,7 @@ public function merge(array $params, array $headers = []): MergeCustomerResponse } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#collect_payment_for_customer + * @see https://apidocs.chargebee.com/docs/api/customers/collect-payment-for-customer?lang=php-v4 * @param array{ * payment_method?: array{ * type?: string, @@ -1105,7 +1105,7 @@ public function collectPayment(string $id, array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#record_an_excess_payment_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/record-an-excess-payment-for-a-customer?lang=php-v4 * @param array{ * transaction?: array{ * id?: string, @@ -1148,7 +1148,7 @@ public function recordExcessPayment(string $id, array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#set_promotional_credits_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/set-promotional-credits-for-a-customer?lang=php-v4 * @param array{ * amount?: int, * currency_code?: string, @@ -1187,7 +1187,7 @@ public function setPromotionalCredits(string $id, array $params, array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_contacts_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-contacts-for-a-customer?lang=php-v4 * @param array{ * contact?: array{ * id?: string, @@ -1231,7 +1231,7 @@ public function updateContact(string $id, array $params, array $headers = []): U } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_hierarchy_access_settings_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-hierarchy-access-settings-for-a-customer?lang=php-v4 * @param array{ * parent_account_access?: array{ * portal_edit_child_subscriptions?: string, @@ -1279,7 +1279,7 @@ public function updateHierarchySettings(string $id, array $params = [], array $h } /** - * @see https://apidocs.chargebee.com/docs/api/customers?lang=php#update_billing_info_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/customers/update-billing-info-for-a-customer?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, diff --git a/src/Actions/CustomerEntitlementActions.php b/src/Actions/CustomerEntitlementActions.php index f1f0f375..5b66dc08 100644 --- a/src/Actions/CustomerEntitlementActions.php +++ b/src/Actions/CustomerEntitlementActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/customer_entitlements?lang=php#list_customer_entitlements + * @see https://apidocs.chargebee.com/docs/api/customer_entitlements/list-customer-entitlements?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/DifferentialPriceActions.php b/src/Actions/DifferentialPriceActions.php index 20af5361..78c8c6d7 100644 --- a/src/Actions/DifferentialPriceActions.php +++ b/src/Actions/DifferentialPriceActions.php @@ -29,7 +29,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/differential_prices?lang=php#delete_a_differential_price + * @see https://apidocs.chargebee.com/docs/api/differential_prices/delete-a-differential-price?lang=php-v4 * @param array{ * item_price_id?: string, * } $params Description of the parameters @@ -63,7 +63,7 @@ public function delete(string $id, array $params, array $headers = []): DeleteDi } /** - * @see https://apidocs.chargebee.com/docs/api/differential_prices?lang=php#create_a_differential_price + * @see https://apidocs.chargebee.com/docs/api/differential_prices/create-a-differential-price?lang=php-v4 * @param array{ * parent_periods?: array, * action?: string, * } $params Description of the parameters diff --git a/src/Actions/EstimateActions.php b/src/Actions/EstimateActions.php index 85d31e5c..4e5d1a3e 100644 --- a/src/Actions/EstimateActions.php +++ b/src/Actions/EstimateActions.php @@ -43,7 +43,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#subscription_renewal_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/subscription-renewal-estimate?lang=php-v4 * @param array{ * include_delayed_charges?: bool, * use_existing_balances?: bool, @@ -80,7 +80,7 @@ public function renewalEstimate(string $id, array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_creating_a_customer_and_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-customer-and-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -210,7 +210,7 @@ public function createSubItemEstimate(array $params, array $headers = []): Creat } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimates_for_payment_schedules + * @see https://apidocs.chargebee.com/docs/api/estimates/estimates-for-payment-schedules?lang=php-v4 * @param array{ * scheme_id?: string, * amount?: int, @@ -247,7 +247,7 @@ public function paymentSchedules(array $params, array $headers = []): PaymentSch } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#cancel_subscription_for_items_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-for-items-estimate?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -298,7 +298,7 @@ public function cancelSubscriptionForItems(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#resume_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/resume-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * resume_date?: int, @@ -336,7 +336,7 @@ public function resumeSubscription(string $id, array $params = [], array $header } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_invoice_for_items_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate?lang=php-v4 * @param array{ * invoice?: array{ * customer_id?: string, @@ -460,7 +460,7 @@ public function createInvoiceForItems(array $params, array $headers = []): Creat } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#gift_subscription_estimate_for_items + * @see https://apidocs.chargebee.com/docs/api/estimates/gift-subscription-estimate-for-items?lang=php-v4 * @param array{ * gift?: array{ * scheduled_at?: int, @@ -554,7 +554,7 @@ public function giftSubscriptionForItems(array $params, array $headers = []): Gi } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -687,7 +687,7 @@ public function updateSubscriptionForItems(array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#upcoming_invoices_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate?lang=php-v4 * * @param string $id * @param array $headers @@ -717,7 +717,7 @@ public function upcomingInvoicesEstimate(string $id, array $headers = []): Upcom } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#regenerate_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/regenerate-invoice-estimate?lang=php-v4 * @param array{ * date_from?: int, * date_to?: int, @@ -754,7 +754,7 @@ public function regenerateInvoiceEstimate(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#estimate_for_creating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -871,7 +871,7 @@ public function createSubItemForCustomerEstimate(string $id, array $params, arra } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#subscription_change_term_end_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/subscription-change-term-end-estimate?lang=php-v4 * @param array{ * term_ends_at?: int, * prorate?: bool, @@ -907,7 +907,7 @@ public function changeTermEnd(string $id, array $params, array $headers = []): C } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#pause_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/pause-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * pause_date?: int, @@ -947,7 +947,7 @@ public function pauseSubscription(string $id, array $params = [], array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#advance_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/advance-invoice-estimate?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -993,7 +993,7 @@ public function advanceInvoiceEstimate(string $id, array $params = [], array $he } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#update_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/update-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1108,7 +1108,7 @@ public function updateSubscription(array $params, array $headers = []): UpdateSu } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#gift_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/gift-subscription-estimate?lang=php-v4 * @param array{ * gift?: array{ * scheduled_at?: int, @@ -1196,7 +1196,7 @@ public function giftSubscription(array $params, array $headers = []): GiftSubscr } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_subscription_for_a_customer_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-subscription-for-a-customer-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1286,7 +1286,7 @@ public function createSubForCustomerEstimate(string $id, array $params, array $h } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-subscription-estimate?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1404,7 +1404,7 @@ public function createSubscription(array $params, array $headers = []): CreateSu } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#create_invoice_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/create-invoice-estimate?lang=php-v4 * @param array{ * invoice?: array{ * customer_id?: string, @@ -1500,7 +1500,7 @@ public function createInvoice(array $params = [], array $headers = []): CreateIn } /** - * @see https://apidocs.chargebee.com/docs/api/estimates?lang=php#cancel_subscription_estimate + * @see https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-estimate?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, diff --git a/src/Actions/EventActions.php b/src/Actions/EventActions.php index c0a0af3d..d5024ef5 100644 --- a/src/Actions/EventActions.php +++ b/src/Actions/EventActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/events?lang=php#list_events + * @see https://apidocs.chargebee.com/docs/api/events/list-events?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -97,7 +97,7 @@ public function all(array $params = [], array $headers = []): ListEventResponse } /** - * @see https://apidocs.chargebee.com/docs/api/events?lang=php#retrieve_an_event + * @see https://apidocs.chargebee.com/docs/api/events/retrieve-an-event?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/ExportActions.php b/src/Actions/ExportActions.php index 87b945d3..b9035866 100644 --- a/src/Actions/ExportActions.php +++ b/src/Actions/ExportActions.php @@ -41,7 +41,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_customers + * @see https://apidocs.chargebee.com/docs/api/exports/export-customers?lang=php-v4 * @param array{ * customer?: array{ * id?: array{ @@ -175,7 +175,7 @@ public function customers(array $params = [], array $headers = []): CustomersExp } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_attached_items + * @see https://apidocs.chargebee.com/docs/api/exports/export-attached-items?lang=php-v4 * @param array{ * attached_item?: array{ * id?: array{ @@ -255,7 +255,7 @@ public function attachedItems(array $params = [], array $headers = []): Attached } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_transactions + * @see https://apidocs.chargebee.com/docs/api/exports/export-transactions?lang=php-v4 * @param array{ * transaction?: array{ * id?: array{ @@ -393,7 +393,7 @@ public function transactions(array $params = [], array $headers = []): Transacti } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_differential_price + * @see https://apidocs.chargebee.com/docs/api/exports/export-differential-price?lang=php-v4 * @param array{ * differential_price?: array{ * item_price_id?: array{ @@ -456,7 +456,7 @@ public function differentialPrices(array $params = [], array $headers = []): Dif } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_item_families + * @see https://apidocs.chargebee.com/docs/api/exports/export-item-families?lang=php-v4 * @param array{ * item_family?: array{ * id?: array{ @@ -516,7 +516,7 @@ public function itemFamilies(array $params = [], array $headers = []): ItemFamil } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_invoices + * @see https://apidocs.chargebee.com/docs/api/exports/export-invoices?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -671,7 +671,7 @@ public function invoices(array $params = [], array $headers = []): InvoicesExpor } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#retrieve_an_export + * @see https://apidocs.chargebee.com/docs/api/exports/retrieve-an-export?lang=php-v4 * * @param string $id * @param array $headers @@ -701,7 +701,7 @@ public function retrieve(string $id, array $headers = []): RetrieveExportRespons } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_price_variants + * @see https://apidocs.chargebee.com/docs/api/exports/export-price-variants?lang=php-v4 * @param array{ * price_variant?: array{ * id?: array{ @@ -775,7 +775,7 @@ public function priceVariants(array $params = [], array $headers = []): PriceVar } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_items + * @see https://apidocs.chargebee.com/docs/api/exports/export-items?lang=php-v4 * @param array{ * item?: array{ * id?: array{ @@ -884,7 +884,7 @@ public function items(array $params = [], array $headers = []): ItemsExportRespo } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_deferred_revenue_reports + * @see https://apidocs.chargebee.com/docs/api/exports/export-deferred-revenue-reports?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -1247,7 +1247,7 @@ public function deferredRevenue(array $params, array $headers = []): DeferredRev } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_revenue_recognition_reports + * @see https://apidocs.chargebee.com/docs/api/exports/export-revenue-recognition-reports?lang=php-v4 * @param array{ * invoice?: array{ * id?: array{ @@ -1610,7 +1610,7 @@ public function revenueRecognition(array $params, array $headers = []): RevenueR } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_credit_notes + * @see https://apidocs.chargebee.com/docs/api/exports/export-credit-notes?lang=php-v4 * @param array{ * credit_note?: array{ * id?: array{ @@ -1766,7 +1766,7 @@ public function creditNotes(array $params = [], array $headers = []): CreditNote } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_coupons + * @see https://apidocs.chargebee.com/docs/api/exports/export-coupons?lang=php-v4 * @param array{ * coupon?: array{ * id?: array{ @@ -1862,7 +1862,7 @@ public function coupons(array $params = [], array $headers = []): CouponsExportR } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_orders + * @see https://apidocs.chargebee.com/docs/api/exports/export-orders?lang=php-v4 * @param array{ * order?: array{ * id?: array{ @@ -2017,7 +2017,7 @@ public function orders(array $params = [], array $headers = []): OrdersExportRes } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_item_prices + * @see https://apidocs.chargebee.com/docs/api/exports/export-item-prices?lang=php-v4 * @param array{ * item_price?: array{ * id?: array{ @@ -2161,7 +2161,7 @@ public function itemPrices(array $params = [], array $headers = []): ItemPricesE } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_subscriptions + * @see https://apidocs.chargebee.com/docs/api/exports/export-subscriptions?lang=php-v4 * @param array{ * subscription?: array{ * id?: array{ @@ -2311,7 +2311,7 @@ public function subscriptions(array $params = [], array $headers = []): Subscrip } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_addons + * @see https://apidocs.chargebee.com/docs/api/exports/export-addons?lang=php-v4 * @param array{ * addon?: array{ * id?: array{ @@ -2415,7 +2415,7 @@ public function addons(array $params = [], array $headers = []): AddonsExportRes } /** - * @see https://apidocs.chargebee.com/docs/api/exports?lang=php#export_plans + * @see https://apidocs.chargebee.com/docs/api/exports/export-plans?lang=php-v4 * @param array{ * plan?: array{ * id?: array{ diff --git a/src/Actions/FeatureActions.php b/src/Actions/FeatureActions.php index dd2308ec..7faaca09 100644 --- a/src/Actions/FeatureActions.php +++ b/src/Actions/FeatureActions.php @@ -32,7 +32,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#list_features + * @see https://apidocs.chargebee.com/docs/api/features/list-features?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -92,7 +92,7 @@ public function all(array $params = [], array $headers = []): ListFeatureRespons } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#create_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/create-a-feature?lang=php-v4 * @param array{ * levels?: array $headers @@ -167,7 +167,7 @@ public function delete(string $id, array $headers = []): DeleteFeatureResponse } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#retrieve_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/retrieve-a-feature?lang=php-v4 * * @param string $id * @param array $headers @@ -197,7 +197,7 @@ public function retrieve(string $id, array $headers = []): RetrieveFeatureRespon } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#update_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/update-a-feature?lang=php-v4 * @param array{ * levels?: array $headers @@ -270,7 +270,7 @@ public function archive(string $id, array $headers = []): ArchiveFeatureResponse } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#activate_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/activate-a-feature?lang=php-v4 * * @param string $id * @param array $headers @@ -301,7 +301,7 @@ public function activate(string $id, array $headers = []): ActivateFeatureRespon } /** - * @see https://apidocs.chargebee.com/docs/api/features?lang=php#reactivate_a_feature + * @see https://apidocs.chargebee.com/docs/api/features/reactivate-a-feature?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/GiftActions.php b/src/Actions/GiftActions.php index b1205a4f..dca3fc73 100644 --- a/src/Actions/GiftActions.php +++ b/src/Actions/GiftActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#create_a_gift_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/gifts/create-a-gift-subscription-for-items?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -125,7 +125,7 @@ public function createForItems(array $params, array $headers = []): CreateForIte } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#cancel_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/cancel-a-gift?lang=php-v4 * * @param string $id * @param array $headers @@ -156,7 +156,7 @@ public function cancel(string $id, array $headers = []): CancelGiftResponse } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#update_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/update-a-gift?lang=php-v4 * @param array{ * scheduled_at?: int, * comment?: string, @@ -191,7 +191,7 @@ public function updateGift(string $id, array $params, array $headers = []): Upda } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#list_gifts + * @see https://apidocs.chargebee.com/docs/api/gifts/list-gifts?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -250,7 +250,7 @@ public function all(array $params = [], array $headers = []): ListGiftResponse } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#create_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/create-a-gift?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -336,7 +336,7 @@ public function create(array $params, array $headers = []): CreateGiftResponse } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#retrieve_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/retrieve-a-gift?lang=php-v4 * * @param string $id * @param array $headers @@ -366,7 +366,7 @@ public function retrieve(string $id, array $headers = []): RetrieveGiftResponse } /** - * @see https://apidocs.chargebee.com/docs/api/gifts?lang=php#claim_a_gift + * @see https://apidocs.chargebee.com/docs/api/gifts/claim-a-gift?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/HostedPageActions.php b/src/Actions/HostedPageActions.php index 2f859722..bf8a7f60 100644 --- a/src/Actions/HostedPageActions.php +++ b/src/Actions/HostedPageActions.php @@ -46,7 +46,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_charge-items_and_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-charge-items-and-one-time-charges?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -193,7 +193,7 @@ public function checkoutOneTimeForItems(array $params, array $headers = []): Che } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#update_payment_method + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/update-payment-method?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -240,7 +240,7 @@ public function updatePaymentMethod(array $params, array $headers = []): UpdateP } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#update_card + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/update-card?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -288,7 +288,7 @@ public function updateCard(array $params, array $headers = []): UpdateCardHosted } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#extend_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/extend-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -326,7 +326,7 @@ public function extendSubscription(array $params, array $headers = []): ExtendSu } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#notify_an_event + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/notify-an-event?lang=php-v4 * @param array{ * event_name?: string, * occurred_at?: int, @@ -363,7 +363,7 @@ public function events(array $params, array $headers = []): EventsHostedPageResp } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_gift_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -418,7 +418,7 @@ public function checkoutGiftForItems(array $params = [], array $headers = []): C } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#list_hosted_pages + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/list-hosted-pages?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -477,7 +477,7 @@ public function all(array $params = [], array $headers = []): ListHostedPageResp } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_a_hosted_page_to_view_boleto_vouchers + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-hosted-page-to-view-boleto-vouchers?lang=php-v4 * @param array{ * payment_voucher?: array{ * id?: string, @@ -516,7 +516,7 @@ public function viewVoucher(array $params, array $headers = []): ViewVoucherHost } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#collect_now + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -527,6 +527,7 @@ public function viewVoucher(array $params, array $headers = []): ViewVoucherHost * }, * redirect_url?: string, * currency_code?: string, + * payment_method_save_policy?: string, * } $params Description of the parameters * * @param array $headers @@ -558,7 +559,7 @@ public function collectNow(array $params, array $headers = []): CollectNowHosted } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#accept_a_quote + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/accept-a-quote?lang=php-v4 * @param array{ * quote?: array{ * id?: string, @@ -596,7 +597,7 @@ public function acceptQuote(array $params, array $headers = []): AcceptQuoteHost } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_checkout_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -751,7 +752,7 @@ public function checkoutNewForItems(array $params, array $headers = []): Checkou } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#claim_a_gift_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/claim-a-gift-subscription?lang=php-v4 * @param array{ * gift?: array{ * id?: string, @@ -791,7 +792,7 @@ public function claimGift(array $params, array $headers = []): ClaimGiftHostedPa } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_checkout_to_update_a_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-to-update-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -914,7 +915,7 @@ public function checkoutExistingForItems(array $params, array $headers = []): Ch } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#create_a_pre-cancel_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -953,7 +954,7 @@ public function preCancel(array $params, array $headers = []): PreCancelHostedPa } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#acknowledge_a_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/acknowledge-a-hosted-page?lang=php-v4 * * @param string $id * @param array $headers @@ -984,7 +985,7 @@ public function acknowledge(string $id, array $headers = []): AcknowledgeHostedP } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#retrieve_direct_debit_agreement_pdf + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/retrieve-direct-debit-agreement-pdf?lang=php-v4 * @param array{ * payment_source_id?: string, * } $params Description of the parameters @@ -1018,7 +1019,7 @@ public function retrieveAgreementPdf(array $params, array $headers = []): Retrie } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#retrieve_a_hosted_page + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/retrieve-a-hosted-page?lang=php-v4 * * @param string $id * @param array $headers @@ -1048,7 +1049,7 @@ public function retrieve(string $id, array $headers = []): RetrieveHostedPageRes } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#manage_payment_sources + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -1089,7 +1090,7 @@ public function managePaymentSources(array $params, array $headers = []): Manage } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_one-time_payments + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-one-time-payments?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -1207,7 +1208,7 @@ public function checkoutOneTime(array $params = [], array $headers = []): Checko } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_new_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1340,7 +1341,7 @@ public function checkoutNew(array $params, array $headers = []): CheckoutNewHost } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_gift_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription?lang=php-v4 * @param array{ * gifter?: array{ * customer_id?: string, @@ -1389,7 +1390,7 @@ public function checkoutGift(array $params, array $headers = []): CheckoutGiftHo } /** - * @see https://apidocs.chargebee.com/docs/api/hosted_pages?lang=php#checkout_existing_subscription + * @see https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-existing-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, diff --git a/src/Actions/InAppSubscriptionActions.php b/src/Actions/InAppSubscriptionActions.php index 8c88d45d..336287ac 100644 --- a/src/Actions/InAppSubscriptionActions.php +++ b/src/Actions/InAppSubscriptionActions.php @@ -27,7 +27,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#retrieve_store_subscription + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/retrieve-store-subscription?lang=php-v4 * @param array{ * receipt?: string, * } $params Description of the parameters @@ -61,7 +61,7 @@ public function retrieveStoreSubs(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#import_receipt + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/import-receipt?lang=php-v4 * @param array{ * product?: array{ * currency_code?: string, @@ -102,7 +102,7 @@ public function importReceipt(string $id, array $params, array $headers = []): I } /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#import_subscription_without_receipt + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/import-subscription-without-receipt?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -149,7 +149,7 @@ public function importSubscription(string $id, array $params, array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions?lang=php#process_purchase_command + * @see https://apidocs.chargebee.com/docs/api/in_app_subscriptions/process-purchase-command?lang=php-v4 * @param array{ * product?: array{ * id?: string, diff --git a/src/Actions/InvoiceActions.php b/src/Actions/InvoiceActions.php index 67fc4768..55eedad6 100644 --- a/src/Actions/InvoiceActions.php +++ b/src/Actions/InvoiceActions.php @@ -64,7 +64,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#delete_line_items + * @see https://apidocs.chargebee.com/docs/api/invoices/delete-line-items?lang=php-v4 * @param array{ * line_items?: array $headers @@ -392,7 +392,7 @@ public function sendEinvoice(string $id, array $headers = []): SendEinvoiceInvoi } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#retrieve_payment_schedules_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/retrieve-payment-schedules-for-an-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -422,7 +422,7 @@ public function paymentSchedules(string $id, array $headers = []): PaymentSchedu } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#write_off_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/write-off-an-invoice?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -456,7 +456,7 @@ public function writeOff(string $id, array $params = [], array $headers = []): W } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#add_a_charge-item_to_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/add-a-charge-item-to-a-pending-invoice?lang=php-v4 * @param array{ * item_price?: array{ * item_price_id?: string, @@ -510,7 +510,7 @@ public function addChargeItem(string $id, array $params, array $headers = []): A } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#pause_dunning_for_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/pause-dunning-for-invoice?lang=php-v4 * @param array{ * expected_payment_date?: int, * comment?: string, @@ -545,7 +545,7 @@ public function pauseDunning(string $id, array $params, array $headers = []): Pa } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_invoices + * @see https://apidocs.chargebee.com/docs/api/invoices/list-invoices?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -726,7 +726,7 @@ public function all(array $params = [], array $headers = []): ListInvoiceRespons } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/create-an-invoice?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -887,7 +887,7 @@ public function create(array $params = [], array $headers = []): CreateInvoiceRe } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#close_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/close-a-pending-invoice?lang=php-v4 * @param array{ * notes_to_remove?: array $headers @@ -1727,7 +1727,7 @@ public function resendEinvoice(string $id, array $headers = []): ResendEinvoiceI } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#remove_tax_withheld_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/remove-tax-withheld-for-an-invoice?lang=php-v4 * @param array{ * tax_withheld?: array{ * id?: string, @@ -1763,7 +1763,7 @@ public function removeTaxWithheld(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_payment_reference_numbers + * @see https://apidocs.chargebee.com/docs/api/invoices/list-payment-reference-numbers?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -1807,7 +1807,7 @@ public function listPaymentReferenceNumbers(array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#collect_payment_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/collect-payment-for-an-invoice?lang=php-v4 * @param array{ * amount?: int, * authorization_transaction_id?: string, @@ -1845,7 +1845,7 @@ public function collectPayment(string $id, array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#sync_usages + * @see https://apidocs.chargebee.com/docs/api/invoices/sync-usages?lang=php-v4 * * @param string $id * @param array $headers @@ -1876,7 +1876,7 @@ public function syncUsages(string $id, array $headers = []): SyncUsagesInvoiceRe } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#refund_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/refund-an-invoice?lang=php-v4 * @param array{ * credit_note?: array{ * reason_code?: string, @@ -1916,7 +1916,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#record_refund_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/record-refund-for-an-invoice?lang=php-v4 * @param array{ * transaction?: array{ * amount?: int, @@ -1962,7 +1962,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#retrieve_invoice_as_pdf + * @see https://apidocs.chargebee.com/docs/api/invoices/retrieve-invoice-as-pdf?lang=php-v4 * @param array{ * disposition_type?: string, * } $params Description of the parameters @@ -1996,7 +1996,7 @@ public function pdf(string $id, array $params = [], array $headers = []): PdfInv } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#list_invoices_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/invoices/list-invoices-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -2031,7 +2031,7 @@ public function invoicesForSubscription(string $id, array $params = [], array $h } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#download_e-invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/download-e-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -2061,7 +2061,7 @@ public function downloadEinvoice(string $id, array $headers = []): DownloadEinvo } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_invoice_for_a_non-recurring_addon + * @see https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-a-non-recurring-addon?lang=php-v4 * @param array{ * customer_id?: string, * subscription_id?: string, @@ -2109,7 +2109,7 @@ public function chargeAddon(array $params, array $headers = []): ChargeAddonInvo } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#add_non-recurring_addon_to_a_pending_invoice + * @see https://apidocs.chargebee.com/docs/api/invoices/add-non-recurring-addon-to-a-pending-invoice?lang=php-v4 * @param array{ * line_item?: array{ * date_from?: int, @@ -2153,7 +2153,7 @@ public function addAddonCharge(string $id, array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/invoices?lang=php#create_invoice_for_a_one-time_charge + * @see https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-a-one-time-charge?lang=php-v4 * @param array{ * tax_providers_fields?: array $headers @@ -244,7 +244,7 @@ public function delete(string $id, array $headers = []): DeleteItemResponse } /** - * @see https://apidocs.chargebee.com/docs/api/items?lang=php#retrieve_an_item + * @see https://apidocs.chargebee.com/docs/api/items/retrieve-an-item?lang=php-v4 * * @param string $id * @param array $headers @@ -274,7 +274,7 @@ public function retrieve(string $id, array $headers = []): RetrieveItemResponse } /** - * @see https://apidocs.chargebee.com/docs/api/items?lang=php#update_an_item + * @see https://apidocs.chargebee.com/docs/api/items/update-an-item?lang=php-v4 * @param array{ * bundle_configuration?: array{ * type?: string, diff --git a/src/Actions/ItemEntitlementActions.php b/src/Actions/ItemEntitlementActions.php index 2927a0ad..135e6178 100644 --- a/src/Actions/ItemEntitlementActions.php +++ b/src/Actions/ItemEntitlementActions.php @@ -28,7 +28,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/item_entitlements?lang=php#list_item_entitlements_for_a_feature + * @see https://apidocs.chargebee.com/docs/api/item_entitlements/list-item-entitlements-for-a-feature?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -63,7 +63,7 @@ public function itemEntitlementsForFeature(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/item_entitlements?lang=php#upsert_or_remove_item_entitlements_for_a_feature + * @see https://apidocs.chargebee.com/docs/api/item_entitlements/upsert-or-remove-item-entitlements-for-a-feature?lang=php-v4 * @param array{ * item_entitlements?: array $headers @@ -60,7 +60,7 @@ public function delete(string $id, array $headers = []): DeleteItemFamilyRespons } /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#list_item_families + * @see https://apidocs.chargebee.com/docs/api/item_families/list-item-families?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -119,7 +119,7 @@ public function all(array $params = [], array $headers = []): ListItemFamilyResp } /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#create_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/create-an-item-family?lang=php-v4 * @param array{ * id?: string, * name?: string, @@ -156,7 +156,7 @@ public function create(array $params, array $headers = []): CreateItemFamilyResp } /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#retrieve_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/retrieve-an-item-family?lang=php-v4 * * @param string $id * @param array $headers @@ -186,7 +186,7 @@ public function retrieve(string $id, array $headers = []): RetrieveItemFamilyRes } /** - * @see https://apidocs.chargebee.com/docs/api/item_families?lang=php#update_an_item_family + * @see https://apidocs.chargebee.com/docs/api/item_families/update-an-item-family?lang=php-v4 * @param array{ * name?: string, * description?: string, diff --git a/src/Actions/ItemPriceActions.php b/src/Actions/ItemPriceActions.php index 04e7842f..a7e2eb76 100644 --- a/src/Actions/ItemPriceActions.php +++ b/src/Actions/ItemPriceActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#retrieve_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/retrieve-an-item-price?lang=php-v4 * * @param string $id * @param array $headers @@ -61,7 +61,7 @@ public function retrieve(string $id, array $headers = []): RetrieveItemPriceResp } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#update_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/update-an-item-price?lang=php-v4 * @param array{ * tax_detail?: array{ * tax_profile_id?: string, @@ -153,7 +153,7 @@ public function update(string $id, array $params, array $headers = []): UpdateIt } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#delete_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/delete-an-item-price?lang=php-v4 * * @param string $id * @param array $headers @@ -184,7 +184,7 @@ public function delete(string $id, array $headers = []): DeleteItemPriceResponse } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_applicable_item_prices_for_a_plan-item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-applicable-item-prices-for-a-plan-item-price?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -223,7 +223,7 @@ public function findApplicableItemPrices(string $id, array $params = [], array $ } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_applicable_items_for_a_plan-item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-applicable-items-for-a-plan-item-price?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -261,7 +261,7 @@ public function findApplicableItems(string $id, array $params = [], array $heade } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#list_item_prices + * @see https://apidocs.chargebee.com/docs/api/item_prices/list-item-prices?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -408,7 +408,7 @@ public function all(array $params = [], array $headers = []): ListItemPriceRespo } /** - * @see https://apidocs.chargebee.com/docs/api/item_prices?lang=php#create_an_item_price + * @see https://apidocs.chargebee.com/docs/api/item_prices/create-an-item-price?lang=php-v4 * @param array{ * tax_detail?: array{ * tax_profile_id?: string, diff --git a/src/Actions/NonSubscriptionActions.php b/src/Actions/NonSubscriptionActions.php index adad134c..01b614a3 100644 --- a/src/Actions/NonSubscriptionActions.php +++ b/src/Actions/NonSubscriptionActions.php @@ -24,7 +24,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/non_subscriptions?lang=php#one_time_purchase + * @see https://apidocs.chargebee.com/docs/api/non_subscriptions/one-time-purchase?lang=php-v4 * @param array{ * product?: array{ * id?: string, diff --git a/src/Actions/OfferEventActions.php b/src/Actions/OfferEventActions.php index 6d117e7e..fc7642ae 100644 --- a/src/Actions/OfferEventActions.php +++ b/src/Actions/OfferEventActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/offer_events?lang=php#create_an_offer_event + * @see https://apidocs.chargebee.com/docs/api/offer_events/create-an-offer-event?lang=php-v4 * @param array{ * personalized_offer_id?: string, * type?: string, diff --git a/src/Actions/OfferFulfillmentActions.php b/src/Actions/OfferFulfillmentActions.php index b0d4c8f6..71ec9da5 100644 --- a/src/Actions/OfferFulfillmentActions.php +++ b/src/Actions/OfferFulfillmentActions.php @@ -27,7 +27,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#create_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/create-an-offer-fulfillment?lang=php-v4 * @param array{ * personalized_offer_id?: string, * option_id?: string, @@ -63,7 +63,7 @@ public function offerFulfillments(array $params, array $headers = []): OfferFulf } /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#retrieve_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/retrieve-an-offer-fulfillment?lang=php-v4 * * @param string $id * @param array $headers @@ -94,7 +94,7 @@ public function offerFulfillmentsGet(string $id, array $headers = []): OfferFulf } /** - * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments?lang=php#update_an_offer_fulfillment + * @see https://apidocs.chargebee.com/docs/api/offer_fulfillments/update-an-offer-fulfillment?lang=php-v4 * @param array{ * id?: string, * status?: string, diff --git a/src/Actions/OmnichannelOneTimeOrderActions.php b/src/Actions/OmnichannelOneTimeOrderActions.php index c3329c79..a07f279a 100644 --- a/src/Actions/OmnichannelOneTimeOrderActions.php +++ b/src/Actions/OmnichannelOneTimeOrderActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders?lang=php#list_omnichannel_one_time_orders + * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders/list-omnichannel-one-time-orders?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -71,7 +71,7 @@ public function all(array $params = [], array $headers = []): ListOmnichannelOne } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders?lang=php#retrieve_an_omnichannel_one_time_order + * @see https://apidocs.chargebee.com/docs/api/omnichannel_one_time_orders/retrieve-an-omnichannel-one-time-order?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/OmnichannelSubscriptionActions.php b/src/Actions/OmnichannelSubscriptionActions.php index f8ebcccb..765d1432 100644 --- a/src/Actions/OmnichannelSubscriptionActions.php +++ b/src/Actions/OmnichannelSubscriptionActions.php @@ -28,7 +28,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#move_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/move-an-omnichannel-subscription?lang=php-v4 * @param array{ * to_customer_id?: string, * } $params Description of the parameters @@ -62,7 +62,7 @@ public function move(string $id, array $params, array $headers = []): MoveOmnich } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#retrieve_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/retrieve-an-omnichannel-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -92,7 +92,7 @@ public function retrieve(string $id, array $headers = []): RetrieveOmnichannelSu } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#list_omnichannel_transactions_of_an_omnichannel_subscription + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-transactions-of-an-omnichannel-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -126,11 +126,24 @@ public function omnichannelTransactionsForOmnichannelSubscription(string $id, ar } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions?lang=php#list_omnichannel_subscriptions + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, - * source?: array{ + * omnichannel_subscription_item?: array{ + * status?: array{ + * is?: string, + * is_not?: string, + * in?: string, + * not_in?: string, + * }, + * item_id_at_source?: array{ + * is?: string, + * is_not?: string, + * starts_with?: string, + * }, + * }, + * source?: array{ * is?: mixed, * is_not?: mixed, * in?: mixed, diff --git a/src/Actions/OmnichannelSubscriptionItemActions.php b/src/Actions/OmnichannelSubscriptionItemActions.php index 22964809..57314c47 100644 --- a/src/Actions/OmnichannelSubscriptionItemActions.php +++ b/src/Actions/OmnichannelSubscriptionItemActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items?lang=php#list_scheduled_changes_for_omnichannel_subscription_item + * @see https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/list-scheduled-changes-for-omnichannel-subscription-item?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/OrderActions.php b/src/Actions/OrderActions.php index 750dca97..396e8299 100644 --- a/src/Actions/OrderActions.php +++ b/src/Actions/OrderActions.php @@ -36,7 +36,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#list_orders + * @see https://apidocs.chargebee.com/docs/api/orders/list-orders?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -157,7 +157,7 @@ public function all(array $params = [], array $headers = []): ListOrderResponse } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#create_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/create-an-order?lang=php-v4 * @param array{ * id?: string, * invoice_id?: string, @@ -199,7 +199,7 @@ public function create(array $params, array $headers = []): CreateOrderResponse } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#import_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/import-an-order?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -286,7 +286,7 @@ public function importOrder(array $params, array $headers = []): ImportOrderOrde } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#assign_order_number + * @see https://apidocs.chargebee.com/docs/api/orders/assign-order-number?lang=php-v4 * * @param string $id * @param array $headers @@ -317,7 +317,7 @@ public function assignOrderNumber(string $id, array $headers = []): AssignOrderN } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#resend_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/resend-an-order?lang=php-v4 * @param array{ * order_line_items?: array $headers @@ -495,7 +495,7 @@ public function retrieve(string $id, array $headers = []): RetrieveOrderResponse } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#update_an_order + * @see https://apidocs.chargebee.com/docs/api/orders/update-an-order?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -563,7 +563,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#delete_an_imported_order + * @see https://apidocs.chargebee.com/docs/api/orders/delete-an-imported-order?lang=php-v4 * * @param string $id * @param array $headers @@ -594,7 +594,7 @@ public function delete(string $id, array $headers = []): DeleteOrderResponse } /** - * @see https://apidocs.chargebee.com/docs/api/orders?lang=php#create_a_refundable_credit_note + * @see https://apidocs.chargebee.com/docs/api/orders/create-a-refundable-credit-note?lang=php-v4 * @param array{ * credit_note?: array{ * reason_code?: string, diff --git a/src/Actions/PaymentIntentActions.php b/src/Actions/PaymentIntentActions.php index 225e3a0c..8996c1a4 100644 --- a/src/Actions/PaymentIntentActions.php +++ b/src/Actions/PaymentIntentActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#retrieve_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/retrieve-a-payment-intent?lang=php-v4 * * @param string $id * @param array $headers @@ -56,7 +56,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentIntent } /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#update_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent?lang=php-v4 * @param array{ * amount?: int, * currency_code?: string, @@ -95,7 +95,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/payment_intents?lang=php#create_a_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent?lang=php-v4 * @param array{ * business_entity_id?: string, * customer_id?: string, diff --git a/src/Actions/PaymentScheduleSchemeActions.php b/src/Actions/PaymentScheduleSchemeActions.php index 5869d15b..a7a9d190 100644 --- a/src/Actions/PaymentScheduleSchemeActions.php +++ b/src/Actions/PaymentScheduleSchemeActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes?lang=php#retrieve_a_payment_schedule_scheme + * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/retrieve-a-payment-schedule-scheme?lang=php-v4 * * @param string $id * @param array $headers @@ -56,7 +56,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentSchedu } /** - * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes?lang=php#create_a_payment_schedule_scheme + * @see https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/create-a-payment-schedule-scheme?lang=php-v4 * @param array{ * flexible_schedules?: array $headers diff --git a/src/Actions/PaymentSourceActions.php b/src/Actions/PaymentSourceActions.php index dffd966c..f86e8802 100644 --- a/src/Actions/PaymentSourceActions.php +++ b/src/Actions/PaymentSourceActions.php @@ -40,7 +40,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_permanent_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token?lang=php-v4 * @param array{ * card?: array{ * last4?: string, @@ -107,7 +107,7 @@ public function createUsingPermanentToken(array $params, array $headers = []): C } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#delete_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/delete-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -138,7 +138,7 @@ public function delete(string $id, array $headers = []): DeletePaymentSourceResp } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_card_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-card-payment-source?lang=php-v4 * @param array{ * card?: array{ * gateway_account_id?: string, @@ -192,7 +192,7 @@ public function createCard(array $params, array $headers = []): CreateCardPaymen } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#verify_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/verify-bank-account-payment-source?lang=php-v4 * @param array{ * amount1?: int, * amount2?: int, @@ -227,7 +227,7 @@ public function verifyBankAccount(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#list_payment_sources + * @see https://apidocs.chargebee.com/docs/api/payment_sources/list-payment-sources?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -298,7 +298,7 @@ public function all(array $params = [], array $headers = []): ListPaymentSourceR } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#export_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/export-payment-source?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -332,7 +332,7 @@ public function exportPaymentSource(string $id, array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_payment_intent + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-payment-intent?lang=php-v4 * @param array{ * payment_intent?: array{ * id?: string, @@ -379,7 +379,7 @@ public function createUsingPaymentIntent(array $params, array $headers = []): Cr } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#retrieve_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/retrieve-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -409,7 +409,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentSource } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_voucher_payment_method + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-voucher-payment-method?lang=php-v4 * @param array{ * voucher_payment_source?: array{ * voucher_type?: string, @@ -450,7 +450,7 @@ public function createVoucherPaymentSource(array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_gateway_temporary_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-gateway-temporary-token?lang=php-v4 * @param array{ * customer_id?: string, * gateway_account_id?: string, @@ -491,7 +491,7 @@ public function createUsingTempToken(array $params, array $headers = []): Create } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#update_a_card_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/update-a-card-payment-source?lang=php-v4 * @param array{ * card?: array{ * first_name?: string, @@ -542,7 +542,7 @@ public function updateCard(string $id, array $params = [], array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#switch_gateway_account + * @see https://apidocs.chargebee.com/docs/api/payment_sources/switch-gateway-account?lang=php-v4 * @param array{ * gateway_account_id?: string, * } $params Description of the parameters @@ -576,7 +576,7 @@ public function switchGatewayAccount(string $id, array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_using_chargebee_token + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-using-chargebee-token?lang=php-v4 * @param array{ * customer_id?: string, * replace_primary_payment_source?: bool, @@ -612,7 +612,7 @@ public function createUsingToken(array $params, array $headers = []): CreateUsin } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#local_delete_a_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/local-delete-a-payment-source?lang=php-v4 * * @param string $id * @param array $headers @@ -643,7 +643,7 @@ public function deleteLocal(string $id, array $headers = []): DeleteLocalPayment } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#create_a_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/create-a-bank-account-payment-source?lang=php-v4 * @param array{ * bank_account?: array{ * gateway_account_id?: string, @@ -698,7 +698,7 @@ public function createBankAccount(array $params, array $headers = []): CreateBan } /** - * @see https://apidocs.chargebee.com/docs/api/payment_sources?lang=php#update_a_bank_account_payment_source + * @see https://apidocs.chargebee.com/docs/api/payment_sources/update-a-bank-account-payment-source?lang=php-v4 * @param array{ * bank_account?: array{ * first_name?: string, diff --git a/src/Actions/PaymentVoucherActions.php b/src/Actions/PaymentVoucherActions.php index b877c68b..7a189baa 100644 --- a/src/Actions/PaymentVoucherActions.php +++ b/src/Actions/PaymentVoucherActions.php @@ -28,7 +28,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#list_vouchers_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/list-vouchers-for-a-customer?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -72,7 +72,7 @@ public function paymentVouchersForCustomer(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#list_vouchers_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/list-vouchers-for-an-invoice?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -116,7 +116,7 @@ public function paymentVouchersForInvoice(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#retrieve_voucher_data + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/retrieve-voucher-data?lang=php-v4 * * @param string $id * @param array $headers @@ -146,7 +146,7 @@ public function retrieve(string $id, array $headers = []): RetrievePaymentVouche } /** - * @see https://apidocs.chargebee.com/docs/api/payment_vouchers?lang=php#create_a_voucher_for_the_customer_to_initiate_payment + * @see https://apidocs.chargebee.com/docs/api/payment_vouchers/create-a-voucher-for-the-customer-to-initiate-payment?lang=php-v4 * @param array{ * voucher_payment_source?: array{ * voucher_type?: string, diff --git a/src/Actions/PersonalizedOfferActions.php b/src/Actions/PersonalizedOfferActions.php index 16bfca6c..04cf967b 100644 --- a/src/Actions/PersonalizedOfferActions.php +++ b/src/Actions/PersonalizedOfferActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/personalized_offers?lang=php#list_personalized_offers + * @see https://apidocs.chargebee.com/docs/api/personalized_offers/list-personalized-offers?lang=php-v4 * @param array{ * request_context?: array{ * user_agent?: string, diff --git a/src/Actions/PlanActions.php b/src/Actions/PlanActions.php index 984f548c..1fa80f5f 100644 --- a/src/Actions/PlanActions.php +++ b/src/Actions/PlanActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#unarchive_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/unarchive-a-plan?lang=php-v4 * * @param string $id * @param array $headers @@ -62,7 +62,7 @@ public function unarchive(string $id, array $headers = []): UnarchivePlanRespons } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#delete_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/delete-a-plan?lang=php-v4 * * @param string $id * @param array $headers @@ -93,7 +93,7 @@ public function delete(string $id, array $headers = []): DeletePlanResponse } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#copy_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/copy-a-plan?lang=php-v4 * @param array{ * from_site?: string, * id_at_from_site?: string, @@ -130,7 +130,7 @@ public function copy(array $params, array $headers = []): CopyPlanResponse } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#list_plans + * @see https://apidocs.chargebee.com/docs/api/plans/list-plans?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -265,7 +265,7 @@ public function all(array $params = [], array $headers = []): ListPlanResponse } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#create_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/create-a-plan?lang=php-v4 * @param array{ * tiers?: array $headers @@ -406,7 +406,7 @@ public function retrieve(string $id, array $headers = []): RetrievePlanResponse } /** - * @see https://apidocs.chargebee.com/docs/api/plans?lang=php#update_a_plan + * @see https://apidocs.chargebee.com/docs/api/plans/update-a-plan?lang=php-v4 * @param array{ * tiers?: array $headers @@ -130,7 +130,7 @@ public function logout(string $id, array $headers = []): LogoutPortalSessionResp } /** - * @see https://apidocs.chargebee.com/docs/api/portal_sessions?lang=php#retrieve_a_portal_session + * @see https://apidocs.chargebee.com/docs/api/portal_sessions/retrieve-a-portal-session?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/PriceVariantActions.php b/src/Actions/PriceVariantActions.php index 47fe1915..1d6b672b 100644 --- a/src/Actions/PriceVariantActions.php +++ b/src/Actions/PriceVariantActions.php @@ -29,7 +29,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#delete_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/delete-a-price-variant?lang=php-v4 * * @param string $id * @param array $headers @@ -60,7 +60,7 @@ public function delete(string $id, array $headers = []): DeletePriceVariantRespo } /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#list_price_variants + * @see https://apidocs.chargebee.com/docs/api/price_variants/list-price-variants?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -137,7 +137,7 @@ public function all(array $params = [], array $headers = []): ListPriceVariantRe } /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#create_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/create-a-price-variant?lang=php-v4 * @param array{ * attributes?: array $headers @@ -210,7 +210,7 @@ public function retrieve(string $id, array $headers = []): RetrievePriceVariantR } /** - * @see https://apidocs.chargebee.com/docs/api/price_variants?lang=php#update_a_price_variant + * @see https://apidocs.chargebee.com/docs/api/price_variants/update-a-price-variant?lang=php-v4 * @param array{ * attributes?: array $headers @@ -59,7 +59,7 @@ public function retrieve(string $id, array $headers = []): RetrievePromotionalCr } /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#list_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/list-promotional-credits?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -115,7 +115,7 @@ public function all(array $params = [], array $headers = []): ListPromotionalCre } /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#deduct_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/deduct-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, @@ -155,7 +155,7 @@ public function deduct(array $params, array $headers = []): DeductPromotionalCre } /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#set_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/set-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, @@ -195,7 +195,7 @@ public function set(array $params, array $headers = []): SetPromotionalCreditRes } /** - * @see https://apidocs.chargebee.com/docs/api/promotional_credits?lang=php#add_promotional_credits + * @see https://apidocs.chargebee.com/docs/api/promotional_credits/add-promotional-credits?lang=php-v4 * @param array{ * customer_id?: string, * amount?: int, diff --git a/src/Actions/PurchaseActions.php b/src/Actions/PurchaseActions.php index e691e845..bd92f491 100644 --- a/src/Actions/PurchaseActions.php +++ b/src/Actions/PurchaseActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/purchases?lang=php#create_a_purchase + * @see https://apidocs.chargebee.com/docs/api/purchases/create-a-purchase?lang=php-v4 * @param array{ * invoice_info?: array{ * po_number?: string, @@ -137,7 +137,7 @@ public function create(array $params, array $headers = []): CreatePurchaseRespon } /** - * @see https://apidocs.chargebee.com/docs/api/purchases?lang=php#estimates_for_purchase + * @see https://apidocs.chargebee.com/docs/api/purchases/estimates-for-purchase?lang=php-v4 * @param array{ * customer?: array{ * vat_number?: string, diff --git a/src/Actions/QuoteActions.php b/src/Actions/QuoteActions.php index 6a58c946..72f8c3af 100644 --- a/src/Actions/QuoteActions.php +++ b/src/Actions/QuoteActions.php @@ -44,7 +44,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_a_new_subscription_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -179,7 +179,7 @@ public function createSubItemsForCustomerQuote(string $id, array $params, array } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#retrieve_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote?lang=php-v4 * * @param string $id * @param array $headers @@ -209,7 +209,7 @@ public function retrieve(string $id, array $headers = []): RetrieveQuoteResponse } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_create_subscription_quote_for_items + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -343,7 +343,7 @@ public function editCreateSubCustomerQuoteForItems(string $id, array $params, ar } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#update_quote_status + * @see https://apidocs.chargebee.com/docs/api/quotes/update-quote-status?lang=php-v4 * @param array{ * status?: string, * comment?: string, @@ -378,7 +378,7 @@ public function updateStatus(string $id, array $params, array $headers = []): Up } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_update_subscription_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -527,7 +527,7 @@ public function updateSubscriptionQuoteForItems(array $params, array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#list_quote_line_groups + * @see https://apidocs.chargebee.com/docs/api/quotes/list-quote-line-groups?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -561,7 +561,7 @@ public function quoteLineGroupsForQuote(string $id, array $params = [], array $h } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#extend_expiry_date + * @see https://apidocs.chargebee.com/docs/api/quotes/extend-expiry-date?lang=php-v4 * @param array{ * valid_till?: int, * } $params Description of the parameters @@ -595,7 +595,7 @@ public function extendExpiryDate(string $id, array $params, array $headers = []) } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_charge_items_and_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, @@ -706,7 +706,7 @@ public function editForChargeItemsAndCharges(string $id, array $params, array $h } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_update_subscription_quote_for_items + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items?lang=php-v4 * @param array{ * subscription?: array{ * setup_fee?: int, @@ -853,7 +853,7 @@ public function editUpdateSubscriptionQuoteForItems(string $id, array $params, a } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#list_quotes + * @see https://apidocs.chargebee.com/docs/api/quotes/list-quotes?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -932,7 +932,7 @@ public function all(array $params = [], array $headers = []): ListQuoteResponse } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#retrieve_quote_as_pdf + * @see https://apidocs.chargebee.com/docs/api/quotes/retrieve-quote-as-pdf?lang=php-v4 * @param array{ * consolidated_view?: bool, * disposition_type?: string, @@ -967,7 +967,7 @@ public function pdf(string $id, array $params = [], array $headers = []): PdfQuo } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#convert_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/convert-a-quote?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1010,7 +1010,7 @@ public function convert(string $id, array $params = [], array $headers = []): Co } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_a_quote_for_charge_and_charge_items + * @see https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items?lang=php-v4 * @param array{ * billing_address?: array{ * first_name?: string, @@ -1123,7 +1123,7 @@ public function createForChargeItemsAndCharges(array $params, array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#delete_a_quote + * @see https://apidocs.chargebee.com/docs/api/quotes/delete-a-quote?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters @@ -1157,7 +1157,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-one-time-charges?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1234,7 +1234,7 @@ public function editOneTimeQuote(string $id, array $params = [], array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1358,7 +1358,7 @@ public function updateSubscriptionQuote(array $params, array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_one-time_charges + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-one-time-charges?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1437,7 +1437,7 @@ public function createForOnetimeCharges(array $params, array $headers = []): Cre } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#create_quote_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/create-quote-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, @@ -1532,7 +1532,7 @@ public function createSubForCustomerQuote(string $id, array $params, array $head } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_updating_a_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-updating-a-subscription?lang=php-v4 * @param array{ * subscription?: array{ * plan_id?: string, @@ -1654,7 +1654,7 @@ public function editUpdateSubscriptionQuote(string $id, array $params = [], arra } /** - * @see https://apidocs.chargebee.com/docs/api/quotes?lang=php#edit_quote_for_a_new_subscription + * @see https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-a-new-subscription?lang=php-v4 * @param array{ * subscription?: array{ * id?: string, diff --git a/src/Actions/RampActions.php b/src/Actions/RampActions.php index 5ceb0afe..1eb86739 100644 --- a/src/Actions/RampActions.php +++ b/src/Actions/RampActions.php @@ -29,7 +29,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#retrieve_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/retrieve-a-ramp?lang=php-v4 * * @param string $id * @param array $headers @@ -59,7 +59,7 @@ public function retrieve(string $id, array $headers = []): RetrieveRampResponse } /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#create_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -151,7 +151,7 @@ public function createForSubscription(string $id, array $params, array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#list_ramps + * @see https://apidocs.chargebee.com/docs/api/ramps/list-ramps?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -210,7 +210,7 @@ public function all(array $params, array $headers = []): ListRampResponse } /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#update_a_subscription_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -302,7 +302,7 @@ public function update(string $id, array $params, array $headers = []): UpdateRa } /** - * @see https://apidocs.chargebee.com/docs/api/ramps?lang=php#delete_a_ramp + * @see https://apidocs.chargebee.com/docs/api/ramps/delete-a-ramp?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/RecordedPurchaseActions.php b/src/Actions/RecordedPurchaseActions.php index 4af66565..aabe0658 100644 --- a/src/Actions/RecordedPurchaseActions.php +++ b/src/Actions/RecordedPurchaseActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/recorded_purchases?lang=php#retrieve_a_recorded_purchase + * @see https://apidocs.chargebee.com/docs/api/recorded_purchases/retrieve-a-recorded-purchase?lang=php-v4 * * @param string $id * @param array $headers @@ -55,7 +55,7 @@ public function retrieve(string $id, array $headers = []): RetrieveRecordedPurch } /** - * @see https://apidocs.chargebee.com/docs/api/recorded_purchases?lang=php#record_a_purchase + * @see https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase?lang=php-v4 * @param array{ * customer?: array{ * id?: string, diff --git a/src/Actions/ResourceMigrationActions.php b/src/Actions/ResourceMigrationActions.php index 55e74ae3..51cfb2e5 100644 --- a/src/Actions/ResourceMigrationActions.php +++ b/src/Actions/ResourceMigrationActions.php @@ -24,7 +24,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/resource_migrations?lang=php#retrieve_latest_migration_details + * @see https://apidocs.chargebee.com/docs/api/resource_migrations/retrieve-latest-migration-details?lang=php-v4 * @param array{ * from_site?: string, * entity_type?: string, diff --git a/src/Actions/RuleActions.php b/src/Actions/RuleActions.php index 23edbfe3..de0b1980 100644 --- a/src/Actions/RuleActions.php +++ b/src/Actions/RuleActions.php @@ -24,7 +24,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/rules?lang=php#retrieve_rule_data + * @see https://apidocs.chargebee.com/docs/api/rules/retrieve-rule-data?lang=php-v4 * * @param string $id * @param array $headers diff --git a/src/Actions/SiteMigrationDetailActions.php b/src/Actions/SiteMigrationDetailActions.php index 976b8592..743a5ab8 100644 --- a/src/Actions/SiteMigrationDetailActions.php +++ b/src/Actions/SiteMigrationDetailActions.php @@ -25,7 +25,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/site_migration_details?lang=php#list_site_migration_details + * @see https://apidocs.chargebee.com/docs/api/site_migration_details/list-site-migration-details?lang=php-v4 * @param array{ * limit?: int, * offset?: string, diff --git a/src/Actions/SubscriptionActions.php b/src/Actions/SubscriptionActions.php index 8bd4af72..71c0ab45 100644 --- a/src/Actions/SubscriptionActions.php +++ b/src/Actions/SubscriptionActions.php @@ -61,7 +61,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_an_advance_invoice_schedules + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-an-advance-invoice-schedules?lang=php-v4 * @param array{ * specific_dates_schedule?: array, * } $params Description of the parameters @@ -339,7 +339,7 @@ public function removeCoupons(string $id, array $params = [], array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#resume_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/resume-a-subscription?lang=php-v4 * @param array{ * payment_intent?: array{ * id?: string, @@ -387,7 +387,7 @@ public function resume(string $id, array $params = [], array $headers = []): Res } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#cancel_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -407,6 +407,7 @@ public function resume(string $id, array $params = [], array $headers = []): Res * service_period_days?: int, * }>, * cancel_reason_code?: string, + * decommissioned?: bool, * } $params Description of the parameters * @param string $id * @param array $headers @@ -438,7 +439,7 @@ public function cancelForItems(string $id, array $params = [], array $headers = } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#regenerate_an_invoice + * @see https://apidocs.chargebee.com/docs/api/subscriptions/regenerate-an-invoice?lang=php-v4 * @param array{ * date_from?: int, * date_to?: int, @@ -475,7 +476,7 @@ public function regenerateInvoice(string $id, array $params = [], array $headers } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_subscriptions + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -634,7 +635,7 @@ public function all(array $params = [], array $headers = []): ListSubscriptionRe } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-a-subscription?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -862,7 +863,7 @@ public function create(array $params, array $headers = []): CreateSubscriptionRe } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#move_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/move-a-subscription?lang=php-v4 * @param array{ * to_customer_id?: string, * copy_payment_source?: bool, @@ -897,7 +898,7 @@ public function move(string $id, array $params, array $headers = []): MoveSubscr } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_subscriptions_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions-for-a-customer?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -932,7 +933,7 @@ public function subscriptionsForCustomer(string $id, array $params = [], array $ } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_subscription_for_customer + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-customer?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1053,7 +1054,7 @@ public function createForCustomer(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-items?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -1189,7 +1190,7 @@ public function importForItems(string $id, array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_advance_invoice + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-advance-invoice?lang=php-v4 * * @param string $id * @param array $headers @@ -1219,7 +1220,7 @@ public function retrieveAdvanceInvoiceSchedule(string $id, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_cancellation + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-cancellation?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -1258,7 +1259,7 @@ public function removeScheduledCancellation(string $id, array $params = [], arra } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_with_scheduled_changes + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-with-scheduled-changes?lang=php-v4 * * @param string $id * @param array $headers @@ -1288,7 +1289,7 @@ public function retrieveWithScheduledChanges(string $id, array $headers = []): R } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#reactivate_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/reactivate-a-subscription?lang=php-v4 * @param array{ * contract_term?: array{ * action_at_term_end?: string, @@ -1348,7 +1349,7 @@ public function reactivate(string $id, array $params = [], array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#charge_future_renewals + * @see https://apidocs.chargebee.com/docs/api/subscriptions/charge-future-renewals?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -1394,7 +1395,7 @@ public function chargeFutureRenewals(string $id, array $params = [], array $head } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#add_charge_at_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/add-charge-at-term-end?lang=php-v4 * @param array{ * amount?: int, * description?: string, @@ -1435,7 +1436,7 @@ public function addChargeAtTermEnd(string $id, array $params, array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_changes + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-changes?lang=php-v4 * * @param string $id * @param array $headers @@ -1466,7 +1467,7 @@ public function removeScheduledChanges(string $id, array $headers = []): RemoveS } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#change_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/change-term-end?lang=php-v4 * @param array{ * term_ends_at?: int, * prorate?: bool, @@ -1502,7 +1503,7 @@ public function changeTermEnd(string $id, array $params, array $headers = []): C } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#delete_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/delete-a-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -1533,7 +1534,7 @@ public function delete(string $id, array $headers = []): DeleteSubscriptionRespo } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#create_subscription_for_items + * @see https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items?lang=php-v4 * @param array{ * shipping_address?: array{ * first_name?: string, @@ -1676,7 +1677,7 @@ public function createWithItems(string $id, array $params, array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-unbilled-charges?lang=php-v4 * @param array{ * unbilled_charges?: array $headers @@ -1775,7 +1776,7 @@ public function removeScheduledResumption(string $id, array $headers = []): Remo } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#retrieve_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/retrieve-a-subscription?lang=php-v4 * * @param string $id * @param array $headers @@ -1805,7 +1806,7 @@ public function retrieve(string $id, array $headers = []): RetrieveSubscriptionR } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#update_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/update-a-subscription?lang=php-v4 * @param array{ * card?: array{ * gateway?: string, @@ -1989,7 +1990,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_contract_term + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-contract-term?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -2037,7 +2038,7 @@ public function importContractTerm(string $id, array $params = [], array $header } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#override_billing_profile + * @see https://apidocs.chargebee.com/docs/api/subscriptions/override-billing-profile?lang=php-v4 * @param array{ * payment_source_id?: string, * auto_collection?: string, @@ -2072,7 +2073,7 @@ public function overrideBillingProfile(string $id, array $params = [], array $he } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#remove_scheduled_pause + * @see https://apidocs.chargebee.com/docs/api/subscriptions/remove-scheduled-pause?lang=php-v4 * * @param string $id * @param array $headers @@ -2103,7 +2104,7 @@ public function removeScheduledPause(string $id, array $headers = []): RemoveSch } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#edit_advance_invoice_schedule + * @see https://apidocs.chargebee.com/docs/api/subscriptions/edit-advance-invoice-schedule?lang=php-v4 * @param array{ * fixed_interval_schedule?: array{ * number_of_occurrences?: int, @@ -2149,7 +2150,7 @@ public function editAdvanceInvoiceSchedule(string $id, array $params = [], array } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_discounts_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-discounts-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -2183,7 +2184,7 @@ public function listDiscounts(string $id, array $params = [], array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#list_contract_terms_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/list-contract-terms-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -2221,7 +2222,7 @@ public function contractTermsForSubscription(string $id, array $params = [], arr } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#pause_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/pause-a-subscription?lang=php-v4 * @param array{ * pause_option?: string, * pause_date?: int, @@ -2260,7 +2261,7 @@ public function pause(string $id, array $params = [], array $headers = []): Paus } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_subscription_for_customer + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-customer?lang=php-v4 * @param array{ * contract_term?: array{ * id?: string, @@ -2379,7 +2380,7 @@ public function importForCustomer(string $id, array $params, array $headers = [] } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#import_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/import-a-subscription?lang=php-v4 * @param array{ * customer?: array{ * id?: string, @@ -2563,7 +2564,7 @@ public function importSubscription(array $params, array $headers = []): ImportSu } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#cancel_a_subscription + * @see https://apidocs.chargebee.com/docs/api/subscriptions/cancel-a-subscription?lang=php-v4 * @param array{ * cancel_option?: string, * end_of_term?: bool, @@ -2612,7 +2613,7 @@ public function cancel(string $id, array $params = [], array $headers = []): Can } /** - * @see https://apidocs.chargebee.com/docs/api/subscriptions?lang=php#charge_addon_at_term_end + * @see https://apidocs.chargebee.com/docs/api/subscriptions/charge-addon-at-term-end?lang=php-v4 * @param array{ * addon_id?: string, * addon_quantity?: int, diff --git a/src/Actions/SubscriptionEntitlementActions.php b/src/Actions/SubscriptionEntitlementActions.php index 39169129..6e9f4580 100644 --- a/src/Actions/SubscriptionEntitlementActions.php +++ b/src/Actions/SubscriptionEntitlementActions.php @@ -26,7 +26,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/subscription_entitlements?lang=php#enable_or_disable_subscription_entitlements + * @see https://apidocs.chargebee.com/docs/api/subscription_entitlements/enable-or-disable-subscription-entitlements?lang=php-v4 * @param array{ * subscription_entitlements?: array $headers @@ -56,7 +56,7 @@ public function retrieve(string $id, array $headers = []): RetrieveTimeMachineRe } /** - * @see https://apidocs.chargebee.com/docs/api/time_machines?lang=php#travel_forward + * @see https://apidocs.chargebee.com/docs/api/time_machines/travel-forward?lang=php-v4 * @param array{ * destination_time?: int, * } $params Description of the parameters @@ -90,7 +90,7 @@ public function travelForward(string $id, array $params = [], array $headers = [ } /** - * @see https://apidocs.chargebee.com/docs/api/time_machines?lang=php#start_afresh + * @see https://apidocs.chargebee.com/docs/api/time_machines/start-afresh?lang=php-v4 * @param array{ * genesis_time?: int, * } $params Description of the parameters diff --git a/src/Actions/TransactionActions.php b/src/Actions/TransactionActions.php index 12beb541..ea8e712f 100644 --- a/src/Actions/TransactionActions.php +++ b/src/Actions/TransactionActions.php @@ -36,7 +36,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions + * @see https://apidocs.chargebee.com/docs/api/transactions/list-transactions?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -178,7 +178,7 @@ public function all(array $params = [], array $headers = []): ListTransactionRes } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#reconcile_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/reconcile-transaction?lang=php-v4 * @param array{ * id_at_gateway?: string, * customer_id?: string, @@ -214,7 +214,7 @@ public function reconcile(string $id, array $params = [], array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#retrieve_a_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/retrieve-a-transaction?lang=php-v4 * * @param string $id * @param array $headers @@ -244,7 +244,7 @@ public function retrieve(string $id, array $headers = []): RetrieveTransactionRe } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#refund_a_payment + * @see https://apidocs.chargebee.com/docs/api/transactions/refund-a-payment?lang=php-v4 * @param array{ * amount?: int, * comment?: string, @@ -279,7 +279,7 @@ public function refund(string $id, array $params = [], array $headers = []): Ref } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions_for_a_customer + * @see https://apidocs.chargebee.com/docs/api/transactions/list-transactions-for-a-customer?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -314,7 +314,7 @@ public function transactionsForCustomer(string $id, array $params = [], array $h } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#record_an_offline_refund + * @see https://apidocs.chargebee.com/docs/api/transactions/record-an-offline-refund?lang=php-v4 * @param array{ * amount?: int, * payment_method?: string, @@ -353,7 +353,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_transactions_for_a_subscription + * @see https://apidocs.chargebee.com/docs/api/transactions/list-transactions-for-a-subscription?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -388,7 +388,7 @@ public function transactionsForSubscription(string $id, array $params = [], arra } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#void_an_authorization_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/void-an-authorization-transaction?lang=php-v4 * * @param string $id * @param array $headers @@ -419,7 +419,7 @@ public function voidTransaction(string $id, array $headers = []): VoidTransactio } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#sync_transaction_status + * @see https://apidocs.chargebee.com/docs/api/transactions/sync-transaction-status?lang=php-v4 * * @param string $id * @param array $headers @@ -450,7 +450,7 @@ public function syncTransaction(string $id, array $headers = []): SyncTransactio } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#create_an_authorization_payment + * @see https://apidocs.chargebee.com/docs/api/transactions/create-an-authorization-payment?lang=php-v4 * @param array{ * customer_id?: string, * payment_source_id?: string, @@ -487,7 +487,7 @@ public function createAuthorization(array $params, array $headers = []): CreateA } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#list_payments_for_an_invoice + * @see https://apidocs.chargebee.com/docs/api/transactions/list-payments-for-an-invoice?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -521,7 +521,7 @@ public function paymentsForInvoice(string $id, array $params = [], array $header } /** - * @see https://apidocs.chargebee.com/docs/api/transactions?lang=php#delete_an_offline_transaction + * @see https://apidocs.chargebee.com/docs/api/transactions/delete-an-offline-transaction?lang=php-v4 * @param array{ * comment?: string, * } $params Description of the parameters diff --git a/src/Actions/UnbilledChargeActions.php b/src/Actions/UnbilledChargeActions.php index b2de568c..f2ea6b45 100644 --- a/src/Actions/UnbilledChargeActions.php +++ b/src/Actions/UnbilledChargeActions.php @@ -30,7 +30,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#delete_an_unbilled_charge + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/delete-an-unbilled-charge?lang=php-v4 * * @param string $id * @param array $headers @@ -61,7 +61,7 @@ public function delete(string $id, array $headers = []): DeleteUnbilledChargeRes } /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_an_estimate_for_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-an-estimate-for-unbilled-charges?lang=php-v4 * @param array{ * subscription_id?: string, * customer_id?: string, @@ -96,7 +96,7 @@ public function invoiceNowEstimate(array $params = [], array $headers = []): Inv } /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_an_invoice_for_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-an-invoice-for-unbilled-charges?lang=php-v4 * @param array{ * subscription_id?: string, * customer_id?: string, @@ -131,7 +131,7 @@ public function invoiceUnbilledCharges(array $params = [], array $headers = []): } /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#list_unbilled_charges + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/list-unbilled-charges?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -183,7 +183,7 @@ public function all(array $params = [], array $headers = []): ListUnbilledCharge } /** - * @see https://apidocs.chargebee.com/docs/api/unbilled_charges?lang=php#create_unbilled_charges_for_item_subscription + * @see https://apidocs.chargebee.com/docs/api/unbilled_charges/create-unbilled-charges-for-item-subscription?lang=php-v4 * @param array{ * item_prices?: array $headers @@ -55,7 +55,7 @@ public function processingStatus(string $id, array $headers = []): ProcessingSta } /** - * @see https://apidocs.chargebee.com/docs/api/usage_files?lang=php#get_usages_file_upload_url + * @see https://apidocs.chargebee.com/docs/api/usage_files/get-usages-file-upload-url?lang=php-v4 * @param array{ * file_name?: string, * mime_type?: string, diff --git a/src/Actions/VirtualBankAccountActions.php b/src/Actions/VirtualBankAccountActions.php index 725c04c8..ed213748 100644 --- a/src/Actions/VirtualBankAccountActions.php +++ b/src/Actions/VirtualBankAccountActions.php @@ -31,7 +31,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#local_delete_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/local-delete-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -62,7 +62,7 @@ public function deleteLocal(string $id, array $headers = []): DeleteLocalVirtual } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#delete_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/delete-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -93,7 +93,7 @@ public function delete(string $id, array $headers = []): DeleteVirtualBankAccoun } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#list_virtual_bank_accounts + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/list-virtual-bank-accounts?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -146,7 +146,7 @@ public function all(array $params = [], array $headers = []): ListVirtualBankAcc } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#create_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account?lang=php-v4 * @param array{ * customer_id?: string, * email?: string, @@ -182,7 +182,7 @@ public function create(array $params, array $headers = []): CreateVirtualBankAcc } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#charge_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/charge-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -213,7 +213,7 @@ public function syncFund(string $id, array $headers = []): SyncFundVirtualBankAc } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#retrieve_a_virtual_bank_account + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/retrieve-a-virtual-bank-account?lang=php-v4 * * @param string $id * @param array $headers @@ -243,7 +243,7 @@ public function retrieve(string $id, array $headers = []): RetrieveVirtualBankAc } /** - * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts?lang=php#create_a_virtual_bank_account_using_permanent_token + * @see https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token?lang=php-v4 * @param array{ * customer_id?: string, * reference_id?: string, diff --git a/src/Actions/WebhookEndpointActions.php b/src/Actions/WebhookEndpointActions.php index 62977c66..ebc90d67 100644 --- a/src/Actions/WebhookEndpointActions.php +++ b/src/Actions/WebhookEndpointActions.php @@ -29,7 +29,7 @@ public function __construct(HttpClientFactory $httpClientFactory, Environment $e } /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#delete_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/delete-a-webhook-endpoint?lang=php-v4 * * @param string $id * @param array $headers @@ -60,7 +60,7 @@ public function delete(string $id, array $headers = []): DeleteWebhookEndpointRe } /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#retrieve_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/retrieve-a-webhook-endpoint?lang=php-v4 * * @param string $id * @param array $headers @@ -90,7 +90,7 @@ public function retrieve(string $id, array $headers = []): RetrieveWebhookEndpoi } /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#update_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/update-a-webhook-endpoint?lang=php-v4 * @param array{ * name?: string, * api_version?: string, @@ -132,7 +132,7 @@ public function update(string $id, array $params = [], array $headers = []): Upd } /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#list_webhook_endpoints + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/list-webhook-endpoints?lang=php-v4 * @param array{ * limit?: int, * offset?: string, @@ -166,7 +166,7 @@ public function all(array $params = [], array $headers = []): ListWebhookEndpoin } /** - * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints?lang=php#create_a_webhook_endpoint + * @see https://apidocs.chargebee.com/docs/api/webhook_endpoints/create-a-webhook-endpoint?lang=php-v4 * @param array{ * name?: string, * api_version?: string, diff --git a/src/Enums/EntityType.php b/src/Enums/EntityType.php index 31cbd4cf..c7b4a06a 100644 --- a/src/Enums/EntityType.php +++ b/src/Enums/EntityType.php @@ -43,6 +43,7 @@ enum EntityType : string { case USAGE_FILE = "usage_file"; case BUSINESS_RULE = "business_rule"; case RULESET = "ruleset"; + case CHARGE = "charge"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Enums/EventType.php b/src/Enums/EventType.php index 1a70bff1..a580a8a2 100644 --- a/src/Enums/EventType.php +++ b/src/Enums/EventType.php @@ -67,6 +67,7 @@ enum EventType : string { case PAYMENT_SCHEDULE_SCHEME_DELETED = "payment_schedule_scheme_deleted"; case SUBSCRIPTION_RENEWAL_REMINDER = "subscription_renewal_reminder"; case ADD_USAGES_REMINDER = "add_usages_reminder"; + case PAYMENT_DUE_REMINDER = "payment_due_reminder"; case TRANSACTION_CREATED = "transaction_created"; case TRANSACTION_UPDATED = "transaction_updated"; case TRANSACTION_DELETED = "transaction_deleted"; diff --git a/src/Enums/Gateway.php b/src/Enums/Gateway.php index 1619a79d..aea94988 100644 --- a/src/Enums/Gateway.php +++ b/src/Enums/Gateway.php @@ -59,6 +59,7 @@ enum Gateway : string { case DEUTSCHE_BANK = "deutsche_bank"; case EZIDEBIT = "ezidebit"; case TWIKEY = "twikey"; + case TEMPUS = "tempus"; case GOCARDLESS = "gocardless"; case NOT_APPLICABLE = "not_applicable"; case UNKNOWN = "unknown"; diff --git a/src/Enums/PaymentMethod.php b/src/Enums/PaymentMethod.php index 1e514729..c012c293 100644 --- a/src/Enums/PaymentMethod.php +++ b/src/Enums/PaymentMethod.php @@ -41,6 +41,10 @@ enum PaymentMethod : string { case PAY_BY_BANK = "pay_by_bank"; case TRUSTLY = "trustly"; case STABLECOIN = "stablecoin"; + case KAKAO_PAY = "kakao_pay"; + case NAVER_PAY = "naver_pay"; + case REVOLUT_PAY = "revolut_pay"; + case CASH_APP_PAY = "cash_app_pay"; /* * @depcreated */ diff --git a/src/Enums/PaymentMethodSavePolicy.php b/src/Enums/PaymentMethodSavePolicy.php new file mode 100644 index 00000000..d26028b0 --- /dev/null +++ b/src/Enums/PaymentMethodSavePolicy.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/src/Enums/PaymentMethodType.php b/src/Enums/PaymentMethodType.php index 3708cdeb..8237fbb4 100644 --- a/src/Enums/PaymentMethodType.php +++ b/src/Enums/PaymentMethodType.php @@ -33,6 +33,10 @@ enum PaymentMethodType : string { case PAY_BY_BANK = "pay_by_bank"; case TRUSTLY = "trustly"; case STABLECOIN = "stablecoin"; + case KAKAO_PAY = "kakao_pay"; + case NAVER_PAY = "naver_pay"; + case REVOLUT_PAY = "revolut_pay"; + case CASH_APP_PAY = "cash_app_pay"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Enums/Type.php b/src/Enums/Type.php index 93e338d1..656cb20d 100644 --- a/src/Enums/Type.php +++ b/src/Enums/Type.php @@ -33,6 +33,10 @@ enum Type : string { case PAY_BY_BANK = "pay_by_bank"; case TRUSTLY = "trustly"; case STABLECOIN = "stablecoin"; + case KAKAO_PAY = "kakao_pay"; + case NAVER_PAY = "naver_pay"; + case REVOLUT_PAY = "revolut_pay"; + case CASH_APP_PAY = "cash_app_pay"; case FREE_TRIAL = "free_trial"; case PAY_UP_FRONT = "pay_up_front"; case PAY_AS_YOU_GO = "pay_as_you_go"; diff --git a/src/Resources/CreditNote/Enums/EinvoiceStatus.php b/src/Resources/CreditNote/Enums/EinvoiceStatus.php index 5efe4b14..db554ba6 100644 --- a/src/Resources/CreditNote/Enums/EinvoiceStatus.php +++ b/src/Resources/CreditNote/Enums/EinvoiceStatus.php @@ -9,6 +9,13 @@ enum EinvoiceStatus : string { case SUCCESS = "success"; case FAILED = "failed"; case REGISTERED = "registered"; + case ACCEPTED = "accepted"; + case REJECTED = "rejected"; + case MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"; + case IN_PROCESS = "in_process"; + case UNDER_QUERY = "under_query"; + case CONDITIONALLY_ACCEPTED = "conditionally_accepted"; + case PAID = "paid"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Resources/Einvoice/Enums/Status.php b/src/Resources/Einvoice/Enums/Status.php index 5f490130..627115d0 100644 --- a/src/Resources/Einvoice/Enums/Status.php +++ b/src/Resources/Einvoice/Enums/Status.php @@ -9,6 +9,13 @@ enum Status : string { case SUCCESS = "success"; case FAILED = "failed"; case REGISTERED = "registered"; + case ACCEPTED = "accepted"; + case REJECTED = "rejected"; + case MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"; + case IN_PROCESS = "in_process"; + case UNDER_QUERY = "under_query"; + case CONDITIONALLY_ACCEPTED = "conditionally_accepted"; + case PAID = "paid"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Resources/EntitlementOverride/EntitlementOverride.php b/src/Resources/EntitlementOverride/EntitlementOverride.php index 1ad7795b..096babab 100644 --- a/src/Resources/EntitlementOverride/EntitlementOverride.php +++ b/src/Resources/EntitlementOverride/EntitlementOverride.php @@ -9,6 +9,12 @@ class EntitlementOverride { */ public ?string $id; + /** + * + * @var ?string $subscription_id + */ + public ?string $subscription_id; + /** * * @var ?string $entity_id @@ -57,6 +63,12 @@ class EntitlementOverride { */ public ?int $effective_from; + /** + * + * @var ?bool $is_enabled + */ + public ?bool $is_enabled; + /** * * @var ?\Chargebee\Resources\EntitlementOverride\Enums\ScheduleStatus $schedule_status @@ -66,7 +78,7 @@ class EntitlementOverride { /** * @var array $knownFields */ - protected static array $knownFields = [ "id" , "entity_id" , "entity_type" , "feature_id" , "feature_name" , "value" , "name" , "expires_at" , "effective_from" ]; + protected static array $knownFields = [ "id" , "subscription_id" , "entity_id" , "entity_type" , "feature_id" , "feature_name" , "value" , "name" , "expires_at" , "effective_from" , "is_enabled" ]; /** * dynamic properties for resources @@ -76,6 +88,7 @@ class EntitlementOverride { private function __construct( ?string $id, + ?string $subscription_id, ?string $entity_id, ?string $entity_type, ?string $feature_id, @@ -84,10 +97,12 @@ private function __construct( ?string $name, ?int $expires_at, ?int $effective_from, + ?bool $is_enabled, ?\Chargebee\Resources\EntitlementOverride\Enums\ScheduleStatus $schedule_status, ) { $this->id = $id; + $this->subscription_id = $subscription_id; $this->entity_id = $entity_id; $this->entity_type = $entity_type; $this->feature_id = $feature_id; @@ -95,13 +110,15 @@ private function __construct( $this->value = $value; $this->name = $name; $this->expires_at = $expires_at; - $this->effective_from = $effective_from; + $this->effective_from = $effective_from; + $this->is_enabled = $is_enabled; $this->schedule_status = $schedule_status; } public static function from(array $resourceAttributes): self { $returnData = new self( $resourceAttributes['id'] ?? null, + $resourceAttributes['subscription_id'] ?? null, $resourceAttributes['entity_id'] ?? null, $resourceAttributes['entity_type'] ?? null, $resourceAttributes['feature_id'] ?? null, @@ -110,6 +127,7 @@ public static function from(array $resourceAttributes): self $resourceAttributes['name'] ?? null, $resourceAttributes['expires_at'] ?? null, $resourceAttributes['effective_from'] ?? null, + $resourceAttributes['is_enabled'] ?? null, isset($resourceAttributes['schedule_status']) ? \Chargebee\Resources\EntitlementOverride\Enums\ScheduleStatus::tryFromValue($resourceAttributes['schedule_status']) : null, @@ -123,6 +141,7 @@ public function toArray(): array { $data = array_filter(['id' => $this->id, + 'subscription_id' => $this->subscription_id, 'entity_id' => $this->entity_id, 'entity_type' => $this->entity_type, 'feature_id' => $this->feature_id, @@ -131,6 +150,7 @@ public function toArray(): array 'name' => $this->name, 'expires_at' => $this->expires_at, 'effective_from' => $this->effective_from, + 'is_enabled' => $this->is_enabled, 'schedule_status' => $this->schedule_status?->value, diff --git a/src/Resources/Invoice/Enums/EinvoiceStatus.php b/src/Resources/Invoice/Enums/EinvoiceStatus.php index 33efb570..0e365074 100644 --- a/src/Resources/Invoice/Enums/EinvoiceStatus.php +++ b/src/Resources/Invoice/Enums/EinvoiceStatus.php @@ -9,6 +9,13 @@ enum EinvoiceStatus : string { case SUCCESS = "success"; case FAILED = "failed"; case REGISTERED = "registered"; + case ACCEPTED = "accepted"; + case REJECTED = "rejected"; + case MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"; + case IN_PROCESS = "in_process"; + case UNDER_QUERY = "under_query"; + case CONDITIONALLY_ACCEPTED = "conditionally_accepted"; + case PAID = "paid"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Resources/PaymentIntent/Enums/PaymentMethodType.php b/src/Resources/PaymentIntent/Enums/PaymentMethodType.php index e3329ebe..ff6a9d26 100644 --- a/src/Resources/PaymentIntent/Enums/PaymentMethodType.php +++ b/src/Resources/PaymentIntent/Enums/PaymentMethodType.php @@ -29,6 +29,12 @@ enum PaymentMethodType : string { case PAY_BY_BANK = "pay_by_bank"; case TRUSTLY = "trustly"; case STABLECOIN = "stablecoin"; + case KAKAO_PAY = "kakao_pay"; + case NAVER_PAY = "naver_pay"; + case REVOLUT_PAY = "revolut_pay"; + case CASH_APP_PAY = "cash_app_pay"; + case WECHAT_PAY = "wechat_pay"; + case ALIPAY = "alipay"; case UNKNOWN = "unknown"; public static function tryFromValue(string $value): self { diff --git a/src/Resources/Subscription/Subscription.php b/src/Resources/Subscription/Subscription.php index 87a37714..228bebaf 100644 --- a/src/Resources/Subscription/Subscription.php +++ b/src/Resources/Subscription/Subscription.php @@ -424,6 +424,12 @@ class Subscription extends SupportsCustomFields { */ public ?string $business_entity_id; + /** + * + * @var ?bool $decommissioned + */ + public ?bool $decommissioned; + /** * * @var ?\Chargebee\Enums\AutoCollection $auto_collection @@ -475,7 +481,7 @@ class Subscription extends SupportsCustomFields { /** * @var array $knownFields */ - protected static array $knownFields = [ "id" , "currency_code" , "plan_id" , "plan_quantity" , "plan_unit_price" , "setup_fee" , "billing_period" , "start_date" , "trial_end" , "remaining_billing_cycles" , "po_number" , "plan_quantity_in_decimal" , "plan_unit_price_in_decimal" , "customer_id" , "plan_amount" , "plan_free_quantity" , "trial_start" , "current_term_start" , "current_term_end" , "next_billing_at" , "created_at" , "started_at" , "activated_at" , "gift_id" , "contract_term_billing_cycle_on_renewal" , "override_relationship" , "pause_date" , "resume_date" , "cancelled_at" , "affiliate_token" , "created_from_ip" , "resource_version" , "updated_at" , "has_scheduled_advance_invoices" , "has_scheduled_changes" , "payment_source_id" , "plan_free_quantity_in_decimal" , "plan_amount_in_decimal" , "cancel_schedule_created_at" , "net_term_days" , "active_id" , "subscription_items" , "item_tiers" , "charged_items" , "due_invoices_count" , "due_since" , "total_dues" , "mrr" , "arr" , "exchange_rate" , "base_currency_code" , "addons" , "event_based_addons" , "charged_event_based_addons" , "coupon" , "coupons" , "shipping_address" , "referral_info" , "billing_override" , "invoice_notes" , "meta_data" , "deleted" , "changes_scheduled_at" , "contract_term" , "cancel_reason_code" , "free_period" , "create_pending_invoices" , "auto_close_invoices" , "discounts" , "business_entity_id" ]; + protected static array $knownFields = [ "id" , "currency_code" , "plan_id" , "plan_quantity" , "plan_unit_price" , "setup_fee" , "billing_period" , "start_date" , "trial_end" , "remaining_billing_cycles" , "po_number" , "plan_quantity_in_decimal" , "plan_unit_price_in_decimal" , "customer_id" , "plan_amount" , "plan_free_quantity" , "trial_start" , "current_term_start" , "current_term_end" , "next_billing_at" , "created_at" , "started_at" , "activated_at" , "gift_id" , "contract_term_billing_cycle_on_renewal" , "override_relationship" , "pause_date" , "resume_date" , "cancelled_at" , "affiliate_token" , "created_from_ip" , "resource_version" , "updated_at" , "has_scheduled_advance_invoices" , "has_scheduled_changes" , "payment_source_id" , "plan_free_quantity_in_decimal" , "plan_amount_in_decimal" , "cancel_schedule_created_at" , "net_term_days" , "active_id" , "subscription_items" , "item_tiers" , "charged_items" , "due_invoices_count" , "due_since" , "total_dues" , "mrr" , "arr" , "exchange_rate" , "base_currency_code" , "addons" , "event_based_addons" , "charged_event_based_addons" , "coupon" , "coupons" , "shipping_address" , "referral_info" , "billing_override" , "invoice_notes" , "meta_data" , "deleted" , "changes_scheduled_at" , "contract_term" , "cancel_reason_code" , "free_period" , "create_pending_invoices" , "auto_close_invoices" , "discounts" , "business_entity_id" , "decommissioned" ]; /** * dynamic properties for resources @@ -554,6 +560,7 @@ private function __construct( ?bool $auto_close_invoices, ?array $discounts, ?string $business_entity_id, + ?bool $decommissioned, ?\Chargebee\Enums\AutoCollection $auto_collection, ?\Chargebee\Enums\TrialEndAction $trial_end_action, ?\Chargebee\Enums\OfflinePaymentMethod $offline_payment_method, @@ -633,7 +640,8 @@ private function __construct( $this->create_pending_invoices = $create_pending_invoices; $this->auto_close_invoices = $auto_close_invoices; $this->discounts = $discounts; - $this->business_entity_id = $business_entity_id; + $this->business_entity_id = $business_entity_id; + $this->decommissioned = $decommissioned; $this->auto_collection = $auto_collection; $this->trial_end_action = $trial_end_action; $this->offline_payment_method = $offline_payment_method; @@ -748,6 +756,7 @@ public static function from(array $resourceAttributes): self $resourceAttributes['auto_close_invoices'] ?? null, $discounts, $resourceAttributes['business_entity_id'] ?? null, + $resourceAttributes['decommissioned'] ?? null, isset($resourceAttributes['auto_collection']) ? \Chargebee\Enums\AutoCollection::tryFromValue($resourceAttributes['auto_collection']) : null, @@ -848,6 +857,7 @@ public function toArray(): array 'auto_close_invoices' => $this->auto_close_invoices, 'business_entity_id' => $this->business_entity_id, + 'decommissioned' => $this->decommissioned, 'auto_collection' => $this->auto_collection?->value, diff --git a/src/Version.php b/src/Version.php index b32b1557..4cc06c14 100644 --- a/src/Version.php +++ b/src/Version.php @@ -4,7 +4,7 @@ final class Version { - const VERSION = '4.15.1'; + const VERSION = '4.16.0'; } ?> \ No newline at end of file