FIBUdataServiceStack

<back to all web services

PayPalListeRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/PayPalListe
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PayPalListeRequest
    {
        public Oem oem = null;
        public Date VonDatum = null;
        public Date BisDatum = null;
        public Long BankID = null;
        public Boolean AlleNeueLaden = null;
        public String PayPalClientID = null;
        public String PayPalSecret = null;
        public String PayPalWaehrung = null;
        public Boolean OnlinehandeDateiGenieren = null;
        
        public Oem getOem() { return oem; }
        public PayPalListeRequest setOem(Oem value) { this.oem = value; return this; }
        public Date getVonDatum() { return VonDatum; }
        public PayPalListeRequest setVonDatum(Date value) { this.VonDatum = value; return this; }
        public Date getBisDatum() { return BisDatum; }
        public PayPalListeRequest setBisDatum(Date value) { this.BisDatum = value; return this; }
        public Long getBankID() { return BankID; }
        public PayPalListeRequest setBankID(Long value) { this.BankID = value; return this; }
        public Boolean isAlleNeueLaden() { return AlleNeueLaden; }
        public PayPalListeRequest setAlleNeueLaden(Boolean value) { this.AlleNeueLaden = value; return this; }
        public String getPayPalClientID() { return PayPalClientID; }
        public PayPalListeRequest setPayPalClientID(String value) { this.PayPalClientID = value; return this; }
        public String getPayPalSecret() { return PayPalSecret; }
        public PayPalListeRequest setPayPalSecret(String value) { this.PayPalSecret = value; return this; }
        public String getPayPalWaehrung() { return PayPalWaehrung; }
        public PayPalListeRequest setPayPalWaehrung(String value) { this.PayPalWaehrung = value; return this; }
        public Boolean isOnlinehandeDateiGenieren() { return OnlinehandeDateiGenieren; }
        public PayPalListeRequest setOnlinehandeDateiGenieren(Boolean value) { this.OnlinehandeDateiGenieren = value; return this; }
    }

    public static enum Oem
    {
        Fibudata(0),
        Spectrum(3);

        private final int value;
        Oem(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    public static class PayPalListeListeResponse
    {
        public ArrayList<TransactionDetail> transaction_details = null;
        public ArrayList<String> PayPalJson = null;
        public ArrayList<ArrayList<OnlinehandelItem>> Liste = null;
        public Long NeueDateiID = null;
        
        public ArrayList<TransactionDetail> getTransactionDetails() { return transaction_details; }
        public PayPalListeListeResponse setTransactionDetails(ArrayList<TransactionDetail> value) { this.transaction_details = value; return this; }
        public ArrayList<String> getPayPalJson() { return PayPalJson; }
        public PayPalListeListeResponse setPayPalJson(ArrayList<String> value) { this.PayPalJson = value; return this; }
        public ArrayList<ArrayList<OnlinehandelItem>> getListe() { return Liste; }
        public PayPalListeListeResponse setListe(ArrayList<ArrayList<OnlinehandelItem>> value) { this.Liste = value; return this; }
        public Long getNeueDateiID() { return NeueDateiID; }
        public PayPalListeListeResponse setNeueDateiID(Long value) { this.NeueDateiID = value; return this; }
    }

    public static class TransactionDetail
    {
        public TransactionInfo transaction_info = null;
        public PayerInfo payer_info = null;
        public ShippingInfo shipping_info = null;
        public CartInfo cart_info = null;
        public StoreInfo store_info = null;
        public AuctionInfo auction_info = null;
        public IncentiveInfo incentive_info = null;
        
        public TransactionInfo getTransactionInfo() { return transaction_info; }
        public TransactionDetail setTransactionInfo(TransactionInfo value) { this.transaction_info = value; return this; }
        public PayerInfo getPayerInfo() { return payer_info; }
        public TransactionDetail setPayerInfo(PayerInfo value) { this.payer_info = value; return this; }
        public ShippingInfo getShippingInfo() { return shipping_info; }
        public TransactionDetail setShippingInfo(ShippingInfo value) { this.shipping_info = value; return this; }
        public CartInfo getCartInfo() { return cart_info; }
        public TransactionDetail setCartInfo(CartInfo value) { this.cart_info = value; return this; }
        public StoreInfo getStoreInfo() { return store_info; }
        public TransactionDetail setStoreInfo(StoreInfo value) { this.store_info = value; return this; }
        public AuctionInfo getAuctionInfo() { return auction_info; }
        public TransactionDetail setAuctionInfo(AuctionInfo value) { this.auction_info = value; return this; }
        public IncentiveInfo getIncentiveInfo() { return incentive_info; }
        public TransactionDetail setIncentiveInfo(IncentiveInfo value) { this.incentive_info = value; return this; }
    }

    public static class TransactionInfo
    {
        public String paypal_account_id = null;
        public String transaction_id = null;
        public String transaction_event_code = null;
        public Date transaction_initiation_date = null;
        public Date transaction_updated_date = null;
        public TransactionAmount transaction_amount = null;
        public FeeAmount fee_amount = null;
        public String transaction_status = null;
        public String transaction_subject = null;
        public EndingBalance ending_balance = null;
        public AvailableBalance available_balance = null;
        public String invoice_id = null;
        public String custom_field = null;
        public String protection_eligibility = null;
        public String paypal_reference_id = null;
        public String paypal_reference_id_type = null;
        public String bank_reference_id = null;
        public String credit_term = null;
        public String transaction_note = null;
        public String payment_method_type = null;
        
        public String getPaypalAccountId() { return paypal_account_id; }
        public TransactionInfo setPaypalAccountId(String value) { this.paypal_account_id = value; return this; }
        public String getTransactionId() { return transaction_id; }
        public TransactionInfo setTransactionId(String value) { this.transaction_id = value; return this; }
        public String getTransactionEventCode() { return transaction_event_code; }
        public TransactionInfo setTransactionEventCode(String value) { this.transaction_event_code = value; return this; }
        public Date getTransactionInitiationDate() { return transaction_initiation_date; }
        public TransactionInfo setTransactionInitiationDate(Date value) { this.transaction_initiation_date = value; return this; }
        public Date getTransactionUpdatedDate() { return transaction_updated_date; }
        public TransactionInfo setTransactionUpdatedDate(Date value) { this.transaction_updated_date = value; return this; }
        public TransactionAmount getTransactionAmount() { return transaction_amount; }
        public TransactionInfo setTransactionAmount(TransactionAmount value) { this.transaction_amount = value; return this; }
        public FeeAmount getFeeAmount() { return fee_amount; }
        public TransactionInfo setFeeAmount(FeeAmount value) { this.fee_amount = value; return this; }
        public String getTransactionStatus() { return transaction_status; }
        public TransactionInfo setTransactionStatus(String value) { this.transaction_status = value; return this; }
        public String getTransactionSubject() { return transaction_subject; }
        public TransactionInfo setTransactionSubject(String value) { this.transaction_subject = value; return this; }
        public EndingBalance getEndingBalance() { return ending_balance; }
        public TransactionInfo setEndingBalance(EndingBalance value) { this.ending_balance = value; return this; }
        public AvailableBalance getAvailableBalance() { return available_balance; }
        public TransactionInfo setAvailableBalance(AvailableBalance value) { this.available_balance = value; return this; }
        public String getInvoiceId() { return invoice_id; }
        public TransactionInfo setInvoiceId(String value) { this.invoice_id = value; return this; }
        public String getCustomField() { return custom_field; }
        public TransactionInfo setCustomField(String value) { this.custom_field = value; return this; }
        public String getProtectionEligibility() { return protection_eligibility; }
        public TransactionInfo setProtectionEligibility(String value) { this.protection_eligibility = value; return this; }
        public String getPaypalReferenceId() { return paypal_reference_id; }
        public TransactionInfo setPaypalReferenceId(String value) { this.paypal_reference_id = value; return this; }
        public String getPaypalReferenceIdType() { return paypal_reference_id_type; }
        public TransactionInfo setPaypalReferenceIdType(String value) { this.paypal_reference_id_type = value; return this; }
        public String getBankReferenceId() { return bank_reference_id; }
        public TransactionInfo setBankReferenceId(String value) { this.bank_reference_id = value; return this; }
        public String getCreditTerm() { return credit_term; }
        public TransactionInfo setCreditTerm(String value) { this.credit_term = value; return this; }
        public String getTransactionNote() { return transaction_note; }
        public TransactionInfo setTransactionNote(String value) { this.transaction_note = value; return this; }
        public String getPaymentMethodType() { return payment_method_type; }
        public TransactionInfo setPaymentMethodType(String value) { this.payment_method_type = value; return this; }
    }

    public static class TransactionAmount
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public TransactionAmount setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public TransactionAmount setValue(String value) { this.value = value; return this; }
    }

    public static class FeeAmount
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public FeeAmount setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public FeeAmount setValue(String value) { this.value = value; return this; }
    }

    public static class EndingBalance
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public EndingBalance setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public EndingBalance setValue(String value) { this.value = value; return this; }
    }

    public static class AvailableBalance
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public AvailableBalance setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public AvailableBalance setValue(String value) { this.value = value; return this; }
    }

    public static class PayerInfo
    {
        public String account_id = null;
        public String email_address = null;
        public String address_status = null;
        public String payer_status = null;
        public PayerName payer_name = null;
        public String country_code = null;
        
        public String getAccountId() { return account_id; }
        public PayerInfo setAccountId(String value) { this.account_id = value; return this; }
        public String getEmailAddress() { return email_address; }
        public PayerInfo setEmailAddress(String value) { this.email_address = value; return this; }
        public String getAddressStatus() { return address_status; }
        public PayerInfo setAddressStatus(String value) { this.address_status = value; return this; }
        public String getPayerStatus() { return payer_status; }
        public PayerInfo setPayerStatus(String value) { this.payer_status = value; return this; }
        public PayerName getPayerName() { return payer_name; }
        public PayerInfo setPayerName(PayerName value) { this.payer_name = value; return this; }
        public String getCountryCode() { return country_code; }
        public PayerInfo setCountryCode(String value) { this.country_code = value; return this; }
    }

    public static class PayerName
    {
        public String given_name = null;
        public String surname = null;
        public String alternate_full_name = null;
        public String middle_name = null;
        
        public String getGivenName() { return given_name; }
        public PayerName setGivenName(String value) { this.given_name = value; return this; }
        public String getSurname() { return surname; }
        public PayerName setSurname(String value) { this.surname = value; return this; }
        public String getAlternateFullName() { return alternate_full_name; }
        public PayerName setAlternateFullName(String value) { this.alternate_full_name = value; return this; }
        public String getMiddleName() { return middle_name; }
        public PayerName setMiddleName(String value) { this.middle_name = value; return this; }
    }

    public static class ShippingInfo
    {
        public String name = null;
        public Address address = null;
        
        public String getName() { return name; }
        public ShippingInfo setName(String value) { this.name = value; return this; }
        public Address getAddress() { return address; }
        public ShippingInfo setAddress(Address value) { this.address = value; return this; }
    }

    public static class Address
    {
        public String line1 = null;
        public String city = null;
        public String country_code = null;
        public String postal_code = null;
        public String address_line_1 = null;
        public String admin_area_2 = null;
        
        public String getLine1() { return line1; }
        public Address setLine1(String value) { this.line1 = value; return this; }
        public String getCity() { return city; }
        public Address setCity(String value) { this.city = value; return this; }
        public String getCountryCode() { return country_code; }
        public Address setCountryCode(String value) { this.country_code = value; return this; }
        public String getPostalCode() { return postal_code; }
        public Address setPostalCode(String value) { this.postal_code = value; return this; }
        public String getAddressLine1() { return address_line_1; }
        public Address setAddressLine1(String value) { this.address_line_1 = value; return this; }
        public String getAdminArea2() { return admin_area_2; }
        public Address setAdminArea2(String value) { this.admin_area_2 = value; return this; }
    }

    public static class CartInfo
    {
        public ArrayList<ItemDetail> item_details = null;
        
        public ArrayList<ItemDetail> getItemDetails() { return item_details; }
        public CartInfo setItemDetails(ArrayList<ItemDetail> value) { this.item_details = value; return this; }
    }

    public static class ItemDetail
    {
        public String item_code = null;
        public String item_name = null;
        public String item_description = null;
        public String item_quantity = null;
        public ItemUnitPrice item_unit_price = null;
        public ItemAmount item_amount = null;
        public TotalItemAmount total_item_amount = null;
        public BasicShippingAmount basic_shipping_amount = null;
        public String invoice_number = null;
        public String tax_percentage = null;
        
        public String getItemCode() { return item_code; }
        public ItemDetail setItemCode(String value) { this.item_code = value; return this; }
        public String getItemName() { return item_name; }
        public ItemDetail setItemName(String value) { this.item_name = value; return this; }
        public String getItemDescription() { return item_description; }
        public ItemDetail setItemDescription(String value) { this.item_description = value; return this; }
        public String getItemQuantity() { return item_quantity; }
        public ItemDetail setItemQuantity(String value) { this.item_quantity = value; return this; }
        public ItemUnitPrice getItemUnitPrice() { return item_unit_price; }
        public ItemDetail setItemUnitPrice(ItemUnitPrice value) { this.item_unit_price = value; return this; }
        public ItemAmount getItemAmount() { return item_amount; }
        public ItemDetail setItemAmount(ItemAmount value) { this.item_amount = value; return this; }
        public TotalItemAmount getTotalItemAmount() { return total_item_amount; }
        public ItemDetail setTotalItemAmount(TotalItemAmount value) { this.total_item_amount = value; return this; }
        public BasicShippingAmount getBasicShippingAmount() { return basic_shipping_amount; }
        public ItemDetail setBasicShippingAmount(BasicShippingAmount value) { this.basic_shipping_amount = value; return this; }
        public String getInvoiceNumber() { return invoice_number; }
        public ItemDetail setInvoiceNumber(String value) { this.invoice_number = value; return this; }
        public String getTaxPercentage() { return tax_percentage; }
        public ItemDetail setTaxPercentage(String value) { this.tax_percentage = value; return this; }
    }

    public static class ItemUnitPrice
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public ItemUnitPrice setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public ItemUnitPrice setValue(String value) { this.value = value; return this; }
    }

    public static class ItemAmount
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public ItemAmount setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public ItemAmount setValue(String value) { this.value = value; return this; }
    }

    public static class TotalItemAmount
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public TotalItemAmount setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public TotalItemAmount setValue(String value) { this.value = value; return this; }
    }

    public static class BasicShippingAmount
    {
        public String currency_code = null;
        public String value = null;
        
        public String getCurrencyCode() { return currency_code; }
        public BasicShippingAmount setCurrencyCode(String value) { this.currency_code = value; return this; }
        public String getValue() { return value; }
        public BasicShippingAmount setValue(String value) { this.value = value; return this; }
    }

    public static class StoreInfo
    {
        
    }

    public static class AuctionInfo
    {
        public String auction_site = null;
        public String auction_item_site = null;
        public String auction_buyer_id = null;
        public Date auction_closing_date = null;
        
        public String getAuctionSite() { return auction_site; }
        public AuctionInfo setAuctionSite(String value) { this.auction_site = value; return this; }
        public String getAuctionItemSite() { return auction_item_site; }
        public AuctionInfo setAuctionItemSite(String value) { this.auction_item_site = value; return this; }
        public String getAuctionBuyerId() { return auction_buyer_id; }
        public AuctionInfo setAuctionBuyerId(String value) { this.auction_buyer_id = value; return this; }
        public Date getAuctionClosingDate() { return auction_closing_date; }
        public AuctionInfo setAuctionClosingDate(Date value) { this.auction_closing_date = value; return this; }
    }

    public static class IncentiveInfo
    {
        
    }

}

Java PayPalListeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/Onlinehandel/PayPalListe HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"oem":"fibudata","VonDatum":"\/Date(-62135596800000-0000)\/","BisDatum":"\/Date(-62135596800000-0000)\/","BankID":0,"AlleNeueLaden":false,"PayPalClientID":"String","PayPalSecret":"String","PayPalWaehrung":"String","OnlinehandeDateiGenieren":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"transaction_details":[{"transaction_info":{"paypal_account_id":"String","transaction_id":"String","transaction_event_code":"String","transaction_initiation_date":"\/Date(-62135596800000-0000)\/","transaction_updated_date":"\/Date(-62135596800000-0000)\/","transaction_amount":{"currency_code":"String","value":"String"},"fee_amount":{"currency_code":"String","value":"String"},"transaction_status":"String","transaction_subject":"String","ending_balance":{"currency_code":"String","value":"String"},"available_balance":{"currency_code":"String","value":"String"},"invoice_id":"String","custom_field":"String","protection_eligibility":"String","paypal_reference_id":"String","paypal_reference_id_type":"String","bank_reference_id":"String","credit_term":"String","transaction_note":"String","payment_method_type":"String"},"payer_info":{"account_id":"String","email_address":"String","address_status":"String","payer_status":"String","payer_name":{"given_name":"String","surname":"String","alternate_full_name":"String","middle_name":"String"},"country_code":"String"},"shipping_info":{"name":"String","address":{"line1":"String","city":"String","country_code":"String","postal_code":"String","address_line_1":"String","admin_area_2":"String"}},"cart_info":{"item_details":[{"item_code":"String","item_name":"String","item_description":"String","item_quantity":"String","item_unit_price":{"currency_code":"String","value":"String"},"item_amount":{"currency_code":"String","value":"String"},"total_item_amount":{"currency_code":"String","value":"String"},"basic_shipping_amount":{"currency_code":"String","value":"String"},"invoice_number":"String","tax_percentage":"String"}]},"store_info":{},"auction_info":{"auction_site":"String","auction_item_site":"String","auction_buyer_id":"String","auction_closing_date":"\/Date(-62135596800000-0000)\/"},"incentive_info":{}}],"PayPalJson":["String"],"Liste":[[{"fehler":false,"original":"String","header":"String","col_nummer":0,"konfiguration":"OrderiD","summenkonfiguration":false,"value":{},"datum":"\/Date(-62135596800000-0000)\/","zahl":0,"datum_string":"String","zahl_string":"String"}]],"NeueDateiID":0}