[FINERACT-1926] Fix request body parameter names

This commit is contained in:
taskain7
2023-05-31 13:35:11 +02:00
committed by Adam Saghy
parent 31f41558fc
commit d76e6aef3d
2 changed files with 8 additions and 8 deletions
@@ -22,10 +22,10 @@ public final class ExternalTransferRequestParameters {
private ExternalTransferRequestParameters() {}
public static final String SETTLEMENT_DATE = "settlement_date";
public static final String OWNER_EXTERNAL_ID = "owner_external_id";
public static final String TRANSFER_EXTERNAL_ID = "transfer_external_id";
public static final String PURCHASE_PRICE_RATIO = "purchase_price_ratio";
public static final String SETTLEMENT_DATE = "settlementDate";
public static final String OWNER_EXTERNAL_ID = "ownerExternalId";
public static final String TRANSFER_EXTERNAL_ID = "transferExternalId";
public static final String PURCHASE_PRICE_RATIO = "purchasePriceRatio";
public static final String DATEFORMAT = "dateFormat";
public static final String LOCALE = "locale";
}
@@ -346,10 +346,10 @@ public class InitiateExternalAssetOwnerTransferTest {
private String getSaleRequestJson(String date, String transferExternalId) {
final HashMap<String, String> map = new HashMap<>();
map.put("settlement_date", date);
map.put("owner_external_id", "1234567890987654321");
map.put("transfer_external_id", transferExternalId);
map.put("purchase_price_ratio", "1.234");
map.put("settlementDate", date);
map.put("ownerExternalId", "1234567890987654321");
map.put("transferExternalId", transferExternalId);
map.put("purchasePriceRatio", "1.234");
map.put("dateFormat", "dd MMMM yyyy");
map.put("locale", "en");
return new Gson().toJson(map);