Create an order with a shipping fee using Java SDK

Hey. Could you advise how I can create an order with a shipping fee using java sdk
For example I try to create order with this code

        final var order = new Builder(LOCATION).
                customerId(customer).
                discounts(lineItemDiscounts).
                lineItems(lineItems).
                fulfillments(
                        List.of(new OrderFulfillment.Builder().
                                type("SHIPMENT").
                                state("PROPOSED").
                                shipmentDetails(new OrderFulfillmentShipmentDetails.Builder().
                                        trackingNumber(now + "").
                                        carrier("UPS").
                                        shippingType("Ground Home Delivery").
                                        recipient(
                                                new OrderFulfillmentRecipient.Builder().
                                                        customerId(customer).
                                                        build()
                                        ).
                                        // is it from shipper side or from buyer? assuming that this notes is from shipper
                                                shippingNote("Shipping note #" + now).
                                        build()
                                ).
                                build()
                        )
                ).
                build();

I can’t find a field for the Fulfillment amount. In the end I want to have order with the Shipping amount. like on a picture

Would you mind sharing the order_id of the example you provided? I believe the shipping in the order is just a line_item in the order but I can double check. :slightly_smiling_face:

I don’t know the order_id of this example. I have only this screenshot and need to reproduce this order for my integration :slightly_smiling_face:
I thought if I added line_item to the line Items(line Items), it just calculates the initial total for each item, which is the item’s base price multiplied by the quantity. That’s why I thought that Shipping was Shipping fee that related to the OrderFulfillment