@@ -86,15 +86,11 @@ public static final class Builder {
8686 private String checkoutReference ;
8787 private com .sumup .sdk .models .Currency currency ;
8888 private String customerId ;
89- private java .time .OffsetDateTime date ;
9089 private String description ;
91- private String id ;
9290 private String merchantCode ;
9391 private com .sumup .sdk .models .CheckoutCreateRequestPurpose purpose ;
9492 private String redirectUrl ;
9593 private String returnUrl ;
96- private com .sumup .sdk .models .CheckoutCreateRequestStatus status ;
97- private java .util .List <com .sumup .sdk .models .TransactionBase > transactions ;
9894 private java .time .OffsetDateTime validUntil ;
9995
10096 private Builder () {}
@@ -146,18 +142,6 @@ public Builder customerId(String customerId) {
146142 return this ;
147143 }
148144
149- /**
150- * Sets the value for {@code date}.
151- *
152- * @param date Date and time of the creation of the payment checkout. Response format expressed
153- * according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code.
154- * @return This builder instance.
155- */
156- public Builder date (java .time .OffsetDateTime date ) {
157- this .date = date ;
158- return this ;
159- }
160-
161145 /**
162146 * Sets the value for {@code description}.
163147 *
@@ -170,17 +154,6 @@ public Builder description(String description) {
170154 return this ;
171155 }
172156
173- /**
174- * Sets the value for {@code id}.
175- *
176- * @param id Unique ID of the checkout resource.
177- * @return This builder instance.
178- */
179- public Builder id (String id ) {
180- this .id = id ;
181- return this ;
182- }
183-
184157 /**
185158 * Sets the value for {@code merchantCode}.
186159 *
@@ -232,28 +205,6 @@ public Builder returnUrl(String returnUrl) {
232205 return this ;
233206 }
234207
235- /**
236- * Sets the value for {@code status}.
237- *
238- * @param status Current status of the checkout.
239- * @return This builder instance.
240- */
241- public Builder status (com .sumup .sdk .models .CheckoutCreateRequestStatus status ) {
242- this .status = status ;
243- return this ;
244- }
245-
246- /**
247- * Sets the value for {@code transactions}.
248- *
249- * @param transactions List of transactions related to the payment.
250- * @return This builder instance.
251- */
252- public Builder transactions (java .util .List <com .sumup .sdk .models .TransactionBase > transactions ) {
253- this .transactions = transactions ;
254- return this ;
255- }
256-
257208 /**
258209 * Sets the value for {@code validUntil}.
259210 *
@@ -278,15 +229,15 @@ public CheckoutCreateRequest build() {
278229 Objects .requireNonNull (checkoutReference , "checkoutReference" ),
279230 Objects .requireNonNull (currency , "currency" ),
280231 customerId ,
281- date ,
232+ null ,
282233 description ,
283- id ,
234+ null ,
284235 Objects .requireNonNull (merchantCode , "merchantCode" ),
285236 purpose ,
286237 redirectUrl ,
287238 returnUrl ,
288- status ,
289- transactions ,
239+ null ,
240+ null ,
290241 validUntil );
291242 }
292243 }
0 commit comments