A

AbstractActionClass in namespace Lunar\Actions
AddAddressClass in namespace Lunar\Actions\Carts
AddOrUpdatePurchasableClass in namespace Lunar\Actions\Carts
AssociateUserClass in namespace Lunar\Actions\Carts
Manifest::addons() — Method in class Manifest

Get a collection of our addons.

AddressableClass in namespace Lunar\Base
AttributeManifestClass in namespace Lunar\Base
AttributeManifest::addType() — Method in class AttributeManifest
AttributeManifestInterfaceClass in namespace Lunar\Base
AttributeManifestInterface::addType() — Method in class AttributeManifestInterface

Add an attribute type.

CartLineModifiers::add() — Method in class CartLineModifiers
CartModifiers::add() — Method in class CartModifiers
CartSessionInterface::associate() — Method in class CartSessionInterface

Associate a cart to a user.

AsAttributeDataClass in namespace Lunar\Base\Casts
DiscountManagerInterface::addType() — Method in class DiscountManagerInterface

Add a discount type by classname

DiscountManagerInterface::addApplied() — Method in class DiscountManagerInterface

Add an applied discount

DiscountManagerInterface::apply() — Method in class DiscountManagerInterface

Apply discounts for a given cart.

DiscountTypeInterface::apply() — Method in class DiscountTypeInterface

Execute and apply the discount if conditions are met.

FieldTypeManifest::add() — Method in class FieldTypeManifest

Add a FieldType into Lunar.

FieldTypeManifestInterface::add() — Method in class FieldTypeManifestInterface

Add an attribute type.

OrderModifiers::add() — Method in class OrderModifiers
PaymentTypeInterface::authorize() — Method in class PaymentTypeInterface

Authorize the payment.

ShippingManifest::addOption() — Method in class ShippingManifest

Add a shipping option to the manifest.

ShippingManifest::addOptions() — Method in class ShippingManifest

Add a collection of shipping options to the manifest.

ShippingManifestInterface::addOption() — Method in class ShippingManifestInterface

Add a shipping option to the manifest.

ShippingManifestInterface::addOptions() — Method in class ShippingManifestInterface

Add a collection of shipping options to the manifest.

ShippingModifiers::add() — Method in class ShippingModifiers

Add a shipping modifier.

StandardMediaConversions::apply() — Method in class StandardMediaConversions
HasChannels::activeChannels() — Method in class HasChannels

Return the active channels relationship.

HasCustomerGroups::applyCustomerGroupScope() — Method in class HasCustomerGroups

Apply customer group scope.

HasTranslations::attr() — Method in class HasTranslations

Shorthand to translate an attribute.

$ Searchable#additionalSearchFieldsProperty in class Searchable

Define the additional fields we want to index.

$ Searchable#additionalFilterableFieldsProperty in class Searchable

Define the additional filterable fields.

$ Searchable#additionalSortableFieldsProperty in class Searchable

Define the additional sortable fields.

Searchable::addFilterableAttributes() — Method in class Searchable

Add additional fields to filter on.

Searchable::addSortableAttributes() — Method in class Searchable

Add additional sortable attributes.

Searchable::addSearchableAttribute() — Method in class Searchable

Add an attribute into the additional searchable fields.

$ FreeItem#availableProperty in class FreeItem

Quantity available from promotions,

$ Promotion#amountProperty in class Promotion

Discount amount

TaxBreakdown::addAmount() — Method in class TaxBreakdown

Add a tax breakdown amount.

AddonsDiscoverClass in namespace Lunar\Console\Commands
AddressDataClass in namespace Lunar\Console\Commands\Import
AbstractDiscountTypeClass in namespace Lunar\DiscountTypes
AbstractDiscountType::addDiscountBreakdown() — Method in class AbstractDiscountType

Check if discount's conditions met.

AmountOffClass in namespace Lunar\DiscountTypes
AmountOff::apply() — Method in class AmountOff

Called just before cart totals are calculated.

BuyXGetY::apply() — Method in class BuyXGetY

Called just before cart totals are calculated.

AttributeManifestClass in namespace Lunar\Facades
AssociateClass in namespace Lunar\Jobs\Products\Associations
CartSessionManager::associate() — Method in class CartSessionManager

Associate a cart to a user.

$ DiscountManager#appliedProperty in class DiscountManager

The applied discounts.

DiscountManager::addType() — Method in class DiscountManager

Add a discount type by classname

DiscountManager::addApplied() — Method in class DiscountManager

Add an applied discount

DiscountManager::apply() — Method in class DiscountManager

Apply discounts for a given cart.

AddressClass in namespace Lunar\Models
AssetClass in namespace Lunar\Models
AttributeClass in namespace Lunar\Models
$ Attribute#attribute_typeProperty in class Attribute
$ Attribute#attribute_group_idProperty in class Attribute
Attribute::attributable() — Method in class Attribute

Return the attribuable relation.

Attribute::attributeGroup() — Method in class Attribute

Returns the attribute group relation.

AttributeGroupClass in namespace Lunar\Models
$ AttributeGroup#attributable_typeProperty in class AttributeGroup
AttributeGroup::attributes() — Method in class AttributeGroup

Return the attributes relationship.

Cart::addresses() — Method in class Cart

Return the addresses relationship.

Cart::add() — Method in class Cart

Add or update a purchasable item to the cart

Cart::addLines() — Method in class Cart

Add cart lines.

Cart::associate() — Method in class Cart

Associate a user to the cart

Cart::addAddress() — Method in class Cart

Add an address to the Cart.

$ Collection#attribute_dataProperty in class Collection
$ Customer#account_refProperty in class Customer
$ Customer#attribute_dataProperty in class Customer
Customer::addresses() — Method in class Customer

Return the addresses relationship.

Order::addresses() — Method in class Order

Return the addresses relationship.

$ Product#attribute_dataProperty in class Product
Product::associations() — Method in class Product

Return the associations relationship.

Product::associate() — Method in class Product

Associate a product to another with a type.

$ ProductVariant#attribute_dataProperty in class ProductVariant
$ TaxZone#activeProperty in class TaxZone
$ Transaction#amountProperty in class Transaction
AddressObserverClass in namespace Lunar\Observers
AbstractPaymentClass in namespace Lunar\PaymentTypes
OfflinePayment::authorize() — Method in class OfflinePayment

Authorize the payment.

ApplyDiscountsClass in namespace Lunar\Pipelines\Cart
ApplyShippingClass in namespace Lunar\Pipelines\Cart
ArrClass in namespace Lunar\Utils

B

Manifest::build() — Method in class Manifest

Build the addon manifest.

$ AttributeManifest#baseTypesProperty in class AttributeManifest
BaseModelClass in namespace Lunar\Base
PaymentManagerInterface::buildProvider() — Method in class PaymentManagerInterface

Build the provider.

TaxManagerInterface::buildProvider() — Method in class TaxManagerInterface

Build the provider.

CachesProperties::bootCachesProperties() — Method in class CachesProperties
HasChannels::bootHasChannels() — Method in class HasChannels
HasDimensions::bootHasDimensions() — Method in class HasDimensions

Method when trait is booted.

HasPrices::basePrices() — Method in class HasPrices

Return base prices query.

HasUrls::bootHasUrls() — Method in class HasUrls

Boot the trait.

BuyXGetYClass in namespace Lunar\DiscountTypes
$ SystemTaxDriver#billingAddressProperty in class SystemTaxDriver

The taxable billing address.

BillingAddressIncompleteExceptionClass in namespace Lunar\Exceptions\Carts
BillingAddressMissingExceptionClass in namespace Lunar\Exceptions\Carts
LunarServiceProvider::boot() — Method in class LunarServiceProvider

Bootstrap any application services.

PaymentManager::buildProvider() — Method in class PaymentManager

Build a tax provider instance.

TaxManager::buildProvider() — Method in class TaxManager

Build a tax provider instance.

$ Address#billing_defaultProperty in class Address
Attribute::boot() — Method in class Attribute
BrandClass in namespace Lunar\Models
Cart::billingAddress() — Method in class Cart

Return the billing address relationship.

Discount::brands() — Method in class Discount
Order::billingAddress() — Method in class Order

Return the billing address relationship.

$ Product#brand_idProperty in class Product
Product::brand() — Method in class Product

Return the brand relationship.

$ ProductVariant#backorderProperty in class ProductVariant
TaxClass::booted() — Method in class TaxClass
BaseValidatorClass in namespace Lunar\Validation

C

CalculateLineClass in namespace Lunar\Actions\Carts
CalculateLineSubtotalClass in namespace Lunar\Actions\Carts
CreateOrderClass in namespace Lunar\Actions\Carts
CartLineModifierClass in namespace Lunar\Base
CartLineModifier::calculating() — Method in class CartLineModifier

Called just before cart totals are calculated.

CartLineModifier::calculated() — Method in class CartLineModifier

Called just after cart totals are calculated.

CartLineModifiersClass in namespace Lunar\Base
CartModifierClass in namespace Lunar\Base
CartModifier::calculating() — Method in class CartModifier

Called just before cart totals are calculated.

CartModifier::calculated() — Method in class CartModifier

Called just after cart totals are calculated.

CartModifiersClass in namespace Lunar\Base
CartSessionInterfaceClass in namespace Lunar\Base
CartSessionInterface::current() — Method in class CartSessionInterface

Return the current cart.

AsAttributeData::castUsing() — Method in class AsAttributeData

Get the caster class to use when casting from / to this cast target.

CartDiscountClass in namespace Lunar\Base\DataTransferObjects
OrderModifier::creating() — Method in class OrderModifier
OrderModifier::created() — Method in class OrderModifier
PaymentTypeInterface::cart() — Method in class PaymentTypeInterface

Set the cart.

PaymentTypeInterface::capture() — Method in class PaymentTypeInterface

Capture an amount for a transaction.

PricingManagerInterface::currency() — Method in class PricingManagerInterface

Set the currency property.

PricingManagerInterface::customerGroups() — Method in class PricingManagerInterface

Set the customer groups.

PricingManagerInterface::customerGroup() — Method in class PricingManagerInterface

Set the customer group.

ShippingManifest::clearOptions() — Method in class ShippingManifest

Remove all shipping options

ShippingManifestInterface::clearOptions() — Method in class ShippingManifestInterface

Remove all shipping options

TaxManagerInterface::createSystemDriver() — Method in class TaxManagerInterface

Create the system driver.

CachesPropertiesClass in namespace Lunar\Base\Traits
CachesProperties::cachePropertiesPrefix() — Method in class CachesProperties

Returns a unique key for the cache.

CachesProperties::cacheProperties() — Method in class CachesProperties

Cache properties for reuse in same request.

CanScheduleAvailabilityClass in namespace Lunar\Base\Traits
HasChannels::channels() — Method in class HasChannels

Get all of the models channels.

HasCustomerGroups::customerGroups() — Method in class HasCustomerGroups

Get the relationship for the customer groups.

LunarUser::customers() — Method in class LunarUser
CouponValidatorClass in namespace Lunar\Base\Validation
CouponValidatorInterfaceClass in namespace Lunar\Base\Validation
AbstractDiscountType::checkDiscountConditions() — Method in class AbstractDiscountType

Check if discount's conditions met.

$ SystemTaxDriver#currencyProperty in class SystemTaxDriver

The currency model.

$ SystemTaxDriver#cartLineProperty in class SystemTaxDriver

The cart line model.

CartLineIdMismatchExceptionClass in namespace Lunar\Exceptions
CartExceptionClass in namespace Lunar\Exceptions\Carts
CustomerNotBelongsToUserExceptionClass in namespace Lunar\Exceptions
CartSessionClass in namespace Lunar\Facades
DB::connection() — Method in class DB

Get the registered DatabaseManger class.

$ File#configProperty in class File

The config to use.

UrlGenerator::createUrl() — Method in class UrlGenerator

Create default url from an attribute.

$ RebuildCollectionTree#currentTreeProperty in class RebuildCollectionTree

The current collection tree.

$ UpdateProductPositions#collectionProperty in class UpdateProductPositions

The target collection.

CartSessionAuthListenerClass in namespace Lunar\Listeners
$ LunarServiceProvider#configFilesProperty in class LunarServiceProvider
CartSessionManagerClass in namespace Lunar\Managers
CartSessionManager::current() — Method in class CartSessionManager

Return the current cart.

CartSessionManager::createOrder() — Method in class CartSessionManager

Create an order from a cart instance.

CartSessionManager::createNewCart() — Method in class CartSessionManager

Create a new cart instance.

$ DiscountManager#channelsProperty in class DiscountManager

The current channels.

$ DiscountManager#customerGroupsProperty in class DiscountManager

The current customer groups

DiscountManager::channel() — Method in class DiscountManager

Set a single channel or a collection.

DiscountManager::customerGroup() — Method in class DiscountManager

Set a single customer group or a collection.

PaymentManager::createOfflineDriver() — Method in class PaymentManager
PaymentManager::createDriver() — Method in class PaymentManager

Create a new driver instance.

$ PricingManager#currencyProperty in class PricingManager

The instance of the currency.

$ PricingManager#customerGroupsProperty in class PricingManager

The customer groups to check against.

PricingManager::currency() — Method in class PricingManager

Set the currency property.

PricingManager::customerGroups() — Method in class PricingManager

Set the customer groups.

PricingManager::customerGroup() — Method in class PricingManager

Set the customer group.

$ StorefrontSessionManager#channelProperty in class StorefrontSessionManager

The current channel

$ StorefrontSessionManager#customerGroupsProperty in class StorefrontSessionManager

The collection of customer groups to use.

$ StorefrontSessionManager#currencyProperty in class StorefrontSessionManager

The current currency

$ StorefrontSessionManager#customerProperty in class StorefrontSessionManager

The current customer

TaxManager::createSystemDriver() — Method in class TaxManager
$ Address#castsProperty in class Address

Define attribute casting.

$ Address#customer_idProperty in class Address
$ Address#company_nameProperty in class Address
$ Address#cityProperty in class Address
$ Address#country_idProperty in class Address
$ Address#contact_mailProperty in class Address
$ Address#contact_phoneProperty in class Address
$ Address#created_atProperty in class Address
Address::country() — Method in class Address

Return the country relationship.

Address::customer() — Method in class Address

Return the customer relationship.

$ Asset#created_atProperty in class Asset
$ Attribute#castsProperty in class Attribute

Define which attributes should be cast.

$ Attribute#configurationProperty in class Attribute
$ Attribute#created_atProperty in class Attribute
$ AttributeGroup#castsProperty in class AttributeGroup

Define which attributes should be cast.

$ AttributeGroup#created_atProperty in class AttributeGroup
$ Brand#created_atProperty in class Brand
CartClass in namespace Lunar\Models
$ Cart#cachablePropertiesProperty in class Cart

Array of cachable class properties.

$ Cart#castsProperty in class Cart

The attributes that should be cast.

$ Cart#customer_idProperty in class Cart
$ Cart#currency_idProperty in class Cart
$ Cart#channel_idProperty in class Cart
$ Cart#coupon_codeProperty in class Cart
$ Cart#completed_atProperty in class Cart
$ Cart#created_atProperty in class Cart
Cart::currency() — Method in class Cart

Return the currency relationship.

Cart::customer() — Method in class Cart

Return the customer relationship.

Cart::completedOrder() — Method in class Cart

Return the completed order relationship.

Cart::completedOrders() — Method in class Cart

Return the carts completed order.

Cart::calculate() — Method in class Cart

Calculate the cart totals and cache the result.

Cart::clear() — Method in class Cart

Deletes all cart lines.

Cart::createOrder() — Method in class Cart

Create an order from the Cart.

Cart::canCreateOrder() — Method in class Cart

Returns whether a cart has enough info to create an order.

Cart::checkFingerprint() — Method in class Cart

Check whether a given fingerprint matches the one being generated for the cart.

CartAddressClass in namespace Lunar\Models
$ CartAddress#cachablePropertiesProperty in class CartAddress

Array of cachable class properties.

$ CartAddress#castsProperty in class CartAddress

The attributes that should be cast.

$ CartAddress#cart_idProperty in class CartAddress
$ CartAddress#country_idProperty in class CartAddress
$ CartAddress#company_nameProperty in class CartAddress
$ CartAddress#cityProperty in class CartAddress
$ CartAddress#contact_emailProperty in class CartAddress
$ CartAddress#contact_phoneProperty in class CartAddress
$ CartAddress#created_atProperty in class CartAddress
CartAddress::cart() — Method in class CartAddress

Return the cart relationship.

CartAddress::country() — Method in class CartAddress

Return the country relationship.

CartLineClass in namespace Lunar\Models
$ CartLine#cachablePropertiesProperty in class CartLine

Array of cachable class properties.

$ CartLine#castsProperty in class CartLine

The attributes that should be cast.

$ CartLine#cart_idProperty in class CartLine
$ CartLine#created_atProperty in class CartLine
CartLine::cart() — Method in class CartLine

Return the cart relationship.

ChannelClass in namespace Lunar\Models
$ Channel#created_atProperty in class Channel
Channel::channelable() — Method in class Channel

Get the parent channelable model.

CollectionClass in namespace Lunar\Models
$ Collection#castsProperty in class Collection

Define which attributes should be cast.

$ Collection#collection_group_idProperty in class Collection
$ Collection#created_atProperty in class Collection
Collection::customerGroups() — Method in class Collection

Return the customer groups relationship.

CollectionGroupClass in namespace Lunar\Models
$ CollectionGroup#created_atProperty in class CollectionGroup
CollectionGroup::collections() — Method in class CollectionGroup
CountryClass in namespace Lunar\Models
$ Country#capitalProperty in class Country
$ Country#currencyProperty in class Country
$ Country#created_atProperty in class Country
CurrencyClass in namespace Lunar\Models
$ Currency#codeProperty in class Currency
$ Currency#created_atProperty in class Currency
CustomerClass in namespace Lunar\Models
$ Customer#castsProperty in class Customer
{@inheritDoc}
$ Customer#company_nameProperty in class Customer
$ Customer#created_atProperty in class Customer
Customer::customerGroups() — Method in class Customer

Return the customer group relationship.

CustomerGroupClass in namespace Lunar\Models
$ CustomerGroup#created_atProperty in class CustomerGroup
CustomerGroup::customers() — Method in class CustomerGroup

Return the customer's relationship.

$ Discount#castsProperty in class Discount

Define which attributes should be cast.

$ Discount#couponProperty in class Discount
$ Discount#created_atProperty in class Discount
Discount::collections() — Method in class Discount

Return the collections relationship.

Discount::customerGroups() — Method in class Discount

Return the customer groups relationship.

$ DiscountCollection#castsProperty in class DiscountCollection

Define which attributes should be cast.

DiscountCollection::collection() — Method in class DiscountCollection
$ DiscountPurchasable#castsProperty in class DiscountPurchasable

Define which attributes should be cast.

$ DiscountPurchasable#created_atProperty in class DiscountPurchasable
$ Language#codeProperty in class Language
$ Language#created_atProperty in class Language
$ Order#castsProperty in class Order
{@inheritDoc}
$ Order#customer_idProperty in class Order
$ Order#channel_idProperty in class Order
$ Order#customer_referenceProperty in class Order
$ Order#currencyProperty in class Order
$ Order#compare_currency_codeProperty in class Order
$ Order#created_atProperty in class Order
Order::channel() — Method in class Order

Return the channel relationship.

Order::cart() — Method in class Order

Return the cart relationship.

Order::currency() — Method in class Order

Return the currency relationship.

Order::captures() — Method in class Order

Return the charges relationship.

Order::customer() — Method in class Order

Return the customer relationship.

$ OrderAddress#castsProperty in class OrderAddress

The attributes that should be cast.

$ OrderAddress#country_idProperty in class OrderAddress
$ OrderAddress#company_nameProperty in class OrderAddress
$ OrderAddress#cityProperty in class OrderAddress
$ OrderAddress#contact_emailProperty in class OrderAddress
$ OrderAddress#contact_phoneProperty in class OrderAddress
$ OrderAddress#created_atProperty in class OrderAddress
OrderAddress::country() — Method in class OrderAddress

Return the country relationship.

$ OrderLine#castsProperty in class OrderLine

The attributes that should be cast.

$ OrderLine#created_atProperty in class OrderLine
OrderLine::currency() — Method in class OrderLine

Return the currency relationship.

$ Price#castsProperty in class Price
$ Price#customer_group_idProperty in class Price
$ Price#currency_idProperty in class Price
$ Price#compare_priceProperty in class Price
$ Price#created_atProperty in class Price
Price::currency() — Method in class Price

Return the currency relationship.

Price::customerGroup() — Method in class Price

Return the customer group relationship.

$ Product#castsProperty in class Product

Define which attributes should be cast.

$ Product#created_atProperty in class Product
Product::collections() — Method in class Product

Return the product collections relation.

Product::customerGroups() — Method in class Product

Return the customer groups relationship.

$ ProductAssociation#created_atProperty in class ProductAssociation
$ ProductOption#castsProperty in class ProductOption

Define which attributes should be cast.

$ ProductOption#created_atProperty in class ProductOption
$ ProductOptionValue#castsProperty in class ProductOptionValue

Define which attributes should be cast.

$ ProductOptionValue#created_atProperty in class ProductOptionValue
$ ProductType#created_atProperty in class ProductType
$ ProductVariant#castsProperty in class ProductVariant
{@inheritDoc}
$ ProductVariant#created_atProperty in class ProductVariant
$ State#country_idProperty in class State
$ State#codeProperty in class State
$ State#created_atProperty in class State
State::country() — Method in class State

Return the country relationship.

$ Tag#created_atProperty in class Tag
$ TaxClass#created_atProperty in class TaxClass
$ TaxRate#created_atProperty in class TaxRate
$ TaxRateAmount#created_atProperty in class TaxRateAmount
$ TaxZone#castsProperty in class TaxZone

Define the attribute casting.

$ TaxZone#created_atProperty in class TaxZone
TaxZone::countries() — Method in class TaxZone

Return the countries relationship.

TaxZone::customerGroups() — Method in class TaxZone

Return the customer groups relationship.

$ TaxZoneCountry#country_idProperty in class TaxZoneCountry
$ TaxZoneCountry#created_atProperty in class TaxZoneCountry
TaxZoneCountry::country() — Method in class TaxZoneCountry

Return the country relation.

$ TaxZoneCustomerGroup#customer_group_idProperty in class TaxZoneCustomerGroup
$ TaxZoneCustomerGroup#created_atProperty in class TaxZoneCustomerGroup
TaxZoneCustomerGroup::customerGroup() — Method in class TaxZoneCustomerGroup

Return the customer group relation.

$ TaxZonePostcode#country_idProperty in class TaxZonePostcode
$ TaxZonePostcode#created_atProperty in class TaxZonePostcode
TaxZonePostcode::country() — Method in class TaxZonePostcode

Return the country relation.

$ TaxZoneState#created_atProperty in class TaxZoneState
$ Transaction#castsProperty in class Transaction
{@inheritDoc}
$ Transaction#card_typeProperty in class Transaction
$ Transaction#created_atProperty in class Transaction
Transaction::currency() — Method in class Transaction

Return the currency relationship.

Transaction::capture() — Method in class Transaction
$ Url#castsProperty in class Url

Define attribute casting.

$ Url#created_atProperty in class Url
AddressObserver::creating() — Method in class AddressObserver

Handle the Address "creating" event.

CartLineObserverClass in namespace Lunar\Observers
CartLineObserver::creating() — Method in class CartLineObserver

Handle the CartLine "creating" event.

ChannelObserverClass in namespace Lunar\Observers
ChannelObserver::created() — Method in class ChannelObserver

Handle the User "created" event.

CollectionObserverClass in namespace Lunar\Observers
CurrencyObserverClass in namespace Lunar\Observers
CurrencyObserver::created() — Method in class CurrencyObserver

Handle the Currency "created" event.

CustomerGroupObserverClass in namespace Lunar\Observers
CustomerGroupObserver::created() — Method in class CustomerGroupObserver

Handle the Language "created" event.

LanguageObserver::created() — Method in class LanguageObserver

Handle the Language "created" event.

OrderLineObserver::creating() — Method in class OrderLineObserver

Handle the OrderLine "creating" event.

TransactionObserver::created() — Method in class TransactionObserver

Handle the Transaction "created" event.

UrlObserver::created() — Method in class UrlObserver

Handle the Url "created" event.

$ AbstractPayment#cartProperty in class AbstractPayment

The instance of the cart.

$ AbstractPayment#configProperty in class AbstractPayment

Any config for this payment provider.

AbstractPayment::cart() — Method in class AbstractPayment

Set the cart.

OfflinePayment::capture() — Method in class OfflinePayment

Capture an amount for a transaction.

CalculateClass in namespace Lunar\Pipelines\Cart
CalculateLinesClass in namespace Lunar\Pipelines\Cart
CalculateTaxClass in namespace Lunar\Pipelines\Cart
CleanUpOrderLinesClass in namespace Lunar\Pipelines\Order\Creation
CreateOrderAddressesClass in namespace Lunar\Pipelines\Order\Creation
CreateOrderLinesClass in namespace Lunar\Pipelines\Order\Creation
CreateShippingLineClass in namespace Lunar\Pipelines\Order\Creation
CartLineQuantityClass in namespace Lunar\Validation\CartLine

D

DiscountBreakdownClass in namespace Lunar\Base\Casts
DiscountManagerInterfaceClass in namespace Lunar\Base
DiscountTypeInterfaceClass in namespace Lunar\Base
HasUrls::defaultUrl() — Method in class HasUrls
DiscountBreakdownClass in namespace Lunar\Base\ValueObjects\Cart
DiscountBreakdownLineClass in namespace Lunar\Base\ValueObjects\Cart
$ Promotion#descriptionProperty in class Promotion

Description of the promotion.

$ AddonsDiscover#descriptionProperty in class AddonsDiscover

The console command description.

$ AddressData#descriptionProperty in class AddressData

The console command description.

$ MigrateGetCandy#descriptionProperty in class MigrateGetCandy

The console command description.

$ SyncNewCustomerOrders#descriptionProperty in class SyncNewCustomerOrders

The console command description.

$ ScoutIndexer#descriptionProperty in class ScoutIndexer

The console command description.

$ InstallLunar#descriptionProperty in class InstallLunar

The console command description.

Price::decimal() — Method in class Price

Get the decimal value.

$ AbstractDiscountType#discountProperty in class AbstractDiscountType

The instance of the discount.

SystemTaxDriver::defaultTaxZone() — Method in class SystemTaxDriver
DisallowMultipleCartOrdersExceptionClass in namespace Lunar\Exceptions
DBClass in namespace Lunar\Facades
DiscountsClass in namespace Lunar\Facades
DropdownClass in namespace Lunar\FieldTypes
$ UrlGenerator#defaultLanguageProperty in class UrlGenerator

The default language.

DissociateClass in namespace Lunar\Jobs\Products\Associations
DiscountManagerClass in namespace Lunar\Managers
$ DiscountManager#discountsProperty in class DiscountManager

The available discounts

$ Address#delivery_instructionsProperty in class Address
$ Attribute#default_valueProperty in class Attribute
$ Cart#discountTotalProperty in class Cart

The discount total.

$ Cart#discountBreakdownProperty in class Cart

All the discount breakdowns for the cart.

$ Cart#discountsProperty in class Cart

The cart-level discounts.

Cart::draftOrder() — Method in class Cart

Return the draft order relationship.

$ CartAddress#delivery_instructionsProperty in class CartAddress
$ CartLine#discountTotalProperty in class CartLine

The discount total.

CartLine::discounts() — Method in class CartLine
$ Channel#defaultProperty in class Channel
$ Channel#deleted_atProperty in class Channel
$ Collection#deleted_atProperty in class Collection
$ Currency#decimal_placesProperty in class Currency
$ Currency#defaultProperty in class Currency
$ CustomerGroup#defaultProperty in class CustomerGroup
DiscountClass in namespace Lunar\Models
DiscountCollectionClass in namespace Lunar\Models
DiscountCollection::discount() — Method in class DiscountCollection

Return the discount relationship.

DiscountPurchasableClass in namespace Lunar\Models
$ DiscountPurchasable#discount_idProperty in class DiscountPurchasable
DiscountPurchasable::discount() — Method in class DiscountPurchasable

Return the discount relationship.

$ Language#defaultProperty in class Language
$ Order#discount_totalProperty in class Order
$ Order#discount_breakdownProperty in class Order
Order::digitalLines() — Method in class Order

Return digital product lines relationship.

$ OrderAddress#delivery_instructionsProperty in class OrderAddress
$ OrderLine#descriptionProperty in class OrderLine
$ OrderLine#discount_totalProperty in class OrderLine
$ Product#deleted_atProperty in class Product
Product::dissociate() — Method in class Product

Dissociate a product to another with a type.

$ ProductVariant#deleted_atProperty in class ProductVariant
$ TaxClass#defaultProperty in class TaxClass
$ TaxZone#defaultProperty in class TaxZone
$ Transaction#driverProperty in class Transaction
$ Transaction#deleted_atProperty in class Transaction
Transaction::driver() — Method in class Transaction
$ Url#defaultProperty in class Url
ChannelObserver::deleted() — Method in class ChannelObserver

Handle the User "deleted" event.

CurrencyObserver::deleted() — Method in class CurrencyObserver

Handle the Currency "deleted" event.

CustomerGroupObserver::deleted() — Method in class CustomerGroupObserver

Handle the CustomerGroup "deleted" event.

LanguageObserver::deleting() — Method in class LanguageObserver

Handle the Language "deleted" event.

UrlObserver::deleted() — Method in class UrlObserver

Handle the Url "deleted" event.

$ AbstractPayment#dataProperty in class AbstractPayment

Data storage.

Arr::diff() — Method in class Arr

E

AddAddress::execute() — Method in class AddAddress

Execute the action.

AddOrUpdatePurchasable::execute() — Method in class AddOrUpdatePurchasable

Execute the action.

AssociateUser::execute() — Method in class AssociateUser

Execute the action

CalculateLine::execute() — Method in class CalculateLine

Execute the action.

CalculateLineSubtotal::execute() — Method in class CalculateLineSubtotal

Execute the action.

CreateOrder::execute() — Method in class CreateOrder

Execute the action.

GenerateFingerprint::execute() — Method in class GenerateFingerprint
GetExistingCartLine::execute() — Method in class GetExistingCartLine

Execute the action

MergeCart::execute() — Method in class MergeCart

Execute the action.

RemovePurchasable::execute() — Method in class RemovePurchasable

Execute the action

SetShippingOption::execute() — Method in class SetShippingOption

Execute the action.

UpdateCartLine::execute() — Method in class UpdateCartLine

Execute the action.

ValidateCartForOrder::execute() — Method in class ValidateCartForOrder

Execute the action.

SortProducts::execute() — Method in class SortProducts

Execute the action.

SortProductsByPrice::execute() — Method in class SortProductsByPrice

Execute the action.

SortProductsBySku::execute() — Method in class SortProductsBySku

Execute the action.

GenerateOrderReference::execute() — Method in class GenerateOrderReference

Execute the action.

GetTaxZone::execute() — Method in class GetTaxZone
GetTaxZonePostcode::execute() — Method in class GetTaxZonePostcode

Execute the action.

CartException::errors() — Method in class CartException
$ Country#emojiProperty in class Country
$ Country#emoji_uProperty in class Country
$ Currency#exchange_rateProperty in class Currency
$ Currency#enabledProperty in class Currency
$ Discount#ends_atProperty in class Discount
$ Order#exchange_rateProperty in class Order
$ ProductVariant#eanProperty in class ProductVariant
$ Url#element_typeProperty in class Url
$ Url#element_idProperty in class Url
Url::element() — Method in class Url

Return the element relationship.

AddressObserver::ensureOnlyOneDefaultShipping() — Method in class AddressObserver

Ensures that only one default shipping address exists.

AddressObserver::ensureOnlyOneDefaultBilling() — Method in class AddressObserver

Ensures that only one default billing address exists.

ChannelObserver::ensureOnlyOneDefault() — Method in class ChannelObserver

Ensures that only one default channel exists.

CurrencyObserver::ensureOnlyOneDefault() — Method in class CurrencyObserver

Ensures that only one default currency exists.

CustomerGroupObserver::ensureOnlyOneDefault() — Method in class CustomerGroupObserver

Ensures that only one default CustomerGroup exists.

LanguageObserver::ensureOnlyOneDefault() — Method in class LanguageObserver

Ensures that only one default language exists.

UrlObserver::ensureOnlyOneDefault() — Method in class UrlObserver

Ensures that only one default channel exists.

F

$ AddAddress#fillableAttributesProperty in class AddAddress
Manifest::formatPackage() — Method in class Manifest

Format a given composer package into our addon format.

CartSessionInterface::forget() — Method in class CartSessionInterface

Forget the current cart session.

FieldTypeClass in namespace Lunar\Base
FieldTypeManifestClass in namespace Lunar\Base
$ FieldTypeManifest#fieldTypesProperty in class FieldTypeManifest

The FieldTypes available in Lunar.

FieldTypeManifestInterfaceClass in namespace Lunar\Base
PricingManagerInterface::for() — Method in class PricingManagerInterface

Get the price for a purchasable.

HasModelExtending::forwardCallsWhen() — Method in class HasModelExtending

Forward a method call to the model only when calling a method on the model.

HasModelExtending::fireModelEvent() — Method in class HasModelExtending

Fire the given event for the model.

HasModelExtending::flushEventListeners() — Method in class HasModelExtending

Remove all the event listeners for the model.

FreeItemClass in namespace Lunar\Base\ValueObjects\Cart
Price::formatted() — Method in class Price

Format the value with the currency.

Price::formatValue() — Method in class Price
FieldTypeExceptionClass in namespace Lunar\Exceptions
FieldTypeMissingExceptionClass in namespace Lunar\Exceptions\FieldTypes
FingerprintMismatchExceptionClass in namespace Lunar\Exceptions
FieldTypeManifestClass in namespace Lunar\Facades
FileClass in namespace Lunar\FieldTypes
CartSessionManager::forget() — Method in class CartSessionManager

Forget the current cart session.

PricingManager::for() — Method in class PricingManager

Set the purchasable property.

StorefrontSessionManager::forget() — Method in class StorefrontSessionManager
{@inheritDoc}
$ Address#first_nameProperty in class Address
Asset::file() — Method in class Asset

Get the associated file.

$ Attribute#filterableProperty in class Attribute
$ Brand#filterableProperty in class Brand

Define our base filterable attributes.

$ Cart#freeItemsProperty in class Cart

Qualifying promotional free items.

Cart::fingerprint() — Method in class Cart

Get a unique fingerprint for the cart to identify if the contents have changed.

$ CartAddress#fillableProperty in class CartAddress

Define which attributes should be protected from mass assignment.

$ CartAddress#first_nameProperty in class CartAddress
$ Collection#filterableProperty in class Collection

Define our base filterable attributes.

$ Customer#filterableProperty in class Customer

Define our base filterable attributes.

$ Customer#first_nameProperty in class Customer
$ DiscountPurchasable#fillableProperty in class DiscountPurchasable
$ Order#filterableProperty in class Order

Define our base filterable attributes.

$ OrderAddress#fillableProperty in class OrderAddress

Define which attributes should be protected from mass assignment.

$ OrderAddress#first_nameProperty in class OrderAddress
$ Product#filterableProperty in class Product

Define our base filterable attributes.

$ Product#fillableProperty in class Product

Define which attributes should be fillable during mass assignment.

$ ProductAssociation#fillableProperty in class ProductAssociation

Define the fillable attributes.

$ ProductOption#filterableProperty in class ProductOption

Define our base filterable attributes.

$ UserPermission#fillableProperty in class UserPermission
ChannelObserver::forceDeleted() — Method in class ChannelObserver

Handle the User "forceDeleted" event.

CurrencyObserver::forceDeleted() — Method in class CurrencyObserver

Handle the Currency "forceDeleted" event.

CustomerGroupObserver::forceDeleted() — Method in class CustomerGroupObserver

Handle the CustomerGroup "forceDeleted" event.

LanguageObserver::forceDeleted() — Method in class LanguageObserver

Handle the Language "forceDeleted" event.

FillOrderFromCartClass in namespace Lunar\Pipelines\Order\Creation
BaseValidator::fail() — Method in class BaseValidator

Fail the validation

G

GenerateFingerprintClass in namespace Lunar\Actions\Carts
GetExistingCartLineClass in namespace Lunar\Actions\Carts
SortProductsByPrice::getMinPrice() — Method in class SortProductsByPrice
GenerateOrderReferenceClass in namespace Lunar\Actions\Orders
GetTaxZoneClass in namespace Lunar\Actions\Taxes
GetTaxZonePostcodeClass in namespace Lunar\Actions\Taxes
GetTaxZonePostcode::getZoneMatches() — Method in class GetTaxZonePostcode

Return the zone or zones which match this postcode.

AttributeManifest::getTypes() — Method in class AttributeManifest
AttributeManifest::getType() — Method in class AttributeManifest
AttributeManifestInterface::getTypes() — Method in class AttributeManifestInterface

Return the attribute types.

AttributeManifestInterface::getType() — Method in class AttributeManifestInterface

Return an attribute type by it's key.

CartLineModifiers::getModifiers() — Method in class CartLineModifiers
CartModifiers::getModifiers() — Method in class CartModifiers
CartSessionInterface::getSessionKey() — Method in class CartSessionInterface

Return the session key for carts.

CartSessionInterface::getCurrency() — Method in class CartSessionInterface

Return the current currency.

CartSessionInterface::getChannel() — Method in class CartSessionInterface

Return the current channel.

AsAttributeData::get() — Method in class AsAttributeData
DiscountBreakdown::get() — Method in class DiscountBreakdown

Cast the given value.

Price::get() — Method in class Price

Cast the given value.

ShippingBreakdown::get() — Method in class ShippingBreakdown

Cast the given value.

TaxBreakdown::get() — Method in class TaxBreakdown

Cast the given value.

DiscountManagerInterface::getTypes() — Method in class DiscountManagerInterface

Return the available discount types.

DiscountManagerInterface::getApplied() — Method in class DiscountManagerInterface

Return the applied discounts

DiscountTypeInterface::getName() — Method in class DiscountTypeInterface

Return the name of the discount type.

FieldType::getValue() — Method in class FieldType

Return the field type value.

FieldType::getLabel() — Method in class FieldType

Return the display label for the field type.

FieldType::getConfig() — Method in class FieldType

Return the config for the field type.

FieldType::getSettingsView() — Method in class FieldType

Return the reference to the view used in the settings.

FieldType::getView() — Method in class FieldType

Return the view used in editing.

FieldTypeManifest::getTypes() — Method in class FieldTypeManifest

Return the fieldtypes.

FieldTypeManifestInterface::getTypes() — Method in class FieldTypeManifestInterface

Return a collection of available fieldtypes.

Migration::getConnection() — Method in class Migration

Use the connection specified in config.

ModelManifest::getRegisteredModel() — Method in class ModelManifest

Get the registered model for a base model class.

ModelManifest::getMorphClassBaseModel() — Method in class ModelManifest

Get the morph class base model.

ModelManifest::getBaseModelClasses() — Method in class ModelManifest

Get list of registered base model classes.

ModelManifest::getRegisteredModels() — Method in class ModelManifest

Get list of all registered models.

ModelManifestInterface::getRegisteredModel() — Method in class ModelManifestInterface

Get the registered model for a base model class.

ModelManifestInterface::getMorphClassBaseModel() — Method in class ModelManifestInterface

Get the morph class base model.

ModelManifestInterface::getBaseModelClasses() — Method in class ModelManifestInterface

Get list of registered base model classes.

OrderModifiers::getModifiers() — Method in class OrderModifiers
OrderReferenceGenerator::generate() — Method in class OrderReferenceGenerator

Generate a reference for the order.

OrderReferenceGeneratorInterface::generate() — Method in class OrderReferenceGeneratorInterface

Generate a reference for the order.

PaymentManagerInterface::getDefaultDriver() — Method in class PaymentManagerInterface

Return the default driver reference.

Purchasable::getPrices() — Method in class Purchasable

Get the purchasable prices.

Purchasable::getUnitQuantity() — Method in class Purchasable

Return the purchasable unit quantity.

Purchasable::getTaxClass() — Method in class Purchasable

Return the purchasable tax class.

Purchasable::getTaxReference() — Method in class Purchasable

Return the purchasable tax reference.

Purchasable::getType() — Method in class Purchasable

Return what type of purchasable this is, i.e. physical,digital,shipping.

Purchasable::getDescription() — Method in class Purchasable

Return the description for the purchasable.

Purchasable::getOption() — Method in class Purchasable

Return the option for this purchasable.

Purchasable::getIdentifier() — Method in class Purchasable

Return a unique string which identifies the purchasable item.

Purchasable::getThumbnail() — Method in class Purchasable

Return the thumbnail for the purchasable item.

$ ShippingManifest#getOptionUsingProperty in class ShippingManifest
ShippingManifest::getOptionUsing() — Method in class ShippingManifest

Define closure to retrieve shipping option

ShippingManifest::getOptions() — Method in class ShippingManifest

Return available options for a given cart.

ShippingManifest::getOption() — Method in class ShippingManifest

Return available option for a given cart by identifier.

ShippingManifest::getShippingOption() — Method in class ShippingManifest

Retrieve shipping option for a given cart

ShippingManifestInterface::getOptionUsing() — Method in class ShippingManifestInterface

Define closure to retrieve shipping option

ShippingManifestInterface::getOptions() — Method in class ShippingManifestInterface

Return available options for a given cart.

ShippingManifestInterface::getOption() — Method in class ShippingManifestInterface

Return available option for a given cart by identifier.

ShippingManifestInterface::getShippingOption() — Method in class ShippingManifestInterface

Retrieve shipping option for a given cart

ShippingModifiers::getModifiers() — Method in class ShippingModifiers

Return the shipping modifiers.

StorefrontSessionInterface::getSessionKey() — Method in class StorefrontSessionInterface

Return the session key for carts.

StorefrontSessionInterface::getCurrency() — Method in class StorefrontSessionInterface

Return the current currency.

StorefrontSessionInterface::getChannel() — Method in class StorefrontSessionInterface

Return the current channel.

StorefrontSessionInterface::getCustomerGroups() — Method in class StorefrontSessionInterface

Return the current customer groups

StorefrontSessionInterface::getCustomer() — Method in class StorefrontSessionInterface

Return the current customer.

TaxDriver::getBreakdown() — Method in class TaxDriver

Return the tax breakdown from a given sub total.

TaxManagerInterface::getDefaultDriver() — Method in class TaxManagerInterface

Return the default driver reference.

HasAttributes::getAttributableClassnameAttribute() — Method in class HasAttributes

Getter to return the class name used with attribute relationships.

HasDefaultRecord::getDefault() — Method in class HasDefaultRecord

Get the default record.

HasDimensions::getLengthAttribute() — Method in class HasDimensions

Getter for the length attribute.

HasDimensions::getWidthAttribute() — Method in class HasDimensions

Getter for the width attribute.

HasDimensions::getHeightAttribute() — Method in class HasDimensions

Getter for height attribute.

HasDimensions::getWeightAttribute() — Method in class HasDimensions

Getter for weight attribute.

HasDimensions::getVolumeAttribute() — Method in class HasDimensions

Getter for the volume attribute.

HasModelExtending::getMorphClass() — Method in class HasModelExtending

Get the class name of the base model.

HasPersonalDetails::getFullNameAttribute() — Method in class HasPersonalDetails

Return the full name of the customer.

LogsActivity::getActivitylogOptions() — Method in class LogsActivity

Get the log options for the activity log.

Searchable::getSearchableAttributes() — Method in class Searchable

Return our base (core) attributes we want searchable.

Searchable::getFilterableAttributes() — Method in class Searchable

Return our base attributes we want filterable.

Searchable::getSortableAttributes() — Method in class Searchable

Return our base attributes we want sortable.

Searchable::getObservableEvents() — Method in class Searchable
{@inheritDoc}
$ FreeItem#groupProperty in class FreeItem

Group for the item.

ShippingOption::getPrice() — Method in class ShippingOption

Get the price for the purchasable item.

ShippingOption::getPrices() — Method in class ShippingOption

Get prices for the purchasable item.

ShippingOption::getUnitQuantity() — Method in class ShippingOption

Return the purchasable unit quantity.

ShippingOption::getTaxClass() — Method in class ShippingOption

Return the purchasable tax class.

ShippingOption::getTaxReference() — Method in class ShippingOption

Return the purchasable tax reference.

ShippingOption::getType() — Method in class ShippingOption

Return what type of purchasable this is, i.e. physical,digital,shipping.

ShippingOption::getName() — Method in class ShippingOption

Return the name for the purchasable.

ShippingOption::getDescription() — Method in class ShippingOption

Return the description for the purchasable.

ShippingOption::getOption() — Method in class ShippingOption

Return the option for this purchasable.

ShippingOption::getIdentifier() — Method in class ShippingOption

Return a unique string which identifies the purchasable item.

ShippingOption::getThumbnail() — Method in class ShippingOption

Return the thumbnail for the purchasable item.

AbstractDiscountType::getEligibleLines() — Method in class AbstractDiscountType

Return the eligible lines for the discount.

AmountOff::getName() — Method in class AmountOff

Return the name of the discount.

AmountOff::getEligibleLines() — Method in class AmountOff

Return the eligible lines for the discount.

BuyXGetY::getName() — Method in class BuyXGetY

Return the name of the discount.

BuyXGetY::getRewardQuantity() — Method in class BuyXGetY

Return the reward quantity for the discount

SystemTaxDriver::getBreakdown() — Method in class SystemTaxDriver

Return the tax breakdown from a given sub total.

AttributeManifest::getFacadeAccessor() — Method in class AttributeManifest
{@inheritdoc}
CartSession::getFacadeAccessor() — Method in class CartSession
{@inheritdoc}
Discounts::getFacadeAccessor() — Method in class Discounts
{@inheritdoc}
FieldTypeManifest::getFacadeAccessor() — Method in class FieldTypeManifest
{@inheritdoc}
ModelManifest::getFacadeAccessor() — Method in class ModelManifest
{@inheritdoc}
ModelManifest::getRegisteredModels() — Method in class ModelManifest
ModelManifest::getRegisteredModel() — Method in class ModelManifest
ModelManifest::getMorphClassBaseModel() — Method in class ModelManifest
ModelManifest::getBaseModelClasses() — Method in class ModelManifest
Payments::getFacadeAccessor() — Method in class Payments
Pricing::getFacadeAccessor() — Method in class Pricing
{@inheritdoc}
ShippingManifest::getFacadeAccessor() — Method in class ShippingManifest
{@inheritdoc}
StorefrontSession::getFacadeAccessor() — Method in class StorefrontSession
{@inheritdoc}
Taxes::getFacadeAccessor() — Method in class Taxes
Dropdown::getValue() — Method in class Dropdown

Return the value of this field.

Dropdown::getLabel() — Method in class Dropdown

Return the display label for the field type.

Dropdown::getSettingsView() — Method in class Dropdown

Return the reference to the view used in the settings.

Dropdown::getView() — Method in class Dropdown

Return the view used in editing.

Dropdown::getConfig() — Method in class Dropdown

Return the config for the field type.

File::getValue() — Method in class File

Return the value of this field.

File::getLabel() — Method in class File

Return the display label for the field type.

File::getSettingsView() — Method in class File

Return the reference to the view used in the settings.

File::getView() — Method in class File

Return the view used in editing.

File::getConfig() — Method in class File

Return the config for the field type.

ListField::getValue() — Method in class ListField

Return the value of this field.

ListField::getLabel() — Method in class ListField

Return the display label for the field type.

ListField::getSettingsView() — Method in class ListField

Return the reference to the view used in the settings.

ListField::getView() — Method in class ListField

Return the view used in editing.

ListField::getConfig() — Method in class ListField

Return the config for the field type.

Number::getValue() — Method in class Number

Return the value of this field.

Number::getLabel() — Method in class Number

Return the display label for the field type.

Number::getSettingsView() — Method in class Number

Return the reference to the view used in the settings.

Number::getView() — Method in class Number

Return the view used in editing.

Number::getConfig() — Method in class Number

Return the config for the field type.

Text::getValue() — Method in class Text

Return the value of this field.

Text::getLabel() — Method in class Text

Return the display label for the field type.

Text::getSettingsView() — Method in class Text

Return the reference to the view used in the settings.

Text::getView() — Method in class Text

Return the view used in editing.

Text::getConfig() — Method in class Text

Return the config for the field type.

Toggle::getValue() — Method in class Toggle

Return the value of this field.

Toggle::getLabel() — Method in class Toggle

Return the display label for the field type.

Toggle::getSettingsView() — Method in class Toggle

Return the reference to the view used in the settings.

Toggle::getView() — Method in class Toggle

Return the view used in editing.

Toggle::getConfig() — Method in class Toggle

Return the config for the field type.

TranslatedText::getValue() — Method in class TranslatedText

Return the value of this field.

TranslatedText::getLabel() — Method in class TranslatedText

Return the display label for the field type.

TranslatedText::getSettingsView() — Method in class TranslatedText

Return the reference to the view used in the settings.

TranslatedText::getView() — Method in class TranslatedText

Return the view used in editing.

TranslatedText::getConfig() — Method in class TranslatedText

Return the config for the field type.

YouTube::getValue() — Method in class YouTube

Return the value of this field.

YouTube::getLabel() — Method in class YouTube

Return the display label for the field type.

YouTube::getSettingsView() — Method in class YouTube

Return the reference to the view used in the settings.

YouTube::getView() — Method in class YouTube

Return the view used in editing.

YouTube::getConfig() — Method in class YouTube

Return the config for the field type.

CartSessionManager::getSessionKey() — Method in class CartSessionManager

Get the cart session key.

CartSessionManager::getCurrency() — Method in class CartSessionManager

Return the current currency.

CartSessionManager::getChannel() — Method in class CartSessionManager

Return the current channel.

CartSessionManager::getShippingOptions() — Method in class CartSessionManager

Return available shipping options for the current cart.

DiscountManager::getChannels() — Method in class DiscountManager

Return the applied channels.

DiscountManager::getDiscounts() — Method in class DiscountManager

Returns the available discounts.

DiscountManager::getCustomerGroups() — Method in class DiscountManager

Return the applied customer groups.

DiscountManager::getTypes() — Method in class DiscountManager

Return the available discount types.

DiscountManager::getApplied() — Method in class DiscountManager

Return the applied discounts

PaymentManager::getDefaultDriver() — Method in class PaymentManager
PricingManager::guest() — Method in class PricingManager

Set the user property to NULL.

PricingManager::get() — Method in class PricingManager

Get the price for the purchasable.

StorefrontSessionManager::getSessionKey() — Method in class StorefrontSessionManager

Return the session key for carts.

StorefrontSessionManager::getCustomer() — Method in class StorefrontSessionManager

Return the current customer.

StorefrontSessionManager::getChannel() — Method in class StorefrontSessionManager

Return the current channel.

StorefrontSessionManager::getCustomerGroups() — Method in class StorefrontSessionManager

Return the current customer groups

StorefrontSessionManager::getCurrency() — Method in class StorefrontSessionManager

Return the current currency.

TaxManager::getDefaultDriver() — Method in class TaxManager
$ Address#guardedProperty in class Address

Define which attributes should be protected from mass assignment.

Address::getMetaAttribute() — Method in class Address

Accessor for the meta attribute.

$ Asset#guardedProperty in class Asset

Define which attributes should be protected from mass assignment.

$ Attribute#guardedProperty in class Attribute

Define which attributes should be protected from mass assignment.

$ AttributeGroup#guardedProperty in class AttributeGroup

Define which attributes should be protected from mass assignment.

$ Brand#guardedProperty in class Brand
{@inheritDoc}
Brand::getSearchableAttributes() — Method in class Brand

Return our base (core) attributes we want searchable.

$ Cart#guardedProperty in class Cart

Define which attributes should be protected from mass assignment.

Cart::getShippingOption() — Method in class Cart

Get the shipping option for the cart

$ CartLine#guardedProperty in class CartLine

Define which attributes should be protected from mass assignment.

$ Channel#guardedProperty in class Channel

Define which attributes should be protected from mass assignment.

$ Collection#guardedProperty in class Collection
Collection::group() — Method in class Collection

Return the group relationship.

Collection::getSearchableAttributes() — Method in class Collection
{@inheritDoc}
Collection::getBreadcrumbAttribute() — Method in class Collection

Get the translated name of ancestor collections.

$ CollectionGroup#guardedProperty in class CollectionGroup
$ Country#guardedProperty in class Country

Define which attributes should be protected from mass assignment.

$ Currency#guardedProperty in class Currency

Define which attributes should be protected from mass assignment.

Currency::getFactorAttribute() — Method in class Currency

Returns the amount we need to multiply or divide the price for the cents/pence.

$ Customer#guardedProperty in class Customer

Define the guarded attributes.

Customer::getSearchableAttributes() — Method in class Customer
{@inheritDoc}
$ CustomerGroup#guardedProperty in class CustomerGroup
{@inheritDoc}
$ Discount#guardedProperty in class Discount
Discount::getType() — Method in class Discount
$ DiscountCollection#guardedProperty in class DiscountCollection
{@inheritDoc}
$ Language#guardedProperty in class Language

Define which attributes should be protected from mass assignment.

$ Order#guardedProperty in class Order
{@inheritDoc}
Order::getStatusLabelAttribute() — Method in class Order

Getter for status label.

Order::getSearchableAttributes() — Method in class Order
{@inheritDoc}
$ OrderLine#guardedProperty in class OrderLine

Define which attributes should be protected from mass assignment.

$ Price#guardedProperty in class Price

Define which attributes should be protected from mass assignment.

Price::getDefaultTaxRate() — Method in class Price
Product::getSearchableAttributes() — Method in class Product
{@inheritDoc}
$ ProductOption#guardedProperty in class ProductOption

Define which attributes should be protected from mass assignment.

ProductOption::getNameAttribute() — Method in class ProductOption
ProductOption::getSearchableAttributes() — Method in class ProductOption
{@inheritDoc}
$ ProductOptionValue#guardedProperty in class ProductOptionValue

Define which attributes should be protected from mass assignment.

ProductOptionValue::getNameAttribute() — Method in class ProductOptionValue
$ ProductType#guardedProperty in class ProductType

Define which attributes should be protected from mass assignment.

$ ProductVariant#guardedProperty in class ProductVariant

Define the guarded attributes.

$ ProductVariant#gtinProperty in class ProductVariant
ProductVariant::getPrices() — Method in class ProductVariant

Get the purchasable prices.

ProductVariant::getUnitQuantity() — Method in class ProductVariant

Return the unit quantity for the variant.

ProductVariant::getTaxClass() — Method in class ProductVariant

Return the tax class.

ProductVariant::getTaxReference() — Method in class ProductVariant

Return the purchasable tax reference.

ProductVariant::getType() — Method in class ProductVariant

Return what type of purchasable this is, i.e. physical,digital,shipping.

ProductVariant::getDescription() — Method in class ProductVariant

Return the description for the purchasable.

ProductVariant::getOption() — Method in class ProductVariant

Return the option for this purchasable.

ProductVariant::getOptions() — Method in class ProductVariant
{@inheritDoc}
ProductVariant::getIdentifier() — Method in class ProductVariant

Return a unique string which identifies the purchasable item.

ProductVariant::getThumbnail() — Method in class ProductVariant

Return the thumbnail for the purchasable item.

$ State#guardedProperty in class State

Define which attributes should be protected from mass assignment.

$ Tag#guardedProperty in class Tag

Define which attributes should be protected from mass assignment.

$ TaxClass#guardedProperty in class TaxClass

Define which attributes should be protected from mass assignment.

$ TaxRate#guardedProperty in class TaxRate

Define which attributes should be protected from mass assignment.

$ TaxRateAmount#guardedProperty in class TaxRateAmount

Define which attributes should be protected from mass assignment.

$ TaxZone#guardedProperty in class TaxZone

Define which attributes should be protected from mass assignment.

$ TaxZoneCountry#guardedProperty in class TaxZoneCountry

Define which attributes should be protected from mass assignment.

$ TaxZoneCustomerGroup#guardedProperty in class TaxZoneCustomerGroup

Define which attributes should be protected from mass assignment.

$ TaxZonePostcode#guardedProperty in class TaxZonePostcode

Define which attributes should be protected from mass assignment.

$ TaxZoneState#guardedProperty in class TaxZoneState

Define which attributes should be protected from mass assignment.

$ Transaction#guardedProperty in class Transaction
{@inheritDoc}
$ Url#guardedProperty in class Url

Define which attributes should be protected from mass assignment.

GetUnitPriceClass in namespace Lunar\Pipelines\CartLine

H

ShippingModifier::handle() — Method in class ShippingModifier

Called just before cart totals are calculated.

HasAttributesClass in namespace Lunar\Base\Traits
HasChannelsClass in namespace Lunar\Base\Traits
HasCustomerGroupsClass in namespace Lunar\Base\Traits
HasDefaultRecordClass in namespace Lunar\Base\Traits
HasDimensionsClass in namespace Lunar\Base\Traits
HasMacrosClass in namespace Lunar\Base\Traits
HasMediaClass in namespace Lunar\Base\Traits
HasModelExtendingClass in namespace Lunar\Base\Traits
HasPersonalDetailsClass in namespace Lunar\Base\Traits
HasPricesClass in namespace Lunar\Base\Traits
HasTagsClass in namespace Lunar\Base\Traits
HasTranslationsClass in namespace Lunar\Base\Traits
HasUrlsClass in namespace Lunar\Base\Traits
AddonsDiscover::handle() — Method in class AddonsDiscover

Execute the console command.

AddressData::handle() — Method in class AddressData

Execute the console command.

MigrateGetCandy::handle() — Method in class MigrateGetCandy

Execute the console command.

SyncNewCustomerOrders::handle() — Method in class SyncNewCustomerOrders

Execute the console command.

ScoutIndexer::handle() — Method in class ScoutIndexer

Execute the console command.

InstallLunar::handle() — Method in class InstallLunar

Execute the console command.

UrlGenerator::handle() — Method in class UrlGenerator

Handle the URL generation.

RebuildCollectionTree::handle() — Method in class RebuildCollectionTree
UpdateProductPositions::handle() — Method in class UpdateProductPositions
MarkAsNewCustomer::handle() — Method in class MarkAsNewCustomer

Execute the job.

Associate::handle() — Method in class Associate

Execute the job.

Dissociate::handle() — Method in class Dissociate

Execute the job.

SyncTags::handle() — Method in class SyncTags

Execute the job.

$ Attribute#handleProperty in class Attribute
$ AttributeGroup#handleProperty in class AttributeGroup
Cart::hasCompletedOrders() — Method in class Cart

Return whether the cart has any completed order.

$ Channel#handleProperty in class Channel
$ CollectionGroup#handleProperty in class CollectionGroup
$ CustomerGroup#handleProperty in class CustomerGroup
$ Discount#handleProperty in class Discount
$ ProductOption#handleProperty in class ProductOption
$ ProductVariant#height_valueProperty in class ProductVariant
$ ProductVariant#height_unitProperty in class ProductVariant
GetUnitPrice::handle() — Method in class GetUnitPrice

Called just before cart totals are calculated.

ApplyDiscounts::handle() — Method in class ApplyDiscounts

Called just before cart totals are calculated.

ApplyShipping::handle() — Method in class ApplyShipping

Called just before cart totals are calculated.

Calculate::handle() — Method in class Calculate

Called just before cart totals are calculated.

CalculateLines::handle() — Method in class CalculateLines

Called just before cart totals are calculated.

CalculateTax::handle() — Method in class CalculateTax

Called just before cart totals are calculated.

CleanUpOrderLines::handle() — Method in class CleanUpOrderLines
CreateOrderAddresses::handle() — Method in class CreateOrderAddresses
CreateOrderLines::handle() — Method in class CreateOrderLines
CreateShippingLine::handle() — Method in class CreateShippingLine
FillOrderFromCart::handle() — Method in class FillOrderFromCart
MapDiscountBreakdown::handle() — Method in class MapDiscountBreakdown

I

Purchasable::isShippable() — Method in class Purchasable

Returns whether the purchasable item is shippable.

InstallLunarClass in namespace Lunar\Console
ShippingOption::isShippable() — Method in class ShippingOption

Returns whether the purchasable item is shippable.

InvalidFieldTypeExceptionClass in namespace Lunar\Exceptions\FieldTypes
InvalidCartLineQuantityExceptionClass in namespace Lunar\Exceptions
InvalidDataTypeValueExceptionClass in namespace Lunar\Exceptions
InvalidPaymentTypeExceptionClass in namespace Lunar\Exceptions
StorefrontSessionManager::initCustomerGroups() — Method in class StorefrontSessionManager
{@inheritDoc}
StorefrontSessionManager::initChannel() — Method in class StorefrontSessionManager
{@inheritDoc}
StorefrontSessionManager::initCustomer() — Method in class StorefrontSessionManager
{@inheritDoc}
$ Address#idProperty in class Address
$ Asset#idProperty in class Asset
$ Attribute#idProperty in class Attribute
$ AttributeGroup#idProperty in class AttributeGroup
$ Brand#idProperty in class Brand
$ Cart#idProperty in class Cart
Cart::isShippable() — Method in class Cart

Returns whether the cart has shippable items.

$ CartAddress#idProperty in class CartAddress
$ CartLine#idProperty in class CartLine
$ Channel#idProperty in class Channel
$ Collection#idProperty in class Collection
$ CollectionGroup#idProperty in class CollectionGroup
$ Country#idProperty in class Country
$ Country#iso3Property in class Country
$ Country#iso2Property in class Country
$ Currency#idProperty in class Currency
$ Customer#idProperty in class Customer
$ CustomerGroup#idProperty in class CustomerGroup
$ Discount#idProperty in class Discount
$ DiscountPurchasable#idProperty in class DiscountPurchasable
$ Language#idProperty in class Language
$ Order#idProperty in class Order
Order::intents() — Method in class Order

Return the charges relationship.

Order::isDraft() — Method in class Order

Determines if this is a draft order.

Order::isPlaced() — Method in class Order

Determines if this is a placed order.

$ OrderAddress#idProperty in class OrderAddress
$ OrderLine#idProperty in class OrderLine
$ OrderLine#identifierProperty in class OrderLine
$ Price#idProperty in class Price
$ Product#idProperty in class Product
Product::images() — Method in class Product

Return the product images relation.

Product::inverseAssociations() — Method in class Product

Return the associations relationship.

$ ProductAssociation#idProperty in class ProductAssociation
$ ProductOption#idProperty in class ProductOption
$ ProductOptionValue#idProperty in class ProductOptionValue
$ ProductType#idProperty in class ProductType
$ ProductVariant#idProperty in class ProductVariant
ProductVariant::isShippable() — Method in class ProductVariant

Returns whether the purchasable item is shippable.

ProductVariant::images() — Method in class ProductVariant
$ State#idProperty in class State
$ Tag#idProperty in class Tag
$ TaxClass#idProperty in class TaxClass
$ TaxRate#idProperty in class TaxRate
$ TaxRateAmount#idProperty in class TaxRateAmount
$ TaxZone#idProperty in class TaxZone
$ TaxZoneCountry#idProperty in class TaxZoneCountry
$ TaxZoneCustomerGroup#idProperty in class TaxZoneCustomerGroup
$ TaxZonePostcode#idProperty in class TaxZonePostcode
$ TaxZoneState#idProperty in class TaxZoneState
$ Transaction#idProperty in class Transaction
$ Url#idProperty in class Url

J

Dropdown::jsonSerialize() — Method in class Dropdown

Serialize the class.

File::jsonSerialize() — Method in class File

Serialize the class.

ListField::jsonSerialize() — Method in class ListField

Serialize the class.

Number::jsonSerialize() — Method in class Number

Serialize the class.

Text::jsonSerialize() — Method in class Text

Serialize the class.

Toggle::jsonSerialize() — Method in class Toggle

Serialize the class.

TranslatedText::jsonSerialize() — Method in class TranslatedText

Serialize the class.

YouTube::jsonSerialize() — Method in class YouTube

Serialize the class.

L

LogsActivityClass in namespace Lunar\Base\Traits
LunarUserClass in namespace Lunar\Base\Traits
LunarUser::latestCustomer() — Method in class LunarUser
ListFieldClass in namespace Lunar\FieldTypes
CartSessionAuthListener::login() — Method in class CartSessionAuthListener

Handle the login event.

CartSessionAuthListener::logout() — Method in class CartSessionAuthListener

Handle the logout event.

LunarServiceProviderClass in namespace Lunar
$ Address#last_nameProperty in class Address
$ Address#line_oneProperty in class Address
$ Address#line_twoProperty in class Address
$ Address#line_threeProperty in class Address
$ Address#last_used_atProperty in class Address
Cart::lines() — Method in class Cart

Return the cart lines relationship.

$ CartAddress#last_nameProperty in class CartAddress
$ CartAddress#line_oneProperty in class CartAddress
$ CartAddress#line_twoProperty in class CartAddress
$ CartAddress#line_threeProperty in class CartAddress
$ Customer#last_nameProperty in class Customer
LanguageClass in namespace Lunar\Models
Order::lines() — Method in class Order

Return the lines relationship.

$ OrderAddress#last_nameProperty in class OrderAddress
$ OrderAddress#line_oneProperty in class OrderAddress
$ OrderAddress#line_twoProperty in class OrderAddress
$ OrderAddress#line_threeProperty in class OrderAddress
$ ProductOption#labelProperty in class ProductOption
ProductOption::label() — Method in class ProductOption
$ ProductVariant#length_valueProperty in class ProductVariant
$ ProductVariant#length_unitProperty in class ProductVariant
$ Transaction#last_fourProperty in class Transaction
$ Url#language_idProperty in class Url
Url::language() — Method in class Url

Return the language relationship.

LanguageObserverClass in namespace Lunar\Observers

M

AbstractAction::make() — Method in class AbstractAction

E.g. MyAction::make();

MergeCartClass in namespace Lunar\Actions\Carts
ManifestClass in namespace Lunar\Addons

This manifest was heavily inspired by Statamic.

$ CartLineModifiers#modifiersProperty in class CartLineModifiers
$ CartModifiers#modifiersProperty in class CartModifiers
MigrationClass in namespace Lunar\Base
ModelManifestClass in namespace Lunar\Base
$ ModelManifest#modelsProperty in class ModelManifest

The collection of models to register to this manifest.

ModelManifestInterfaceClass in namespace Lunar\Base
$ OrderModifiers#modifiersProperty in class OrderModifiers
$ ShippingModifiers#modifiersProperty in class ShippingModifiers

The collection of modifiers to use.

HasAttributes::mappedAttributes() — Method in class HasAttributes

Get the attributes relation.

MigrateGetCandyClass in namespace Lunar\Console\Commands
MigrateGetCandy::migrateTableNames() — Method in class MigrateGetCandy
AbstractDiscountType::markAsUsed() — Method in class AbstractDiscountType

Mark a discount as used

$ CartException#messageBagProperty in class CartException

The cart exception message bag

MaximumCartLineQuantityExceptionClass in namespace Lunar\Exceptions
MissingCurrencyPriceExceptionClass in namespace Lunar\Exceptions
ModelManifestClass in namespace Lunar\Facades

Class ModelManifest.

$ UrlGenerator#modelProperty in class UrlGenerator

The instance of the model.

MarkAsNewCustomerClass in namespace Lunar\Jobs\Orders
$ SyncTags#modelProperty in class SyncTags

The product instance.

CartSessionManager::manager() — Method in class CartSessionManager
{@inheritDoc}
$ Address#metaProperty in class Address
$ Cart#merged_idProperty in class Cart
$ CartAddress#metaProperty in class CartAddress
$ CartLine#metaProperty in class CartLine
$ Customer#metaProperty in class Customer
Customer::mappedAttributes() — Method in class Customer

Get the mapped attributes relation.

$ Discount#max_usesProperty in class Discount
$ Order#metaProperty in class Order
$ OrderAddress#metaProperty in class OrderAddress
$ OrderLine#metaProperty in class OrderLine
Product::mappedAttributes() — Method in class Product

Returns the attributes to be stored against this model.

ProductType::mappedAttributes() — Method in class ProductType

Get the mapped attributes relation.

$ ProductVariant#mpnProperty in class ProductVariant
$ Transaction#metaProperty in class Transaction
MapDiscountBreakdownClass in namespace Lunar\Pipelines\Order\Creation
MaxDecimalPlacesClass in namespace Lunar\Rules
$ MaxDecimalPlaces#maxDecimalsProperty in class MaxDecimalPlaces
MaxDecimalPlaces::message() — Method in class MaxDecimalPlaces

Get the validation error message.

ValidCoupon::message() — Method in class ValidCoupon

Get the validation error message.

N

HasModelExtending::newInstance() — Method in class HasModelExtending

Get new instance of the registered model.

NonPurchasableItemExceptionClass in namespace Lunar\Exceptions
NumberClass in namespace Lunar\FieldTypes
$ RebuildCollectionTree#newTreeProperty in class RebuildCollectionTree

The new collection tree structure.

Address::newFactory() — Method in class Address

Return a new factory instance for the model.

$ Attribute#nameProperty in class Attribute
Attribute::newFactory() — Method in class Attribute

Return a new factory instance for the model.

$ AttributeGroup#nameProperty in class AttributeGroup
AttributeGroup::newFactory() — Method in class AttributeGroup

Return a new factory instance for the model.

$ Brand#nameProperty in class Brand
Brand::newFactory() — Method in class Brand

Return a new factory instance for the model.

Cart::newFactory() — Method in class Cart

Return a new factory instance for the model.

CartAddress::newFactory() — Method in class CartAddress

Return a new factory instance for the model.

CartLine::newFactory() — Method in class CartLine

Return a new factory instance for the model.

$ Channel#nameProperty in class Channel
Channel::newFactory() — Method in class Channel

Return a new factory instance for the model.

Collection::newFactory() — Method in class Collection

Return a new factory instance for the model.

$ CollectionGroup#nameProperty in class CollectionGroup
CollectionGroup::newFactory() — Method in class CollectionGroup

Return a new factory instance for the model.

$ Country#nameProperty in class Country
$ Country#nativeProperty in class Country
Country::newFactory() — Method in class Country

Return a new factory instance for the model.

$ Currency#nameProperty in class Currency
Currency::newFactory() — Method in class Currency

Return a new factory instance for the model.

Customer::newFactory() — Method in class Customer

Return a new factory instance for the model.

$ CustomerGroup#nameProperty in class CustomerGroup
CustomerGroup::newFactory() — Method in class CustomerGroup

Return a new factory instance for the model.

$ Discount#nameProperty in class Discount
Discount::newFactory() — Method in class Discount

Return a new factory instance for the model.

DiscountCollection::newFactory() — Method in class DiscountCollection

Return a new factory instance for the model.

DiscountPurchasable::newFactory() — Method in class DiscountPurchasable

Return a new factory instance for the model.

$ Language#nameProperty in class Language
Language::newFactory() — Method in class Language

Return a new factory instance for the model.

$ Order#new_customerProperty in class Order
$ Order#notesProperty in class Order
Order::newFactory() — Method in class Order

Return a new factory instance for the model.

OrderAddress::newFactory() — Method in class OrderAddress

Return a new factory instance for the model.

$ OrderLine#notesProperty in class OrderLine
OrderLine::newFactory() — Method in class OrderLine

Return a new factory instance for the model.

Price::newFactory() — Method in class Price

Return a new factory instance for the model.

Product::newFactory() — Method in class Product

Return a new factory instance for the model.

ProductAssociation::newFactory() — Method in class ProductAssociation

Return a new factory instance for the model.

$ ProductOption#nameProperty in class ProductOption
ProductOption::newFactory() — Method in class ProductOption

Return a new factory instance for the model.

$ ProductOptionValue#nameProperty in class ProductOptionValue
ProductOptionValue::newFactory() — Method in class ProductOptionValue

Return a new factory instance for the model.

$ ProductType#nameProperty in class ProductType
ProductType::newFactory() — Method in class ProductType

Return a new factory instance for the model.

ProductVariant::newFactory() — Method in class ProductVariant

Return a new factory instance for the model.

$ State#nameProperty in class State
State::newFactory() — Method in class State

Return a new factory instance for the model.

Tag::newFactory() — Method in class Tag

Return a new factory instance for the model.

$ TaxClass#nameProperty in class TaxClass
TaxClass::newFactory() — Method in class TaxClass

Return a new factory instance for the model.

$ TaxRate#nameProperty in class TaxRate
TaxRate::newFactory() — Method in class TaxRate

Return a new factory instance for the model.

TaxRateAmount::newFactory() — Method in class TaxRateAmount

Return a new factory instance for the model.

$ TaxZone#nameProperty in class TaxZone
TaxZone::newFactory() — Method in class TaxZone

Return a new factory instance for the model.

TaxZoneCountry::newFactory() — Method in class TaxZoneCountry

Return a new factory instance for the model.

TaxZoneCustomerGroup::newFactory() — Method in class TaxZoneCustomerGroup

Return a new factory instance for the model.

TaxZonePostcode::newFactory() — Method in class TaxZonePostcode

Return a new factory instance for the model.

TaxZoneState::newFactory() — Method in class TaxZoneState

Return a new factory instance for the model.

$ Transaction#notesProperty in class Transaction
Transaction::newFactory() — Method in class Transaction

Return a new factory instance for the model.

Url::newFactory() — Method in class Url

Return a new factory instance for the model.

O

Addressable::only() — Method in class Addressable
OrderModifierClass in namespace Lunar\Base
OrderModifiersClass in namespace Lunar\Base
OrderReferenceGeneratorClass in namespace Lunar\Base
OrderReferenceGeneratorInterfaceClass in namespace Lunar\Base
PaymentTypeInterface::order() — Method in class PaymentTypeInterface

Set the order.

$ ShippingManifest#optionsProperty in class ShippingManifest

The collection of available shipping options.

LunarUser::orders() — Method in class LunarUser

Return the user orders relationship.

OrderExistsExceptionClass in namespace Lunar\Exceptions\Carts
$ MarkAsNewCustomer#orderIdProperty in class MarkAsNewCustomer

The product instance.

$ Cart#order_idProperty in class Cart
Cart::orders() — Method in class Cart

Return the order relationship.

Customer::orders() — Method in class Customer
OrderClass in namespace Lunar\Models
OrderAddressClass in namespace Lunar\Models
$ OrderAddress#order_idProperty in class OrderAddress
OrderAddress::order() — Method in class OrderAddress

Return the order relationship.

OrderLineClass in namespace Lunar\Models
$ OrderLine#order_idProperty in class OrderLine
$ OrderLine#optionProperty in class OrderLine
OrderLine::order() — Method in class OrderLine

Return the order relationship.

ProductOptionValue::option() — Method in class ProductOptionValue
$ Transaction#order_idProperty in class Transaction
Transaction::order() — Method in class Transaction

Return the order relationship.

OrderLineObserverClass in namespace Lunar\Observers
OrderObserverClass in namespace Lunar\Observers
$ AbstractPayment#orderProperty in class AbstractPayment

The instance of the order.

AbstractPayment::order() — Method in class AbstractPayment

Set the order.

OfflinePaymentClass in namespace Lunar\PaymentTypes

P

$ AbstractAction#passThroughProperty in class AbstractAction

The property to pass back to the callback

PriceClass in namespace Lunar\Base\Casts
PaymentAuthorizeClass in namespace Lunar\Base\DataTransferObjects
PaymentCaptureClass in namespace Lunar\Base\DataTransferObjects
PaymentRefundClass in namespace Lunar\Base\DataTransferObjects
PricingResponseClass in namespace Lunar\Base\DataTransferObjects
$ Migration#prefixProperty in class Migration

Migration table prefix.

PaymentManagerInterfaceClass in namespace Lunar\Base
PaymentTypeInterfaceClass in namespace Lunar\Base
PricingManagerInterfaceClass in namespace Lunar\Base
PurchasableClass in namespace Lunar\Base
HasPrices::prices() — Method in class HasPrices

Get all of the models prices.

HasPrices::pricing() — Method in class HasPrices

Return a PricingManager for this model.

$ FreeItem#productVariantProperty in class FreeItem

The associated product variant.

PromotionClass in namespace Lunar\Base\ValueObjects\Cart
PriceClass in namespace Lunar\DataTypes
$ SystemTaxDriver#purchasableProperty in class SystemTaxDriver

The purchasable item.

PaymentAttemptEventClass in namespace Lunar\Events
PaymentsClass in namespace Lunar\Facades
PricingClass in namespace Lunar\Facades
$ RebuildCollectionTree#parentProperty in class RebuildCollectionTree

The collection parent for sub tree rebuilding.

$ Associate#productProperty in class Associate

The parent product instance.

$ Dissociate#productProperty in class Dissociate

The parent product instance.

PaymentManagerClass in namespace Lunar\Managers
PricingManagerClass in namespace Lunar\Managers
$ PricingManager#pricingProperty in class PricingManager

The DTO of the pricing.

$ PricingManager#purchasableProperty in class PricingManager

The instance of the purchasable model.

$ Address#postcodeProperty in class Address
$ Attribute#positionProperty in class Attribute
$ AttributeGroup#positionProperty in class AttributeGroup
Brand::products() — Method in class Brand

Return the product relationship.

$ Cart#promotionsProperty in class Cart

The cart-level promotions.

$ CartAddress#postcodeProperty in class CartAddress
$ CartLine#promotionDescriptionProperty in class CartLine

The promotion description.

$ CartLine#purchasable_typeProperty in class CartLine
$ CartLine#purchasable_idProperty in class CartLine
CartLine::purchasable() — Method in class CartLine

Return the polymorphic relation.

$ Collection#parent_idProperty in class Collection
Collection::products() — Method in class Collection

Return the products relationship.

$ Country#phonecodeProperty in class Country
Currency::prices() — Method in class Currency

Return the prices relationship

$ Discount#priorityProperty in class Discount
Discount::purchasables() — Method in class Discount

Return the purchasables relationship.

Discount::purchasableConditions() — Method in class Discount
Discount::purchasableLimitations() — Method in class Discount
Discount::purchasableRewards() — Method in class Discount
$ DiscountPurchasable#purchasable_typeProperty in class DiscountPurchasable
$ DiscountPurchasable#purchasable_idProperty in class DiscountPurchasable
DiscountPurchasable::purchasable() — Method in class DiscountPurchasable

Return the priceable relationship.

$ Order#placed_atProperty in class Order
Order::physicalLines() — Method in class Order

Return physical product lines relationship.

Order::productLines() — Method in class Order

Return product lines relationship.

$ OrderAddress#postcodeProperty in class OrderAddress
$ OrderLine#purchasable_typeProperty in class OrderLine
$ OrderLine#purchasable_idProperty in class OrderLine
OrderLine::purchasable() — Method in class OrderLine

Return the polymorphic relation.

PriceClass in namespace Lunar\Models
$ Price#priceable_typeProperty in class Price
$ Price#priceable_idProperty in class Price
$ Price#priceProperty in class Price
Price::priceable() — Method in class Price

Return the priceable relationship.

Price::priceExTax() — Method in class Price

Return the price exclusive of tax.

Price::priceIncTax() — Method in class Price

Return the price inclusive of tax.

ProductClass in namespace Lunar\Models
$ Product#product_type_idProperty in class Product
Product::productType() — Method in class Product

Return the product type relation.

Product::prices() — Method in class Product

Return the prices relationship.

ProductAssociationClass in namespace Lunar\Models
$ ProductAssociation#product_parent_idProperty in class ProductAssociation
$ ProductAssociation#product_target_idProperty in class ProductAssociation
ProductAssociation::parent() — Method in class ProductAssociation

Return the parent relationship.

ProductOptionClass in namespace Lunar\Models
$ ProductOption#positionProperty in class ProductOption
ProductOptionValueClass in namespace Lunar\Models
$ ProductOptionValue#product_option_idProperty in class ProductOptionValue
$ ProductOptionValue#positionProperty in class ProductOptionValue
ProductTypeClass in namespace Lunar\Models
ProductType::productAttributes() — Method in class ProductType

Return the product attributes relationship.

ProductType::products() — Method in class ProductType

Get the products relation.

ProductVariantClass in namespace Lunar\Models
$ ProductVariant#product_idProperty in class ProductVariant
$ ProductVariant#purchasableProperty in class ProductVariant
ProductVariant::product() — Method in class ProductVariant

The related product.

TaxClass::productVariants() — Method in class TaxClass

Return the ProductVariants relationship.

$ TaxRate#priorityProperty in class TaxRate
$ TaxRateAmount#percentageProperty in class TaxRateAmount
$ TaxZone#price_displayProperty in class TaxZone
TaxZone::postcodes() — Method in class TaxZone

Return the postcodes relationship.

$ TaxZonePostcode#postcodeProperty in class TaxZonePostcode
$ Transaction#parent_transaction_idProperty in class Transaction
MaxDecimalPlaces::passes() — Method in class MaxDecimalPlaces

Determine if the validation rule passes.

ValidCoupon::passes() — Method in class ValidCoupon

Determine if the validation rule passes.

Arr::permutate() — Method in class Arr
$ BaseValidator#parametersProperty in class BaseValidator

The parameters used in the validation

BaseValidator::pass() — Method in class BaseValidator

Pass the validation

Q

PricingManagerInterface::qty() — Method in class PricingManagerInterface

Set the quantity property.

$ PricingManager#qtyProperty in class PricingManager

The quantity value.

PricingManager::qty() — Method in class PricingManager

Set the quantity property.

$ CartLine#quantityProperty in class CartLine
$ OrderLine#quantityProperty in class OrderLine

R

AbstractAction::run() — Method in class AbstractAction

E.g. MyAction::run($item1, $item2);

RemovePurchasableClass in namespace Lunar\Actions\Carts
CartLineModifiers::remove() — Method in class CartLineModifiers
CartModifiers::remove() — Method in class CartModifiers
ModelManifest::register() — Method in class ModelManifest

Register models.

ModelManifest::removeModel() — Method in class ModelManifest

Removes model from manifest.

ModelManifestInterface::register() — Method in class ModelManifestInterface

Register models.

PaymentTypeInterface::refund() — Method in class PaymentTypeInterface

Refund a transaction for a given amount.

ShippingModifiers::remove() — Method in class ShippingModifiers

Remove a shipping modifier.

CachesProperties::refresh() — Method in class CachesProperties
CachesProperties::restoreProperties() — Method in class CachesProperties

Restores properties from the same request.

HasMedia::registerMediaCollections() — Method in class HasMedia
HasMedia::registerMediaConversions() — Method in class HasMedia
HasModelExtending::registerModelEvent() — Method in class HasModelExtending

Register a model event with the dispatcher.

$ Promotion#referenceProperty in class Promotion

Promotion reference.

ModelManifest::register() — Method in class ModelManifest
ModelManifest::removeModel() — Method in class ModelManifest
RebuildCollectionTreeClass in namespace Lunar\Jobs\Collections
$ LunarServiceProvider#rootProperty in class LunarServiceProvider
LunarServiceProvider::register() — Method in class LunarServiceProvider

Register any application services.

LunarServiceProvider::registerAddonManifest() — Method in class LunarServiceProvider
LunarServiceProvider::registerStateListeners() — Method in class LunarServiceProvider
LunarServiceProvider::registerObservers() — Method in class LunarServiceProvider

Register the observers used in Lunar.

LunarServiceProvider::registerBlueprintMacros() — Method in class LunarServiceProvider

Register the blueprint macros.

StorefrontSessionManager::resetCustomerGroups() — Method in class StorefrontSessionManager

Reset the customer groups

$ Attribute#requiredProperty in class Attribute
Cart::remove() — Method in class Cart

Remove a cart line

$ Order#referenceProperty in class Order
Order::refunds() — Method in class Order

Return the refunds relationship.

$ Transaction#referenceProperty in class Transaction
Transaction::refund() — Method in class Transaction
OfflinePayment::refund() — Method in class OfflinePayment

Refund a transaction for a given amount.

S

SetShippingOptionClass in namespace Lunar\Actions\Carts
SortProductsClass in namespace Lunar\Actions\Collections
SortProductsByPriceClass in namespace Lunar\Actions\Collections
SortProductsBySkuClass in namespace Lunar\Actions\Collections
CartLineModifier::subtotalled() — Method in class CartLineModifier

Called just after cart sub total is calculated.

CartSessionInterface::setChannel() — Method in class CartSessionInterface

Set the cart session channel.

CartSessionInterface::setCurrency() — Method in class CartSessionInterface

Set the cart session currency.

AsAttributeData::set() — Method in class AsAttributeData
DiscountBreakdown::set() — Method in class DiscountBreakdown

Prepare the given value for storage.

Price::set() — Method in class Price

Prepare the given value for storage.

ShippingBreakdownClass in namespace Lunar\Base\Casts
ShippingBreakdown::set() — Method in class ShippingBreakdown

Prepare the given value for storage.

ShippingBreakdown::serialize() — Method in class ShippingBreakdown

Get the serialized representation of the value.

TaxBreakdown::set() — Method in class TaxBreakdown

Prepare the given value for storage.

TaxBreakdown::serialize() — Method in class TaxBreakdown

Get the serialized representation of the value.

FieldType::setValue() — Method in class FieldType

Set the value for the field type.

ModelManifest::swapModel() — Method in class ModelManifest

Swap the model implementation.

PaymentTypeInterface::setConfig() — Method in class PaymentTypeInterface

Set any configuration on the driver.

ShippingManifestClass in namespace Lunar\Base
ShippingManifestInterfaceClass in namespace Lunar\Base
ShippingModifierClass in namespace Lunar\Base
ShippingModifiersClass in namespace Lunar\Base
StandardMediaConversionsClass in namespace Lunar\Base
StorefrontSessionInterfaceClass in namespace Lunar\Base
StorefrontSessionInterface::setChannel() — Method in class StorefrontSessionInterface

Set the cart session channel.

StorefrontSessionInterface::setCurrency() — Method in class StorefrontSessionInterface

Set the cart session currency.

StorefrontSessionInterface::setCustomerGroups() — Method in class StorefrontSessionInterface

Set the store front session customer group

StorefrontSessionInterface::setCustomerGroup() — Method in class StorefrontSessionInterface

Set the Customer Group

StorefrontSessionInterface::setCustomer() — Method in class StorefrontSessionInterface

Set the session customer.

TaxDriver::setShippingAddress() — Method in class TaxDriver

Set the shipping address.

TaxDriver::setCurrency() — Method in class TaxDriver

Set the currency.

TaxDriver::setBillingAddress() — Method in class TaxDriver

Set the billing address.

TaxDriver::setPurchasable() — Method in class TaxDriver

Set the purchasable item.

TaxDriver::setCartLine() — Method in class TaxDriver

Set the cart line.

CanScheduleAvailability::schedule() — Method in class CanScheduleAvailability

Schedule models for a given relation.

HasChannels::scheduleChannel() — Method in class HasChannels
HasChannels::scopeChannel() — Method in class HasChannels

Apply the channel scope to the query

HasCustomerGroups::scheduleCustomerGroup() — Method in class HasCustomerGroups

Schedule models against customer groups.

HasCustomerGroups::scopeCustomerGroup() — Method in class HasCustomerGroups

Apply the customer group scope

HasDefaultRecord::scopeDefault() — Method in class HasDefaultRecord

Return the default scope.

HasModelExtending::swap() — Method in class HasModelExtending

Swap the model implementation.

HasTags::syncTags() — Method in class HasTags
SearchableClass in namespace Lunar\Base\Traits
Searchable::searchableUsing() — Method in class Searchable
{@inheritDoc}
ShippingBreakdownClass in namespace Lunar\Base\ValueObjects\Cart
ShippingBreakdownItemClass in namespace Lunar\Base\ValueObjects\Cart
$ AddonsDiscover#signatureProperty in class AddonsDiscover

The name and signature of the console command.

$ AddressData#signatureProperty in class AddressData

The name and signature of the console command.

$ MigrateGetCandy#signatureProperty in class MigrateGetCandy

The name and signature of the console command.

SyncNewCustomerOrdersClass in namespace Lunar\Console\Commands\Orders
$ SyncNewCustomerOrders#signatureProperty in class SyncNewCustomerOrders

The name and signature of the console command.

ScoutIndexerClass in namespace Lunar\Console\Commands
$ ScoutIndexer#signatureProperty in class ScoutIndexer

The name and signature of the console command.

$ InstallLunar#signatureProperty in class InstallLunar

The name and signature of the console command.

ShippingOptionClass in namespace Lunar\DataTypes
SystemTaxDriverClass in namespace Lunar\Drivers
$ SystemTaxDriver#shippingAddressProperty in class SystemTaxDriver

The taxable shipping address.

SystemTaxDriver::setShippingAddress() — Method in class SystemTaxDriver

Set the shipping address.

SystemTaxDriver::setCurrency() — Method in class SystemTaxDriver

Set the currency.

SystemTaxDriver::setBillingAddress() — Method in class SystemTaxDriver

Set the billing address.

SystemTaxDriver::setPurchasable() — Method in class SystemTaxDriver

Set the purchasable item.

SystemTaxDriver::setCartLine() — Method in class SystemTaxDriver

Set the cart line.

CartException::summarize() — Method in class CartException

Create an error message summary from the validation errors.

ShippingAddressIncompleteExceptionClass in namespace Lunar\Exceptions\Carts
ShippingAddressMissingExceptionClass in namespace Lunar\Exceptions\Carts
ShippingOptionMissingExceptionClass in namespace Lunar\Exceptions\Carts
SchedulingExceptionClass in namespace Lunar\Exceptions
ModelManifest::swapModel() — Method in class ModelManifest
ShippingManifestClass in namespace Lunar\Facades
StorefrontSessionClass in namespace Lunar\Facades
Dropdown::setValue() — Method in class Dropdown

Set the value of this field.

File::setValue() — Method in class File

Set the value of this field.

ListField::setValue() — Method in class ListField

Set the value of this field.

Number::setValue() — Method in class Number

Set the value of this field.

Text::setValue() — Method in class Text

Set the value of this field.

Toggle::setValue() — Method in class Toggle

Set the value of this field.

TranslatedText::setValue() — Method in class TranslatedText

Set the value of this field.

YouTube::setValue() — Method in class YouTube

Set the value of this field.

SyncTagsClass in namespace Lunar\Jobs
CartSessionManager::setChannel() — Method in class CartSessionManager

Set the current channel.

CartSessionManager::setCurrency() — Method in class CartSessionManager

Set the current currency.

StorefrontSessionManagerClass in namespace Lunar\Managers
StorefrontSessionManager::setChannel() — Method in class StorefrontSessionManager

Set the cart session channel.

StorefrontSessionManager::setCustomer() — Method in class StorefrontSessionManager

Set the session customer.

StorefrontSessionManager::setCustomerGroups() — Method in class StorefrontSessionManager

Set the store front session customer group

StorefrontSessionManager::setCustomerGroup() — Method in class StorefrontSessionManager

Set the Customer Group

StorefrontSessionManager::setCurrency() — Method in class StorefrontSessionManager

Set the cart session currency.

$ Address#stateProperty in class Address
$ Address#shipping_defaultProperty in class Address
Address::setMetaAttribute() — Method in class Address

Mutator for the meta attribute.

$ Attribute#sectionProperty in class Attribute
$ Attribute#systemProperty in class Attribute
$ Attribute#searchableProperty in class Attribute
Attribute::scopeSystem() — Method in class Attribute

Apply the system scope to the query builder.

$ Brand#sortableProperty in class Brand

Define our base sortable attributes.

Brand::searchableAs() — Method in class Brand

Get the name of the index associated with the model.

$ Cart#subTotalProperty in class Cart

The cart sub total.

$ Cart#subTotalDiscountedProperty in class Cart

The cart sub total.

$ Cart#shippingSubTotalProperty in class Cart

The shipping sub total for the cart.

$ Cart#shippingTotalProperty in class Cart

The shipping total for the cart.

$ Cart#shippingBreakdownProperty in class Cart

All the shipping breakdowns for the cart.

Cart::scopeUnmerged() — Method in class Cart
Cart::shippingAddress() — Method in class Cart

Return the shipping address relationship.

Cart::scopeActive() — Method in class Cart

Apply scope to get active cart.

Cart::setCustomer() — Method in class Cart

Associate a customer to the cart

Cart::setShippingAddress() — Method in class Cart

Set the shipping address.

Cart::setBillingAddress() — Method in class Cart

Set the billing address.

Cart::setShippingOption() — Method in class Cart

Set the shipping option to the shipping address.

$ CartAddress#shippingOptionProperty in class CartAddress

The applied shipping option.

$ CartAddress#shippingSubTotalProperty in class CartAddress

The shipping sub total.

$ CartAddress#shippingTaxTotalProperty in class CartAddress

The shipping tax total.

$ CartAddress#shippingTotalProperty in class CartAddress

The shipping total.

$ CartAddress#stateProperty in class CartAddress
$ CartAddress#shipping_optionProperty in class CartAddress
$ CartLine#subTotalProperty in class CartLine

The cart line sub total.

$ CartLine#subTotalDiscountedProperty in class CartLine

The discounted sub total

Channel::setHandleAttribute() — Method in class Channel

Mutator for formatting the handle to a slug.

$ Collection#sortableProperty in class Collection

Define our base sortable attributes.

$ Collection#sortProperty in class Collection
Collection::scopeInGroup() — Method in class Collection
Collection::searchableAs() — Method in class Collection

Get the name of the index associated with the model.

Country::states() — Method in class Country

Return the states relationship.

$ Customer#sortableProperty in class Customer

Define our base sortable attributes.

Customer::searchableAs() — Method in class Customer

Get the name of the index associated with the model.

$ Discount#starts_atProperty in class Discount
$ Discount#stopProperty in class Discount
Discount::scopeActive() — Method in class Discount

Return the active scope.

Discount::scopeProducts() — Method in class Discount

Return the products scope.

Discount::scopeUsable() — Method in class Discount
DiscountPurchasable::scopeCondition() — Method in class DiscountPurchasable
$ Order#sortableProperty in class Order

Define our base sortable attributes.

$ Order#statusProperty in class Order
$ Order#sub_totalProperty in class Order
$ Order#shipping_breakdownProperty in class Order
Order::searchableAs() — Method in class Order

Get the name of the index associated with the model.

Order::shippingLines() — Method in class Order

Return shipping lines relationship.

Order::shippingAddress() — Method in class Order

Return the shipping address relationship.

$ OrderAddress#stateProperty in class OrderAddress
$ OrderAddress#shipping_optionProperty in class OrderAddress
$ OrderLine#sub_totalProperty in class OrderLine
$ Product#sortableProperty in class Product

Define our base sortable attributes.

$ Product#statusProperty in class Product
Product::searchableAs() — Method in class Product

Get the name of the index associated with the model.

Product::scopeStatus() — Method in class Product

Apply the status scope.

ProductAssociation::scopeCrossSell() — Method in class ProductAssociation

Apply the cross sell scope.

ProductAssociation::scopeUpSell() — Method in class ProductAssociation

Apply the up sell scope.

ProductAssociation::scopeAlternate() — Method in class ProductAssociation

Apply the up alternate scope.

ProductAssociation::scopeType() — Method in class ProductAssociation

Apply the type scope.

$ ProductOption#sortableProperty in class ProductOption

Define our base sortable attributes.

ProductOption::searchableAs() — Method in class ProductOption

Get the name of the index associated with the model.

ProductOption::setNameAttribute() — Method in class ProductOption
ProductOptionValue::setNameAttribute() — Method in class ProductOptionValue
$ ProductVariant#skuProperty in class ProductVariant
$ ProductVariant#shippableProperty in class ProductVariant
$ ProductVariant#stockProperty in class ProductVariant
StateClass in namespace Lunar\Models
TaxZone::states() — Method in class TaxZone

Return the states relationship.

$ TaxZoneState#state_idProperty in class TaxZoneState
TaxZoneState::state() — Method in class TaxZoneState

Return the state relation.

$ Transaction#successProperty in class Transaction
$ Transaction#statusProperty in class Transaction
$ Url#slugProperty in class Url
Url::scopeDefault() — Method in class Url

Return the query scope for default.

AbstractPayment::setConfig() — Method in class AbstractPayment

Set any configuration on the driver.

ShippingOptionValidatorClass in namespace Lunar\Validation\Cart

T

AbstractAction::then() — Method in class AbstractAction
$ AttributeManifest#typesProperty in class AttributeManifest

A collection of available attribute types.

TaxBreakdownClass in namespace Lunar\Base\Casts
TaxDriverClass in namespace Lunar\Base
TaxManagerInterfaceClass in namespace Lunar\Base
HasMedia::thumbnail() — Method in class HasMedia

Relationship for thumbnail.

HasTags::tags() — Method in class HasTags

Get the tags

HasTranslations::translate() — Method in class HasTranslations

Translate a given attribute based on passed locale.

HasTranslations::translateAttribute() — Method in class HasTranslations

Translate a value from attribute data.

Searchable::toSearchableArray() — Method in class Searchable
{@inheritDoc}
TaxBreakdownClass in namespace Lunar\Base\ValueObjects\Cart
TaxBreakdownAmountClass in namespace Lunar\Base\ValueObjects\Cart
TaxesClass in namespace Lunar\Facades
TextClass in namespace Lunar\FieldTypes
ToggleClass in namespace Lunar\FieldTypes
TranslatedTextClass in namespace Lunar\FieldTypes
$ RebuildCollectionTree#triesProperty in class RebuildCollectionTree
$ UpdateProductPositions#triesProperty in class UpdateProductPositions
$ MarkAsNewCustomer#triesProperty in class MarkAsNewCustomer
$ Associate#triesProperty in class Associate
$ Associate#targetsProperty in class Associate

The product or collection of products to be associated.

$ Associate#typeProperty in class Associate

The SKU for the generated variant.

$ Dissociate#triesProperty in class Dissociate
$ Dissociate#targetsProperty in class Dissociate

The product or collection of products to be associated.

$ Dissociate#typeProperty in class Dissociate

The SKU for the generated variant.

$ SyncTags#triesProperty in class SyncTags
$ SyncTags#tagsProperty in class SyncTags

The option values to use to generate variants.

$ DiscountManager#typesProperty in class DiscountManager

The available discount types

TaxManagerClass in namespace Lunar\Managers
$ Address#titleProperty in class Address
$ Attribute#typeProperty in class Attribute
$ Cart#taxTotalProperty in class Cart

The cart tax total.

$ Cart#totalProperty in class Cart

The cart total.

$ Cart#taxBreakdownProperty in class Cart

All the tax breakdowns for the cart.

$ CartAddress#taxBreakdownProperty in class CartAddress

The tax breakdown.

$ CartAddress#titleProperty in class CartAddress
$ CartAddress#typeProperty in class CartAddress
$ CartLine#taxAmountProperty in class CartLine

The cart line tax amount.

$ CartLine#totalProperty in class CartLine

The cart line total.

$ CartLine#taxBreakdownProperty in class CartLine

All the tax breakdowns for the cart line.

CartLine::taxClass() — Method in class CartLine

Return the tax class relationship.

$ Collection#typeProperty in class Collection
$ Customer#titleProperty in class Customer
$ Discount#typeProperty in class Discount
$ DiscountPurchasable#typeProperty in class DiscountPurchasable
$ Order#tax_breakdownProperty in class Order
$ Order#tax_totalProperty in class Order
$ Order#totalProperty in class Order
Order::transactions() — Method in class Order

Return the transactions relationship.

$ OrderAddress#titleProperty in class OrderAddress
$ OrderAddress#typeProperty in class OrderAddress
$ OrderLine#typeProperty in class OrderLine
$ OrderLine#tax_breakdownProperty in class OrderLine
$ OrderLine#tax_totalProperty in class OrderLine
$ OrderLine#totalProperty in class OrderLine
$ Price#tierProperty in class Price
$ ProductAssociation#typeProperty in class ProductAssociation
ProductAssociation::target() — Method in class ProductAssociation

Return the parent relationship.

$ ProductVariant#tax_class_idProperty in class ProductVariant
$ ProductVariant#tax_refProperty in class ProductVariant
ProductVariant::taxClass() — Method in class ProductVariant

Return the tax class relationship.

TagClass in namespace Lunar\Models
Tag::taggables() — Method in class Tag
TaxClassClass in namespace Lunar\Models
TaxClass::taxRateAmounts() — Method in class TaxClass

Return the tax rate amounts relationship.

TaxRateClass in namespace Lunar\Models
$ TaxRate#tax_zone_idProperty in class TaxRate
TaxRate::taxZone() — Method in class TaxRate

Return the tax zone relation.

TaxRate::taxRateAmounts() — Method in class TaxRate

Return the tax rate amounts relation.

TaxRateAmountClass in namespace Lunar\Models
$ TaxRateAmount#totalProperty in class TaxRateAmount

The tax rate amount.

$ TaxRateAmount#tax_class_idProperty in class TaxRateAmount
$ TaxRateAmount#tax_rate_idProperty in class TaxRateAmount
TaxRateAmount::taxRate() — Method in class TaxRateAmount

Return the tax rate relation.

TaxRateAmount::taxClass() — Method in class TaxRateAmount

Return the tax class relation.

TaxZoneClass in namespace Lunar\Models
TaxZone::taxRates() — Method in class TaxZone

Return the tax rates relationship.

TaxZone::taxAmounts() — Method in class TaxZone

Return the tax amounts relationship.

TaxZoneCountryClass in namespace Lunar\Models
$ TaxZoneCountry#tax_zone_idProperty in class TaxZoneCountry
TaxZoneCountry::taxZone() — Method in class TaxZoneCountry

Return the tax zone relation.

TaxZoneCustomerGroupClass in namespace Lunar\Models
$ TaxZoneCustomerGroup#tax_zone_idProperty in class TaxZoneCustomerGroup
TaxZoneCustomerGroup::taxZone() — Method in class TaxZoneCustomerGroup

Return the tax zone relation.

TaxZonePostcodeClass in namespace Lunar\Models
$ TaxZonePostcode#tax_zone_idProperty in class TaxZonePostcode
TaxZonePostcode::taxZone() — Method in class TaxZonePostcode

Return the tax zone relation.

TaxZoneStateClass in namespace Lunar\Models
$ TaxZoneState#tax_zone_idProperty in class TaxZoneState
TaxZoneState::taxZone() — Method in class TaxZoneState

Return the tax zone relation.

TransactionClass in namespace Lunar\Models
$ Transaction#typeProperty in class Transaction
TransactionObserverClass in namespace Lunar\Observers

U

UpdateCartLineClass in namespace Lunar\Actions\Carts
CartSessionInterface::use() — Method in class CartSessionInterface

Use the given cart and set to the session.

PricingManagerInterface::user() — Method in class PricingManagerInterface

Set the user property.

CanScheduleAvailability::unschedule() — Method in class CanScheduleAvailability

Unschedule models for a relation.

HasCustomerGroups::unscheduleCustomerGroup() — Method in class HasCustomerGroups

Unschedule models against a customer group.

HasUrls::urls() — Method in class HasUrls

Get all of the models urls.

Price::unitDecimal() — Method in class Price

Get the decimal unit value.

Price::unitFormatted() — Method in class Price

Format the unit value with the currency.

AbstractDiscountType::usesByUser() — Method in class AbstractDiscountType

Check how many times this discount has been used by the logged in user's customers

UrlGeneratorClass in namespace Lunar\Generators
UpdateProductPositionsClass in namespace Lunar\Jobs\Collections
CartSessionManager::use() — Method in class CartSessionManager

Set the cart to be used for the session.

$ PricingManager#userProperty in class PricingManager

The instance of the user.

PricingManager::user() — Method in class PricingManager

Set the user property.

$ Address#updated_atProperty in class Address
$ Asset#updated_atProperty in class Asset
$ Attribute#updated_atProperty in class Attribute
$ AttributeGroup#updated_atProperty in class AttributeGroup
$ Brand#updated_atProperty in class Brand
$ Cart#user_idProperty in class Cart
$ Cart#updated_atProperty in class Cart
Cart::user() — Method in class Cart

Return the user relationship.

Cart::updateLine() — Method in class Cart

Update cart line

Cart::updateLines() — Method in class Cart

Update cart lines.

$ CartAddress#updated_atProperty in class CartAddress
$ CartLine#unitPriceProperty in class CartLine

The cart line unit price.

$ CartLine#updated_atProperty in class CartLine
$ Channel#urlProperty in class Channel
$ Channel#updated_atProperty in class Channel
$ Collection#updated_atProperty in class Collection
$ CollectionGroup#updated_atProperty in class CollectionGroup
$ Country#updated_atProperty in class Country
$ Currency#updated_atProperty in class Currency
$ Customer#updated_atProperty in class Customer
Customer::users() — Method in class Customer

Return the customer group relationship.

$ CustomerGroup#updated_atProperty in class CustomerGroup
$ Discount#usesProperty in class Discount
$ Discount#updated_atProperty in class Discount
Discount::users() — Method in class Discount
$ DiscountPurchasable#updated_atProperty in class DiscountPurchasable
$ Language#updated_atProperty in class Language
Language::urls() — Method in class Language

Return the URLs relationship

$ Order#user_idProperty in class Order
$ Order#updated_atProperty in class Order
Order::user() — Method in class Order

Return the user relationship.

$ OrderAddress#updated_atProperty in class OrderAddress
$ OrderLine#unit_priceProperty in class OrderLine
$ OrderLine#unit_quantityProperty in class OrderLine
$ OrderLine#updated_atProperty in class OrderLine
$ Price#updated_atProperty in class Price
$ Product#updated_atProperty in class Product
$ ProductAssociation#updated_atProperty in class ProductAssociation
$ ProductOption#updated_atProperty in class ProductOption
$ ProductOptionValue#updated_atProperty in class ProductOptionValue
$ ProductType#updated_atProperty in class ProductType
$ ProductVariant#unit_quantityProperty in class ProductVariant
$ ProductVariant#updated_atProperty in class ProductVariant
$ State#updated_atProperty in class State
$ Tag#updated_atProperty in class Tag
$ TaxClass#updated_atProperty in class TaxClass
$ TaxRate#updated_atProperty in class TaxRate
$ TaxRateAmount#updated_atProperty in class TaxRateAmount
$ TaxZone#updated_atProperty in class TaxZone
$ TaxZoneCountry#updated_atProperty in class TaxZoneCountry
$ TaxZoneCustomerGroup#updated_atProperty in class TaxZoneCustomerGroup
$ TaxZonePostcode#updated_atProperty in class TaxZonePostcode
$ TaxZoneState#updated_atProperty in class TaxZoneState
$ Transaction#updated_atProperty in class Transaction
UrlClass in namespace Lunar\Models
$ Url#updated_atProperty in class Url
UserPermissionClass in namespace Lunar\Models
UserPermission::user() — Method in class UserPermission

Return the user relationship.

AddressObserver::updating() — Method in class AddressObserver

Handle the Address "updating" event.

CartLineObserver::updating() — Method in class CartLineObserver

Handle the CartLine "updated" event.

ChannelObserver::updated() — Method in class ChannelObserver

Handle the User "updated" event.

CollectionObserver::updated() — Method in class CollectionObserver

Handle the Collection "updated" event.

CurrencyObserver::updated() — Method in class CurrencyObserver

Handle the Currency "updated" event.

CustomerGroupObserver::updated() — Method in class CustomerGroupObserver

Handle the CustomerGroup "updated" event.

LanguageObserver::updated() — Method in class LanguageObserver

Handle the Language "updated" event.

OrderLineObserver::updating() — Method in class OrderLineObserver

Handle the OrderLine "updated" event.

OrderObserver::updating() — Method in class OrderObserver

Handle the OrderLine "updated" event.

UrlObserverClass in namespace Lunar\Observers
UrlObserver::updated() — Method in class UrlObserver

Handle the User "updated" event.

BaseValidator::using() — Method in class BaseValidator

Set the parameters to use for validation

V

ValidateCartForOrderClass in namespace Lunar\Actions\Carts
DiscountManagerInterface::validateCoupon() — Method in class DiscountManagerInterface

Validate a given coupon against all system discounts.

CanScheduleAvailability::validateScheduling() — Method in class CanScheduleAvailability

Return whether or not the models provided are suitable for scheduling.

HasCustomerGroups::validateScheduling() — Method in class HasCustomerGroups
CouponValidator::validate() — Method in class CouponValidator

Validate a coupon for whether it can be used.

CouponValidatorInterface::validate() — Method in class CouponValidatorInterface

Validate a coupon for whether it can be used.

$ Dropdown#valueProperty in class Dropdown
$ File#valueProperty in class File
$ ListField#valueProperty in class ListField
$ Number#valueProperty in class Number
$ Text#valueProperty in class Text
$ Toggle#valueProperty in class Toggle
$ TranslatedText#valueProperty in class TranslatedText
$ YouTube#valueProperty in class YouTube
DiscountManager::validateCoupon() — Method in class DiscountManager

Validate a given coupon against all system discounts.

$ Attribute#validation_rulesProperty in class Attribute
$ Customer#vat_noProperty in class Customer
Product::variants() — Method in class Product

Return the product variants relation.

ProductOption::values() — Method in class ProductOption

Get the values.

ProductOptionValue::variants() — Method in class ProductOptionValue
ProductType::variantAttributes() — Method in class ProductType

Return the variant attributes relationship.

$ ProductVariant#volume_valueProperty in class ProductVariant
$ ProductVariant#volume_unitProperty in class ProductVariant
ProductVariant::values() — Method in class ProductVariant

Return the related product option values.

$ Tag#valueProperty in class Tag
ValidCouponClass in namespace Lunar\Rules
BaseValidator::validate() — Method in class BaseValidator

Validate against the passed parameters.

CartLineQuantity::validate() — Method in class CartLineQuantity

Validate against the passed parameters.

ShippingOptionValidator::validate() — Method in class ShippingOptionValidator

Validate against the passed parameters.

ValidateCartForOrderCreationClass in namespace Lunar\Validation\Cart
ValidateCartForOrderCreation::validate() — Method in class ValidateCartForOrderCreation

Validate against the passed parameters.

W

PaymentTypeInterface::withData() — Method in class PaymentTypeInterface

Set any data the provider might need.

AbstractDiscountType::with() — Method in class AbstractDiscountType

Set the data for the discount to user.

File::withConfig() — Method in class File
$ ProductVariant#width_valueProperty in class ProductVariant
$ ProductVariant#width_unitProperty in class ProductVariant
$ ProductVariant#weight_valueProperty in class ProductVariant
$ ProductVariant#weight_unitProperty in class ProductVariant
AbstractPayment::withData() — Method in class AbstractPayment

Set any data the provider might need.

Y

YouTubeClass in namespace Lunar\FieldTypes

Z

$ TaxZone#zone_typeProperty in class TaxZone

_

AttributeManifest::__construct() — Method in class AttributeManifest

Initialise the class.

BaseModel::__construct() — Method in class BaseModel

Create a new instance of the Model.

CartLineModifiers::__construct() — Method in class CartLineModifiers
CartModifiers::__construct() — Method in class CartModifiers
CartDiscount::__construct() — Method in class CartDiscount
PaymentAuthorize::__construct() — Method in class PaymentAuthorize
PaymentCapture::__construct() — Method in class PaymentCapture
PaymentRefund::__construct() — Method in class PaymentRefund
PricingResponse::__construct() — Method in class PricingResponse
FieldTypeManifest::__construct() — Method in class FieldTypeManifest
Migration::__construct() — Method in class Migration

Create a new instance of the migration.

ModelManifest::__construct() — Method in class ModelManifest

The model manifest instance.

OrderModifiers::__construct() — Method in class OrderModifiers
ShippingManifest::__construct() — Method in class ShippingManifest

Initiate the class.

ShippingModifiers::__construct() — Method in class ShippingModifiers

Initialise the class.

HasMacros::__call() — Method in class HasMacros

Handle dynamic method calls into the model.

HasMacros::__callStatic() — Method in class HasMacros

Handle dynamic static method calls into the model.

HasModelExtending::__call() — Method in class HasModelExtending

Handle dynamic and static method calls into the model.

DiscountBreakdown::__construct() — Method in class DiscountBreakdown
DiscountBreakdownLine::__construct() — Method in class DiscountBreakdownLine
ShippingBreakdown::__construct() — Method in class ShippingBreakdown
ShippingBreakdown::__toString() — Method in class ShippingBreakdown
ShippingBreakdownItem::__construct() — Method in class ShippingBreakdownItem
TaxBreakdown::__construct() — Method in class TaxBreakdown
TaxBreakdownAmount::__construct() — Method in class TaxBreakdownAmount
ScoutIndexer::__construct() — Method in class ScoutIndexer

Create a new command instance.

Price::__construct() — Method in class Price

Initialise the Price datatype.

Price::__get() — Method in class Price

Getter for methods/properties.

Price::__toString() — Method in class Price

Cast class as a string.

ShippingOption::__construct() — Method in class ShippingOption
PaymentAttemptEvent::__construct() — Method in class PaymentAttemptEvent

Create a new event instance.

CartException::__construct() — Method in class CartException
DisallowMultipleCartOrdersException::__construct() — Method in class DisallowMultipleCartOrdersException
FieldTypeMissingException::__construct() — Method in class FieldTypeMissingException
InvalidFieldTypeException::__construct() — Method in class InvalidFieldTypeException
NonPurchasableItemException::__construct() — Method in class NonPurchasableItemException
Dropdown::__construct() — Method in class Dropdown

Create a new instance of List field type.

File::__construct() — Method in class File

Create a new instance of Text field type.

File::__toString() — Method in class File

Returns the value when accessed as a string.

ListField::__construct() — Method in class ListField

Create a new instance of List field type.

Number::__construct() — Method in class Number

Create a new instance of Number field type.

Text::__construct() — Method in class Text

Create a new instance of Text field type.

Text::__toString() — Method in class Text

Returns the value when accessed as a string.

Toggle::__construct() — Method in class Toggle

Create a new instance of Text field type.

Toggle::__toString() — Method in class Toggle

Returns the value when accessed as a string.

TranslatedText::__construct() — Method in class TranslatedText

Create a new instance of TranslatedText field type.

YouTube::__construct() — Method in class YouTube

Create a new instance of Text field type.

YouTube::__toString() — Method in class YouTube

Returns the value when accessed as a string.

UrlGenerator::__construct() — Method in class UrlGenerator

Construct the class.

RebuildCollectionTree::__construct() — Method in class RebuildCollectionTree

Create a new job instance.

UpdateProductPositions::__construct() — Method in class UpdateProductPositions

Create a new job instance.

MarkAsNewCustomer::__construct() — Method in class MarkAsNewCustomer

Create a new job instance.

Associate::__construct() — Method in class Associate

Create a new job instance.

Dissociate::__construct() — Method in class Dissociate

Create a new job instance.

SyncTags::__construct() — Method in class SyncTags

Create a new job instance.

CartSessionAuthListener::__construct() — Method in class CartSessionAuthListener

Create the event listener.

CartSessionManager::__construct() — Method in class CartSessionManager
CartSessionManager::__call() — Method in class CartSessionManager
DiscountManager::__construct() — Method in class DiscountManager

Instantiate the class.

PricingManager::__construct() — Method in class PricingManager
StorefrontSessionManager::__construct() — Method in class StorefrontSessionManager

Initialise the manager

$ Collection#_lftProperty in class Collection
$ Collection#_rgtProperty in class Collection
MaxDecimalPlaces::__construct() — Method in class MaxDecimalPlaces