예제 #1
0
class CreditCardVerificationSearch:
    credit_card_cardholder_name  = Search.TextNodeBuilder("credit_card_cardholder_name")
    id                           = Search.TextNodeBuilder("id")
    credit_card_expiration_date  = Search.EqualityNodeBuilder("credit_card_expiration_date")
    credit_card_number           = Search.PartialMatchNodeBuilder("credit_card_number")
    status                       = Search.MultipleValueNodeBuilder("credit_card_type", Constants.get_all_constant_values_from_class(CreditCard.CardType))
    ids                          = Search.MultipleValueNodeBuilder("ids")
    created_at                   = Search.RangeNodeBuilder("created_at")
예제 #2
0
class IdsSearch:
    ids = Search.MultipleValueNodeBuilder("ids")
예제 #3
0
class TransactionSearch:
    billing_first_name           = Search.TextNodeBuilder("billing_first_name")
    billing_company              = Search.TextNodeBuilder("billing_company")
    billing_country_name         = Search.TextNodeBuilder("billing_country_name")
    billing_extended_address     = Search.TextNodeBuilder("billing_extended_address")
    billing_first_name           = Search.TextNodeBuilder("billing_first_name")
    billing_last_name            = Search.TextNodeBuilder("billing_last_name")
    billing_locality             = Search.TextNodeBuilder("billing_locality")
    billing_postal_code          = Search.TextNodeBuilder("billing_postal_code")
    billing_region               = Search.TextNodeBuilder("billing_region")
    billing_street_address       = Search.TextNodeBuilder("billing_street_address")
    credit_card_cardholder_name  = Search.TextNodeBuilder("credit_card_cardholder_name")
    currency                     = Search.TextNodeBuilder("currency")
    customer_company             = Search.TextNodeBuilder("customer_company")
    customer_email               = Search.TextNodeBuilder("customer_email")
    customer_fax                 = Search.TextNodeBuilder("customer_fax")
    customer_first_name          = Search.TextNodeBuilder("customer_first_name")
    customer_id                  = Search.TextNodeBuilder("customer_id")
    customer_last_name           = Search.TextNodeBuilder("customer_last_name")
    customer_phone               = Search.TextNodeBuilder("customer_phone")
    customer_website             = Search.TextNodeBuilder("customer_website")
    id                           = Search.TextNodeBuilder("id")
    order_id                     = Search.TextNodeBuilder("order_id")
    payment_method_token         = Search.TextNodeBuilder("payment_method_token")
    processor_authorization_code = Search.TextNodeBuilder("processor_authorization_code")
    europe_bank_account_iban       = Search.TextNodeBuilder("europe_bank_account_iban")
    settlement_batch_id          = Search.TextNodeBuilder("settlement_batch_id")
    shipping_company             = Search.TextNodeBuilder("shipping_company")
    shipping_country_name        = Search.TextNodeBuilder("shipping_country_name")
    shipping_extended_address    = Search.TextNodeBuilder("shipping_extended_address")
    shipping_first_name          = Search.TextNodeBuilder("shipping_first_name")
    shipping_last_name           = Search.TextNodeBuilder("shipping_last_name")
    shipping_locality            = Search.TextNodeBuilder("shipping_locality")
    shipping_postal_code         = Search.TextNodeBuilder("shipping_postal_code")
    shipping_region              = Search.TextNodeBuilder("shipping_region")
    shipping_street_address      = Search.TextNodeBuilder("shipping_street_address")
    paypal_payer_email           = Search.TextNodeBuilder("paypal_payer_email")
    paypal_payment_id            = Search.TextNodeBuilder("paypal_payment_id")
    paypal_authorization_id      = Search.TextNodeBuilder("paypal_authorization_id")
    credit_card_unique_identifier = Search.TextNodeBuilder("credit_card_unique_identifier")
    store_id                     = Search.TextNodeBuilder("store_id")

    credit_card_expiration_date  = Search.EqualityNodeBuilder("credit_card_expiration_date")
    credit_card_number           = Search.PartialMatchNodeBuilder("credit_card_number")
    
    user                         = Search.MultipleValueNodeBuilder("user")
    ids                          = Search.MultipleValueNodeBuilder("ids")
    merchant_account_id          = Search.MultipleValueNodeBuilder("merchant_account_id")
    payment_instrument_type      = Search.MultipleValueNodeBuilder("payment_instrument_type")
    store_ids                    = Search.MultipleValueNodeBuilder("store_ids")

    created_using = Search.MultipleValueNodeBuilder(
        "created_using",
        Constants.get_all_constant_values_from_class(Transaction.CreatedUsing)
    )

    credit_card_card_type = Search.MultipleValueNodeBuilder(
        "credit_card_card_type",
        Constants.get_all_constant_values_from_class(CreditCard.CardType)
    )

    credit_card_customer_location = Search.MultipleValueNodeBuilder(
        "credit_card_customer_location",
        Constants.get_all_constant_values_from_class(CreditCard.CustomerLocation)
    )

    source = Search.MultipleValueNodeBuilder("source")

    status = Search.MultipleValueNodeBuilder(
        "status",
        Constants.get_all_constant_values_from_class(Transaction.Status)
    )

    type = Search.MultipleValueNodeBuilder(
        "type",
        Constants.get_all_constant_values_from_class(Transaction.Type)
    )

    refund = Search.KeyValueNodeBuilder("refund")

    amount = Search.RangeNodeBuilder("amount")
    authorization_expired_at = Search.RangeNodeBuilder("authorization_expired_at")
    authorized_at = Search.RangeNodeBuilder("authorized_at")
    created_at = Search.RangeNodeBuilder("created_at")
    disbursement_date = Search.RangeNodeBuilder("disbursement_date")
    dispute_date = Search.RangeNodeBuilder("dispute_date")
    failed_at = Search.RangeNodeBuilder("failed_at")
    gateway_rejected_at = Search.RangeNodeBuilder("gateway_rejected_at")
    processor_declined_at = Search.RangeNodeBuilder("processor_declined_at")
    settled_at = Search.RangeNodeBuilder("settled_at")
    submitted_for_settlement_at = Search.RangeNodeBuilder("submitted_for_settlement_at")
    voided_at = Search.RangeNodeBuilder("voided_at")
class SubscriptionSearch:
    plan_id = Search.TextNodeBuilder("plan_id")
    days_past_due = Search.TextNodeBuilder("days_past_due")
    status = Search.MultipleValueNodeBuilder("status")
    ids = Search.MultipleValueNodeBuilder("ids")
예제 #5
0
class DisputeSearch:
    amount_disputed = Search.RangeNodeBuilder("amount_disputed")
    amount_won = Search.RangeNodeBuilder("amount_won")
    case_number = Search.TextNodeBuilder("case_number")
    id = Search.TextNodeBuilder("id")
    kind = Search.MultipleValueNodeBuilder("kind")
    merchant_account_id = Search.MultipleValueNodeBuilder(
        "merchant_account_id")
    reason = Search.MultipleValueNodeBuilder("reason")
    reason_code = Search.MultipleValueNodeBuilder("reason_code")
    received_date = Search.RangeNodeBuilder("received_date")
    reference_number = Search.TextNodeBuilder("reference_number")
    reply_by_date = Search.RangeNodeBuilder("reply_by_date")
    status = Search.MultipleValueNodeBuilder("status")
    transaction_id = Search.TextNodeBuilder("transaction_id")
    transaction_source = Search.MultipleValueNodeBuilder("transaction_source")
class SubscriptionSearch:
    billing_cycles_remaining = Search.RangeNodeBuilder("billing_cycles_remaining")
    days_past_due = Search.RangeNodeBuilder("days_past_due")
    id = Search.TextNodeBuilder("id")
    ids = Search.MultipleValueNodeBuilder("ids")
    in_trial_period = Search.MultipleValueNodeBuilder("in_trial_period")
    merchant_account_id = Search.MultipleValueNodeBuilder("merchant_account_id")
    next_billing_date = Search.RangeNodeBuilder("next_billing_date")
    plan_id = Search.MultipleValueOrTextNodeBuilder("plan_id")
    price = Search.RangeNodeBuilder("price")
    status = Search.MultipleValueNodeBuilder("status", Constants.get_all_constant_values_from_class(Subscription.Status))
    transaction_id = Search.TextNodeBuilder("transaction_id")
class TransactionSearch:
    billing_first_name = Search.TextNodeBuilder("billing_first_name")
    billing_company = Search.TextNodeBuilder("billing_company")
    billing_country_name = Search.TextNodeBuilder("billing_country_name")
    billing_extended_address = Search.TextNodeBuilder(
        "billing_extended_address")
    billing_first_name = Search.TextNodeBuilder("billing_first_name")
    billing_last_name = Search.TextNodeBuilder("billing_last_name")
    billing_locality = Search.TextNodeBuilder("billing_locality")
    billing_postal_code = Search.TextNodeBuilder("billing_postal_code")
    billing_region = Search.TextNodeBuilder("billing_region")
    billing_street_address = Search.TextNodeBuilder("billing_street_address")
    credit_card_cardholder_name = Search.TextNodeBuilder(
        "credit_card_cardholder_name")
    currency = Search.TextNodeBuilder("currency")
    customer_company = Search.TextNodeBuilder("customer_company")
    customer_email = Search.TextNodeBuilder("customer_email")
    customer_fax = Search.TextNodeBuilder("customer_fax")
    customer_first_name = Search.TextNodeBuilder("customer_first_name")
    customer_id = Search.TextNodeBuilder("customer_id")
    customer_last_name = Search.TextNodeBuilder("customer_last_name")
    customer_phone = Search.TextNodeBuilder("customer_phone")
    customer_website = Search.TextNodeBuilder("customer_website")
    id = Search.TextNodeBuilder("id")
    order_id = Search.TextNodeBuilder("order_id")
    payment_method_token = Search.TextNodeBuilder("payment_method_token")
    processor_authorization_code = Search.TextNodeBuilder(
        "processor_authorization_code")
    shipping_company = Search.TextNodeBuilder("shipping_company")
    shipping_country_name = Search.TextNodeBuilder("shipping_country_name")
    shipping_extended_address = Search.TextNodeBuilder(
        "shipping_extended_address")
    shipping_first_name = Search.TextNodeBuilder("shipping_first_name")
    shipping_last_name = Search.TextNodeBuilder("shipping_last_name")
    shipping_locality = Search.TextNodeBuilder("shipping_locality")
    shipping_postal_code = Search.TextNodeBuilder("shipping_postal_code")
    shipping_region = Search.TextNodeBuilder("shipping_region")
    shipping_street_address = Search.TextNodeBuilder("shipping_street_address")

    credit_card_expiration_date = Search.EqualityNodeBuilder(
        "credit_card_expiration_date")
    credit_card_number = Search.PartialMatchNodeBuilder("credit_card_number")

    ids = Search.MultipleValueNodeBuilder("ids")
    merchant_account_id = Search.MultipleValueNodeBuilder(
        "merchant_account_id")

    created_using = Search.MultipleValueNodeBuilder("created_using", [
        Transaction.CreatedUsing.FullInformation,
        Transaction.CreatedUsing.Token
    ])

    credit_card_card_type = Search.MultipleValueNodeBuilder(
        "credit_card_card_type", [
            CreditCard.CardType.AmEx, CreditCard.CardType.CarteBlanche,
            CreditCard.CardType.ChinaUnionPay,
            CreditCard.CardType.DinersClubInternational,
            CreditCard.CardType.Discover, CreditCard.CardType.JCB,
            CreditCard.CardType.Laser, CreditCard.CardType.Maestro,
            CreditCard.CardType.MasterCard, CreditCard.CardType.Solo,
            CreditCard.CardType.Switch, CreditCard.CardType.Visa,
            CreditCard.CardType.Unknown
        ])

    credit_card_customer_location = Search.MultipleValueNodeBuilder(
        "credit_card_customer_location", [
            CreditCard.CustomerLocation.International,
            CreditCard.CustomerLocation.US
        ])

    source = Search.MultipleValueNodeBuilder("source", [
        Transaction.Source.Api, Transaction.Source.ControlPanel,
        Transaction.Source.Recurring
    ])

    status = Search.MultipleValueNodeBuilder("status", [
        Transaction.Status.Authorized, Transaction.Status.Authorizing,
        Transaction.Status.Failed, Transaction.Status.GatewayRejected,
        Transaction.Status.ProcessorDeclined, Transaction.Status.Settled,
        Transaction.Status.SettlementFailed,
        Transaction.Status.SubmittedForSettlement, Transaction.Status.Unknown,
        Transaction.Status.Unrecognized, Transaction.Status.Voided
    ])

    type = Search.MultipleValueNodeBuilder(
        "type", [Transaction.Type.Credit, Transaction.Type.Sale])

    refund = Search.KeyValueNodeBuilder("refund")

    amount = Search.RangeNodeBuilder("amount")
    created_at = Search.RangeNodeBuilder("created_at")
예제 #8
0
class CreditCardVerificationSearch:
    credit_card_cardholder_name = Search.TextNodeBuilder(
        "credit_card_cardholder_name")
    id = Search.TextNodeBuilder("id")
    credit_card_expiration_date = Search.EqualityNodeBuilder(
        "credit_card_expiration_date")
    credit_card_number = Search.PartialMatchNodeBuilder("credit_card_number")
    credit_card_card_type = Search.MultipleValueNodeBuilder(
        "credit_card_card_type",
        Constants.get_all_constant_values_from_class(CreditCard.CardType))
    ids = Search.MultipleValueNodeBuilder("ids")
    created_at = Search.RangeNodeBuilder("created_at")
    status = Search.MultipleValueNodeBuilder(
        "status",
        Constants.get_all_constant_values_from_class(
            CreditCardVerification.Status))
    billing_postal_code = Search.TextNodeBuilder(
        "billing_address_details_postal_code")
    customer_email = Search.TextNodeBuilder("customer_email")
    customer_id = Search.TextNodeBuilder("customer_id")
    payment_method_token = Search.TextNodeBuilder("payment_method_token")
예제 #9
0
class CustomerSearch:
    address_extended_address = Search.TextNodeBuilder(
        "address_extended_address")
    address_first_name = Search.TextNodeBuilder("address_first_name")
    address_last_name = Search.TextNodeBuilder("address_last_name")
    address_locality = Search.TextNodeBuilder("address_locality")
    address_postal_code = Search.TextNodeBuilder("address_postal_code")
    address_region = Search.TextNodeBuilder("address_region")
    address_street_address = Search.TextNodeBuilder("address_street_address")
    address_country_name = Search.TextNodeBuilder("address_country_name")
    cardholder_name = Search.TextNodeBuilder("cardholder_name")
    company = Search.TextNodeBuilder("company")
    created_at = Search.RangeNodeBuilder("created_at")
    credit_card_expiration_date = Search.EqualityNodeBuilder(
        "credit_card_expiration_date")
    credit_card_number = Search.TextNodeBuilder("credit_card_number")
    email = Search.TextNodeBuilder("email")
    fax = Search.TextNodeBuilder("fax")
    first_name = Search.TextNodeBuilder("first_name")
    id = Search.TextNodeBuilder("id")
    ids = Search.MultipleValueNodeBuilder("ids")
    last_name = Search.TextNodeBuilder("last_name")
    payment_method_token = Search.TextNodeBuilder("payment_method_token")
    phone = Search.TextNodeBuilder("phone")
    website = Search.TextNodeBuilder("website")