@@ -29,6 +29,12 @@ public record Reader(
2929 /** Custom human-readable, user-defined name for easier identification of the reader. */
3030 com .sumup .sdk .models .ReaderName name ,
3131
32+ /**
33+ * Identifier of the system-managed service account associated with this reader. Present only
34+ * for readers that are already paired. This field is currently in beta and may change.
35+ */
36+ java .util .UUID serviceAccountId ,
37+
3238 /**
3339 * The status of the reader object gives information about the current state of the reader.
3440 * Possible values: - `unknown` - The reader status is unknown. - `processing` - The reader is
@@ -56,6 +62,7 @@ public static final class Builder {
5662 private com .sumup .sdk .models .ReaderId id ;
5763 private com .sumup .sdk .models .Metadata metadata ;
5864 private com .sumup .sdk .models .ReaderName name ;
65+ private java .util .UUID serviceAccountId ;
5966 private com .sumup .sdk .models .ReaderStatus status ;
6067 private java .time .OffsetDateTime updatedAt ;
6168
@@ -121,6 +128,19 @@ public Builder name(com.sumup.sdk.models.ReaderName name) {
121128 return this ;
122129 }
123130
131+ /**
132+ * Sets the value for {@code serviceAccountId}.
133+ *
134+ * @param serviceAccountId Identifier of the system-managed service account associated with this
135+ * reader. Present only for readers that are already paired. This field is currently in beta
136+ * and may change.
137+ * @return This builder instance.
138+ */
139+ public Builder serviceAccountId (java .util .UUID serviceAccountId ) {
140+ this .serviceAccountId = serviceAccountId ;
141+ return this ;
142+ }
143+
124144 /**
125145 * Sets the value for {@code status}.
126146 *
@@ -160,6 +180,7 @@ public Reader build() {
160180 Objects .requireNonNull (id , "id" ),
161181 metadata ,
162182 Objects .requireNonNull (name , "name" ),
183+ serviceAccountId ,
163184 Objects .requireNonNull (status , "status" ),
164185 Objects .requireNonNull (updatedAt , "updatedAt" ));
165186 }
0 commit comments