Fee

public struct Fee : Codable

Commission from the buyer in excess of the payment amount. The field is present if there are commissions in excess of the payment amount.

  • Commission charged by YooKassa.

    Declaration

    Swift

    public let service: Service?
  • Fee charged by the payee.

    Declaration

    Swift

    public let counterparty: Counterparty?
  • Creates instance of Fee.

    Declaration

    Swift

    public init(service: Service?,
                counterparty: Counterparty?)

    Parameters

    service

    Commission charged by YooKassa.

    counterparty

    Fee charged by the payee.

    Return Value

    Instance of Fee.