CartExtension.OptionalBuyerActionDetails

Optional representation of CartExtension.BuyerActionDetails. This object provides information (if available), that can be used to optimize the business logic in custom calculators.

Methods 

global static OptionalBuyerActionDetails of(BuyerActionDetails buyerActionDetails) 

Set specified BuyerActionDetails

Returns 

TypeDescription
OptionalBuyerActionDetailsOptionalBuyerActionDetails

global static OptionalBuyerActionDetails empty() 

Set empty BuyerActionDetails

Returns 

TypeDescription
OptionalBuyerActionDetailsOptionalBuyerActionDetails

global BuyerActionDetails get() 

Get BuyerActionDetails

Returns 

TypeDescription
BuyerActionDetailsBuyerActionDetails

Throws 

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

global Boolean isPresent() 

Checks if BuyerActionDetails exist (not null)

Returns 

TypeDescription
BooleanBoolean

Newer Version Available

This content describes an older version of this product. View Latest

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