Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
155 stars 152 forks source link

How can i get all the payments methods? #283

Open centenario opened 6 years ago

centenario commented 6 years ago

Hi, thanks for this awesome tool. id like to know how can i get all the payments methods in my shop.

Thanks in advance

ghost commented 5 years ago
    Dim N As New Bukimedia.PrestaSharp.Factories.OrderPaymentFactory(frmConfig.GetWSUrl, frmConfig.GetWSLoginUser, frmConfig.GetWSKey)
        Dim nn As List(Of Bukimedia.PrestaSharp.Entities.order_payment)
        nn = N.GetAll
        For Each dp As Bukimedia.PrestaSharp.Entities.order_payment In nn

            MsgBox(dp.id & "." & dp.payment_method)
        Next``