Index
A
- AbstractAction — Class in namespace Lunar\Actions
- AddAddress — Class in namespace Lunar\Actions\Carts
- AddOrUpdatePurchasable — Class in namespace Lunar\Actions\Carts
- AssociateUser — Class in namespace Lunar\Actions\Carts
- Manifest::addons() — Method in class Manifest
Get a collection of our addons.
- Addressable — Class in namespace Lunar\Base
- AttributeManifest — Class in namespace Lunar\Base
- AttributeManifest::addType() — Method in class AttributeManifest
- AttributeManifestInterface — Class 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.
- AsAttributeData — Class 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#additionalSearchFields — Property in class Searchable
Define the additional fields we want to index.
- $ Searchable#additionalFilterableFields — Property in class Searchable
Define the additional filterable fields.
- $ Searchable#additionalSortableFields — Property 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#available — Property in class FreeItem
Quantity available from promotions,
- $ Promotion#amount — Property in class Promotion
Discount amount
- TaxBreakdown::addAmount() — Method in class TaxBreakdown
Add a tax breakdown amount.
- AddonsDiscover — Class in namespace Lunar\Console\Commands
- AddressData — Class in namespace Lunar\Console\Commands\Import
- AbstractDiscountType — Class in namespace Lunar\DiscountTypes
- AbstractDiscountType::addDiscountBreakdown() — Method in class AbstractDiscountType
Check if discount's conditions met.
- AmountOff — Class 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.
- AttributeManifest — Class in namespace Lunar\Facades
- Associate — Class in namespace Lunar\Jobs\Products\Associations
- CartSessionManager::associate() — Method in class CartSessionManager
Associate a cart to a user.
- $ DiscountManager#applied — Property 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.
- Address — Class in namespace Lunar\Models
- Asset — Class in namespace Lunar\Models
- Attribute — Class in namespace Lunar\Models
- $ Attribute#attribute_type — Property in class Attribute
- $ Attribute#attribute_group_id — Property in class Attribute
- Attribute::attributable() — Method in class Attribute
Return the attribuable relation.
- Attribute::attributeGroup() — Method in class Attribute
Returns the attribute group relation.
- AttributeGroup — Class in namespace Lunar\Models
- $ AttributeGroup#attributable_type — Property 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_data — Property in class Collection
- $ Customer#account_ref — Property in class Customer
- $ Customer#attribute_data — Property 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_data — Property 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_data — Property in class ProductVariant
- $ TaxZone#active — Property in class TaxZone
- $ Transaction#amount — Property in class Transaction
- AddressObserver — Class in namespace Lunar\Observers
- AbstractPayment — Class in namespace Lunar\PaymentTypes
- OfflinePayment::authorize() — Method in class OfflinePayment
Authorize the payment.
- ApplyDiscounts — Class in namespace Lunar\Pipelines\Cart
- ApplyShipping — Class in namespace Lunar\Pipelines\Cart
- Arr — Class in namespace Lunar\Utils
B
- Manifest::build() — Method in class Manifest
Build the addon manifest.
- $ AttributeManifest#baseTypes — Property in class AttributeManifest
- BaseModel — Class 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.
- BuyXGetY — Class in namespace Lunar\DiscountTypes
- $ SystemTaxDriver#billingAddress — Property in class SystemTaxDriver
The taxable billing address.
- BillingAddressIncompleteException — Class in namespace Lunar\Exceptions\Carts
- BillingAddressMissingException — Class 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_default — Property in class Address
- Attribute::boot() — Method in class Attribute
- Brand — Class 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_id — Property in class Product
- Product::brand() — Method in class Product
Return the brand relationship.
- $ ProductVariant#backorder — Property in class ProductVariant
- TaxClass::booted() — Method in class TaxClass
- BaseValidator — Class in namespace Lunar\Validation
C
- CalculateLine — Class in namespace Lunar\Actions\Carts
- CalculateLineSubtotal — Class in namespace Lunar\Actions\Carts
- CreateOrder — Class in namespace Lunar\Actions\Carts
- CartLineModifier — Class 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.
- CartLineModifiers — Class in namespace Lunar\Base
- CartModifier — Class 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.
- CartModifiers — Class in namespace Lunar\Base
- CartSessionInterface — Class 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.
- CartDiscount — Class 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.
- CachesProperties — Class 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.
- CanScheduleAvailability — Class 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
- CouponValidator — Class in namespace Lunar\Base\Validation
- CouponValidatorInterface — Class in namespace Lunar\Base\Validation
- AbstractDiscountType::checkDiscountConditions() — Method in class AbstractDiscountType
Check if discount's conditions met.
- $ SystemTaxDriver#currency — Property in class SystemTaxDriver
The currency model.
- $ SystemTaxDriver#cartLine — Property in class SystemTaxDriver
The cart line model.
- CartLineIdMismatchException — Class in namespace Lunar\Exceptions
- CartException — Class in namespace Lunar\Exceptions\Carts
- CustomerNotBelongsToUserException — Class in namespace Lunar\Exceptions
- CartSession — Class in namespace Lunar\Facades
- DB::connection() — Method in class DB
Get the registered DatabaseManger class.
- $ File#config — Property in class File
The config to use.
- UrlGenerator::createUrl() — Method in class UrlGenerator
Create default url from an attribute.
- $ RebuildCollectionTree#currentTree — Property in class RebuildCollectionTree
The current collection tree.
- $ UpdateProductPositions#collection — Property in class UpdateProductPositions
The target collection.
- CartSessionAuthListener — Class in namespace Lunar\Listeners
- $ LunarServiceProvider#configFiles — Property in class LunarServiceProvider
- CartSessionManager — Class 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#channels — Property in class DiscountManager
The current channels.
- $ DiscountManager#customerGroups — Property 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#currency — Property in class PricingManager
The instance of the currency.
- $ PricingManager#customerGroups — Property 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#channel — Property in class StorefrontSessionManager
The current channel
- $ StorefrontSessionManager#customerGroups — Property in class StorefrontSessionManager
The collection of customer groups to use.
- $ StorefrontSessionManager#currency — Property in class StorefrontSessionManager
The current currency
- $ StorefrontSessionManager#customer — Property in class StorefrontSessionManager
The current customer
- TaxManager::createSystemDriver() — Method in class TaxManager
- $ Address#casts — Property in class Address
Define attribute casting.
- $ Address#customer_id — Property in class Address
- $ Address#company_name — Property in class Address
- $ Address#city — Property in class Address
- $ Address#country_id — Property in class Address
- $ Address#contact_mail — Property in class Address
- $ Address#contact_phone — Property in class Address
- $ Address#created_at — Property 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_at — Property in class Asset
- $ Attribute#casts — Property in class Attribute
Define which attributes should be cast.
- $ Attribute#configuration — Property in class Attribute
- $ Attribute#created_at — Property in class Attribute
- $ AttributeGroup#casts — Property in class AttributeGroup
Define which attributes should be cast.
- $ AttributeGroup#created_at — Property in class AttributeGroup
- $ Brand#created_at — Property in class Brand
- Cart — Class in namespace Lunar\Models
- $ Cart#cachableProperties — Property in class Cart
Array of cachable class properties.
- $ Cart#casts — Property in class Cart
The attributes that should be cast.
- $ Cart#customer_id — Property in class Cart
- $ Cart#currency_id — Property in class Cart
- $ Cart#channel_id — Property in class Cart
- $ Cart#coupon_code — Property in class Cart
- $ Cart#completed_at — Property in class Cart
- $ Cart#created_at — Property 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.
- CartAddress — Class in namespace Lunar\Models
- $ CartAddress#cachableProperties — Property in class CartAddress
Array of cachable class properties.
- $ CartAddress#casts — Property in class CartAddress
The attributes that should be cast.
- $ CartAddress#cart_id — Property in class CartAddress
- $ CartAddress#country_id — Property in class CartAddress
- $ CartAddress#company_name — Property in class CartAddress
- $ CartAddress#city — Property in class CartAddress
- $ CartAddress#contact_email — Property in class CartAddress
- $ CartAddress#contact_phone — Property in class CartAddress
- $ CartAddress#created_at — Property in class CartAddress
- CartAddress::cart() — Method in class CartAddress
Return the cart relationship.
- CartAddress::country() — Method in class CartAddress
Return the country relationship.
- CartLine — Class in namespace Lunar\Models
- $ CartLine#cachableProperties — Property in class CartLine
Array of cachable class properties.
- $ CartLine#casts — Property in class CartLine
The attributes that should be cast.
- $ CartLine#cart_id — Property in class CartLine
- $ CartLine#created_at — Property in class CartLine
- CartLine::cart() — Method in class CartLine
Return the cart relationship.
- Channel — Class in namespace Lunar\Models
- $ Channel#created_at — Property in class Channel
- Channel::channelable() — Method in class Channel
Get the parent channelable model.
- Collection — Class in namespace Lunar\Models
- $ Collection#casts — Property in class Collection
Define which attributes should be cast.
- $ Collection#collection_group_id — Property in class Collection
- $ Collection#created_at — Property in class Collection
- Collection::customerGroups() — Method in class Collection
Return the customer groups relationship.
- CollectionGroup — Class in namespace Lunar\Models
- $ CollectionGroup#created_at — Property in class CollectionGroup
- CollectionGroup::collections() — Method in class CollectionGroup
- Country — Class in namespace Lunar\Models
- $ Country#capital — Property in class Country
- $ Country#currency — Property in class Country
- $ Country#created_at — Property in class Country
- Currency — Class in namespace Lunar\Models
- $ Currency#code — Property in class Currency
- $ Currency#created_at — Property in class Currency
- Customer — Class in namespace Lunar\Models
- $ Customer#casts — Property in class Customer
- {@inheritDoc}
- $ Customer#company_name — Property in class Customer
- $ Customer#created_at — Property in class Customer
- Customer::customerGroups() — Method in class Customer
Return the customer group relationship.
- CustomerGroup — Class in namespace Lunar\Models
- $ CustomerGroup#created_at — Property in class CustomerGroup
- CustomerGroup::customers() — Method in class CustomerGroup
Return the customer's relationship.
- $ Discount#casts — Property in class Discount
Define which attributes should be cast.
- $ Discount#coupon — Property in class Discount
- $ Discount#created_at — Property 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#casts — Property in class DiscountCollection
Define which attributes should be cast.
- DiscountCollection::collection() — Method in class DiscountCollection
- $ DiscountPurchasable#casts — Property in class DiscountPurchasable
Define which attributes should be cast.
- $ DiscountPurchasable#created_at — Property in class DiscountPurchasable
- $ Language#code — Property in class Language
- $ Language#created_at — Property in class Language
- $ Order#casts — Property in class Order
- {@inheritDoc}
- $ Order#customer_id — Property in class Order
- $ Order#channel_id — Property in class Order
- $ Order#customer_reference — Property in class Order
- $ Order#currency — Property in class Order
- $ Order#compare_currency_code — Property in class Order
- $ Order#created_at — Property 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#casts — Property in class OrderAddress
The attributes that should be cast.
- $ OrderAddress#country_id — Property in class OrderAddress
- $ OrderAddress#company_name — Property in class OrderAddress
- $ OrderAddress#city — Property in class OrderAddress
- $ OrderAddress#contact_email — Property in class OrderAddress
- $ OrderAddress#contact_phone — Property in class OrderAddress
- $ OrderAddress#created_at — Property in class OrderAddress
- OrderAddress::country() — Method in class OrderAddress
Return the country relationship.
- $ OrderLine#casts — Property in class OrderLine
The attributes that should be cast.
- $ OrderLine#created_at — Property in class OrderLine
- OrderLine::currency() — Method in class OrderLine
Return the currency relationship.
- $ Price#casts — Property in class Price
- $ Price#customer_group_id — Property in class Price
- $ Price#currency_id — Property in class Price
- $ Price#compare_price — Property in class Price
- $ Price#created_at — Property 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#casts — Property in class Product
Define which attributes should be cast.
- $ Product#created_at — Property 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_at — Property in class ProductAssociation
- $ ProductOption#casts — Property in class ProductOption
Define which attributes should be cast.
- $ ProductOption#created_at — Property in class ProductOption
- $ ProductOptionValue#casts — Property in class ProductOptionValue
Define which attributes should be cast.
- $ ProductOptionValue#created_at — Property in class ProductOptionValue
- $ ProductType#created_at — Property in class ProductType
- $ ProductVariant#casts — Property in class ProductVariant
- {@inheritDoc}
- $ ProductVariant#created_at — Property in class ProductVariant
- $ State#country_id — Property in class State
- $ State#code — Property in class State
- $ State#created_at — Property in class State
- State::country() — Method in class State
Return the country relationship.
- $ Tag#created_at — Property in class Tag
- $ TaxClass#created_at — Property in class TaxClass
- $ TaxRate#created_at — Property in class TaxRate
- $ TaxRateAmount#created_at — Property in class TaxRateAmount
- $ TaxZone#casts — Property in class TaxZone
Define the attribute casting.
- $ TaxZone#created_at — Property 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_id — Property in class TaxZoneCountry
- $ TaxZoneCountry#created_at — Property in class TaxZoneCountry
- TaxZoneCountry::country() — Method in class TaxZoneCountry
Return the country relation.
- $ TaxZoneCustomerGroup#customer_group_id — Property in class TaxZoneCustomerGroup
- $ TaxZoneCustomerGroup#created_at — Property in class TaxZoneCustomerGroup
- TaxZoneCustomerGroup::customerGroup() — Method in class TaxZoneCustomerGroup
Return the customer group relation.
- $ TaxZonePostcode#country_id — Property in class TaxZonePostcode
- $ TaxZonePostcode#created_at — Property in class TaxZonePostcode
- TaxZonePostcode::country() — Method in class TaxZonePostcode
Return the country relation.
- $ TaxZoneState#created_at — Property in class TaxZoneState
- $ Transaction#casts — Property in class Transaction
- {@inheritDoc}
- $ Transaction#card_type — Property in class Transaction
- $ Transaction#created_at — Property in class Transaction
- Transaction::currency() — Method in class Transaction
Return the currency relationship.
- Transaction::capture() — Method in class Transaction
- $ Url#casts — Property in class Url
Define attribute casting.
- $ Url#created_at — Property in class Url
- AddressObserver::creating() — Method in class AddressObserver
Handle the Address "creating" event.
- CartLineObserver — Class in namespace Lunar\Observers
- CartLineObserver::creating() — Method in class CartLineObserver
Handle the CartLine "creating" event.
- ChannelObserver — Class in namespace Lunar\Observers
- ChannelObserver::created() — Method in class ChannelObserver
Handle the User "created" event.
- CollectionObserver — Class in namespace Lunar\Observers
- CurrencyObserver — Class in namespace Lunar\Observers
- CurrencyObserver::created() — Method in class CurrencyObserver
Handle the Currency "created" event.
- CustomerGroupObserver — Class 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#cart — Property in class AbstractPayment
The instance of the cart.
- $ AbstractPayment#config — Property 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.
- Calculate — Class in namespace Lunar\Pipelines\Cart
- CalculateLines — Class in namespace Lunar\Pipelines\Cart
- CalculateTax — Class in namespace Lunar\Pipelines\Cart
- CleanUpOrderLines — Class in namespace Lunar\Pipelines\Order\Creation
- CreateOrderAddresses — Class in namespace Lunar\Pipelines\Order\Creation
- CreateOrderLines — Class in namespace Lunar\Pipelines\Order\Creation
- CreateShippingLine — Class in namespace Lunar\Pipelines\Order\Creation
- CartLineQuantity — Class in namespace Lunar\Validation\CartLine
D
- DiscountBreakdown — Class in namespace Lunar\Base\Casts
- DiscountManagerInterface — Class in namespace Lunar\Base
- DiscountTypeInterface — Class in namespace Lunar\Base
- HasUrls::defaultUrl() — Method in class HasUrls
- DiscountBreakdown — Class in namespace Lunar\Base\ValueObjects\Cart
- DiscountBreakdownLine — Class in namespace Lunar\Base\ValueObjects\Cart
- $ Promotion#description — Property in class Promotion
Description of the promotion.
- $ AddonsDiscover#description — Property in class AddonsDiscover
The console command description.
- $ AddressData#description — Property in class AddressData
The console command description.
- $ MigrateGetCandy#description — Property in class MigrateGetCandy
The console command description.
- $ SyncNewCustomerOrders#description — Property in class SyncNewCustomerOrders
The console command description.
- $ ScoutIndexer#description — Property in class ScoutIndexer
The console command description.
- $ InstallLunar#description — Property in class InstallLunar
The console command description.
- Price::decimal() — Method in class Price
Get the decimal value.
- $ AbstractDiscountType#discount — Property in class AbstractDiscountType
The instance of the discount.
- SystemTaxDriver::defaultTaxZone() — Method in class SystemTaxDriver
- DisallowMultipleCartOrdersException — Class in namespace Lunar\Exceptions
- DB — Class in namespace Lunar\Facades
- Discounts — Class in namespace Lunar\Facades
- Dropdown — Class in namespace Lunar\FieldTypes
- $ UrlGenerator#defaultLanguage — Property in class UrlGenerator
The default language.
- Dissociate — Class in namespace Lunar\Jobs\Products\Associations
- DiscountManager — Class in namespace Lunar\Managers
- $ DiscountManager#discounts — Property in class DiscountManager
The available discounts
- $ Address#delivery_instructions — Property in class Address
- $ Attribute#default_value — Property in class Attribute
- $ Cart#discountTotal — Property in class Cart
The discount total.
- $ Cart#discountBreakdown — Property in class Cart
All the discount breakdowns for the cart.
- $ Cart#discounts — Property in class Cart
The cart-level discounts.
- Cart::draftOrder() — Method in class Cart
Return the draft order relationship.
- $ CartAddress#delivery_instructions — Property in class CartAddress
- $ CartLine#discountTotal — Property in class CartLine
The discount total.
- CartLine::discounts() — Method in class CartLine
- $ Channel#default — Property in class Channel
- $ Channel#deleted_at — Property in class Channel
- $ Collection#deleted_at — Property in class Collection
- $ Currency#decimal_places — Property in class Currency
- $ Currency#default — Property in class Currency
- $ CustomerGroup#default — Property in class CustomerGroup
- Discount — Class in namespace Lunar\Models
- DiscountCollection — Class in namespace Lunar\Models
- DiscountCollection::discount() — Method in class DiscountCollection
Return the discount relationship.
- DiscountPurchasable — Class in namespace Lunar\Models
- $ DiscountPurchasable#discount_id — Property in class DiscountPurchasable
- DiscountPurchasable::discount() — Method in class DiscountPurchasable
Return the discount relationship.
- $ Language#default — Property in class Language
- $ Order#discount_total — Property in class Order
- $ Order#discount_breakdown — Property in class Order
- Order::digitalLines() — Method in class Order
Return digital product lines relationship.
- $ OrderAddress#delivery_instructions — Property in class OrderAddress
- $ OrderLine#description — Property in class OrderLine
- $ OrderLine#discount_total — Property in class OrderLine
- $ Product#deleted_at — Property in class Product
- Product::dissociate() — Method in class Product
Dissociate a product to another with a type.
- $ ProductVariant#deleted_at — Property in class ProductVariant
- $ TaxClass#default — Property in class TaxClass
- $ TaxZone#default — Property in class TaxZone
- $ Transaction#driver — Property in class Transaction
- $ Transaction#deleted_at — Property in class Transaction
- Transaction::driver() — Method in class Transaction
- $ Url#default — Property 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#data — Property 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#emoji — Property in class Country
- $ Country#emoji_u — Property in class Country
- $ Currency#exchange_rate — Property in class Currency
- $ Currency#enabled — Property in class Currency
- $ Discount#ends_at — Property in class Discount
- $ Order#exchange_rate — Property in class Order
- $ ProductVariant#ean — Property in class ProductVariant
- $ Url#element_type — Property in class Url
- $ Url#element_id — Property 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#fillableAttributes — Property 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.
- FieldType — Class in namespace Lunar\Base
- FieldTypeManifest — Class in namespace Lunar\Base
- $ FieldTypeManifest#fieldTypes — Property in class FieldTypeManifest
The FieldTypes available in Lunar.
- FieldTypeManifestInterface — Class 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.
- FreeItem — Class in namespace Lunar\Base\ValueObjects\Cart
- Price::formatted() — Method in class Price
Format the value with the currency.
- Price::formatValue() — Method in class Price
- FieldTypeException — Class in namespace Lunar\Exceptions
- FieldTypeMissingException — Class in namespace Lunar\Exceptions\FieldTypes
- FingerprintMismatchException — Class in namespace Lunar\Exceptions
- FieldTypeManifest — Class in namespace Lunar\Facades
- File — Class 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_name — Property in class Address
- Asset::file() — Method in class Asset
Get the associated file.
- $ Attribute#filterable — Property in class Attribute
- $ Brand#filterable — Property in class Brand
Define our base filterable attributes.
- $ Cart#freeItems — Property 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#fillable — Property in class CartAddress
Define which attributes should be protected from mass assignment.
- $ CartAddress#first_name — Property in class CartAddress
- $ Collection#filterable — Property in class Collection
Define our base filterable attributes.
- $ Customer#filterable — Property in class Customer
Define our base filterable attributes.
- $ Customer#first_name — Property in class Customer
- $ DiscountPurchasable#fillable — Property in class DiscountPurchasable
- $ Order#filterable — Property in class Order
Define our base filterable attributes.
- $ OrderAddress#fillable — Property in class OrderAddress
Define which attributes should be protected from mass assignment.
- $ OrderAddress#first_name — Property in class OrderAddress
- $ Product#filterable — Property in class Product
Define our base filterable attributes.
- $ Product#fillable — Property in class Product
Define which attributes should be fillable during mass assignment.
- $ ProductAssociation#fillable — Property in class ProductAssociation
Define the fillable attributes.
- $ ProductOption#filterable — Property in class ProductOption
Define our base filterable attributes.
- $ UserPermission#fillable — Property 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.
- FillOrderFromCart — Class in namespace Lunar\Pipelines\Order\Creation
- BaseValidator::fail() — Method in class BaseValidator
Fail the validation
G
- GenerateFingerprint — Class in namespace Lunar\Actions\Carts
- GetExistingCartLine — Class in namespace Lunar\Actions\Carts
- SortProductsByPrice::getMinPrice() — Method in class SortProductsByPrice
- GenerateOrderReference — Class in namespace Lunar\Actions\Orders
- GetTaxZone — Class in namespace Lunar\Actions\Taxes
- GetTaxZonePostcode — Class 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#getOptionUsing — Property 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#group — Property 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#guarded — Property in class Address
Define which attributes should be protected from mass assignment.
- Address::getMetaAttribute() — Method in class Address
Accessor for the meta attribute.
- $ Asset#guarded — Property in class Asset
Define which attributes should be protected from mass assignment.
- $ Attribute#guarded — Property in class Attribute
Define which attributes should be protected from mass assignment.
- $ AttributeGroup#guarded — Property in class AttributeGroup
Define which attributes should be protected from mass assignment.
- $ Brand#guarded — Property in class Brand
- {@inheritDoc}
- Brand::getSearchableAttributes() — Method in class Brand
Return our base (core) attributes we want searchable.
- $ Cart#guarded — Property 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#guarded — Property in class CartLine
Define which attributes should be protected from mass assignment.
- $ Channel#guarded — Property in class Channel
Define which attributes should be protected from mass assignment.
- $ Collection#guarded — Property 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#guarded — Property in class CollectionGroup
- $ Country#guarded — Property in class Country
Define which attributes should be protected from mass assignment.
- $ Currency#guarded — Property 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#guarded — Property in class Customer
Define the guarded attributes.
- Customer::getSearchableAttributes() — Method in class Customer
- {@inheritDoc}
- $ CustomerGroup#guarded — Property in class CustomerGroup
- {@inheritDoc}
- $ Discount#guarded — Property in class Discount
- Discount::getType() — Method in class Discount
- $ DiscountCollection#guarded — Property in class DiscountCollection
- {@inheritDoc}
- $ Language#guarded — Property in class Language
Define which attributes should be protected from mass assignment.
- $ Order#guarded — Property in class Order
- {@inheritDoc}
- Order::getStatusLabelAttribute() — Method in class Order
Getter for status label.
- Order::getSearchableAttributes() — Method in class Order
- {@inheritDoc}
- $ OrderLine#guarded — Property in class OrderLine
Define which attributes should be protected from mass assignment.
- $ Price#guarded — Property 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#guarded — Property 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#guarded — Property in class ProductOptionValue
Define which attributes should be protected from mass assignment.
- ProductOptionValue::getNameAttribute() — Method in class ProductOptionValue
- $ ProductType#guarded — Property in class ProductType
Define which attributes should be protected from mass assignment.
- $ ProductVariant#guarded — Property in class ProductVariant
Define the guarded attributes.
- $ ProductVariant#gtin — Property 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#guarded — Property in class State
Define which attributes should be protected from mass assignment.
- $ Tag#guarded — Property in class Tag
Define which attributes should be protected from mass assignment.
- $ TaxClass#guarded — Property in class TaxClass
Define which attributes should be protected from mass assignment.
- $ TaxRate#guarded — Property in class TaxRate
Define which attributes should be protected from mass assignment.
- $ TaxRateAmount#guarded — Property in class TaxRateAmount
Define which attributes should be protected from mass assignment.
- $ TaxZone#guarded — Property in class TaxZone
Define which attributes should be protected from mass assignment.
- $ TaxZoneCountry#guarded — Property in class TaxZoneCountry
Define which attributes should be protected from mass assignment.
- $ TaxZoneCustomerGroup#guarded — Property in class TaxZoneCustomerGroup
Define which attributes should be protected from mass assignment.
- $ TaxZonePostcode#guarded — Property in class TaxZonePostcode
Define which attributes should be protected from mass assignment.
- $ TaxZoneState#guarded — Property in class TaxZoneState
Define which attributes should be protected from mass assignment.
- $ Transaction#guarded — Property in class Transaction
- {@inheritDoc}
- $ Url#guarded — Property in class Url
Define which attributes should be protected from mass assignment.
- GetUnitPrice — Class in namespace Lunar\Pipelines\CartLine
H
- ShippingModifier::handle() — Method in class ShippingModifier
Called just before cart totals are calculated.
- HasAttributes — Class in namespace Lunar\Base\Traits
- HasChannels — Class in namespace Lunar\Base\Traits
- HasCustomerGroups — Class in namespace Lunar\Base\Traits
- HasDefaultRecord — Class in namespace Lunar\Base\Traits
- HasDimensions — Class in namespace Lunar\Base\Traits
- HasMacros — Class in namespace Lunar\Base\Traits
- HasMedia — Class in namespace Lunar\Base\Traits
- HasModelExtending — Class in namespace Lunar\Base\Traits
- HasPersonalDetails — Class in namespace Lunar\Base\Traits
- HasPrices — Class in namespace Lunar\Base\Traits
- HasTags — Class in namespace Lunar\Base\Traits
- HasTranslations — Class in namespace Lunar\Base\Traits
- HasUrls — Class 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#handle — Property in class Attribute
- $ AttributeGroup#handle — Property in class AttributeGroup
- Cart::hasCompletedOrders() — Method in class Cart
Return whether the cart has any completed order.
- $ Channel#handle — Property in class Channel
- $ CollectionGroup#handle — Property in class CollectionGroup
- $ CustomerGroup#handle — Property in class CustomerGroup
- $ Discount#handle — Property in class Discount
- $ ProductOption#handle — Property in class ProductOption
- $ ProductVariant#height_value — Property in class ProductVariant
- $ ProductVariant#height_unit — Property 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.
- InstallLunar — Class in namespace Lunar\Console
- ShippingOption::isShippable() — Method in class ShippingOption
Returns whether the purchasable item is shippable.
- InvalidFieldTypeException — Class in namespace Lunar\Exceptions\FieldTypes
- InvalidCartLineQuantityException — Class in namespace Lunar\Exceptions
- InvalidDataTypeValueException — Class in namespace Lunar\Exceptions
- InvalidPaymentTypeException — Class 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#id — Property in class Address
- $ Asset#id — Property in class Asset
- $ Attribute#id — Property in class Attribute
- $ AttributeGroup#id — Property in class AttributeGroup
- $ Brand#id — Property in class Brand
- $ Cart#id — Property in class Cart
- Cart::isShippable() — Method in class Cart
Returns whether the cart has shippable items.
- $ CartAddress#id — Property in class CartAddress
- $ CartLine#id — Property in class CartLine
- $ Channel#id — Property in class Channel
- $ Collection#id — Property in class Collection
- $ CollectionGroup#id — Property in class CollectionGroup
- $ Country#id — Property in class Country
- $ Country#iso3 — Property in class Country
- $ Country#iso2 — Property in class Country
- $ Currency#id — Property in class Currency
- $ Customer#id — Property in class Customer
- $ CustomerGroup#id — Property in class CustomerGroup
- $ Discount#id — Property in class Discount
- $ DiscountPurchasable#id — Property in class DiscountPurchasable
- $ Language#id — Property in class Language
- $ Order#id — Property 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#id — Property in class OrderAddress
- $ OrderLine#id — Property in class OrderLine
- $ OrderLine#identifier — Property in class OrderLine
- $ Price#id — Property in class Price
- $ Product#id — Property 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#id — Property in class ProductAssociation
- $ ProductOption#id — Property in class ProductOption
- $ ProductOptionValue#id — Property in class ProductOptionValue
- $ ProductType#id — Property in class ProductType
- $ ProductVariant#id — Property in class ProductVariant
- ProductVariant::isShippable() — Method in class ProductVariant
Returns whether the purchasable item is shippable.
- ProductVariant::images() — Method in class ProductVariant
- $ State#id — Property in class State
- $ Tag#id — Property in class Tag
- $ TaxClass#id — Property in class TaxClass
- $ TaxRate#id — Property in class TaxRate
- $ TaxRateAmount#id — Property in class TaxRateAmount
- $ TaxZone#id — Property in class TaxZone
- $ TaxZoneCountry#id — Property in class TaxZoneCountry
- $ TaxZoneCustomerGroup#id — Property in class TaxZoneCustomerGroup
- $ TaxZonePostcode#id — Property in class TaxZonePostcode
- $ TaxZoneState#id — Property in class TaxZoneState
- $ Transaction#id — Property in class Transaction
- $ Url#id — Property 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
- LogsActivity — Class in namespace Lunar\Base\Traits
- LunarUser — Class in namespace Lunar\Base\Traits
- LunarUser::latestCustomer() — Method in class LunarUser
- ListField — Class in namespace Lunar\FieldTypes
- CartSessionAuthListener::login() — Method in class CartSessionAuthListener
Handle the login event.
- CartSessionAuthListener::logout() — Method in class CartSessionAuthListener
Handle the logout event.
- LunarServiceProvider — Class in namespace Lunar
- $ Address#last_name — Property in class Address
- $ Address#line_one — Property in class Address
- $ Address#line_two — Property in class Address
- $ Address#line_three — Property in class Address
- $ Address#last_used_at — Property in class Address
- Cart::lines() — Method in class Cart
Return the cart lines relationship.
- $ CartAddress#last_name — Property in class CartAddress
- $ CartAddress#line_one — Property in class CartAddress
- $ CartAddress#line_two — Property in class CartAddress
- $ CartAddress#line_three — Property in class CartAddress
- $ Customer#last_name — Property in class Customer
- Language — Class in namespace Lunar\Models
- Order::lines() — Method in class Order
Return the lines relationship.
- $ OrderAddress#last_name — Property in class OrderAddress
- $ OrderAddress#line_one — Property in class OrderAddress
- $ OrderAddress#line_two — Property in class OrderAddress
- $ OrderAddress#line_three — Property in class OrderAddress
- $ ProductOption#label — Property in class ProductOption
- ProductOption::label() — Method in class ProductOption
- $ ProductVariant#length_value — Property in class ProductVariant
- $ ProductVariant#length_unit — Property in class ProductVariant
- $ Transaction#last_four — Property in class Transaction
- $ Url#language_id — Property in class Url
- Url::language() — Method in class Url
Return the language relationship.
- LanguageObserver — Class in namespace Lunar\Observers
M
- AbstractAction::make() — Method in class AbstractAction
E.g. MyAction::make();
- MergeCart — Class in namespace Lunar\Actions\Carts
- Manifest — Class in namespace Lunar\Addons
This manifest was heavily inspired by Statamic.
- $ CartLineModifiers#modifiers — Property in class CartLineModifiers
- $ CartModifiers#modifiers — Property in class CartModifiers
- Migration — Class in namespace Lunar\Base
- ModelManifest — Class in namespace Lunar\Base
- $ ModelManifest#models — Property in class ModelManifest
The collection of models to register to this manifest.
- ModelManifestInterface — Class in namespace Lunar\Base
- $ OrderModifiers#modifiers — Property in class OrderModifiers
- $ ShippingModifiers#modifiers — Property in class ShippingModifiers
The collection of modifiers to use.
- HasAttributes::mappedAttributes() — Method in class HasAttributes
Get the attributes relation.
- MigrateGetCandy — Class in namespace Lunar\Console\Commands
- MigrateGetCandy::migrateTableNames() — Method in class MigrateGetCandy
- AbstractDiscountType::markAsUsed() — Method in class AbstractDiscountType
Mark a discount as used
- $ CartException#messageBag — Property in class CartException
The cart exception message bag
- MaximumCartLineQuantityException — Class in namespace Lunar\Exceptions
- MissingCurrencyPriceException — Class in namespace Lunar\Exceptions
- ModelManifest — Class in namespace Lunar\Facades
Class ModelManifest.
- $ UrlGenerator#model — Property in class UrlGenerator
The instance of the model.
- MarkAsNewCustomer — Class in namespace Lunar\Jobs\Orders
- $ SyncTags#model — Property in class SyncTags
The product instance.
- CartSessionManager::manager() — Method in class CartSessionManager
- {@inheritDoc}
- $ Address#meta — Property in class Address
- $ Cart#merged_id — Property in class Cart
- $ CartAddress#meta — Property in class CartAddress
- $ CartLine#meta — Property in class CartLine
- $ Customer#meta — Property in class Customer
- Customer::mappedAttributes() — Method in class Customer
Get the mapped attributes relation.
- $ Discount#max_uses — Property in class Discount
- $ Order#meta — Property in class Order
- $ OrderAddress#meta — Property in class OrderAddress
- $ OrderLine#meta — Property 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#mpn — Property in class ProductVariant
- $ Transaction#meta — Property in class Transaction
- MapDiscountBreakdown — Class in namespace Lunar\Pipelines\Order\Creation
- MaxDecimalPlaces — Class in namespace Lunar\Rules
- $ MaxDecimalPlaces#maxDecimals — Property 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.
- NonPurchasableItemException — Class in namespace Lunar\Exceptions
- Number — Class in namespace Lunar\FieldTypes
- $ RebuildCollectionTree#newTree — Property in class RebuildCollectionTree
The new collection tree structure.
- Address::newFactory() — Method in class Address
Return a new factory instance for the model.
- $ Attribute#name — Property in class Attribute
- Attribute::newFactory() — Method in class Attribute
Return a new factory instance for the model.
- $ AttributeGroup#name — Property in class AttributeGroup
- AttributeGroup::newFactory() — Method in class AttributeGroup
Return a new factory instance for the model.
- $ Brand#name — Property 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#name — Property 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#name — Property in class CollectionGroup
- CollectionGroup::newFactory() — Method in class CollectionGroup
Return a new factory instance for the model.
- $ Country#name — Property in class Country
- $ Country#native — Property in class Country
- Country::newFactory() — Method in class Country
Return a new factory instance for the model.
- $ Currency#name — Property 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#name — Property in class CustomerGroup
- CustomerGroup::newFactory() — Method in class CustomerGroup
Return a new factory instance for the model.
- $ Discount#name — Property 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#name — Property in class Language
- Language::newFactory() — Method in class Language
Return a new factory instance for the model.
- $ Order#new_customer — Property in class Order
- $ Order#notes — Property 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#notes — Property 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#name — Property in class ProductOption
- ProductOption::newFactory() — Method in class ProductOption
Return a new factory instance for the model.
- $ ProductOptionValue#name — Property in class ProductOptionValue
- ProductOptionValue::newFactory() — Method in class ProductOptionValue
Return a new factory instance for the model.
- $ ProductType#name — Property 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#name — Property 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#name — Property in class TaxClass
- TaxClass::newFactory() — Method in class TaxClass
Return a new factory instance for the model.
- $ TaxRate#name — Property 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#name — Property 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#notes — Property 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
- OrderModifier — Class in namespace Lunar\Base
- OrderModifiers — Class in namespace Lunar\Base
- OrderReferenceGenerator — Class in namespace Lunar\Base
- OrderReferenceGeneratorInterface — Class in namespace Lunar\Base
- PaymentTypeInterface::order() — Method in class PaymentTypeInterface
Set the order.
- $ ShippingManifest#options — Property in class ShippingManifest
The collection of available shipping options.
- LunarUser::orders() — Method in class LunarUser
Return the user orders relationship.
- OrderExistsException — Class in namespace Lunar\Exceptions\Carts
- $ MarkAsNewCustomer#orderId — Property in class MarkAsNewCustomer
The product instance.
- $ Cart#order_id — Property in class Cart
- Cart::orders() — Method in class Cart
Return the order relationship.
- Customer::orders() — Method in class Customer
- Order — Class in namespace Lunar\Models
- OrderAddress — Class in namespace Lunar\Models
- $ OrderAddress#order_id — Property in class OrderAddress
- OrderAddress::order() — Method in class OrderAddress
Return the order relationship.
- OrderLine — Class in namespace Lunar\Models
- $ OrderLine#order_id — Property in class OrderLine
- $ OrderLine#option — Property in class OrderLine
- OrderLine::order() — Method in class OrderLine
Return the order relationship.
- ProductOptionValue::option() — Method in class ProductOptionValue
- $ Transaction#order_id — Property in class Transaction
- Transaction::order() — Method in class Transaction
Return the order relationship.
- OrderLineObserver — Class in namespace Lunar\Observers
- OrderObserver — Class in namespace Lunar\Observers
- $ AbstractPayment#order — Property in class AbstractPayment
The instance of the order.
- AbstractPayment::order() — Method in class AbstractPayment
Set the order.
- OfflinePayment — Class in namespace Lunar\PaymentTypes
P
- $ AbstractAction#passThrough — Property in class AbstractAction
The property to pass back to the callback
- Price — Class in namespace Lunar\Base\Casts
- PaymentAuthorize — Class in namespace Lunar\Base\DataTransferObjects
- PaymentCapture — Class in namespace Lunar\Base\DataTransferObjects
- PaymentRefund — Class in namespace Lunar\Base\DataTransferObjects
- PricingResponse — Class in namespace Lunar\Base\DataTransferObjects
- $ Migration#prefix — Property in class Migration
Migration table prefix.
- PaymentManagerInterface — Class in namespace Lunar\Base
- PaymentTypeInterface — Class in namespace Lunar\Base
- PricingManagerInterface — Class in namespace Lunar\Base
- Purchasable — Class 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#productVariant — Property in class FreeItem
The associated product variant.
- Promotion — Class in namespace Lunar\Base\ValueObjects\Cart
- Price — Class in namespace Lunar\DataTypes
- $ SystemTaxDriver#purchasable — Property in class SystemTaxDriver
The purchasable item.
- PaymentAttemptEvent — Class in namespace Lunar\Events
- Payments — Class in namespace Lunar\Facades
- Pricing — Class in namespace Lunar\Facades
- $ RebuildCollectionTree#parent — Property in class RebuildCollectionTree
The collection parent for sub tree rebuilding.
- $ Associate#product — Property in class Associate
The parent product instance.
- $ Dissociate#product — Property in class Dissociate
The parent product instance.
- PaymentManager — Class in namespace Lunar\Managers
- PricingManager — Class in namespace Lunar\Managers
- $ PricingManager#pricing — Property in class PricingManager
The DTO of the pricing.
- $ PricingManager#purchasable — Property in class PricingManager
The instance of the purchasable model.
- $ Address#postcode — Property in class Address
- $ Attribute#position — Property in class Attribute
- $ AttributeGroup#position — Property in class AttributeGroup
- Brand::products() — Method in class Brand
Return the product relationship.
- $ Cart#promotions — Property in class Cart
The cart-level promotions.
- $ CartAddress#postcode — Property in class CartAddress
- $ CartLine#promotionDescription — Property in class CartLine
The promotion description.
- $ CartLine#purchasable_type — Property in class CartLine
- $ CartLine#purchasable_id — Property in class CartLine
- CartLine::purchasable() — Method in class CartLine
Return the polymorphic relation.
- $ Collection#parent_id — Property in class Collection
- Collection::products() — Method in class Collection
Return the products relationship.
- $ Country#phonecode — Property in class Country
- Currency::prices() — Method in class Currency
Return the prices relationship
- $ Discount#priority — Property 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_type — Property in class DiscountPurchasable
- $ DiscountPurchasable#purchasable_id — Property in class DiscountPurchasable
- DiscountPurchasable::purchasable() — Method in class DiscountPurchasable
Return the priceable relationship.
- $ Order#placed_at — Property 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#postcode — Property in class OrderAddress
- $ OrderLine#purchasable_type — Property in class OrderLine
- $ OrderLine#purchasable_id — Property in class OrderLine
- OrderLine::purchasable() — Method in class OrderLine
Return the polymorphic relation.
- Price — Class in namespace Lunar\Models
- $ Price#priceable_type — Property in class Price
- $ Price#priceable_id — Property in class Price
- $ Price#price — Property 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.
- Product — Class in namespace Lunar\Models
- $ Product#product_type_id — Property in class Product
- Product::productType() — Method in class Product
Return the product type relation.
- Product::prices() — Method in class Product
Return the prices relationship.
- ProductAssociation — Class in namespace Lunar\Models
- $ ProductAssociation#product_parent_id — Property in class ProductAssociation
- $ ProductAssociation#product_target_id — Property in class ProductAssociation
- ProductAssociation::parent() — Method in class ProductAssociation
Return the parent relationship.
- ProductOption — Class in namespace Lunar\Models
- $ ProductOption#position — Property in class ProductOption
- ProductOptionValue — Class in namespace Lunar\Models
- $ ProductOptionValue#product_option_id — Property in class ProductOptionValue
- $ ProductOptionValue#position — Property in class ProductOptionValue
- ProductType — Class 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.
- ProductVariant — Class in namespace Lunar\Models
- $ ProductVariant#product_id — Property in class ProductVariant
- $ ProductVariant#purchasable — Property in class ProductVariant
- ProductVariant::product() — Method in class ProductVariant
The related product.
- TaxClass::productVariants() — Method in class TaxClass
Return the ProductVariants relationship.
- $ TaxRate#priority — Property in class TaxRate
- $ TaxRateAmount#percentage — Property in class TaxRateAmount
- $ TaxZone#price_display — Property in class TaxZone
- TaxZone::postcodes() — Method in class TaxZone
Return the postcodes relationship.
- $ TaxZonePostcode#postcode — Property in class TaxZonePostcode
- $ Transaction#parent_transaction_id — Property 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#parameters — Property 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#qty — Property in class PricingManager
The quantity value.
- PricingManager::qty() — Method in class PricingManager
Set the quantity property.
- $ CartLine#quantity — Property in class CartLine
- $ OrderLine#quantity — Property in class OrderLine
R
- AbstractAction::run() — Method in class AbstractAction
E.g. MyAction::run($item1, $item2);
- RemovePurchasable — Class 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#reference — Property in class Promotion
Promotion reference.
- ModelManifest::register() — Method in class ModelManifest
- ModelManifest::removeModel() — Method in class ModelManifest
- RebuildCollectionTree — Class in namespace Lunar\Jobs\Collections
- $ LunarServiceProvider#root — Property 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#required — Property in class Attribute
- Cart::remove() — Method in class Cart
Remove a cart line
- $ Order#reference — Property in class Order
- Order::refunds() — Method in class Order
Return the refunds relationship.
- $ Transaction#reference — Property in class Transaction
- Transaction::refund() — Method in class Transaction
- OfflinePayment::refund() — Method in class OfflinePayment
Refund a transaction for a given amount.
S
- SetShippingOption — Class in namespace Lunar\Actions\Carts
- SortProducts — Class in namespace Lunar\Actions\Collections
- SortProductsByPrice — Class in namespace Lunar\Actions\Collections
- SortProductsBySku — Class 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.
- ShippingBreakdown — Class 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.
- ShippingManifest — Class in namespace Lunar\Base
- ShippingManifestInterface — Class in namespace Lunar\Base
- ShippingModifier — Class in namespace Lunar\Base
- ShippingModifiers — Class in namespace Lunar\Base
- StandardMediaConversions — Class in namespace Lunar\Base
- StorefrontSessionInterface — Class 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
- Searchable — Class in namespace Lunar\Base\Traits
- Searchable::searchableUsing() — Method in class Searchable
- {@inheritDoc}
- ShippingBreakdown — Class in namespace Lunar\Base\ValueObjects\Cart
- ShippingBreakdownItem — Class in namespace Lunar\Base\ValueObjects\Cart
- $ AddonsDiscover#signature — Property in class AddonsDiscover
The name and signature of the console command.
- $ AddressData#signature — Property in class AddressData
The name and signature of the console command.
- $ MigrateGetCandy#signature — Property in class MigrateGetCandy
The name and signature of the console command.
- SyncNewCustomerOrders — Class in namespace Lunar\Console\Commands\Orders
- $ SyncNewCustomerOrders#signature — Property in class SyncNewCustomerOrders
The name and signature of the console command.
- ScoutIndexer — Class in namespace Lunar\Console\Commands
- $ ScoutIndexer#signature — Property in class ScoutIndexer
The name and signature of the console command.
- $ InstallLunar#signature — Property in class InstallLunar
The name and signature of the console command.
- ShippingOption — Class in namespace Lunar\DataTypes
- SystemTaxDriver — Class in namespace Lunar\Drivers
- $ SystemTaxDriver#shippingAddress — Property 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.
- ShippingAddressIncompleteException — Class in namespace Lunar\Exceptions\Carts
- ShippingAddressMissingException — Class in namespace Lunar\Exceptions\Carts
- ShippingOptionMissingException — Class in namespace Lunar\Exceptions\Carts
- SchedulingException — Class in namespace Lunar\Exceptions
- ModelManifest::swapModel() — Method in class ModelManifest
- ShippingManifest — Class in namespace Lunar\Facades
- StorefrontSession — Class 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.
- SyncTags — Class in namespace Lunar\Jobs
- CartSessionManager::setChannel() — Method in class CartSessionManager
Set the current channel.
- CartSessionManager::setCurrency() — Method in class CartSessionManager
Set the current currency.
- StorefrontSessionManager — Class 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#state — Property in class Address
- $ Address#shipping_default — Property in class Address
- Address::setMetaAttribute() — Method in class Address
Mutator for the meta attribute.
- $ Attribute#section — Property in class Attribute
- $ Attribute#system — Property in class Attribute
- $ Attribute#searchable — Property in class Attribute
- Attribute::scopeSystem() — Method in class Attribute
Apply the system scope to the query builder.
- $ Brand#sortable — Property 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#subTotal — Property in class Cart
The cart sub total.
- $ Cart#subTotalDiscounted — Property in class Cart
The cart sub total.
- $ Cart#shippingSubTotal — Property in class Cart
The shipping sub total for the cart.
- $ Cart#shippingTotal — Property in class Cart
The shipping total for the cart.
- $ Cart#shippingBreakdown — Property 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#shippingOption — Property in class CartAddress
The applied shipping option.
- $ CartAddress#shippingSubTotal — Property in class CartAddress
The shipping sub total.
- $ CartAddress#shippingTaxTotal — Property in class CartAddress
The shipping tax total.
- $ CartAddress#shippingTotal — Property in class CartAddress
The shipping total.
- $ CartAddress#state — Property in class CartAddress
- $ CartAddress#shipping_option — Property in class CartAddress
- $ CartLine#subTotal — Property in class CartLine
The cart line sub total.
- $ CartLine#subTotalDiscounted — Property in class CartLine
The discounted sub total
- Channel::setHandleAttribute() — Method in class Channel
Mutator for formatting the handle to a slug.
- $ Collection#sortable — Property in class Collection
Define our base sortable attributes.
- $ Collection#sort — Property 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#sortable — Property 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_at — Property in class Discount
- $ Discount#stop — Property 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#sortable — Property in class Order
Define our base sortable attributes.
- $ Order#status — Property in class Order
- $ Order#sub_total — Property in class Order
- $ Order#shipping_breakdown — Property 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#state — Property in class OrderAddress
- $ OrderAddress#shipping_option — Property in class OrderAddress
- $ OrderLine#sub_total — Property in class OrderLine
- $ Product#sortable — Property in class Product
Define our base sortable attributes.
- $ Product#status — Property 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#sortable — Property 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#sku — Property in class ProductVariant
- $ ProductVariant#shippable — Property in class ProductVariant
- $ ProductVariant#stock — Property in class ProductVariant
- State — Class in namespace Lunar\Models
- TaxZone::states() — Method in class TaxZone
Return the states relationship.
- $ TaxZoneState#state_id — Property in class TaxZoneState
- TaxZoneState::state() — Method in class TaxZoneState
Return the state relation.
- $ Transaction#success — Property in class Transaction
- $ Transaction#status — Property in class Transaction
- $ Url#slug — Property 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.
- ShippingOptionValidator — Class in namespace Lunar\Validation\Cart
T
- AbstractAction::then() — Method in class AbstractAction
- $ AttributeManifest#types — Property in class AttributeManifest
A collection of available attribute types.
- TaxBreakdown — Class in namespace Lunar\Base\Casts
- TaxDriver — Class in namespace Lunar\Base
- TaxManagerInterface — Class 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}
- TaxBreakdown — Class in namespace Lunar\Base\ValueObjects\Cart
- TaxBreakdownAmount — Class in namespace Lunar\Base\ValueObjects\Cart
- Taxes — Class in namespace Lunar\Facades
- Text — Class in namespace Lunar\FieldTypes
- Toggle — Class in namespace Lunar\FieldTypes
- TranslatedText — Class in namespace Lunar\FieldTypes
- $ RebuildCollectionTree#tries — Property in class RebuildCollectionTree
- $ UpdateProductPositions#tries — Property in class UpdateProductPositions
- $ MarkAsNewCustomer#tries — Property in class MarkAsNewCustomer
- $ Associate#tries — Property in class Associate
- $ Associate#targets — Property in class Associate
The product or collection of products to be associated.
- $ Associate#type — Property in class Associate
The SKU for the generated variant.
- $ Dissociate#tries — Property in class Dissociate
- $ Dissociate#targets — Property in class Dissociate
The product or collection of products to be associated.
- $ Dissociate#type — Property in class Dissociate
The SKU for the generated variant.
- $ SyncTags#tries — Property in class SyncTags
- $ SyncTags#tags — Property in class SyncTags
The option values to use to generate variants.
- $ DiscountManager#types — Property in class DiscountManager
The available discount types
- TaxManager — Class in namespace Lunar\Managers
- $ Address#title — Property in class Address
- $ Attribute#type — Property in class Attribute
- $ Cart#taxTotal — Property in class Cart
The cart tax total.
- $ Cart#total — Property in class Cart
The cart total.
- $ Cart#taxBreakdown — Property in class Cart
All the tax breakdowns for the cart.
- $ CartAddress#taxBreakdown — Property in class CartAddress
The tax breakdown.
- $ CartAddress#title — Property in class CartAddress
- $ CartAddress#type — Property in class CartAddress
- $ CartLine#taxAmount — Property in class CartLine
The cart line tax amount.
- $ CartLine#total — Property in class CartLine
The cart line total.
- $ CartLine#taxBreakdown — Property in class CartLine
All the tax breakdowns for the cart line.
- CartLine::taxClass() — Method in class CartLine
Return the tax class relationship.
- $ Collection#type — Property in class Collection
- $ Customer#title — Property in class Customer
- $ Discount#type — Property in class Discount
- $ DiscountPurchasable#type — Property in class DiscountPurchasable
- $ Order#tax_breakdown — Property in class Order
- $ Order#tax_total — Property in class Order
- $ Order#total — Property in class Order
- Order::transactions() — Method in class Order
Return the transactions relationship.
- $ OrderAddress#title — Property in class OrderAddress
- $ OrderAddress#type — Property in class OrderAddress
- $ OrderLine#type — Property in class OrderLine
- $ OrderLine#tax_breakdown — Property in class OrderLine
- $ OrderLine#tax_total — Property in class OrderLine
- $ OrderLine#total — Property in class OrderLine
- $ Price#tier — Property in class Price
- $ ProductAssociation#type — Property in class ProductAssociation
- ProductAssociation::target() — Method in class ProductAssociation
Return the parent relationship.
- $ ProductVariant#tax_class_id — Property in class ProductVariant
- $ ProductVariant#tax_ref — Property in class ProductVariant
- ProductVariant::taxClass() — Method in class ProductVariant
Return the tax class relationship.
- Tag — Class in namespace Lunar\Models
- Tag::taggables() — Method in class Tag
- TaxClass — Class in namespace Lunar\Models
- TaxClass::taxRateAmounts() — Method in class TaxClass
Return the tax rate amounts relationship.
- TaxRate — Class in namespace Lunar\Models
- $ TaxRate#tax_zone_id — Property 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.
- TaxRateAmount — Class in namespace Lunar\Models
- $ TaxRateAmount#total — Property in class TaxRateAmount
The tax rate amount.
- $ TaxRateAmount#tax_class_id — Property in class TaxRateAmount
- $ TaxRateAmount#tax_rate_id — Property 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.
- TaxZone — Class 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.
- TaxZoneCountry — Class in namespace Lunar\Models
- $ TaxZoneCountry#tax_zone_id — Property in class TaxZoneCountry
- TaxZoneCountry::taxZone() — Method in class TaxZoneCountry
Return the tax zone relation.
- TaxZoneCustomerGroup — Class in namespace Lunar\Models
- $ TaxZoneCustomerGroup#tax_zone_id — Property in class TaxZoneCustomerGroup
- TaxZoneCustomerGroup::taxZone() — Method in class TaxZoneCustomerGroup
Return the tax zone relation.
- TaxZonePostcode — Class in namespace Lunar\Models
- $ TaxZonePostcode#tax_zone_id — Property in class TaxZonePostcode
- TaxZonePostcode::taxZone() — Method in class TaxZonePostcode
Return the tax zone relation.
- TaxZoneState — Class in namespace Lunar\Models
- $ TaxZoneState#tax_zone_id — Property in class TaxZoneState
- TaxZoneState::taxZone() — Method in class TaxZoneState
Return the tax zone relation.
- Transaction — Class in namespace Lunar\Models
- $ Transaction#type — Property in class Transaction
- TransactionObserver — Class in namespace Lunar\Observers
U
- UpdateCartLine — Class 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
- UrlGenerator — Class in namespace Lunar\Generators
- UpdateProductPositions — Class in namespace Lunar\Jobs\Collections
- CartSessionManager::use() — Method in class CartSessionManager
Set the cart to be used for the session.
- $ PricingManager#user — Property in class PricingManager
The instance of the user.
- PricingManager::user() — Method in class PricingManager
Set the user property.
- $ Address#updated_at — Property in class Address
- $ Asset#updated_at — Property in class Asset
- $ Attribute#updated_at — Property in class Attribute
- $ AttributeGroup#updated_at — Property in class AttributeGroup
- $ Brand#updated_at — Property in class Brand
- $ Cart#user_id — Property in class Cart
- $ Cart#updated_at — Property 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_at — Property in class CartAddress
- $ CartLine#unitPrice — Property in class CartLine
The cart line unit price.
- $ CartLine#updated_at — Property in class CartLine
- $ Channel#url — Property in class Channel
- $ Channel#updated_at — Property in class Channel
- $ Collection#updated_at — Property in class Collection
- $ CollectionGroup#updated_at — Property in class CollectionGroup
- $ Country#updated_at — Property in class Country
- $ Currency#updated_at — Property in class Currency
- $ Customer#updated_at — Property in class Customer
- Customer::users() — Method in class Customer
Return the customer group relationship.
- $ CustomerGroup#updated_at — Property in class CustomerGroup
- $ Discount#uses — Property in class Discount
- $ Discount#updated_at — Property in class Discount
- Discount::users() — Method in class Discount
- $ DiscountPurchasable#updated_at — Property in class DiscountPurchasable
- $ Language#updated_at — Property in class Language
- Language::urls() — Method in class Language
Return the URLs relationship
- $ Order#user_id — Property in class Order
- $ Order#updated_at — Property in class Order
- Order::user() — Method in class Order
Return the user relationship.
- $ OrderAddress#updated_at — Property in class OrderAddress
- $ OrderLine#unit_price — Property in class OrderLine
- $ OrderLine#unit_quantity — Property in class OrderLine
- $ OrderLine#updated_at — Property in class OrderLine
- $ Price#updated_at — Property in class Price
- $ Product#updated_at — Property in class Product
- $ ProductAssociation#updated_at — Property in class ProductAssociation
- $ ProductOption#updated_at — Property in class ProductOption
- $ ProductOptionValue#updated_at — Property in class ProductOptionValue
- $ ProductType#updated_at — Property in class ProductType
- $ ProductVariant#unit_quantity — Property in class ProductVariant
- $ ProductVariant#updated_at — Property in class ProductVariant
- $ State#updated_at — Property in class State
- $ Tag#updated_at — Property in class Tag
- $ TaxClass#updated_at — Property in class TaxClass
- $ TaxRate#updated_at — Property in class TaxRate
- $ TaxRateAmount#updated_at — Property in class TaxRateAmount
- $ TaxZone#updated_at — Property in class TaxZone
- $ TaxZoneCountry#updated_at — Property in class TaxZoneCountry
- $ TaxZoneCustomerGroup#updated_at — Property in class TaxZoneCustomerGroup
- $ TaxZonePostcode#updated_at — Property in class TaxZonePostcode
- $ TaxZoneState#updated_at — Property in class TaxZoneState
- $ Transaction#updated_at — Property in class Transaction
- Url — Class in namespace Lunar\Models
- $ Url#updated_at — Property in class Url
- UserPermission — Class 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.
- UrlObserver — Class 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
- ValidateCartForOrder — Class 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#value — Property in class Dropdown
- $ File#value — Property in class File
- $ ListField#value — Property in class ListField
- $ Number#value — Property in class Number
- $ Text#value — Property in class Text
- $ Toggle#value — Property in class Toggle
- $ TranslatedText#value — Property in class TranslatedText
- $ YouTube#value — Property in class YouTube
- DiscountManager::validateCoupon() — Method in class DiscountManager
Validate a given coupon against all system discounts.
- $ Attribute#validation_rules — Property in class Attribute
- $ Customer#vat_no — Property 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_value — Property in class ProductVariant
- $ ProductVariant#volume_unit — Property in class ProductVariant
- ProductVariant::values() — Method in class ProductVariant
Return the related product option values.
- $ Tag#value — Property in class Tag
- ValidCoupon — Class 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.
- ValidateCartForOrderCreation — Class 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_value — Property in class ProductVariant
- $ ProductVariant#width_unit — Property in class ProductVariant
- $ ProductVariant#weight_value — Property in class ProductVariant
- $ ProductVariant#weight_unit — Property in class ProductVariant
- AbstractPayment::withData() — Method in class AbstractPayment
Set any data the provider might need.
Y
- YouTube — Class in namespace Lunar\FieldTypes
Z
- $ TaxZone#zone_type — Property 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#_lft — Property in class Collection
- $ Collection#_rgt — Property in class Collection
- MaxDecimalPlaces::__construct() — Method in class MaxDecimalPlaces