Class PayoutSettingsMerchantLevel

    • Constructor Detail

      • PayoutSettingsMerchantLevel

        public PayoutSettingsMerchantLevel​(Client client)
    • Method Detail

      • deletePayoutSetting

        public void deletePayoutSetting​(String merchantId,
                                        String payoutSettingsId)
                                 throws ApiException,
                                        IOException
        Delete a payout setting
        Parameters:
        merchantId - The unique identifier of the merchant account. (required)
        payoutSettingsId - The unique identifier of the payout setting. (required)
        Throws:
        ApiException - if fails to make API call
        IOException
      • getPayoutSetting

        public PayoutSettings getPayoutSetting​(String merchantId,
                                               String payoutSettingsId)
                                        throws ApiException,
                                               IOException
        Get a payout setting
        Parameters:
        merchantId - The unique identifier of the merchant account. (required)
        payoutSettingsId - The unique identifier of the payout setting. (required)
        Returns:
        PayoutSettings
        Throws:
        ApiException - if fails to make API call
        IOException
      • updatePayoutSetting

        public PayoutSettings updatePayoutSetting​(String merchantId,
                                                  String payoutSettingsId,
                                                  UpdatePayoutSettingsRequest updatePayoutSettingsRequest)
                                           throws ApiException,
                                                  IOException
        Update a payout setting
        Parameters:
        merchantId - The unique identifier of the merchant account. (required)
        payoutSettingsId - The unique identifier of the payout setting. (required)
        updatePayoutSettingsRequest - (optional)
        Returns:
        PayoutSettings
        Throws:
        ApiException - if fails to make API call
        IOException