48.0
No
public static ConnectApi.CreateOrderPaymentSummaryOutputRepresentation createOrderPaymentSummary(ConnectApi.CreateOrderPaymentSummaryInputRepresentation orderPaymentSummaryInput)
Type: ConnectApi.CreateOrderPaymentSummaryOutputRepresentation
String orderSummaryId = '1Osxx0000004CCG'; String paymentId1 = '0a3xx0000000085AAA'; String paymentId2 = '0a3xx0000000085BBB'; ConnectApi.CreateOrderPaymentSummaryInputRepresentation orderPaymentSummaryInput = new ConnectApi.CreateOrderPaymentSummaryInputRepresentation(); orderPaymentSummaryInput.orderSummaryId = orderSummaryId; List<String> paymentList = new List<String>(); paymentList.add(paymentId1); paymentList.add(paymentId2); orderPaymentSummaryInput.paymentIds = paymentList; ConnectApi.CreateOrderPaymentSummaryOutputRepresentation result = ConnectAPI.OrderPaymentSummary.createOrderPaymentSummary(orderPaymentSummaryInput);