You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/platform-sdk/src/generated/client/recurring-orders/by-project-key-recurring-orders-request-builder.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,10 +110,11 @@ export class ByProjectKeyRecurringOrdersRequestBuilder {
110
110
}
111
111
/**
112
112
* Creates a Recurring Order in the Project.
113
-
* The Cart is validated to ensure that it is convertible to an [Order](ctp:api:type:Order). If validation fails, an error is returned.
114
-
*
115
113
* Produces the [RecurringOrderCreated](ctp:api:type:RecurringOrderCreatedMessage) message.
116
114
*
115
+
* The Cart is validated to ensure that it is convertible to an [Order](ctp:api:type:Order). If the validation fails, an error is returned.
116
+
* If the expiration date has been reached when the [Recurring Order](ctp:api:type:RecurringOrder) is processed, its [RecurringOrderState](ctp:api:type:RecurringOrderState) will be updated to `Expired`, and no Order will be created.
117
+
*
117
118
* If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Recurring Order creation may still successfully complete after the error is returned.
118
119
* If you receive this error, you should verify the status of the Recurring Order by querying a unique identifier supplied during the creation request, such as the key.
* Unique identifier of the Message. Can be used to track which Messages have been processed.
20065
+
*
20066
+
*/
20067
+
readonly id: string
20068
+
/**
20069
+
* Version of a resource. In case of Messages, this is always `1`.
20070
+
*
20071
+
*/
20072
+
readonly version: number
20073
+
/**
20074
+
* Date and time (UTC) the Message was generated.
20075
+
*
20076
+
*/
20077
+
readonly createdAt: string
20078
+
/**
20079
+
* Value of `createdAt`.
20080
+
*
20081
+
*/
20082
+
readonly lastModifiedAt: string
20083
+
/**
20084
+
* IDs and references that last modified the Message.
20085
+
*
20086
+
*
20087
+
*/
20088
+
readonly lastModifiedBy?: LastModifiedBy
20089
+
/**
20090
+
* IDs and references that created the Message.
20091
+
*
20092
+
*
20093
+
*/
20094
+
readonly createdBy?: CreatedBy
20095
+
/**
20096
+
* Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
20097
+
* `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
20098
+
*
20099
+
*
20100
+
*/
20101
+
readonly sequenceNumber: number
20102
+
/**
20103
+
* [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
20104
+
*
20105
+
*
20106
+
*/
20107
+
readonly resource: Reference
20108
+
/**
20109
+
* Version of the resource on which the change or action was performed.
20110
+
*
20111
+
*
20112
+
*/
20113
+
readonly resourceVersion: number
20114
+
/**
20115
+
* User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
* Setting the expiration date and time generates the [RecurringOrderExpiresAtSet](ctp:api:type:RecurringOrderExpiresAtSetMessage) Message.
580
+
*
581
+
*/
582
+
exportinterfaceRecurringOrderSetExpiresAtAction
583
+
extendsIRecurringOrderUpdateAction{
584
+
readonlyaction: 'setExpiresAt'
585
+
/**
586
+
* Date and time (UTC) the Recurring Order should expire. If empty, any existing value will be removed.
587
+
*
588
+
* If the date or time is extended or removed when the [RecurringOrderState](ctp:api:type:RecurringOrderState) is `Expired`, the state will be updated to `Active`.
589
+
*
590
+
*
591
+
*/
592
+
readonlyexpiresAt?: string
593
+
}
571
594
/**
572
595
* This update action generates the [RecurringOrderKeySet](ctp:api:type:RecurringOrderKeySetMessage) Message.
0 commit comments