Files
yookassa-sdk-php/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md
T
2025-07-01 14:52:30 +03:00

3.6 KiB

YooKassa API SDK

Class: \YooKassa\Model\Invoice\DeliveryMethod\DeliveryMethodFactory

Namespace: \YooKassa\Model\Invoice\DeliveryMethod


Summary:

Класс, представляющий модель PaymentMethodFactory.

Description:

Фабрика создания объекта методов доставки счета из массива.


Constants

  • No constants found

Methods

Visibility Name Flag Summary
public factory() Фабричный метод создания объекта метода доставки счета по типу.
public factoryFromArray() Фабричный метод создания объекта метода доставки счета из массива.

Details


Tags

Tag Version Description
category Class
author cms@yoomoney.ru

Methods

public factory() : \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod

public factory(string|null $type) : \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod

Summary

Фабричный метод создания объекта метода доставки счета по типу.

Details:

Parameters:
Type Name Description
string OR null type Тип метода доставки счета

Returns: \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod -

public factoryFromArray() : \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod

public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod

Summary

Фабричный метод создания объекта метода доставки счета из массива.

Details:

Parameters:
Type Name Description
array data Массив данных метода доставки счета
null OR string type Тип метода доставки счета

Returns: \YooKassa\Model\Invoice\DeliveryMethod\AbstractDeliveryMethod -


Top Namespaces


Reports


This document was automatically generated from source code comments on 2025-07-01 using phpDocumentor

© 2025 YooMoney