@@ -63,6 +63,7 @@ def __init__(self, client, prefill=None):
63
63
self ._billing = None
64
64
self ._unsupported_feature_bypass = None
65
65
self ._verification = None
66
+ self ._auto_capture_at = None
66
67
if prefill is not None :
67
68
self .fill_with_data (prefill )
68
69
@@ -806,6 +807,19 @@ def verification(self, val):
806
807
self ._verification = val
807
808
return self
808
809
810
+ @property
811
+ def auto_capture_at (self ):
812
+ """Get auto_capture_at"""
813
+ return self ._auto_capture_at
814
+
815
+ @auto_capture_at .setter
816
+ def auto_capture_at (self , val ):
817
+ """Set auto_capture_at
818
+ Keyword argument:
819
+ val -- New auto_capture_at value"""
820
+ self ._auto_capture_at = val
821
+ return self
822
+
809
823
def fill_with_data (self , data ):
810
824
"""Fill the current object with the new values pulled from data
811
825
Keyword argument:
@@ -904,6 +918,8 @@ def fill_with_data(self, data):
904
918
self .unsupported_feature_bypass = data ["unsupported_feature_bypass" ]
905
919
if "verification" in data .keys ():
906
920
self .verification = data ["verification" ]
921
+ if "auto_capture_at" in data .keys ():
922
+ self .auto_capture_at = data ["auto_capture_at" ]
907
923
908
924
return self
909
925
@@ -956,6 +972,7 @@ def to_json(self):
956
972
"billing" : self .billing ,
957
973
"unsupported_feature_bypass" : self .unsupported_feature_bypass ,
958
974
"verification" : self .verification ,
975
+ "auto_capture_at" : self .auto_capture_at ,
959
976
}
960
977
961
978
def increment_authorization (self , amount , options = {}):
@@ -1312,7 +1329,8 @@ def create(self, options={}):
1312
1329
'payment_type' : self .payment_type ,
1313
1330
'billing' : self .billing ,
1314
1331
'unsupported_feature_bypass' : self .unsupported_feature_bypass ,
1315
- 'verification' : self .verification
1332
+ 'verification' : self .verification ,
1333
+ 'auto_capture_at' : self .auto_capture_at
1316
1334
}
1317
1335
1318
1336
response = Response (request .post (path , data , options ))
0 commit comments