Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPLETE MISSING EVENT TYPE #330

Open
SylvainAssemat opened this issue Mar 9, 2024 · 1 comment
Open

COMPLETE MISSING EVENT TYPE #330

SylvainAssemat opened this issue Mar 9, 2024 · 1 comment

Comments

@SylvainAssemat
Copy link

Hi

Based on the documentation : https://mangopay.com/docs/dev-tools/notifications/event-types
It seems that some events are missing on the JAVA SDK (2.36.0) enumeration class.

Ex :
RECURRING_REGISTRATION_ENDED
RECURRING_REGISTRATION_CREATED
RECURRING_REGISTRATION_IN_PROGRESS
RECURRING_REGISTRATION_AUTH_NEEDED
LEGAL_COMPANY_NUMBER_VALIDATION_SUCCEEDED
LEGAL_COMPANY_NUMBER_VALIDATION_FAILED

Maybe some more

Can you complete the SDK in the next release ?

Thanks

package com.mangopay.core.enumerations;

public enum EventType {

    ALL,

    PAYIN_NORMAL_CREATED,
    PAYIN_NORMAL_SUCCEEDED,
    PAYIN_NORMAL_FAILED,

    PAYOUT_NORMAL_CREATED,
    PAYOUT_NORMAL_SUCCEEDED,
    PAYOUT_NORMAL_FAILED,

    TRANSFER_NORMAL_CREATED,
    TRANSFER_NORMAL_SUCCEEDED,
    TRANSFER_NORMAL_FAILED,

    PAYIN_REFUND_CREATED,
    PAYIN_REFUND_SUCCEEDED,
    PAYIN_REFUND_FAILED,

    PAYOUT_REFUND_CREATED,
    PAYOUT_REFUND_SUCCEEDED,
    PAYOUT_REFUND_FAILED,

    TRANSFER_REFUND_CREATED,
    TRANSFER_REFUND_SUCCEEDED,
    TRANSFER_REFUND_FAILED,

    KYC_CREATED,
    KYC_VALIDATION_ASKED,
    KYC_SUCCEEDED,
    KYC_FAILED,
    KYC_OUTDATED,

    PAYIN_REPUDIATION_CREATED,
    PAYIN_REPUDIATION_SUCCEEDED,
    PAYIN_REPUDIATION_FAILED,

    DISPUTE_DOCUMENT_CREATED,
    DISPUTE_DOCUMENT_VALIDATION_ASKED,
    DISPUTE_DOCUMENT_SUCCEEDED,
    DISPUTE_DOCUMENT_FAILED,
    DISPUTE_CREATED,
    DISPUTE_SUBMITTED,
    DISPUTE_ACTION_REQUIRED,
    DISPUTE_FURTHER_ACTION_REQUIRED,
    DISPUTE_CLOSED,
    DISPUTE_SENT_TO_BANK,

    TRANSFER_SETTLEMENT_CREATED,
    TRANSFER_SETTLEMENT_SUCCEEDED,
    TRANSFER_SETTLEMENT_FAILED,

    MANDATE_CREATED,
    MANDATE_FAILED,
    MANDATE_ACTIVATED,
    MANDATE_SUBMITTED,
    MANDATE_EXPIRED,

    PREAUTHORIZATION_PAYMENT_WAITING,
    PREAUTHORIZATION_PAYMENT_EXPIRED,
    PREAUTHORIZATION_PAYMENT_CANCELED,
    PREAUTHORIZATION_PAYMENT_VALIDATED,

    UBO_DECLARATION_CREATED, 
    UBO_DECLARATION_VALIDATION_ASKED, 
    UBO_DECLARATION_REFUSED, 
    UBO_DECLARATION_VALIDATED, 
    UBO_DECLARATION_INCOMPLETE,

    USER_KYC_REGULAR,
    USER_KYC_LIGHT,

    USER_INFLOWS_BLOCKED,
    USER_INFLOWS_UNBLOCKED,
    USER_OUTFLOWS_BLOCKED,
    USER_OUTFLOWS_UNBLOCKED,

    PREAUTHORIZATION_CREATED,
    PREAUTHORIZATION_SUCCEEDED,
    PREAUTHORIZATION_FAILED,

    INSTANT_PAYOUT_SUCCEEDED,
    INSTANT_PAYOUT_FALLBACKED,

    DEPOSIT_PREAUTHORIZATION_CREATED,
    DEPOSIT_PREAUTHORIZATION_FAILED,
    DEPOSIT_PREAUTHORIZATION_PAYMENT_WAITING,
    DEPOSIT_PREAUTHORIZATION_PAYMENT_EXPIRED,
    DEPOSIT_PREAUTHORIZATION_PAYMENT_CANCEL_REQUESTED,
    DEPOSIT_PREAUTHORIZATION_PAYMENT_CANCELED,
    DEPOSIT_PREAUTHORIZATION_PAYMENT_VALIDATED,

    CARD_VALIDATION_CREATED,
    CARD_VALIDATION_FAILED,
    CARD_VALIDATION_SUCCEEDED,
}

@SylvainAssemat
Copy link
Author

Hi

Any nes on this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant