Skip to main content

PolicySource

Where a variant's policy of a kind comes from. Tried in this order: the variant, its product (only when the product has the variant's seller), the seller's default, the marketplace.

enum PolicySource {
VARIANT
PRODUCT
SELLER_DEFAULT
MARKETPLACE
}

Values​

PolicySource.VARIANT​

Set on the variant itself.

PolicySource.PRODUCT​

Set on the product, which has the variant's seller.

PolicySource.SELLER_DEFAULT​

The seller's default policy of the kind.

PolicySource.MARKETPLACE​

The marketplace's policy of the kind.

Member Of​

EffectivePolicy object

Was this page helpful?