setCartTotal

fun setCartTotal(@IntRange(from = 0) cartTotal: Long)

Set the cart total for this PaymentSession. This should not include shipping costs.

Parameters

cartTotal

the current total price for all non-shipping and non-tax items in a customer's cart