CartExtension.OptionalCartAdjustmentBasis

This object may provide information about a specific CartExtension.CartAdjustmentBasis.

Methods 

global static OptionalCartAdjustmentBasis of(CartAdjustmentBasis cartAdjustmentBasis) 

Set specified CartAdjustmentBasis

Returns 

TypeDescription
OptionalCartAdjustmentBasisOptionalCartAdjustmentBasis

global static OptionalCartAdjustmentBasis empty() 

Set empty CartAdjustmentBasis

Returns 

TypeDescription
OptionalCartAdjustmentBasisOptionalCartAdjustmentBasis

global CartAdjustmentBasis get() 

Get CartAdjustmentBasis

Returns 

TypeDescription
CartAdjustmentBasisCartAdjustmentBasis

Throws 

ExceptionDescription
OptionalNotCheckedExceptionIf the isPresent() method was not called prior to calling this method

global Boolean isPresent() 

Checks if CartAdjustmentBasis exists (not null)

Returns 

TypeDescription
BooleanBoolean

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!