import { File } from '../mslib/File'
import { OpResult } from '../mslib/OpResult'

export namespace BarcodePaymentDeclare {
        export namespace $parameters {
            export interface JsonParam{
                outOrderNo?: string
                productionName?: string
                productionDescription?: string
                amount?: number
                clientIp?: string
                returnUrl?: string
                expiredTime?: string
                wxMPPaySpecialParameters?: WxMPPaySpecialParameters
                aliUnifiedPaySpecialParameters?: AliUnifiedPaySpecialParameters
                thirdPartyPayConfig?: ThirdPartyPayConfig
                authCode?: string
                customParameters?: CustomParameters
                sign?: string
            }


            export interface WxMPPaySpecialParameters{
            }


            export interface AliUnifiedPaySpecialParameters{
            }


            export interface ThirdPartyPayConfig{
                code?: string
                merNo?: string
                merKey?: string
                otherConfig?: OtherConfig
            }


            export interface OtherConfig{
            }


            export interface CustomParameters{
            }


        }
        export namespace $results {
            export interface Result{
                responseCode?: string
                responseMsg?: string
                resultCode?: string
                resultMsg?: string
                tradeState?: string
                thirdPartyTransNo?: string
                gmtPaidTime?: string
                outOrderNo?: string
            }


        }



    export type Parameters = $parameters.JsonParam

    export type Result = $results.Result
}

export type Parameters = BarcodePaymentDeclare.Parameters
export type Result = BarcodePaymentDeclare.Result
