Skip to content

Commit 180749a

Browse files
deepthidoppalapudihmctsDeepthi Doppalapudi
andauthored
ServiceRequestDTO json tag name corrected to hmctsOrgId (#24)
Corrected json tag name Co-authored-by: Deepthi Doppalapudi <deepthi.doppalapudi@version1.com>
1 parent b57b5ff commit 180749a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/uk/gov/hmcts/reform/payments/request/CreateServiceRequestDTO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class CreateServiceRequestDTO {
2424
private String ccdCaseNumber;
2525
@JsonProperty("fees")
2626
private FeeDto[] fees;
27-
@JsonProperty("organisation_id")
28-
private String organisationId;
27+
@JsonProperty("hmcts_org_id")
28+
private String hmctsOrgId;
2929

3030
}

src/test/java/uk/gov/hmcts/reform/payments/client/PaymentsClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PaymentsClientTest {
8787
.volume(FEE_VOLUME)
8888
.build()
8989
})
90-
.organisationId("organisation id")
90+
.hmctsOrgId("organisation id")
9191
.build();
9292

9393
private static final PBAServiceRequestDTO SERVICE_REQUEST_PAYMENT = PBAServiceRequestDTO.builder()

0 commit comments

Comments
 (0)