Example #1
0
 public static MercadoPago.Resources.Card FindById(
     string customerId,
     string id,
     bool useCache, SDK sdk)
 {
     return((MercadoPago.Resources.Card)MPBase.ProcessMethod <MercadoPago.Resources.Card>(typeof(MercadoPago.Resources.Card), nameof(FindById), customerId, id, useCache, sdk));
 }
Example #2
0
    public void StartClient()
    {
        MPBase scriptMp = Camera.main.GetComponent <MPBase> ();

        //scriptMp.showClient = true;
        scriptMp.StartClient();
    }
Example #3
0
 public MercadoPago.Resources.MerchantOrder Load(string id, bool useCache)
 {
     return((MercadoPago.Resources.MerchantOrder)MPBase.ProcessMethod <MercadoPago.Resources.MerchantOrder>(typeof(MercadoPago.Resources.MerchantOrder), nameof(Load), id, useCache, sdk));
 }
Example #4
0
 public MercadoPago.Resources.Card Delete(SDK sdk)
 {
     return((MercadoPago.Resources.Card)MPBase.ProcessMethod(nameof(Delete), MPBase.WITHOUT_CACHE, sdk));
 }
Example #5
0
 public static List <MercadoPago.Resources.Card> All(string customerId, bool useCache, SDK sdk)
 {
     return(MPBase.ProcessMethodBulk <MercadoPago.Resources.Card>(typeof(MercadoPago.Resources.Card), nameof(All), customerId, useCache, sdk));
 }
 public static MercadoPago.Resources.Payment FindById(long?id, bool useCache, SDK sdk)
 {
     return((MercadoPago.Resources.Payment)MPBase.ProcessMethod <MercadoPago.Resources.Payment>(typeof(MercadoPago.Resources.Payment), nameof(FindById), id.ToString(), useCache, sdk));
 }
 public static MercadoPago.Resources.Payment FindById(long?id, SDK sdk)
 {
     return((MercadoPago.Resources.Payment)MPBase.ProcessMethod <MercadoPago.Resources.Payment>(typeof(MercadoPago.Resources.Payment), nameof(FindById), id.ToString(), MPBase.WITHOUT_CACHE, sdk));
 }
 public static List <MercadoPago.Resources.Payment> Search(
     Dictionary <string, string> filters,
     bool useCache, SDK sdk)
 {
     return(MPBase.ProcessMethodBulk <MercadoPago.Resources.Payment>(typeof(MercadoPago.Resources.Payment), nameof(Search), filters, useCache, sdk));
 }
 public static List <MercadoPago.Resources.Payment> All(bool useCache, SDK sdk)
 {
     return(MPBase.ProcessMethodBulk <MercadoPago.Resources.Payment>(typeof(MercadoPago.Resources.Payment), "Search", useCache, sdk));
 }
 public static MercadoPago.Resources.Preference FindById(string id, bool useCache, SDK sdk)
 {
     return((MercadoPago.Resources.Preference)MPBase.ProcessMethod <MercadoPago.Resources.Preference>(typeof(MercadoPago.Resources.Preference), nameof(FindById), id, useCache, sdk));
 }
 public static List <MercadoPago.Resources.PaymentMethod> All(bool useCache, SDK sdk)
 {
     return(MPBase.ProcessMethodBulk <MercadoPago.Resources.PaymentMethod>(typeof(MercadoPago.Resources.PaymentMethod), nameof(All), useCache, sdk));
 }
Example #12
0
 public static MercadoPago.Resources.Plan Load(string id, bool useCache, SDK sdk)
 {
     return((MercadoPago.Resources.Plan)MPBase.ProcessMethod <MercadoPago.Resources.Plan>(typeof(MercadoPago.Resources.Plan), nameof(Load), id, useCache, sdk));
 }
Example #13
0
    public void changeIp(string value)
    {
        MPBase scriptMp = Camera.main.GetComponent <MPBase> ();

        scriptMp.connectToIp = value;
    }
Example #14
0
    public void StartServer()
    {
        MPBase scriptMp = Camera.main.GetComponent <MPBase> ();

        scriptMp.StartServer();
    }